/* ── Design tokens ──
   Palette, radii, easings and fonts are measured values carried over from
   the app-shell system (itself a real production capture of beetogreen.com
   — see analysis/ and REBUILD.md in enrichr-beetogreen.com/) so the
   marketing page and the signed-in app now share one design language. */
:root {
  --bg: #fbf8f1;
  --surface: #ffffff;
  --card: #ffffff;
  --ink: #0c1e18;
  --ink-soft: rgba(12, 30, 24, 0.62);
  --ink-faint: rgba(12, 30, 24, 0.4);
  --line: rgba(12, 30, 24, 0.12);
  --brand: #005236;
  --brand-dark: #0c1e18;
  --accent: #e6ff55;
  --good: #1a7a4c;
  --warn: #b5750a;
  --bad: #c23b3b;

  /* pastel card tints, measured off beetogreen's card-background palette */
  --mint: #d4f5e0;
  --peach: #f7c9ba;
  --sky: #e6f3fc;
  --lilac: #f3eefc;
  --butter: #fceE98;
  --rose: #fbdce2;

  /* text accents paired with the tints above, also measured off beetogreen's
     step cards — one per pastel panel in .steps-media */
  --violet: #4b1a9a;
  --terracotta: #e54c1e;

  --radius: 1.2rem;      /* 20px — standard card radius */
  --radius-lg: 2rem;      /* 32px — large hero-scale card radius */
  --radius-sm: 0.6rem;    /* 10px — button / small element radius */
  --radius-pill: 100rem;  /* full pill/capsule — reserved for toggles & tags, not everything */

  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-inout: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-swift: cubic-bezier(0.645, 0.045, 0.355, 1);
  /* hand-tuned spring/overshoot curve: peaks ~1.14 at 24%, settles by 81% */
  --ease-spring: linear(
    0 0%, 0.5737 7.6%, 0.8382 11.87%, 0.9463 14.19%, 1.0292 16.54%,
    1.0886 18.97%, 1.1258 21.53%, 1.137 22.97%, 1.1424 24.48%,
    1.1423 26.1%, 1.1366 27.86%, 1.1165 31.01%, 1.0507 38.62%,
    1.0219 42.57%, 0.9995 46.99%, 0.9872 51.63%, 0.9842 58.77%,
    1.0011 81.26%, 1 100%
  );
  --ease-spring-fallback: cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-display: 'Parkinsans', 'Space Grotesk', sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --font-mono: 'Fira Code', ui-monospace, monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--font-mono); font-size: 0.85em; }
.accent { color: var(--brand); }
.on-dark .accent { color: var(--accent); }
a { color: inherit; text-decoration: none; }

/* Reserved-space focus ring: outline is always present but invisible at
   rest (offset 0), so focus-visible causes zero layout shift — matches
   beetogreen's own outline-offset 0→1px flip, and deliberately does NOT
   trigger the hover/press spring below (keyboard focus stays calm). */
a, button, .cta-btn, .nav-link, .price-btn, .copy-btn, .card-info a, .logo {
  outline: 2px solid transparent;
  outline-offset: 0px;
  transition: outline-offset 0.2s var(--ease-out), outline-color 0.2s var(--ease-out);
}
a:focus-visible, button:focus-visible, .cta-btn:focus-visible, .nav-link:focus-visible,
.price-btn:focus-visible, .copy-btn:focus-visible, .card-info a:focus-visible, .logo:focus-visible {
  outline-color: var(--brand);
  outline-offset: 3px;
}
.on-dark a:focus-visible, .on-dark button:focus-visible, .cta-glow:focus-visible {
  outline-color: var(--accent);
}

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: rgba(12, 30, 24, 0.08); z-index: 1000;
}
.scroll-progress-fill {
  height: 100%; width: 0%;
  background: var(--brand);
}

