/* ============================================================
   Verdant — landing page styles
   Type system:
     Display thin sans  : Poppins 275/300
     Accent serif italic: Instrument Serif
     UI / body          : Hanken Grotesk
   ============================================================ */

:root {
  --ink: #1d2433;
  --ink-soft: #4b5468;
  --ink-faint: #8a91a3;

  --accent: #1cb654;
  --accent-deep: #128a3e;
  --accent-tint: #e3f7ea;

  --purple: #7a5cf0;
  --purple-ink: #6a48ea;
  --purple-tint: #e9e2fd;

  --orange: #e2590e;
  --orange-tint: #fce3c6;

  --cream: #efeee8;
  --paper: #fdfcf9;
  --card: #ffffff;
  --line: #e6e4dc;

  --sky-top: #4faaee;
  --sky-mid: #9dd2f7;
  --sky-low: #e6f4fd;

  --shadow-card: 0 1px 2px rgba(29, 36, 51, .05), 0 12px 32px -12px rgba(29, 36, 51, .18);
  --shadow-float: 0 2px 6px rgba(20, 40, 30, .08), 0 40px 80px -24px rgba(20, 50, 35, .35);

  --font-display: "Poppins", sans-serif;
  --font-serif: "Instrument Serif", serif;
  --font-ui: "Hanken Grotesk", sans-serif;

  --r-chip: 18px;
  --r-card: 16px;
  --r-big: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent-tint); color: var(--accent-deep); }

.wrap { width: min(1180px, calc(100vw - 48px)); margin: 0 auto; }

/* ---------------- dotted texture ---------------- */
.dotted {
  background-image: radial-gradient(rgba(29, 36, 51, .07) 1.1px, transparent 1.1px);
  background-size: 26px 26px;
}

/* ============================================================
   SKY SCENE (hero)
   ============================================================ */
.scene {
  position: relative;
  overflow-x: clip;
  min-height: clamp(700px, 100vh, 1000px);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 46%, var(--sky-low) 72%);
  transition: background 1.2s ease;
}
.scene-art { position: absolute; inset: 0; pointer-events: none; }

/* video background */
.scene-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.scene-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(251, 253, 251, calc(var(--veil, .35) + .22)) 0%,
    rgba(251, 253, 251, var(--veil, .35)) 36%,
    rgba(251, 253, 251, calc(var(--veil, .35) * .3)) 68%,
    rgba(251, 253, 251, 0) 100%);
}
.cta-veil { background: rgba(251, 253, 251, calc(var(--veil, .35) + .1)); }

/* sun glow */
.sun {
  position: absolute; top: -12%; left: 58%;
  width: 46vw; height: 46vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 245, .55), rgba(255, 255, 245, 0) 65%);
}

/* clouds — soft blurred blobs that drift */
.cloud {
  position: absolute;
  background: rgba(255, 255, 255, .85);
  border-radius: 999px;
  filter: blur(18px);
  opacity: .8;
}
.cloud::before, .cloud::after {
  content: ""; position: absolute; background: inherit; border-radius: inherit;
}
.cloud::before { width: 55%; height: 130%; left: 12%; top: -65%; }
.cloud::after  { width: 40%; height: 110%; right: 14%; top: -45%; }

.c1 { width: 380px; height: 70px; top: 10%;  left: -10%; animation: drift 95s linear infinite; }
.c2 { width: 520px; height: 90px; top: 22%;  left: 30%;  animation: drift 140s linear infinite; animation-delay: -60s; opacity: .65; }
.c3 { width: 280px; height: 54px; top: 5%;   left: 65%;  animation: drift 110s linear infinite; animation-delay: -30s; opacity: .7; }
.c4 { width: 460px; height: 80px; top: 34%;  left: -25%; animation: drift 160s linear infinite; animation-delay: -100s; opacity: .5; }

@keyframes drift {
  from { transform: translateX(-30vw); }
  to   { transform: translateX(130vw); }
}

/* meadow svg sits at the bottom of the scene */
.meadow {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: 78%;
  display: block;
}
.meadow svg { width: 100%; height: 100%; display: block; }

