:root {
  --bg: #f9f8f5;
  --surface: #ffffff;
  --surface-2: #fefdfb;
  --muted: #f0f4f2;
  --border: #e0e8e4;
  --text: #1a2022;
  --subtle: #4a5a5c;
  --brand: #0c5a48;
  --brand-dark: #094238;
  --teal: #1e7083;
  --accent: #907440;
  --shadow-soft: 0 10px 30px rgba(12, 90, 72, 0.12);
  --shadow-medium: 0 6px 20px rgba(12, 90, 72, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--teal) 70%, white);
  outline-offset: 2px;
}

.container {
  width: min(1160px, calc(100% - 3rem));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section + .section {
  border-top: 1px solid color-mix(in oklab, var(--border) 70%, white);
}

.site-header {
  position: sticky;
  top: 0;
  background: color-mix(in oklab, var(--surface) 82%, var(--bg));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav-wrap {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(12, 90, 72, 0.2);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 0.5rem;
}

.site-nav {
  display: flex;
  gap: 1.35rem;
  color: var(--subtle);
  font-weight: 500;
}

.site-nav a:hover,
.site-footer a:hover,
.link-cta:hover {
  color: var(--brand);
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 4rem);
  margin-top: 0.95rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
}

.eyebrow {
  display: inline-block;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--brand-dark);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 600;
}

.lead,
.section-copy {
  max-width: 64ch;
  color: var(--subtle);
  margin-top: 1.1rem;
  font-size: 1.04rem;
}

.hero {
  padding-top: 6rem;
  border-top: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
}

.cta-row {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.cta-row .btn:first-child {
  font-size: 1.05rem;
  padding: 1.1rem 1.6rem;
}

.btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  padding: 1rem 1.4rem;
  border-radius: 0.9rem;
  border: 1px solid var(--brand);
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(12, 90, 72, 0.25);
  transition: all 0.2s ease;
}

.btn:hover {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  border-color: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(12, 90, 72, 0.3);
}

.btn-ghost {
  background: var(--surface);
  color: var(--teal);
  border-color: color-mix(in oklab, var(--teal) 40%, var(--border));
  box-shadow: none;
}

.btn-small {
  padding: 0.58rem 0.96rem;
  border-radius: 0.62rem;
  font-size: 0.88rem;
  box-shadow: none;
}

.link-cta {
  margin-top: 1rem;
  display: inline-block;
  color: var(--brand-dark);
  font-weight: 600;
}

.flow-card,
.compare-card,
.case-card,
.tile,
.steps-grid article,
.value-grid article {
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 1.1rem;
}

.flow-card {
  padding: 2rem;
  box-shadow: var(--shadow-medium);
  position: relative;
}

.flow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--teal));
  border-radius: 1.1rem 1.1rem 0 0;
}

.flow-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.flow-card p {
  color: var(--subtle);
  margin-top: 0.6rem;
  font-size: 1rem;
}

.flow-card ol {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flow-card li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.98rem;
  position: relative;
}

.flow-card li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0.8rem;
  top: 2.5rem;
  width: 2px;
  height: 1rem;
  background: var(--border);
}

.flow-card li span {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  flex-shrink: 0;
}

.muted {
  background: var(--muted);
}

.stack-sm > * + * {
  margin-top: 1.15rem;
}

.pain-grid,
.steps-grid,
.use-case-grid,
.value-grid {
  display: grid;
  gap: 0.9rem;
}

.pain-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.45rem;
}

.tile {
  padding: 1.4rem;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(12, 90, 72, 0.08);
  border-radius: 1rem;
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(12, 90, 72, 0.12);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.compare-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border-radius: 1.2rem;
  position: relative;
}

.compare-card::before {
  content: '≠';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: var(--brand);
  background: var(--surface);
  padding: 0.5rem;
  border-radius: 50%;
  border: 2px solid var(--border);
  z-index: 1;
}

.compare-card > div {
  padding: 1.8rem;
  position: relative;
}

.compare-card > div:first-child {
  background: #fff;
  padding-right: 3rem;
}

.compare-card > div:last-child {
  background: color-mix(in oklab, var(--teal) 8%, white);
  padding-left: 3rem;
}

.compare-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--brand);
}

.compare-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  color: var(--subtle);
  list-style: none;
}

.compare-card li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.compare-card li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #e74c3c;
  font-weight: bold;
}

.compare-card > div:last-child li::before {
  content: '✓';
  color: var(--brand);
}

.steps-grid {
  margin-top: 1.3rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid article {
  padding: 1.5rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  box-shadow: 0 6px 18px rgba(12, 90, 72, 0.08);
  border-radius: 1rem;
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.steps-grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(12, 90, 72, 0.12);
}

.steps-grid span {
  color: var(--accent);
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  font-weight: 700;
  background: color-mix(in oklab, var(--accent) 10%, white);
  padding: 0.3rem 0.6rem;
  border-radius: 0.5rem;
}

.use-case-grid {
  grid-template-columns: 1fr 1fr;
}

.case-card,
.value-grid article {
  padding: 1.6rem;
  box-shadow: 0 6px 18px rgba(12, 90, 72, 0.08);
  border-radius: 1rem;
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-card:hover,
.value-grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(12, 90, 72, 0.12);
}

.case-card h3 {
  color: var(--brand);
  margin-bottom: 0.8rem;
}

.case-card p {
  margin-top: 0.9rem;
  color: var(--subtle);
  line-height: 1.6;
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.3rem;
}

.cta-band {
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--muted) 80%, white) 0%,
    color-mix(in oklab, var(--muted) 95%, white) 100%
  );
  position: relative;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(12, 90, 72, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(30, 112, 131, 0.05) 0%, transparent 50%);
}

.cta-center {
  text-align: center;
}

.cta-copy {
  max-width: 62ch;
  margin-inline: auto;
}

.centered {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid color-mix(in oklab, var(--border) 80%, white);
  padding: 3.5rem 0;
  background: color-mix(in oklab, var(--surface) 85%, var(--bg));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
}

.footer-grid p {
  color: var(--subtle);
  margin-top: 0.5rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .pain-grid,
  .steps-grid,
  .use-case-grid,
  .value-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle-label {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-medium);
    display: none;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 2.5rem 0;
  }

  .hero {
    padding-top: 3rem;
  }

  .container {
    width: min(1100px, calc(100% - 1.5rem));
  }

  .cta-row .btn {
    width: 100%;
    text-align: center;
    min-height: 48px;
  }

  .flow-card {
    padding: 1.5rem;
  }
}