/* ── Copy toast ── */
.copy-toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--accent); color: var(--brand-dark);
  padding: 10px 24px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  opacity: 0; pointer-events: none; z-index: 1001;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.copy-toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* ── Hero (dark section — the one deliberately-dark band, bookended by the
   footer at the bottom of the page) ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--brand-dark);
  color: #fdfbf6;
}
.hero-bg {
  position: absolute; inset: -20%;
  pointer-events: none;
  will-change: transform;
}
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 48px; z-index: 100;
  background: transparent;
  transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.nav.nav--scrolled {
  background: rgba(12, 30, 24, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-top: 14px; padding-bottom: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), 0 12px 32px rgba(0,0,0,0.18);
}
.logo {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: -0.01em; cursor: pointer; border-radius: var(--radius-sm);
}
.logo-mark { width: 34px; height: 34px; color: currentColor; flex-shrink: 0; transition: width 0.5s var(--ease-out), height 0.5s var(--ease-out); }
/* Header reuses the preloader's six-shape "E" morph (see morph-mark.js /
   header-mark.js). Difference blend means it self-inverts against whatever
   is behind the fixed nav — no background chip needed pre-scroll. */
.logo-mark--morph { overflow: visible; mix-blend-mode: difference; }
.logo-mark--morph .logo-mark-path { fill: var(--accent); }
/* Scroll-condense: text collapses away, icon remains — the icon starts
   shrinking immediately, the text follows a beat later (300ms delay,
   measured off the reference's own tagline stagger) so they don't move in
   lockstep. */
.logo-text { display: block; overflow: hidden; max-height: 16px; opacity: 1; transition: max-height 0.5s cubic-bezier(0.45, 0, 0.55, 1) 0.3s, opacity 0.5s cubic-bezier(0.45, 0, 0.55, 1) 0.3s, margin-top 0.5s var(--ease-out) 0.3s; }
.nav--scrolled .logo-text { max-height: 0; opacity: 0; margin-top: -2px; }
.nav--scrolled .logo-mark { width: 30px; height: 30px; }

/* Hero/body seam divider: a wave shape, flat top edge painted brand-dark
   so it reads as a continuation of the hero above it rather than a
   separate strip. -1px margin closes the hairline gap some browsers leave
   between adjacent same-color blocks at fractional device pixel ratios. */
.hero-divider { position: relative; line-height: 0; z-index: 5; margin-top: -1px; }
.hero-divider svg { display: block; width: 100%; height: clamp(48px, 8vw, 110px); }
.hero-divider path { fill: var(--brand-dark); }

/* Body/footer seam divider: same wave, mirrored — see markup comment. */
.footer-divider { position: relative; line-height: 0; z-index: 5; margin-bottom: -1px; }
.footer-divider svg { display: block; width: 100%; height: clamp(48px, 8vw, 110px); }
.footer-divider path { fill: var(--brand-dark); }

/* ── Scattered puzzle-piece decorations: mouse-depth parallax + a
   scroll-driven radial "explode outward" ── */