/* parallax layers (JS drives --py) */
.hill-far  { transform: translateY(calc(var(--py, 0) * -18px)); }
.hill-mid  { transform: translateY(calc(var(--py, 0) * -38px)); }
.hill-near { transform: translateY(calc(var(--py, 0) * -64px)); }

/* foreground bokeh flowers */
.bokeh {
  position: absolute; border-radius: 50%;
  filter: blur(26px); opacity: .85; pointer-events: none;
}

/* ============================================================
   NAV
   ============================================================ */
.nav-slot { position: relative; z-index: 30; display: flex; justify-content: center; padding-top: 34px; }
.nav {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 1px 2px rgba(29, 36, 51, .06), 0 10px 30px -12px rgba(29, 36, 51, .22);
}
.nav-brand { display: flex; align-items: center; gap: 9px; padding: 0 10px 0 4px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-size: 15.5px; font-weight: 500; color: var(--ink-soft); text-decoration: none;
  padding: 8px 13px; border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--accent-tint); color: var(--accent-deep); }

/* logo mark */
.mark { width: 26px; height: 26px; flex: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; z-index: 10; text-align: center; padding: clamp(60px, 9vh, 110px) 24px 0; }

.hero-line {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 1.16;
  letter-spacing: -.015em;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center; gap: .26em;
  flex-wrap: wrap;
}
.hero-line + .hero-line { margin-top: 8px; }

/* highlight chips inside headline */
.chip {
  display: inline-flex; align-items: center; gap: .32em;
  padding: .08em .35em .12em .22em;
  border-radius: var(--r-chip);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  font-size: .98em;
  line-height: 1.05;
  transform: rotate(-1.2deg);
  box-shadow: 0 10px 28px -14px rgba(29, 36, 51, .25);
}
.chip-purple { background: var(--purple-tint); color: var(--purple-ink); }
.chip-orange { background: var(--orange-tint); color: var(--orange); transform: rotate(1.1deg); }
.chip-ico {
  width: .72em; height: .72em; flex: none;
  border-radius: .18em;
  display: grid; place-items: center;
}
.chip-purple .chip-ico { background: var(--purple); }
.chip-orange .chip-ico { background: var(--orange); }
.chip-ico svg { width: 62%; height: 62%; }

.hero-sub {
  margin: 30px auto 0;
  max-width: 600px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 500;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 700; font-size: 18px;
  color: #fff; background: var(--accent);
  border: none; cursor: pointer; text-decoration: none;
  padding: 17px 30px; border-radius: 999px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .08) inset, 0 14px 30px -10px color-mix(in oklab, var(--accent) 70%, black 10%);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background .2s ease, box-shadow .25s ease;
}
.btn:hover { background: color-mix(in oklab, var(--accent) 88%, black 12%); transform: translateY(-2px) scale(1.02); }
.btn:active { transform: translateY(0) scale(.99); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translate(2px, -2px); }
.hero-cta { margin-top: 38px; }

/* ---------------- dashboard float ---------------- */
.dash-slot {
  position: relative; z-index: 10;
  display: flex; justify-content: center;
  padding: clamp(56px, 8vh, 100px) 24px 110px;
  perspective: 1600px;
}

/* ============================================================
   DASHBOARD MOCK
   ============================================================ */
.dash {
  width: min(1120px, 100%);
  background: #f4f3ee;
  border-radius: var(--r-big);
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(255, 255, 255, .8);
  display: grid; grid-template-columns: 232px 1fr;
  overflow: hidden;
  text-align: left;
  font-size: 14px;
}
.dash, .dash * { cursor: default; }

.dash-side {
  background: #fff; margin: 10px; border-radius: 18px;
  border: 1px solid var(--line);
  padding: 18px 12px 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.dash-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16.5px; padding: 2px 10px 16px; }