.hero-puzzles { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-puzzle {
  position: absolute; color: #fdfbf6; will-change: transform;
  transform-origin: 50% 50%;
  /* --tx/--ty: combined mouse+scroll translate, written by JS every frame.
     --scroll-rot: extra scroll-driven spin, composed with the idle wobble
     below so JS never fights the CSS animation for the `rotate` property. */
  transform: translate(var(--tx, 0px), var(--ty, 0px));
  rotate: calc(var(--rot, 0deg) + var(--scroll-rot, 0deg));
  animation: puzzleDrift var(--dur, 12s) var(--delay, 0s) ease-in-out infinite;
}
.hero-puzzle--far { filter: blur(2.5px); }
.hero-puzzle--near { filter: none; }
/* Each piece drifts on its own randomized duration/delay/amplitude (set
   per-instance via --dur/--delay/--amp), oscillating around its own base
   --rot (plus whatever scroll rotation is currently applied) rather than a
   shared 0deg, so the set never reads as one synchronized group. */
@keyframes puzzleDrift {
  0%, 100% { rotate: calc(var(--rot, 0deg) + var(--scroll-rot, 0deg) - var(--amp, 4deg)); scale: 1; }
  50% { rotate: calc(var(--rot, 0deg) + var(--scroll-rot, 0deg) + var(--amp, 4deg)); scale: 1.04; }
}
@media (max-width: 900px) {
  .hero-puzzles { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-puzzle { animation: none; }
}

/* ── Green margin puzzle pieces (body sections), scroll-linked rotation ── */
.margin-puzzle {
  position: absolute; top: var(--mt, 10%);
  color: var(--brand); opacity: 0.9;
  pointer-events: none; z-index: 1;
  will-change: transform;
}
@media (max-width: 1100px) {
  .margin-puzzle { display: none; }
}

/* ── Split-character reveal (logo wordmark) ── */
.split-char { display: inline-block; overflow: hidden; }
.split-char-inner {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  animation: charRise 0.6s var(--ease-out) forwards;
}
@keyframes charRise { to { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .split-char-inner { animation: none; transform: none; opacity: 1; }
}
.nav-link { color: rgba(253, 251, 246, 0.68); font-size: 14px; font-weight: 500; transition: opacity 0.3s var(--ease-out), color 0.3s var(--ease-out); border-radius: var(--radius-sm); }
.nav-link:hover { color: var(--accent); opacity: 1; }
.nav-cta {
  border: 1px solid rgba(253, 251, 246, 0.28);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
}
.nav-cta:hover { border-color: var(--accent); }
.nav-cta.nav-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 6px; font-size: 13px; font-weight: 500;
}
.nav-chip__avatar {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
}

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 1200px; padding: 0 24px; }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 700; line-height: 1.03; letter-spacing: -0.035em;
}
.hero-headline .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-headline .line-inner { display: block; opacity: 0; transform: translateY(110%); will-change: transform, opacity; }
.hero-sub {
  margin-top: 28px; font-size: 18px; color: rgba(253, 251, 246, 0.66);
  opacity: 0;
}
.cta-btn {
  display: inline-block; margin-top: 44px;
  padding: 16px 44px; border-radius: var(--radius-pill);
  border: none; color: var(--brand-dark);
  background: var(--accent);
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  cursor: pointer;
  transition: transform 0.45s var(--ease-spring-fallback), background-color 0.3s var(--ease-out);
  opacity: 0; will-change: transform;
}
@supports (transition-timing-function: linear(0, 1)) {
  .cta-btn { transition-timing-function: var(--ease-spring), var(--ease-out); }
}
.cta-btn:hover { background: #f0ff85; transform: scale(1.055, 1.085); }
.cta-btn:active { transform: scale(0.975); }
.cta-btn:focus-visible { transform: none; }
.cta-glow { animation: ctaBreathe 2.6s ease-in-out infinite; opacity: 1; }
@keyframes ctaBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
.scroll-indicator {
  position: absolute; bottom: 36px; z-index: 2;
  color: rgba(253, 251, 246, 0.5); font-size: 14px; font-family: var(--font-body);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

/* ── Steps ("how it works", tabbed) ──
   Layout and interaction measured off the beetogreen.com capture in
   enrichr-beetogreen.com/ (its "How does Enrichr take a site apart?" step
   section — a Prismic slice with 3 label/stat/heading/description/image
   entries, each carrying its own pastel bg + text color). Structure kept:
   a narrow tab list switches a tinted media panel and a stat+headline
   detail pane. The step photography is replaced with small CSS/SVG mocks
   (DOM markup, an easing curve, a document brief) since Enrichr's actual
   subject is code, not lifestyle photography — tab-switch JS in steps.js. */
.steps-section { position: relative; background: var(--bg); padding: 160px 24px 180px; }
.steps-inner { max-width: 1180px; margin: 0 auto; }
.steps-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 58px); font-weight: 600;
  line-height: 1.08; letter-spacing: -0.025em;
  max-width: 14ch; margin-bottom: 72px;
}
/* Word-by-word reveal — the same overflow-hidden-span-per-word mechanic
   measured off beetogreen.com's own .process__title (h2, enrichr-beetogreen
   .com/), just wired to GSAP ScrollTrigger instead of a route-enter hook.
   Split into spans at runtime by main.js; no hidden state is baked in here
   so reduced-motion (which skips that script block) renders plain text. */
.word-reveal-outer { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; }
.word-reveal-inner { display: inline-block; will-change: transform; }
.steps-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr 1fr;
  gap: 56px;
  align-items: start;
}

.steps-tabs { list-style: none; }
.steps-tab {
  display: block; width: 100%; text-align: left;
  background: none; border: none; border-top: 1px solid var(--line);
  padding: 20px 0; cursor: pointer;
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  color: var(--ink-faint);
  transition: color 0.3s var(--ease-swift);
}
.steps-tabs li:last-child .steps-tab { border-bottom: 1px solid var(--line); }
.steps-tab:hover { color: var(--ink-soft); }
.steps-tab--active { color: var(--ink); font-weight: 600; }

.steps-media {
  position: relative; aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-lg); overflow: hidden;
}
.steps-media-panel {
  position: absolute; inset: 0; background: var(--panel-tint);
  display: flex; align-items: center; justify-content: center; padding: 40px;
  opacity: 0; transform: scale(1.03);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none; will-change: opacity, transform;
}
.steps-media-panel--active { opacity: 1; transform: scale(1); pointer-events: auto; }

.steps-mock { width: 100%; max-width: 320px; }
.steps-mock--dom {
  background: rgba(255, 255, 255, 0.6); border-radius: var(--radius);
  padding: 24px; font-size: 13px; line-height: 1.9; color: var(--violet);
}
.steps-mock-indent { padding-left: 20px; }
.steps-mock-indent--2 { padding-left: 40px; color: var(--ink); }
.steps-mock-tag { color: var(--violet); opacity: 0.6; }
.steps-mock-punct { color: var(--ink-faint); }
.steps-mock-str { color: var(--warn); }
.steps-mock--motion { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.steps-mock-wave {
  width: 100%; max-width: 260px;
  stroke: var(--terracotta); stroke-width: 3; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.steps-mock-tags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; color: var(--terracotta); font-size: 12px; }
.steps-mock-tags span { background: rgba(255, 255, 255, 0.6); border-radius: var(--radius-pill); padding: 4px 12px; }
.steps-mock--brief {
  background: rgba(255, 255, 255, 0.65); border-radius: var(--radius); padding: 28px;
}
.steps-mock-chip {
  display: inline-block; background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.4px;
  border-radius: var(--radius-pill); padding: 4px 12px; margin-bottom: 18px;
}
.steps-mock-line { height: 8px; border-radius: var(--radius-pill); background: rgba(12, 30, 24, 0.12); margin-bottom: 10px; }
.steps-mock-line--accent { background: var(--brand); opacity: 0.5; }

.steps-detail { position: relative; min-height: 220px; }
.steps-detail-panel {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  pointer-events: none;
}
.steps-detail-panel--active { position: relative; opacity: 1; transform: translateY(0); pointer-events: auto; }
.steps-stat { display: block; color: var(--brand); font-weight: 600; margin-bottom: 18px; }
.steps-detail-panel h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 16px; }
.steps-detail-panel p { color: var(--ink-soft); line-height: 1.7; }

/* ── Ticker (diagonal scrolling marquee, scroll-reactive) ── */
.ticker-section { overflow: hidden; padding: 90px 0; background: var(--bg); }
.ticker-clip { transform: rotate(-5deg); width: 130%; margin-left: -15%; will-change: transform; }
.ticker-band { background: var(--brand-dark); padding: 22px 0; display: flex; flex-direction: column; gap: 8px; }
.ticker-track { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.ticker-track--a { animation: tickerLeft 26s linear infinite; }
.ticker-track--b { animation: tickerRight 32s linear infinite; opacity: 0.35; }
@keyframes tickerLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tickerRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.ticker-item {
  display: inline-flex; align-items: center; gap: 20px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3.4vw, 44px);
  color: #fdfbf6; padding-right: 20px; letter-spacing: -0.01em;
}
.ticker-x { color: var(--accent); font-weight: 400; }
@media (prefers-reduced-motion: reduce) {
  .ticker-clip { transform: rotate(-5deg) !important; }
  .ticker-track--a, .ticker-track--b { animation: none; }
}