.dash-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px;
  color: var(--ink-soft); font-weight: 600; font-size: 13.5px;
  transition: background .2s ease;
}
.dash-nav-item:hover { background: #f6f5f0; }
.dash-nav-item.active { background: var(--accent-tint); color: var(--ink); }
.dash-nav-item svg { width: 17px; height: 17px; flex: none; }
.dash-user { margin-top: auto; display: flex; align-items: center; gap: 9px; padding: 10px 12px 2px; font-weight: 600; font-size: 13px; color: var(--ink-soft); }
.dash-avatar { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8ec8ff, #2f6fde); }

.dash-main { padding: 16px 22px 22px; min-width: 0; }
.dash-top { display: flex; align-items: center; gap: 12px; color: var(--ink-faint); font-size: 12.5px; font-weight: 600; padding-bottom: 14px; }
.dash-top svg { width: 15px; height: 15px; }
.dash-crumb b { color: var(--ink); font-weight: 700; }
.dash-search {
  margin-left: auto; display: flex; align-items: center; gap: 7px;
  background: #ecebe5; border-radius: 9px; padding: 6px 10px; min-width: 150px;
  color: var(--ink-faint); font-weight: 500;
}
.dash-search kbd { margin-left: auto; background: #fff; border-radius: 5px; padding: 1px 6px; font-size: 10.5px; font-family: var(--font-ui); border: 1px solid var(--line); }

.dash-head { display: flex; align-items: end; gap: 16px; padding: 6px 0 16px; }
.dash-title { font-family: var(--font-serif); font-weight: 400; font-size: 33px; letter-spacing: .01em; }
.dash-welcome { font-size: 12.5px; color: var(--ink-faint); margin-top: 5px; }
.dash-welcome b { color: var(--ink); }
.dash-gen {
  margin-left: auto; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 12.5px; padding: 9px 15px; border-radius: 9px; border: none;
}

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  padding: 13px 14px 12px;
}
.stat-label { font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.stat-value-row { display: flex; align-items: baseline; gap: 8px; margin-top: 7px; flex-wrap: wrap; }
.stat-value { font-family: var(--font-serif); font-size: 24px; letter-spacing: .01em; white-space: nowrap; }
.delta { font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
.delta.up { color: var(--accent-deep); }
.delta.down { color: #d3462e; }
.delta svg { width: 11px; height: 11px; }

.dash-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 10px; margin-top: 10px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 16px 18px; min-width: 0; }
.panel-kicker { font-size: 12.5px; font-weight: 700; }
.panel-title { font-family: var(--font-serif); font-size: 26px; margin-top: 6px; letter-spacing: .01em; }
.panel-meta { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-faint); font-weight: 600; margin-top: 5px; }

/* bar chart */
.chart { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; align-items: end; height: 190px; margin-top: 22px; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 7px; height: 100%; justify-content: end; }
.bar-val { font-size: 10.5px; font-weight: 700; color: var(--ink-faint); }
.bar-col.hot .bar-val { color: var(--accent-deep); }
.bar {
  width: 100%; border-radius: 9px;
  background: #e7e6df;
  height: calc(var(--h) * 1%);
  transform-origin: bottom;
}
.bar-col.hot .bar { background: var(--accent); box-shadow: 0 6px 14px -6px color-mix(in oklab, var(--accent) 60%, transparent); }
.bar-mon { font-size: 11px; font-weight: 600; color: var(--ink-faint); }

/* planner */
.planner-date {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 12px; margin-top: 16px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
}
.planner-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.planner-item {
  display: flex; align-items: center; gap: 9px;
  background: #faf9f5; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 11px; font-size: 12px; font-weight: 600; color: var(--ink-soft);
}
.planner-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.planner-item time { margin-left: auto; color: var(--ink-faint); font-weight: 600; font-size: 11px; }

/* ============================================================
   LOWER SECTIONS
   ============================================================ */
section { position: relative; }
.section-pad { padding: clamp(70px, 10vh, 120px) 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-deep);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

.h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(34px, 4.4vw, 56px); line-height: 1.16; letter-spacing: -.015em;
  margin-top: 18px;
  text-wrap: balance;
}
.h2 .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.h2 .serif.green { color: var(--accent-deep); }
.h2 .serif.purple { color: var(--purple-ink); }
.h2 .serif.orange { color: var(--orange); }
.section-sub { margin-top: 16px; max-width: 560px; color: var(--ink-soft); font-size: 17.5px; line-height: 1.6; font-weight: 500; }

/* logos */
.logos { background: var(--cream); border-top: 1px solid var(--line); }
.logos-inner { padding: 44px 0 46px; text-align: center; }
.logos-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.logo-marquee { overflow: hidden; margin-top: 26px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logo-track { display: flex; gap: 70px; width: max-content; animation: marquee 30s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.wordmark { font-size: 21px; font-weight: 700; color: #aab0bf; white-space: nowrap; letter-spacing: -.01em; display: flex; align-items: center; gap: 9px; }
.wordmark.serif { font-family: var(--font-serif); font-weight: 400; font-size: 24px; }
.wordmark.mono { font-family: ui-monospace, monospace; font-weight: 600; font-size: 18px; letter-spacing: .04em; }

/* features — bento grid with mini product visuals */
.features { background: var(--cream); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 54px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 18px 18px 26px;
  box-shadow: var(--shadow-card);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
  display: flex; flex-direction: column;
}
.feature-card.span2 { grid-column: span 2; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(29,36,51,.05), 0 24px 48px -16px rgba(29,36,51,.22); }
.feature-card h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -.01em; padding: 0 8px; }
.feature-card p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; font-weight: 500; padding: 0 8px; }

.feature-viz {
  position: relative; overflow: hidden;
  height: 158px; border-radius: 11px;
  background: #f5f4ee; border: 1px solid var(--line);
  margin-bottom: 20px;
}

/* viz: programmatic pages — cascading mini pages */
.viz-pages { display: flex; gap: 12px; align-items: flex-end; padding: 22px 22px 0; height: 100%; }
.mini-page {
  flex: 1; background: #fff; border: 1px solid var(--line); border-bottom: none;
  border-radius: 9px 9px 0 0; padding: 11px 11px 0;
  box-shadow: 0 -6px 18px -10px rgba(29,36,51,.12);
  display: flex; flex-direction: column; gap: 6px;
}
.mini-page .tag {
  align-self: flex-start; font-size: 9.5px; font-weight: 800; letter-spacing: .05em;
  color: var(--accent-deep); background: var(--accent-tint);
  border-radius: 99px; padding: 2px 7px; margin-bottom: 2px;
}
.mini-page .sk { height: 5px; border-radius: 3px; background: #eceade; }
.mini-page .sk.t { height: 7px; background: #ddd9c9; width: 70%; }
.mp-1 { height: 78%; } .mp-2 { height: 95%; } .mp-3 { height: 86%; } .mp-4 { height: 68%; }
.viz-count {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-serif); font-style: italic; font-size: 17px; color: var(--accent-deep);
  background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 3px 12px;
  box-shadow: var(--shadow-card);
}

/* viz: keyword chips */
.viz-keys { display: flex; flex-direction: column; gap: 9px; padding: 18px; justify-content: center; height: 100%; }
.key-chip {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 99px;
  padding: 7px 12px; font-size: 12px; font-weight: 600; color: var(--ink-soft);
  width: fit-content;
}
.key-chip .kd { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.kd-easy { background: var(--accent); } .kd-med { background: #f0b429; }
.key-chip .kv { color: var(--ink-faint); font-size: 11px; font-weight: 700; }

/* viz: publishing schedule */
.viz-pub { display: flex; flex-direction: column; gap: 9px; padding: 18px; justify-content: center; height: 100%; }
.pub-row {
  display: flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 12px; font-size: 12px; font-weight: 600; color: var(--ink-soft);
}
.pub-check {
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--accent); color: #fff; display: grid; place-items: center;
}
.pub-check svg { width: 9px; height: 9px; }
.pub-row time { margin-left: auto; color: var(--ink-faint); font-size: 11px; font-weight: 700; }

/* viz: rank sparkline */
.viz-rank svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rank-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; }
.rank-area { fill: url(#rankFill); opacity: .5; }
.rank-badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700;
  border-radius: 99px; padding: 6px 12px;
  box-shadow: 0 10px 20px -10px rgba(29,36,51,.5);
}
.rank-badge em { font-style: normal; color: #7fdc9e; }

/* viz: internal link graph */
.viz-link svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ln-edge { stroke: #d9d6c8; stroke-width: 1.5; }
.ln-node { fill: #fff; stroke: var(--line); stroke-width: 1.5; }
.ln-core { fill: var(--accent); stroke: none; }

/* viz: integration tiles */
.viz-int { display: flex; gap: 12px; align-items: center; justify-content: center; height: 100%; padding: 0 18px; }
.int-tile {
  width: 54px; height: 54px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: var(--ink-soft);
  box-shadow: var(--shadow-card);
}
.int-tile.hero-tile { background: var(--accent-tint); color: var(--accent-deep); border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); }
.int-plus { font-size: 13px; font-weight: 700; color: var(--ink-faint); }

/* viz entrance animation (rich) */
@media (prefers-reduced-motion: no-preference) {
  html[data-anim="rich"] .feature-card .mini-page,
  html[data-anim="rich"] .feature-card .key-chip,
  html[data-anim="rich"] .feature-card .pub-row {
    opacity: 0; transform: translateY(18px);
    transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
    transition-delay: calc(var(--i, 0) * 110ms + .35s);
  }
  html[data-anim="rich"] .feature-card.in-view .mini-page,
  html[data-anim="rich"] .feature-card.in-view .key-chip,
  html[data-anim="rich"] .feature-card.in-view .pub-row { opacity: 1; transform: none; }

  html[data-anim="rich"] .feature-card .rank-line { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1) .4s; }
  html[data-anim="rich"] .feature-card.in-view .rank-line { stroke-dashoffset: 0; }
  html[data-anim="rich"] .feature-card .rank-area { opacity: 0; transition: opacity 1s ease 1.2s; }
  html[data-anim="rich"] .feature-card.in-view .rank-area { opacity: .5; }
}

/* how it works */
.how { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 54px; counter-reset: step; }
.step { position: relative; padding: 30px 26px 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.step-num {
  font-family: var(--font-serif); font-style: italic; font-size: 46px; line-height: 1;
  color: var(--accent); opacity: .9;
}
.step h3 { margin-top: 16px; font-size: 19px; font-weight: 700; }
.step p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; font-weight: 500; }
.step-link {
  position: absolute; top: 50%; right: -22px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 14px -6px var(--accent);
}
.step-link svg { width: 14px; height: 14px; }
.step:last-child .step-link { display: none; }

/* stats band */
.stats-band { background: var(--ink); color: #f3f5f1; overflow-x: clip; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.big-stat-value {
  font-family: var(--font-serif); font-size: clamp(52px, 6vw, 84px); line-height: 1;
  letter-spacing: .01em;
}
.big-stat-value .sup { font-style: italic; color: var(--accent); }
.big-stat-label { margin-top: 12px; font-size: 15px; font-weight: 600; color: #b9c1b9; letter-spacing: .02em; }
.stats-kicker { text-align: center; margin-bottom: 56px; }
.stats-kicker .kicker { color: #7fdc9e; justify-content: center; }
.stats-kicker .kicker::before { background: #7fdc9e; }

/* testimonial */
.quote-sec { background: var(--cream); }
.quote-card { max-width: 880px; margin: 0 auto; text-align: center; }
.quote-mark { font-family: var(--font-serif); font-size: 90px; line-height: .4; color: var(--accent); display: block; padding-top: 30px; }
.quote-text {
  font-family: var(--font-serif); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.32;
  letter-spacing: .005em; margin-top: 26px; text-wrap: balance;
}
.quote-text em { font-style: italic; color: var(--accent-deep); }
.quote-who { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.quote-avatar { width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd9a8, #d96f32); }
.quote-name { font-weight: 700; font-size: 15.5px; text-align: left; }
.quote-role { font-size: 13.5px; color: var(--ink-faint); font-weight: 600; }

/* final CTA — mini meadow scene */
.cta-scene {
  position: relative; overflow-x: clip;
  background: linear-gradient(180deg, var(--sky-top), var(--sky-mid) 55%, var(--sky-low) 80%);
  text-align: center;
  border-radius: var(--r-big);
  margin: 0 auto;
  width: min(1180px, calc(100vw - 48px));
  padding: clamp(70px, 9vw, 120px) 32px clamp(120px, 14vw, 190px);
  box-shadow: var(--shadow-card);
  transition: background 1.2s ease;
}
.cta-scene .meadow { height: 55%; }
.cta-content { position: relative; z-index: 5; }
.cta-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(34px, 4.6vw, 60px); line-height: 1.18; letter-spacing: -.015em;
  text-wrap: balance;
}
.cta-title .serif { font-family: var(--font-serif); font-style: italic; }
.cta-sub { margin-top: 18px; color: var(--ink-soft); font-size: 17.5px; font-weight: 500; }
.cta-scene .btn { margin-top: 34px; }
.cta-pad { padding: clamp(70px, 10vh, 120px) 0; background: var(--cream); }

/* footer */
footer { background: var(--cream); padding: 0 0 56px; }
.foot-inner {
  border-top: 1px solid var(--line);
  padding-top: 36px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; }
.foot-links { display: flex; gap: 24px; margin-left: auto; flex-wrap: wrap; }
.foot-links a { color: var(--ink-soft); text-decoration: none; font-size: 14.5px; font-weight: 600; transition: color .2s; }
.foot-links a:hover { color: var(--accent-deep); }
.foot-copy { width: 100%; font-size: 13px; color: var(--ink-faint); font-weight: 500; }

/* ============================================================
   ANIMATION SYSTEM
   data-anim on <html>: "off" | "subtle" | "rich"
   ============================================================ */

/* entrance reveals: end-state is the base style; we animate FROM hidden */
@media (prefers-reduced-motion: no-preference) {
  html[data-anim="subtle"] .rv,
  html[data-anim="rich"] .rv {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--d, 0s);
  }
  html[data-anim="subtle"] .rv.in-view,
  html[data-anim="rich"] .rv.in-view { opacity: 1; transform: none; }

  /* hero load-in (rich only extras) */
  html[data-anim="rich"] .rv.pop { transform: translateY(26px) scale(.92); }
  html[data-anim="rich"] .rv.pop.in-view { transform: none; }

  html[data-anim="rich"] .dash-slot .dash {
    transform: translateY(60px) rotateX(7deg) scale(.97);
    opacity: 0;
    transition: opacity 1.1s cubic-bezier(.22, 1, .36, 1), transform 1.1s cubic-bezier(.22, 1, .36, 1);
  }
  html[data-anim="rich"] .dash-slot.in-view .dash { transform: none; opacity: 1; }

  /* bars grow when chart is in view (rich + subtle) */
  html[data-anim="subtle"] .chart .bar,
  html[data-anim="rich"] .chart .bar {
    transform: scaleY(0);
    transition: transform .9s cubic-bezier(.22, 1, .36, 1);
    transition-delay: calc(var(--i) * 90ms + .2s);
  }
  html[data-anim="subtle"] .chart.in-view .bar,
  html[data-anim="rich"] .chart.in-view .bar { transform: scaleY(1); }

  html[data-anim="subtle"] .chart .bar-val,
  html[data-anim="rich"] .chart .bar-val {
    opacity: 0; transition: opacity .5s ease; transition-delay: calc(var(--i) * 90ms + .8s);
  }
  html[data-anim="subtle"] .chart.in-view .bar-val,
  html[data-anim="rich"] .chart.in-view .bar-val { opacity: 1; }
}

/* anim off, or reduced motion: kill ambient loops */
html[data-anim="off"] .cloud,
html[data-anim="off"] .logo-track { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .cloud, .logo-track { animation: none; }
}

/* dusk sky variant (legacy — video bg replaces painted sky) */
html[data-sky="dusk"] {
  --sky-top: #5d6fc4;
  --sky-mid: #e9a1a4;
  --sky-low: #fbdcc0;
}
html[data-sky="dusk"] .sun { background: radial-gradient(circle, rgba(255, 214, 170, .8), rgba(255, 214, 170, 0) 65%); }
html[data-sky="dusk"] .cloud { background: rgba(255, 240, 235, .8); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .feature-card.span2 { grid-column: auto; }
  .step-link { display: none; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { flex-direction: row; align-items: center; overflow-x: auto; }
  .dash-side .dash-user { display: none; }
  .dash-brand { padding: 2px 10px; }
  .stats-grid { grid-template-columns: 1fr; gap: 44px; }
  .nav-links a { padding: 8px 9px; font-size: 14px; }
}