/* ── Setup section (cream) ── */
.setup-section { position: relative; padding: 160px 24px; background: var(--bg); }
.setup-inner { max-width: 760px; margin: 0 auto; }
.accent-bar {
  position: absolute; left: max(32px, calc((100vw - 1200px) / 2 - 80px));
  top: 160px; bottom: 160px; width: 3px;
  background: var(--line); border-radius: var(--radius-pill);
}
.accent-bar-fill { width: 100%; height: 0%; background: var(--brand); border-radius: var(--radius-pill); }
.setup-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px); font-weight: 600;
  line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 72px;
}
.setup-step { margin-bottom: 48px; will-change: transform; }
.step-label { color: var(--ink-soft); font-size: 14px; font-weight: 500; display: block; margin-bottom: 12px; }
.code-block {
  position: relative;
  background: var(--brand-dark);
  border: none; border-radius: var(--radius);
  padding: 20px 24px; overflow-x: auto;
}
.code-block pre { white-space: pre-wrap; color: var(--accent); line-height: 1.8; }
.copy-btn {
  position: absolute; top: 10px; right: 10px;
  background: rgba(253, 251, 246, 0.08); border: 1px solid rgba(253, 251, 246, 0.16);
  color: rgba(253, 251, 246, 0.6); border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  padding: 4px 12px; cursor: pointer;
  opacity: 0; transition: opacity 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.code-block:hover .copy-btn { opacity: 1; }
.copy-btn:hover { color: var(--accent); border-color: var(--accent); }
.copy-btn.copied { color: var(--accent); border-color: var(--accent); opacity: 1; }
.setup-done { margin-top: 64px; font-family: var(--font-display); font-size: 22px; font-weight: 600; }

/* ── Gallery (cream) ── */
.gallery-section { position: relative; padding: 140px 24px; max-width: 1200px; margin: 0 auto; background: var(--bg); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px); font-weight: 600;
  letter-spacing: -0.025em; text-align: center; margin-bottom: 72px;
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.gallery-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: none;
  box-shadow: 0 1px 2px rgba(12, 30, 24, 0.04), 0 4px 12px rgba(12, 30, 24, 0.04);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  will-change: transform, opacity;
}
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 8px rgba(12, 30, 24, 0.06), 0 16px 32px rgba(12, 30, 24, 0.08);
}
.card-image {
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  transition: transform 0.35s var(--ease-out);
}
.card-image.gi-1 { background-color: var(--mint); }
.card-image.gi-2 { background-color: var(--peach); }
.card-image.gi-3 { background-color: var(--sky); }
.card-image.gi-4 { background-color: var(--butter); }
.card-image.gi-5 { background-color: var(--lilac); }
.card-image.gi-6 { background-color: var(--rose); }
.card-image.gi-7 { background-color: var(--mint); }
.card-image.gi-8 { background-color: var(--peach); }
.card-image.gi-9 { background-color: var(--sky); }
.card-image.gi-10 { background-color: var(--butter); }
.card-image.gi-11 { background-color: var(--lilac); }
.gallery-card:hover .card-image { transform: scale(1.03); }
.card-info { padding: 20px; background: var(--surface); transition: background 0.3s var(--ease-out); }
.card-info h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.card-info p { color: var(--ink-soft); font-size: 13px; margin-top: 4px; }
.card-info a {
  display: inline-block; margin-top: 14px;
  font-size: 13px; font-weight: 600; color: var(--brand);
  transition: opacity 0.25s var(--ease-out);
}
.card-info a:hover { opacity: 0.7; }
.arrow { display: inline-block; }

/* ── Features (cream) ── */
.features-section { position: relative; padding: 140px 24px; max-width: 800px; margin: 0 auto; background: var(--bg); }
.feature-layer {
  border: none; border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(12, 30, 24, 0.04), 0 8px 24px rgba(12, 30, 24, 0.05);
  padding: 40px 44px; margin-bottom: 48px;
  will-change: transform;
}
.feature-layer:nth-child(odd) { margin-left: 40px; }
.feature-tag {
  font-family: var(--font-body); font-weight: 600;
  font-size: 12px; color: var(--brand);
  background: var(--mint);
  border: none; border-radius: var(--radius-pill);
  padding: 4px 14px;
}
.feature-tag.purple { color: #4b1a9a; background: var(--lilac); }
.feature-layer h3 { font-family: var(--font-display); font-size: 30px; font-weight: 600; margin: 18px 0 16px; letter-spacing: -0.02em; }
.feature-layer ul { list-style: none; }
.feature-layer li { color: var(--ink-soft); padding: 5px 0; }
.feature-layer li::before { content: "→ "; color: var(--brand); }
.muted-layer { opacity: 0.75; border-left-style: dashed; border-left-color: var(--ink-faint); }
.muted-layer li::before { content: "· "; color: var(--ink-faint); }

/* ── Testimonials ── */
.testimonials-section { padding: 140px 24px; max-width: 1100px; margin: 0 auto; background: var(--bg); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card {
  border: none; border-radius: var(--radius);
  padding: 36px 32px; background: var(--surface);
  box-shadow: 0 1px 2px rgba(12, 30, 24, 0.04), 0 8px 24px rgba(12, 30, 24, 0.05);
  will-change: transform, opacity;
}
.testimonial-card em { color: var(--brand); font-style: normal; }
.testimonial-card cite {
  display: block; margin-top: 22px;
  color: var(--ink-soft); font-size: 13px; font-style: normal;
}

/* ── Footer / CTA (dark section — bookends the hero) ── */
.footer-section {
  padding: 180px 24px 48px; text-align: center;
  background: var(--brand-dark); color: #fdfbf6;
}
.cta-title { font-family: var(--font-display); font-size: clamp(40px, 5.5vw, 72px); font-weight: 700; letter-spacing: -0.03em; }
.footer-contact { margin-top: 28px; color: rgba(253, 251, 246, 0.6); }
.footer-contact a { color: var(--accent); }
.footer-contact a:hover { opacity: 0.75; }
.footer-bottom {
  margin-top: 120px; padding-top: 32px;
  border-top: 1px solid rgba(253, 251, 246, 0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: rgba(253, 251, 246, 0.5); font-size: 13px;
}
.footer-bottom a:hover { color: var(--accent); }

/* ── Preloader ──
   Full-screen brand splash, shown until window 'load' fires (see
   preloader.js). Sizes use clamp() rather than a breakpoint since it's a
   single centered composition with no layout to reflow at any width. */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(16px, 4vw, 28px);
  background: var(--brand-dark);
  transition: opacity 0.5s var(--ease-out), visibility 0.5s var(--ease-out);
}
.preloader--done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader svg { display: block; overflow: visible; width: clamp(140px, 32vw, 320px); height: clamp(140px, 32vw, 320px); }
.preloader-path { fill: var(--accent); }
.preloader-bar {
  width: clamp(220px, 60vw, 420px); height: clamp(10px, 2.4vw, 14px);
  border-radius: 7px; background: rgba(230, 255, 85, 0.18); overflow: hidden;
}
.preloader-bar-fill {
  height: 100%; width: 0%; border-radius: 7px;
  background-image: repeating-linear-gradient(45deg, var(--brand-dark) 0px, var(--brand-dark) 3px, var(--accent) 3px, var(--accent) 17px);
  background-size: 24.04px 24.04px;
}
@media (prefers-reduced-motion: reduce) {
  .preloader-bar { display: none; }
}

/* ── Responsive ── */
@media (max-width: 1199px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-detail { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  .nav { padding: 20px 24px; }
  .hero-sub br { display: none; }
  .steps-section { padding: 100px 24px; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-detail { grid-column: auto; min-height: 0; }
  .steps-media { aspect-ratio: 16 / 11; }
  .gallery-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .feature-layer:nth-child(odd) { margin-left: 0; }
  .feature-layer { padding: 28px; }
  .accent-bar { left: 12px; }
  .footer-bottom { flex-direction: column; align-items: center; }
  [data-parallax] { transform: none !important; }
}




/* ── Pricing (cream) ─────────────────────────────────────────────────────── */
/* Reveal animations are driven by the existing .reveal-up ScrollTrigger in
   main.js, so these cards need no new JS. */

.pricing-section {
  padding: 120px 24px 90px;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg);
}
.pricing-sub {
  max-width: 620px;
  margin: 18px auto 46px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 15px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  text-align: left;
}
.price-card {
  position: relative;
  border: none;
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(12, 30, 24, 0.04), 0 8px 24px rgba(12, 30, 24, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(12, 30, 24, 0.06), 0 16px 32px rgba(12, 30, 24, 0.08); }
.price-card.featured {
  border: 2px solid var(--brand);
  background: var(--mint);
}
.price-badge {
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
}
.price-card h3 { font-family: var(--font-display); font-size: 15px; font-weight: 600; opacity: 0.85; }
.price-card .price { font-family: var(--font-display); font-size: 34px; font-weight: 700; margin: 10px 0 18px; }
.price-card .price span { font-family: var(--font-body); font-size: 15px; font-weight: 500; opacity: 0.55; }
.price-card ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.price-card li {
  padding: 7px 0;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.price-card li:last-child { border-bottom: none; }
.price-btn {
  display: block;
  text-align: center;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.45s var(--ease-spring-fallback), border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}
@supports (transition-timing-function: linear(0, 1)) {
  .price-btn { transition-timing-function: var(--ease-spring), var(--ease-out), var(--ease-out); }
}
.price-btn:hover { border-color: var(--brand); transform: scale(1.03); }
.price-btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.price-btn.primary:hover { background: var(--brand-dark); }
.pricing-note {
  margin-top: 40px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.pricing-note a { color: var(--brand); font-weight: 600; }

@media (max-width: 700px) {
  .pricing-section { padding: 80px 18px 60px; }
  .price-card .price { font-size: 28px; }
}


/* ── Proof table (cream) ─────────────────────────────────────────────────── */

.proof-section {
  position: relative;
  padding: 110px 24px 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg);
}
.proof-sub {
  max-width: 640px;
  margin: 18px auto 40px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 15px;
}
.proof-table {
  border: none;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(12, 30, 24, 0.04), 0 8px 24px rgba(12, 30, 24, 0.05);
  overflow: hidden;
  text-align: left;
}
.proof-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  align-items: center;
}
.proof-row:last-child { border-bottom: none; }
.proof-head {
  background: var(--mint);
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink-soft);
  font-weight: 700;
}
.proof-row .dim {
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.proof-row .win {
  color: var(--good);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.proof-note {
  margin-top: 40px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .proof-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 16px; }
  .proof-head { display: none; }
  .proof-row .dim::before { content: "fetch: "; opacity: 0.6; }
  .proof-row .win::before { content: "Enrichr: "; opacity: 0.6; font-weight: 400; }
}

/* ── FAQ ── */
.faq-section { position: relative; overflow: hidden; background: var(--bg); padding: 60px 24px 140px; }
.faq-container {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px;
  align-items: start;
}
.faq-left { position: relative; min-height: 320px; }
.faq-title {
  font-family: var(--font-display); font-size: 48px; font-weight: 600;
  letter-spacing: -0.025em; line-height: 1; max-width: 10ch; margin: 0;
}
.faq-shape {
  position: absolute; bottom: -80px; left: -20px; width: 220px;
  color: var(--brand); opacity: 0.5; pointer-events: none;
}
.faq-shape svg { display: block; width: 100%; height: auto; }
.faq-list { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  width: 100%; padding: 24px 0; background: transparent; border: none;
  text-align: left; cursor: pointer; color: var(--ink);
  transition: color 0.3s var(--ease-swift);
}
.faq-question:hover { color: var(--brand); }
.faq-question-text { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.faq-icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-icon-line {
  position: absolute; top: 50%; left: 50%; background: currentColor;
  transition: transform 0.4s var(--ease-swift);
}
.faq-icon-line--h { width: 100%; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon-line--v { width: 1.5px; height: 100%; transform: translate(-50%, -50%); }
.faq-item--open .faq-icon-line--v { transform: translate(-50%, -50%) scaleY(0); }
.faq-answer-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-swift); }
.faq-item--open .faq-answer-wrap { grid-template-rows: 1fr; }
.faq-answer-inner { min-height: 0; overflow: hidden; }
.faq-answer { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin: 0; max-width: 62ch; padding-bottom: 24px; }
/* Per-word reveal, staggered via --delay (set by JS on load) — held back
   until the accordion has had a beat to open (transition-delay base 0.3s),
   same sequencing as the reference: the row expands first, then the words
   rise into the space it made. */
.faq-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.faq-word-inner { display: inline-block; transform: translateY(100%); transition: transform 0.6s var(--ease-out); }
.faq-item--open .faq-word-inner { transform: translateY(0); transition-delay: calc(0.3s + var(--delay, 0s)); }
@media (max-width: 900px) {
  .faq-container { grid-template-columns: 1fr; gap: 32px; }
  .faq-left { min-height: 0; }
  .faq-shape { display: none; }
  .faq-title { font-size: 40px; }
}
