/* =========================================================
   ALEX AI — Design System v7.0
   Aesthetic: Editorial restraint, studio-grade typography,
   olive-green + warm beige palette. Inspired by Heraphy,
   Treehouse Hotel, and high-end agency portfolios.
   ========================================================= */

/* Fonts loaded via HTML <link> for better performance (preconnect + no render-block import chain) */

/* ── CSS Cascade Layers ──
   Order matters: later layers win the cascade when specificity is equal.
   reset      → browser normalization
   tokens     → design tokens (CSS variables)
   base       → typography, body styles, components (the bulk of this file)
   components → reusable component overrides (sprite icons, FAB, etc.)
   utilities  → atomic helper classes that should always win
*/

/* ── Design Tokens v6 — Semantic + Dark Mode ──
   Two-layer system:
   1. Reference tokens (raw values)
   2. Semantic tokens (--surface-*, --content-*, --accent-*) themed via [data-theme]
   Old aliases (--bg, --olive...) are kept as semantic mappings so the
   existing 280+ usages keep working — they now resolve to themed values.
*/
:root {
  /* Reference / brand colors (never change with theme) */
  --brand-cream:     #F5F2EC;
  --brand-cream-2:   #EDEBE4;
  --brand-cream-3:   #E5E2DA;
  --brand-ink:       #1A1D17;
  --brand-ink-2:     #22251D;
  --brand-ink-3:     #2F3328;
  --brand-olive:     #5B6B4E;
  --brand-olive-l:   #7A8D68;
  --brand-olive-d:   #41513A;
  --brand-sage:      #9CB386;
  --brand-gold:      #D9BE8A;
  --brand-gold-l:    #E8D4AA;
  --brand-brown:     #917B5E;
  --brand-brown-l:   #B09A7D;

  /* Typography — 2 web fonts loaded + 1 system mono */
  --f-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono:    ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* ─── LIGHT THEME (default) ─── */
  --surface-0:        #F5F2EC;
  --surface-1:        #EDEBE4;
  --surface-2:        #E5E2DA;
  --surface-3:        #FFFFFF;
  --surface-inverse:  #1A1D17;
  --surface-inverse-2:#22251D;
  --surface-inverse-3:#2F3328;

  --content-primary:    #1C1C18;
  --content-secondary:  #3D3D35;
  --content-tertiary:   #6B6960;  /* WCAG AA fix: was #8A8780 (2.8:1) → now 4.6:1 */
  --content-on-accent:  #F5F2EC;
  --content-on-inverse: #F5F2EC;

  --accent:           #5B6B4E;
  --accent-hover:     #7A8D68;
  --accent-active:    #41513A;
  --accent-subtle:    rgba(91,107,78,.06);
  --accent-glow:      rgba(122,141,104,.35);

  --border-color:     #D9D4C9;
  --border-subtle:    rgba(28,28,24,.08);
  --border-inverse:   rgba(255,255,255,.07);

  /* Frosted-glass / chip backgrounds (theme-aware — swap in dark) */
  --glass-bg:         rgba(28,28,24,.045);
  --glass-bg-hover:   rgba(28,28,24,.085);
  --glass-border:     rgba(28,28,24,.12);

  --green-ok:  #5B7A4E;
  --red-err:   #A65D5D;

  /* Hero surfaces — stay dark in both themes (theatrical "stage" sections) */
  --surface-hero:     #1A1D17;
  --surface-hero-2:   #22251D;
  --surface-hero-3:   #2F3328;
  --content-on-hero:  #F5F2EC;
  --content-on-hero-dim: rgba(245,242,236,.72);

  /* Legacy aliases — point at semantic so old CSS works AND themes apply */
  --bg:        var(--surface-0);
  --bg-alt:    var(--surface-1);
  --bg-subtle: var(--surface-2);
  /* --light/--dark are STAGE colors used on hero/dark sections that stay dark in both themes.
     They MUST stay constant: --light = always cream (text on dark), --dark = always ink (bg of dark stages) */
  --light:     #F5F2EC;
  --dark:      #1A1D17;
  --dark-2:    #22251D;
  --dark-3:    #2F3328;
  --ink:       var(--content-primary);
  --ink-2:     var(--content-secondary);
  --muted:     var(--content-tertiary);
  --border:    var(--border-color);
  --border-l:  var(--border-inverse);
  --olive:     var(--accent);
  --olive-l:   var(--accent-hover);
  --olive-xl:  var(--accent-subtle);
  --olive-glow: var(--accent-glow);
  /* Brand accent aliases — used by gradients/text-fills across the site.
     These MUST exist or every var(--gold) gradient becomes invalid and the
     element falls back to transparent (e.g. .trust-num, .roi-out-num). */
  --gold:      var(--brand-gold);
  --gold-l:    var(--brand-gold-l);
  --brown:     var(--brand-brown);
  --brown-l:   var(--brand-brown-l);
  --cream:     var(--brand-cream);
  --cream-2:   var(--brand-cream-2);
  --cream-3:   var(--brand-cream-3);
  --sage:      var(--brand-sage);
  --ink-3:     var(--brand-ink-3);

  /* Gradients (themed via semantic tokens) */
  --grad-hero:  linear-gradient(135deg, var(--surface-hero) 0%, var(--surface-hero-2) 35%, var(--surface-hero-3) 70%, var(--surface-hero) 100%);
  --grad-olive: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  --grad-gold:  linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-l) 100%);
  --grad-text:  linear-gradient(135deg, var(--content-on-hero) 0%, var(--brand-gold) 50%, var(--accent-hover) 100%);

  /* Shadows & glows */
  --shadow-sm:    0 2px 8px rgba(26,29,23,.06);
  --shadow-md:    0 8px 32px rgba(26,29,23,.08);
  --shadow-lg:    0 24px 72px rgba(26,29,23,.12);
  --shadow-olive: 0 14px 40px rgba(91,107,78,.25);
  --glow-olive:   0 0 80px rgba(122,141,104,.35);
  --glow-gold:    0 0 60px rgba(217,190,138,.25);

  --ease:        cubic-bezier(.22, 1, .36, 1);
  --ease-in:     cubic-bezier(.64, 0, .78, 0);
  --ease-io:     cubic-bezier(.65, 0, .35, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);

  --radius:      2px;
  --radius-lg:   4px;

  /* Theme transition */
  --theme-trans: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}

/* ─── DARK THEME ─── */
[data-theme="dark"] {
  --surface-0:        #0F1110;
  --surface-1:        #161915;
  --surface-2:        #1F231E;
  --surface-3:        #262A24;
  --surface-inverse:  #F5F2EC;
  --surface-inverse-2:#EDEBE4;
  --surface-inverse-3:#E5E2DA;

  /* Hero stays dark but slightly lifted vs surface-0 for hierarchy */
  --surface-hero:     #0A0C0B;
  --surface-hero-2:   #111413;
  --surface-hero-3:   #181B1A;
  --content-on-hero:  #F1EFE7;
  --content-on-hero-dim: rgba(241,239,231,.72);

  --content-primary:    #F1EFE7;
  --content-secondary:  #C7C2B5;
  --content-tertiary:   #94918A;  /* WCAG AA on #0F1110 */
  --content-on-accent:  #0F1110;
  --content-on-inverse: #1A1D17;

  --accent:           #9CB386;  /* lifted for dark contrast */
  --accent-hover:     #B5C99F;
  --accent-active:    #7A9568;
  --accent-subtle:    rgba(156,179,134,.10);
  --accent-glow:      rgba(156,179,134,.40);

  --border-color:     rgba(255,255,255,.10);
  --border-subtle:    rgba(255,255,255,.05);
  --border-inverse:   rgba(0,0,0,.10);

  /* Frosted-glass (swap to light-on-dark in dark mode) */
  --glass-bg:         rgba(255,255,255,.06);
  --glass-bg-hover:   rgba(255,255,255,.12);
  --glass-border:     rgba(255,255,255,.14);

  --shadow-sm:    0 2px 8px rgba(0,0,0,.45);
  --shadow-md:    0 8px 32px rgba(0,0,0,.55);
  --shadow-lg:    0 24px 72px rgba(0,0,0,.65);
  --shadow-olive: 0 14px 40px rgba(0,0,0,.5);
  --glow-olive:   0 0 80px rgba(156,179,134,.35);
  --glow-gold:    0 0 60px rgba(217,190,138,.20);
}

/* System preference fallback when user has not set explicit theme */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    --surface-0:        #0F1110;
    --surface-1:        #161915;
    --surface-2:        #1F231E;
    --surface-3:        #262A24;
    --surface-inverse:  #F5F2EC;
    --surface-inverse-2:#EDEBE4;
    --surface-inverse-3:#E5E2DA;
    --content-primary:    #F1EFE7;
    --content-secondary:  #C7C2B5;
    --content-tertiary:   #94918A;
    --content-on-accent:  #0F1110;
    --content-on-inverse: #1A1D17;
    --accent:           #9CB386;
    --accent-hover:     #B5C99F;
    --accent-active:    #7A9568;
    --accent-subtle:    rgba(156,179,134,.10);
    --accent-glow:      rgba(156,179,134,.40);
    --border-color:     rgba(255,255,255,.10);
    --border-subtle:    rgba(255,255,255,.05);
    --border-inverse:   rgba(0,0,0,.10);
    --glass-bg:         rgba(255,255,255,.06);
    --glass-bg-hover:   rgba(255,255,255,.12);
    --glass-border:     rgba(255,255,255,.14);
    --shadow-sm:    0 2px 8px rgba(0,0,0,.45);
    --shadow-md:    0 8px 32px rgba(0,0,0,.55);
    --shadow-lg:    0 24px 72px rgba(0,0,0,.65);
  }
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
  transition: var(--theme-trans);
}
/* Smooth theme transitions on themed surfaces */
.section, .section--alt, .section--subtle, .section--dark, .section--dark-alt,
.feat, .step, .cc-card, .tec-card, .plan-card, .quiz-start-card, .quiz-active,
.faq-item, .footer, #nav, .nav-cta, .btn-fill, .btn-outline {
  transition: var(--theme-trans), transform .35s var(--ease), box-shadow .35s var(--ease);
}
a { text-decoration: none; color: inherit; cursor: none; }
button { cursor: none; font-family: inherit; border: none; background: none; }
img, video { display: block; max-width: 100%; }
ul { list-style: none; }
::selection { background: var(--olive); color: #fff; }

/* ── Cursor ── */
#cursor { position: fixed; pointer-events: none; z-index: 10000; mix-blend-mode: difference; }
#c-dot {
  position: fixed; width: 6px; height: 6px;
  background: #fff; border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width .25s var(--ease), height .25s var(--ease), opacity .2s;
}
#c-ring {
  position: fixed; width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%; transform: translate(-50%,-50%);
  transition: width .4s var(--ease), height .4s var(--ease), opacity .3s;
}
body.cursor-hover #c-dot { width: 48px; height: 48px; opacity: .15; }
body.cursor-hover #c-ring { opacity: 0; }

/* ── Loader ── */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px;
  transition: opacity .6s var(--ease-io), visibility .6s;
}
#loader.done { opacity: 0; visibility: hidden; }
.loader-brand {
  font-family: var(--f-display); font-size: clamp(2rem,5vw,3.8rem);
  font-weight: 400; color: var(--light); letter-spacing: -.03em;
}
.loader-brand span { font-style: italic; color: var(--olive-l); }
.loader-bar { width: 140px; height: 1px; background: rgba(255,255,255,.06); overflow: hidden; }
.loader-progress { height: 100%; width: 0; background: var(--olive-l); transition: width .1s linear; }
.loader-pct {
  font-family: var(--f-body); font-size: .62rem; letter-spacing: .22em;
  color: rgba(255,255,255,.55);
}

/* ── Navigation ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 26px 56px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .5s var(--ease), padding .4s var(--ease), border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
#nav.nav-over-dark {
  background: linear-gradient(to bottom, rgba(26,29,23,.5), transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#nav.scrolled {
  background: rgba(245,242,236,.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 14px 56px;
  border-bottom-color: rgba(217,212,201,.6);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 8px 32px rgba(26,29,23,.05);
}
#nav.nav-over-dark .nav-brand,
#nav.nav-over-dark .nav-item,
#nav.nav-over-dark .nav-cta { color: var(--light); }
#nav.nav-over-dark .nav-brand span { color: var(--olive-l); }
#nav.nav-over-dark .nav-item::after { background: var(--light); }
#nav.nav-over-dark .nav-cta { border-color: rgba(255,255,255,.3); }
#nav.nav-over-dark .nav-cta:hover { background: rgba(255,255,255,.06); }
#nav.scrolled .nav-brand,
#nav.scrolled .nav-item,
#nav.scrolled .nav-cta { color: var(--ink); }
#nav.scrolled .nav-brand span { color: var(--olive); }
#nav.scrolled .nav-item::after { background: var(--ink); }
#nav.scrolled .nav-cta { border-color: var(--ink); }
#nav.scrolled .nav-cta:hover { background: var(--ink); color: var(--bg); }

.nav-brand {
  font-family: var(--f-display); font-size: 1rem;
  font-weight: 400; letter-spacing: .02em;
}
.nav-brand span { font-style: italic; color: var(--olive); }

.nav-menu { display: flex; gap: 40px; align-items: center; }
.nav-item {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); position: relative; transition: color .25s;
}
.nav-item::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--ink);
  transition: width .3s var(--ease);
}
.nav-item:hover { color: var(--ink); }
.nav-item:hover::after { width: 100%; }

.nav-cta {
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 9px 20px; border: 1px solid var(--ink);
  color: var(--ink); transition: background .25s, color .25s;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }

/* Theme toggle */
.theme-toggle {
  position: relative;
  /* WCAG 2.5.5 / 2.5.8 minimum target size 44x44.
     flex-shrink:0 prevents the nav-menu flex container from compressing the width. */
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--content-primary);
  background: transparent;
  border: 1px solid transparent;
  cursor: none;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease);
  margin-right: 4px;
}
.theme-toggle:hover {
  background: var(--accent-subtle);
  border-color: var(--border-color);
  transform: rotate(15deg);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.theme-icon {
  position: absolute;
  width: 18px; height: 18px;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.theme-icon--sun { opacity: 1; transform: rotate(0) scale(1); }
.theme-icon--moon { opacity: 0; transform: rotate(-90deg) scale(.6); }
[data-theme="dark"] .theme-icon--sun { opacity: 0; transform: rotate(90deg) scale(.6); }
[data-theme="dark"] .theme-icon--moon { opacity: 1; transform: rotate(0) scale(1); }
#nav.nav-over-dark .theme-toggle { color: var(--content-on-hero); }
#nav.scrolled .theme-toggle { color: var(--content-primary); }
@media (max-width: 900px) {
  .theme-toggle { position: absolute; right: 72px; top: 14px; }
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 24px; padding: 4px 0;
}
.nav-toggle span {
  display: block; height: 1px; background: var(--ink);
  transition: transform .3s, opacity .3s;
}
#nav.nav-over-dark .nav-toggle span { background: var(--light); }
#nav.scrolled .nav-toggle span { background: var(--ink); }

/* ── Container ── */
.container { max-width: 1320px; margin: 0 auto; padding: 0 56px; }

/* ── Section ── */
.section { padding: 120px 0; }
.section--alt { background: var(--surface-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--subtle { background: var(--surface-2); border-top: 1px solid var(--border); }
.section-dark { background: var(--surface-hero); color: var(--content-on-hero); }
.section--dark { background: var(--surface-hero); color: var(--content-on-hero); }
.section--dark-alt { background: var(--surface-hero-2); color: var(--content-on-hero); }

.section-eyebrow {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: ''; width: 24px; height: 1px;
  background: currentColor; display: inline-block;
}
.section--dark .section-eyebrow,
.section--dark-alt .section-eyebrow { color: rgba(245,242,236,.78); }

.section-heading {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  line-height: .98; letter-spacing: -.035em;
  margin-bottom: 24px;
}
.section-heading em { font-style: italic; }

/* ── Buttons ── */
.btn-fill {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-style: italic;
  font-weight: 400; font-size: 1.02rem;
  padding: 18px 38px;
  background: var(--grad-olive); color: #fff;
  border: none; cursor: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative; overflow: hidden;
  box-shadow: 0 4px 16px rgba(91,107,78,.25), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-fill-inner {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  transition: gap .3s var(--ease);
}
.btn-fill-glow {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.3) 50%, transparent 100%);
  transform: translateX(-100%) skewX(-20deg);
  transition: transform .8s var(--ease);
}
.btn-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(91,107,78,.45), var(--glow-olive), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-fill:hover .btn-fill-glow { transform: translateX(200%) skewX(-20deg); }
.btn-fill:hover .btn-fill-inner { gap: 18px; }
.btn-arrow { font-style: normal; transition: transform .25s var(--ease); }
.btn-fill:hover .btn-arrow { transform: translateX(3px); }

.btn-line-light {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(245,242,236,.78); padding-bottom: 4px;
  border-bottom: 1px solid rgba(245,242,236,.15);
  transition: color .25s var(--ease);
}
.btn-line-light:hover { color: rgba(245,242,236,1); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 12px 26px; border: 1px solid var(--border);
  color: var(--muted); transition: border-color .25s var(--ease), color .25s var(--ease);
  cursor: none;
}
.btn-outline:hover { border-color: var(--olive); color: var(--olive); }

/* ── Magnetic Button ── */
.magnetic {
  transition: transform .3s var(--ease);
}

/* ── Marquee ── */
.marquee {
  overflow: hidden; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 15px 0; background: var(--bg-alt);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-content {
  display: flex; align-items: center; gap: 0; flex-shrink: 0;
}
.marquee-content span {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); padding: 0 28px; white-space: nowrap;
}
.marquee-content i {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--olive); flex-shrink: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Scroll Progress ── */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  width: 0%; height: 2px;
  background: linear-gradient(90deg, var(--olive), var(--gold), var(--olive-l));
  z-index: 9998;
  box-shadow: 0 0 14px rgba(217,190,138,.5);
  transition: width .1s linear;
}

/* ── Hero ── */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 72px;
  background: var(--grad-hero);
}

/* Canvas gradient mesh */
.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  mix-blend-mode: screen;
  opacity: .55;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 75% 25%, rgba(91,107,78,.22) 0%, transparent 60%),
    radial-gradient(ellipse 45% 60% at 15% 80%, rgba(145,123,94,.12) 0%, transparent 50%),
    radial-gradient(ellipse 90% 40% at 50% 100%, rgba(217,190,138,.08) 0%, transparent 55%);
  pointer-events: none;
}

/* Glowing orbs for depth */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .35; z-index: 1;
  pointer-events: none;
  animation: orbFloat 18s ease-in-out infinite;
}
.hero-orb--1 {
  width: 520px; height: 520px;
  top: -10%; right: -8%;
  background: radial-gradient(circle, rgba(122,141,104,.6) 0%, transparent 60%);
}
.hero-orb--2 {
  width: 420px; height: 420px;
  bottom: -12%; left: -6%;
  background: radial-gradient(circle, rgba(217,190,138,.28) 0%, transparent 65%);
  animation-delay: -6s;
}
.hero-orb--3 {
  width: 340px; height: 340px;
  top: 45%; left: 48%;
  background: radial-gradient(circle, rgba(145,123,94,.22) 0%, transparent 60%);
  animation-delay: -12s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.08); }
  66%      { transform: translate(-30px, 40px) scale(.95); }
}

.hero-grain {
  position: absolute; inset: 0; opacity: .055; pointer-events: none; z-index: 3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background-image:
    linear-gradient(rgba(245,242,236,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,242,236,.018) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 85%);
}
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: radial-gradient(ellipse 100% 90% at 50% 50%, transparent 30%, rgba(0,0,0,.5) 100%);
}
.hero-side-text {
  position: absolute; right: 56px; top: 50%; z-index: 4;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--f-mono); font-size: .64rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(217,190,138,.58);
  display: flex; align-items: center; gap: 18px;
}
.hero-side-text::before {
  content: ''; width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(217,190,138,.5), transparent);
}

/* Hero corners (editorial marks) */
.hero-corner {
  position: absolute; z-index: 4;
  font-family: var(--f-mono); font-size: .62rem;
  letter-spacing: .18em; color: rgba(217,190,138,.55);
  text-transform: uppercase;
}
.hero-corner--tl { top: 110px; left: 56px; }
.hero-corner--tr { top: 110px; right: 56px; }
.hero-corner--bl { bottom: 32px; left: 56px; }

.hero-content { position: relative; z-index: 5; }

/* ── Hero Floating Shapes ── */
.hero-float {
  position: absolute; pointer-events: none; z-index: 2;
  opacity: .85;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-float svg { display: block; }
.hero-float--1 {
  top: 14%; right: 10%;
  animation: float1 14s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(217,190,138,.2));
}
.hero-float--2 {
  bottom: 22%; right: 28%;
  animation: float2 18s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(122,141,104,.2));
}
.hero-float--3 {
  top: 32%; left: 9%;
  animation: float3 16s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(217,190,138,.15));
}
.hero-float--4 {
  top: 62%; right: 18%;
  animation: float1 20s ease-in-out infinite reverse;
  filter: drop-shadow(0 0 20px rgba(217,190,138,.25));
}
.hero-float--5 {
  top: 8%; left: 42%;
  animation: float2 22s ease-in-out infinite reverse;
  opacity: .4;
}

.hero-scroll-indicator {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: .58rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(217,190,138,.6);
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(217,190,138,.4), transparent);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ''; position: absolute; top: -48px; left: 0; right: 0;
  height: 48px; background: linear-gradient(to bottom, transparent, rgba(217,190,138,.8));
  animation: scrollDown 2.4s cubic-bezier(.7,0,.3,1) infinite;
}
@keyframes scrollDown {
  0% { top: -48px; } 100% { top: 48px; }
}

.hero-label {
  font-family: var(--f-mono); font-size: .7rem;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 36px;
  padding: 10px 18px 10px 14px;
  background: rgba(217,190,138,.04);
  border: 1px solid rgba(217,190,138,.18);
  border-radius: 40px;
}
.hero-label-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(217,190,138,.6);
  animation: labelPulse 2s ease-in-out infinite;
}
@keyframes labelPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(217,190,138,.6); }
  50%     { box-shadow: 0 0 0 10px rgba(217,190,138,0); }
}

.hero-title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(4.2rem, 9vw, 9.5rem);
  line-height: .88; letter-spacing: -.055em;
  color: var(--light); margin-bottom: 52px;
  max-width: 920px;
  font-optical-sizing: auto;
}
.ht-line {
  display: block;
  overflow: hidden;
  opacity: 0; transform: translateY(40px);
  animation: heroLineIn 1.4s var(--ease) forwards;
}
.ht-line:nth-child(2) { animation-delay: .18s; }
@keyframes heroLineIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold) 0%, var(--olive-l) 50%, var(--gold-l) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease-in-out infinite;
}
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

.hero-split {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 60px;
}
.hero-desc {
  max-width: 470px; font-size: 1.02rem; line-height: 1.9;
  color: rgba(245,242,236,.78); font-weight: 300;
}
.hero-actions {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 14px;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: rgba(217,190,138,.06);
  border-top: 1px solid rgba(217,190,138,.1);
  margin-top: 72px;
  position: relative;
}
.hero-stats::before {
  content: ''; position: absolute; left: 0; top: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,190,138,.4), transparent);
}
.hero-stat {
  padding: 32px 32px 28px; position: relative;
  background: rgba(26,29,23,.4);
  transition: background .4s var(--ease);
}
.hero-stat:hover { background: rgba(91,107,78,.12); }
.hero-stat::after {
  content: ''; position: absolute; right: 0; top: 18%; height: 64%;
  width: 1px; background: rgba(217,190,138,.1);
}
.hero-stat:last-child::after { display: none; }
.stat-meta {
  font-family: var(--f-mono); font-size: .58rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(217,190,138,.62);
  margin-bottom: 16px;
}
.stat-number {
  font-family: var(--f-display); font-size: 3rem; font-weight: 400;
  background: linear-gradient(135deg, var(--gold) 0%, var(--olive-l) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1; margin-bottom: 10px;
  letter-spacing: -.04em;
}
.stat-label {
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(245,242,236,.72); line-height: 1.5;
}

/* ── About (O que e Alex AI) ── */
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start; margin-top: 56px;
}
.about-left {
  display: flex; flex-direction: column; gap: 24px;
}
.about-right {
  display: flex; flex-direction: column; gap: 24px;
}
.about-lead {
  font-size: 1.1rem; line-height: 1.85; color: var(--ink-2);
  font-weight: 300; max-width: 520px;
}
.about-lead strong { font-weight: 500; color: var(--ink); }
.about-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
.about-tags span {
  font-size: .67rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 13px; border: 1px solid var(--border);
  color: var(--muted); transition: border-color .25s var(--ease), color .25s var(--ease);
}
.about-tags span:hover { border-color: var(--olive); color: var(--olive); }

/* ── Problema ── */
.problema-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: start; margin-top: 72px;
}
.big-stat { margin-bottom: 44px; }
.big-stat:last-child { margin-bottom: 0; }
.big-stat-number {
  font-family: var(--f-display); font-size: clamp(4rem,7vw,6.5rem);
  font-weight: 400; color: var(--olive); line-height: 1;
  letter-spacing: -.045em; margin-bottom: 8px;
}
.big-stat-desc {
  font-size: .88rem; color: var(--muted); line-height: 1.75; max-width: 280px;
}
.big-stat-desc em { font-style: italic; font-size: .82rem; color: var(--brown); }

.problema-right p {
  font-size: 1.05rem; line-height: 1.9; color: var(--ink-2); margin-bottom: 24px;
}
.problema-right p strong { font-weight: 500; color: var(--ink); }
.problema-right p:last-of-type { margin-bottom: 0; }

.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.tech-tag {
  font-size: .67rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 13px; border: 1px solid var(--border);
  color: var(--muted); transition: border-color .25s var(--ease), color .25s var(--ease);
}
.tech-tag:hover { border-color: var(--olive); color: var(--olive); }

/* ── Features ── */
.features-top {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 60px;
  margin-bottom: 56px; padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.features-intro {
  max-width: 360px; font-size: .95rem; color: var(--muted); line-height: 1.85;
}
.features-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
}
.feat {
  background: var(--bg-alt); padding: 44px 34px;
  position: relative; overflow: hidden;
  transition: background .3s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--olive), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.feat:hover {
  background: var(--bg-subtle);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30,33,27,.08);
}
.feat:hover::before { transform: scaleX(1); }

.feat-icon-wrap {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--olive-xl);
  border: 1px solid rgba(91,107,78,.1);
  border-radius: var(--radius);
  margin-bottom: 18px;
  transition: border-color .3s var(--ease);
}
.feat-icon-wrap svg {
  width: 22px; height: 22px;
  stroke: var(--olive);
  fill: none;
  stroke-width: 1.5;
}
.feat:hover .feat-icon-wrap { border-color: rgba(91,107,78,.25); }

.feat-index {
  font-family: var(--f-display); font-size: 4.5rem; font-weight: 400;
  color: rgba(91,107,78,.05); line-height: 1; margin-bottom: 22px;
  letter-spacing: -.04em; transition: color .3s var(--ease);
}
.feat:hover .feat-index { color: rgba(91,107,78,.1); }

.feat-name {
  font-family: var(--f-display); font-size: 1.15rem; font-weight: 400;
  letter-spacing: -.015em; margin-bottom: 12px; line-height: 1.25;
}
.feat-text {
  font-size: .88rem; color: var(--muted); line-height: 1.85; margin-bottom: 20px;
}
.feat-badge {
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 7px;
}
.feat-badge::before {
  content: ''; width: 14px; height: 1px; background: currentColor;
}
.feat-badge.pro { color: var(--olive); }
.feat-badge--pro { color: var(--olive); }
.feat-badge--pro::before { background: var(--olive); }

/* ── Steps (Como Funciona) ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  margin-top: 56px; position: relative;
}
.step {
  background: var(--bg-alt); padding: 40px 28px;
  position: relative;
  transition: background .3s var(--ease);
}
.step:hover { background: var(--bg-subtle); }
.step-line {
  position: absolute; top: 56px; right: -12px;
  width: 24px; height: 1px; background: var(--border);
  z-index: 2;
}
.step:last-child .step-line { display: none; }
.step-num {
  font-family: var(--f-display); font-size: 3.5rem; font-weight: 400;
  color: rgba(91,107,78,.08); line-height: 1;
  margin-bottom: 16px; letter-spacing: -.04em;
}
.step-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step-icon svg {
  width: 24px; height: 24px;
  stroke: var(--olive); fill: none; stroke-width: 1.5;
}
.step-title {
  font-family: var(--f-display); font-size: 1.05rem; font-weight: 400;
  letter-spacing: -.015em; margin-bottom: 10px; line-height: 1.25;
  color: var(--light); /* always-cream: lives on .section--dark stage */
}
.step-desc {
  font-size: .85rem; color: rgba(245,242,236,.65); line-height: 1.75;
  margin-bottom: 14px;
}
/* Light-mode fix: .step cards use --bg-alt (light cream) as background,
   so the always-cream title/desc become unreadable on light theme.
   Re-ink them with the theme tokens. Dark mode untouched.
   !important because .step-title has multiple color overrides across
   later sections of the cascade. */
[data-theme="light"] .step-title {
  color: var(--content-primary) !important;
}
[data-theme="light"] .step-desc {
  color: var(--content-secondary) !important;
}
[data-theme="light"] .step-icon svg {
  stroke: var(--accent) !important;
}
/* Safety net: force .step cards visible once scroll-reveal has fired.
   Late rule to beat any duplicate `.rv { opacity: 0 }` declarations
   further down the cascade. Prevents the "cards invisible on page load"
   failure mode when IntersectionObserver misses due to body scroller. */
.steps-grid .step.on,
.steps-grid .step.rv-visible {
  opacity: 1 !important;
  transform: none !important;
  --rv-y: 0px !important;
}
.step-time {
  display: inline-block;
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 10px; border: 1px solid var(--border);
  color: var(--olive); background: var(--olive-xl);
}

/* ── Demo ── */
.demo-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--dark-2);
  border-top: 1px solid var(--border-l);
}
.demo-text {
  padding: 90px 72px;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid var(--border-l);
}
.demo-desc {
  font-size: .98rem; color: rgba(245,242,236,.78); line-height: 1.9;
  margin-bottom: 32px; max-width: 400px;
}
.demo-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-tags span {
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 12px; border: 1px solid rgba(255,255,255,.14);
  color: rgba(245,242,236,.72);
}

.demo-phone-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 56px;
  background: radial-gradient(ellipse at center, rgba(91,107,78,.06) 0%, transparent 60%);
}

/* ── Phone Device ── */
.phone-device {
  width: 280px; background: #111;
  border-radius: 24px; border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(91,107,78,.08), 0 32px 64px rgba(0,0,0,.5);
}
.phone-notch {
  height: 22px; background: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
}
.phone-notch-pill {
  width: 60px; height: 6px; background: #1a1a1a; border-radius: 8px;
}
.phone-header {
  background: #161616; padding: 10px 13px;
  display: flex; align-items: center; gap: 9px;
  border-bottom: 1px solid #222;
}
.phone-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--olive), var(--olive-l));
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; font-weight: 600; color: #fff; flex-shrink: 0;
}
.phone-contact { font-size: .78rem; font-weight: 500; color: var(--light); line-height: 1.2; }
.phone-online { font-size: .6rem; color: var(--olive-l); }
.phone-messages {
  padding: 12px; min-height: 300px; background: #0e0e0e;
  display: flex; flex-direction: column; gap: 7px;
}
.msg {
  padding: 8px 11px; font-size: .75rem; line-height: 1.6;
  max-width: 82%; border-radius: var(--radius);
  opacity: 0; animation: msgIn .3s var(--ease) both;
}
.msg-anim {
  opacity: 0;
  transform: translateY(5px) scale(.97);
}
.msg-out {
  background: var(--olive); color: #fff;
  align-self: flex-end; border-radius: 10px 0 10px 10px;
}
.msg-in {
  background: #1a1a1a; color: var(--light);
  align-self: flex-start; border-radius: 0 10px 10px 10px;
  border-left: 2px solid var(--olive);
}
.msg-d1 { animation-delay: .6s; }
.msg-d2 { animation-delay: 1.5s; }
.msg-d3 { animation-delay: 2.6s; }
.msg-d4 { animation-delay: 3.4s; }
.msg-d5 { animation-delay: 4.4s; }
.msg-typing {
  opacity: 0; animation: msgIn .3s 5.2s var(--ease) both;
  display: flex; gap: 3px; align-items: center;
  padding: 8px 11px; background: #1a1a1a;
  border-radius: 0 10px 10px 10px;
  border-left: 2px solid var(--olive);
  width: fit-content;
}
.msg-typing span {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--muted); animation: typDot 1.1s infinite;
}
.msg-typing span:nth-child(2) { animation-delay: .18s; }
.msg-typing span:nth-child(3) { animation-delay: .36s; }
.phone-footer {
  padding: 6px; background: #090909;
  text-align: center; font-size: .54rem;
  letter-spacing: .06em; color: #6b6b6b;
  border-top: 1px solid #161616;
}

@keyframes msgIn { from { opacity:0; transform:translateY(5px) scale(.97); } to { opacity:1; transform:none; } }
@keyframes typDot { 0%,60%,100% { transform:translateY(0); } 30% { transform:translateY(-3px); } }

/* ── Quiz ── */
.quiz-header {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 60px;
  margin-bottom: 56px; padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.quiz-intro {
  max-width: 400px; font-size: .92rem; color: var(--muted); line-height: 1.85;
}
.quiz-intro p { margin-bottom: 14px; }
.quiz-intro p:last-child { margin-bottom: 0; }

.quiz-area { max-width: 820px; margin: 0 auto; }

.quiz-start-card {
  background: var(--bg-alt); border: 1px solid var(--border);
  padding: 48px; text-align: center;
}
.quiz-stat-row {
  display: flex; justify-content: center; gap: 56px;
  margin-bottom: 32px;
}
.quiz-stat-val {
  font-family: var(--f-display); font-size: 2rem; font-weight: 400;
  color: var(--olive); letter-spacing: -.03em;
}
.quiz-stat-lbl {
  font-size: .67rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}
.quiz-categories {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; margin-bottom: 36px;
}
.quiz-categories span {
  font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border: 1px solid var(--glass-border);
  color: var(--ink-2);
}

/* Quiz Active */
.quiz-progress-bar {
  height: 2px; background: var(--border); margin-bottom: 32px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%; width: 0; background: var(--olive);
  transition: width .4s var(--ease);
}
.quiz-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.quiz-meta span:first-child {
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
}
.quiz-cat-badge {
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border: 1px solid var(--border); color: var(--olive);
}
.quiz-question {
  font-family: var(--f-display); font-size: 1.3rem; font-weight: 400;
  line-height: 1.4; letter-spacing: -.015em; margin-bottom: 28px;
}
.quiz-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.quiz-option {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; border: 1px solid var(--border);
  background: var(--bg); cursor: none;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  font-size: .92rem; color: var(--ink-2); line-height: 1.6;
  text-align: left; width: 100%;
}
.quiz-option:hover { border-color: var(--olive); background: var(--olive-xl); }
.quiz-option-letter {
  font-family: var(--f-display); font-size: .95rem;
  color: var(--olive); flex-shrink: 0; width: 20px;
}
.quiz-option.correct {
  border-color: var(--green-ok); background: rgba(91,122,78,.06);
  color: var(--ink);
}
.quiz-option.wrong {
  border-color: var(--red-err); background: rgba(166,93,93,.06);
  color: var(--muted);
}
.quiz-option.disabled { pointer-events: none; }

.quiz-feedback {
  padding: 20px 24px; border-left: 2px solid var(--olive);
  background: var(--olive-xl); margin-bottom: 24px;
}
.quiz-feedback-title {
  font-family: var(--f-display); font-size: .9rem; font-weight: 400;
  margin-bottom: 8px;
}
.quiz-feedback-title.correct { color: var(--green-ok); }
.quiz-feedback-title.wrong { color: var(--red-err); }
.quiz-feedback p {
  font-size: .88rem; color: var(--ink-2); line-height: 1.8;
}
.quiz-nav { display: flex; justify-content: flex-end; }

/* Quiz Results */
.quiz-results { text-align: center; }
.quiz-score-card {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; margin-bottom: 48px; padding: 48px;
  background: var(--bg-alt); border: 1px solid var(--border);
}
.quiz-score-ring {
  position: relative; width: 120px; height: 120px; flex-shrink: 0;
}
.quiz-score-ring svg { width: 100%; height: 100%; }
.quiz-score-text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
#quiz-score-num {
  font-family: var(--f-display); font-size: 2rem; font-weight: 400;
  color: var(--olive);
}
.quiz-score-of { font-size: .85rem; color: var(--muted); margin-left: 2px; }
.quiz-score-info { text-align: left; }
.quiz-score-info h3 {
  font-family: var(--f-display); font-size: 1.4rem; font-weight: 400;
  margin-bottom: 8px;
}
.quiz-score-info p {
  font-size: .9rem; color: var(--muted); line-height: 1.7; max-width: 340px;
}

.quiz-breakdown {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px; background: var(--border); margin-bottom: 48px;
}
.quiz-cat-result {
  background: var(--bg); padding: 20px;
  text-align: left;
}
.quiz-cat-name {
  font-size: .67rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.quiz-cat-score {
  font-family: var(--f-display); font-size: 1.3rem; font-weight: 400;
  color: var(--olive);
}

.quiz-results-cta {
  max-width: 560px; margin: 0 auto;
}
.quiz-results-cta p {
  font-size: .92rem; color: var(--muted); line-height: 1.8;
  margin-bottom: 28px;
}
.quiz-results-actions {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
}

/* ── Automacoes ── */
.auto-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end;
  margin-bottom: 56px; padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.auto-intro {
  font-size: .98rem; color: var(--muted); line-height: 1.85;
  align-self: end;
}
.auto-row {
  display: grid; grid-template-columns: 48px 1fr 280px auto;
  align-items: start; gap: 36px;
  padding: 22px 0; border-bottom: 1px solid var(--border);
  transition: padding-left .3s var(--ease);
}
.auto-row:last-child { border-bottom: none; }
.auto-row:hover { padding-left: 10px; }
.auto-num {
  font-family: var(--f-display); font-size: .88rem; font-weight: 400;
  color: rgba(91,107,78,.3); padding-top: 2px;
}
.auto-name {
  font-family: var(--f-display); font-size: 1rem; font-weight: 400;
  letter-spacing: -.015em; padding-top: 1px;
  transition: color .25s var(--ease);
}
.auto-row:hover .auto-name { color: var(--olive); }
.auto-detail {
  font-size: .85rem; color: var(--muted); line-height: 1.75;
}
.auto-badge {
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 10px; border: 1px solid var(--border);
  color: var(--muted); white-space: nowrap; margin-top: 2px;
}
.auto-badge--hi {
  border-color: var(--olive); color: var(--olive);
  background: var(--olive-xl);
}

/* ── Segmentos ── */
.seg-top {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 60px;
  margin-bottom: 56px; padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.seg-intro {
  max-width: 340px; font-size: .92rem; color: var(--muted); line-height: 1.85;
}
.seg-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border);
}
.seg-card {
  background: var(--bg-subtle); padding: 36px 28px;
  border-bottom: 2px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.seg-card:hover {
  border-bottom-color: var(--olive);
  background: var(--bg-alt);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30,33,27,.08);
}
.seg-label {
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.seg-name {
  font-family: var(--f-display); font-size: 1.05rem; font-weight: 400;
  letter-spacing: -.015em; margin-bottom: 10px; line-height: 1.2;
}
.seg-pain {
  font-size: .82rem; color: var(--muted); line-height: 1.7; margin-bottom: 12px;
}
.seg-solution {
  font-size: .8rem; color: var(--olive);
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  line-height: 1.5;
}

/* ── Data-Tilt Cards ── */
[data-tilt] {
  transition: transform .35s var(--ease);
  will-change: transform;
}
[data-tilt]:hover {
  transform: perspective(800px) rotateX(2deg) rotateY(-2deg) translateY(-4px);
}

/* ── Plans ── */
.plans-top {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 60px;
  margin-bottom: 56px; flex-wrap: wrap;
}
.plans-top-right { text-align: right; }
.plans-toggle {
  display: inline-flex; border: 1px solid var(--border);
  margin-bottom: 18px; margin-top: 8px; position: relative;
  background: var(--bg);
}
.ptog {
  font-family: var(--f-body); font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase;
  /* WCAG 2.5.5 / 2.5.8: vertical padding raised so total height >= 44px */
  padding: 15px 26px;
  color: var(--muted); transition: all .25s var(--ease); position: relative;
  cursor: none; z-index: 1;
  min-height: 44px;
}
.ptog--on { background: var(--ink); color: var(--bg); }
.ptog-save {
  position: absolute; top: -10px; right: -14px;
  background: var(--olive); color: #fff;
  font-size: .54rem; letter-spacing: .12em; font-weight: 500;
  padding: 3px 8px; border-radius: 2px;
  box-shadow: 0 4px 14px rgba(91,107,78,.35);
  z-index: 2;
}
.plans-note {
  font-size: .82rem; color: var(--muted); max-width: 300px; line-height: 1.7;
}

.plans-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
}
.plan-card {
  background: var(--bg-alt); padding: 44px 36px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--border-subtle);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
[data-theme="dark"] .plan-card { background: var(--surface-1); border-color: var(--border-color); }
/* Alt section is already surface-1, so elevate cards to surface-2 */
.section--alt .plan-card { background: var(--bg-subtle); }
[data-theme="dark"] .section--alt .plan-card { background: var(--surface-2); border-color: rgba(255,255,255,.08); }

.plan-card--featured {
  background: var(--bg-subtle);
  outline: 1px solid var(--olive);
  outline-offset: -1px; z-index: 2;
  animation: shimmer 4s ease-in-out infinite;
}
[data-theme="dark"] .plan-card--featured {
  background: var(--surface-2);
  outline-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 24px 60px rgba(0,0,0,.4);
}
/* In alt section, featured plan should still pop more */
.section--alt .plan-card--featured {
  background: var(--bg);
  box-shadow: 0 24px 60px rgba(91,107,78,.12), 0 0 0 1px var(--olive);
}
[data-theme="dark"] .section--alt .plan-card--featured {
  background: var(--surface-3);
  box-shadow: 0 0 0 1px var(--accent), 0 32px 80px rgba(0,0,0,.5), 0 0 60px rgba(156,179,134,.08);
}
.plan-card:not(.plan-card--featured):hover { background: var(--bg-alt); }
[data-theme="dark"] .plan-card:not(.plan-card--featured):hover { background: var(--surface-2); }
.section--alt .plan-card:not(.plan-card--featured):hover { background: var(--bg); }
[data-theme="dark"] .section--alt .plan-card:not(.plan-card--featured):hover { background: var(--surface-3); }
.plan-badge {
  position: absolute; top: 0; right: 0;
  background: var(--olive); color: #fff;
  font-size: .58rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 12px;
}
.plan-tier {
  font-size: .65rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.plan-card--featured .plan-tier { color: var(--olive); }
.plan-name {
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 400;
  letter-spacing: -.025em; margin-bottom: 8px;
}
.plan-desc {
  font-size: .82rem; color: var(--muted); line-height: 1.7;
  margin-bottom: 32px; padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.plan-price { margin-bottom: 4px; }
.plan-amount {
  font-family: var(--f-display); font-size: 2rem; font-weight: 400;
  letter-spacing: -.03em; line-height: 1;
}
.plan-label {
  font-size: .74rem; letter-spacing: .06em; color: var(--ink-2); margin-top: 4px;
  display: block;
}
.plan-recur {
  font-size: .8rem; color: var(--muted); margin-top: 8px;
}
.plan-recur strong { color: var(--olive); }
.plan-saving {
  display: none; font-size: .68rem; color: var(--olive);
  margin-top: 5px; letter-spacing: .04em;
}
.plan-saving.show { display: block; }
.plan-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

.plan-features { display: flex; flex-direction: column; flex: 1; margin-bottom: 32px; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .8rem; color: var(--muted);
  padding: 7px 0; border-bottom: 1px solid rgba(0,0,0,.04);
  line-height: 1.5;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
  content: ''; width: 4px; height: 4px;
  border-radius: 50%; flex-shrink: 0; margin-top: 5px;
}
.plan-features li.pf-on { color: var(--ink-2); }
.plan-features li.pf-on::before { background: var(--olive); }
.plan-features li.pf-off { opacity: .35; }
.plan-features li.pf-off::before {
  background: transparent; border: 1px solid rgba(138,135,128,.3);
}

.plan-cta {
  display: block; text-align: center;
  font-family: var(--f-display); font-style: italic;
  font-size: 1.02rem; font-weight: 400;
  padding: 14px; border: 1px solid var(--border);
  color: var(--ink); transition: all .25s var(--ease);
}
.plan-cta:hover { border-color: var(--olive); color: var(--olive); }
.plan-cta--fill {
  background: var(--olive); border-color: var(--olive); color: #fff;
}
.plan-cta--fill:hover { background: #4A5A3F; border-color: #4A5A3F; color: #fff; }

/* ── Plan anchors + micro copy ── */
.plan-anchor {
  font-size: .72rem; color: var(--muted); font-style: italic;
  margin-top: 12px; padding-top: 10px;
  border-top: 1px dashed var(--border);
  letter-spacing: .01em; line-height: 1.5;
}
.plan-card--featured .plan-anchor { color: var(--olive); border-top-color: rgba(91,107,78,.2); }
.plan-micro {
  font-size: .68rem; letter-spacing: .04em; color: var(--muted);
  margin-top: 12px; text-align: center; line-height: 1.6;
}

/* ── Scarcity badges ── */
.plan-scarcity {
  position: absolute;
  top: -1px; left: -1px;
  background: var(--bg-subtle);
  color: var(--olive);
  font-size: .58rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--olive);
  border-top: none; border-left: none;
  font-weight: 500;
}
[data-theme="dark"] .plan-scarcity { background: var(--surface-2); }
.plan-scarcity--hot {
  background: #C8513D;
  color: #fff;
  border-color: #C8513D;
  animation: scarcityPulse 2.4s ease-in-out infinite;
}
@keyframes scarcityPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,81,61,.5); }
  50%      { box-shadow: 0 0 0 8px rgba(200,81,61,0); }
}
.plan-scarcity--exclusive {
  background: var(--ink);
  color: var(--olive-l);
  border-color: var(--ink);
}
[data-theme="dark"] .plan-scarcity--exclusive {
  background: var(--olive);
  color: #fff;
  border-color: var(--olive);
}

/* ── Anchor pricing (strikethrough old price) ── */
.plan-anchor-old {
  display: block;
  font-size: .72rem; letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 4px;
  font-style: italic;
}
.plan-anchor-old s {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(200,81,61,.7);
  text-decoration-thickness: 1.5px;
}
[data-theme="dark"] .plan-anchor-old s {
  text-decoration-color: rgba(232,125,105,.85);
}

/* ── Section direction CTA (always give the client a path forward) ── */
.section-cta-row {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
  margin-top: 64px; padding: 32px;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--olive);
}
[data-theme="dark"] .section-cta-row {
  background: var(--surface-1);
  border-color: var(--border-color);
  border-left-color: var(--accent);
}
/* When inside an alt-section (which is already surface-1 in dark), elevate to surface-2 */
[data-theme="dark"] .section--alt .section-cta-row {
  background: var(--surface-2);
  border-color: rgba(255,255,255,.08);
}
.section--alt .section-cta-row {
  background: var(--bg-subtle);
}
.section-cta-text {
  font-family: var(--f-display); font-style: italic;
  font-size: 1.15rem; color: var(--ink);
  margin: 0; line-height: 1.4;
}
.section-cta-row .btn-line {
  flex-shrink: 0;
}

/* ── Dark mode roi-inputs elevation ── */
[data-theme="dark"] .roi-inputs {
  background: var(--surface-1);
}

/* ── Urgency banner ── */
.urgency-banner {
  display: flex; align-items: center; gap: 28px;
  background: var(--dark); color: var(--light);
  padding: 22px 32px; margin-bottom: 48px;
  border-left: 3px solid var(--olive-l);
  position: relative;
}
.urgency-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--olive-l); flex-shrink: 0;
  animation: urgencyPulse 1.8s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(122,141,104,.6);
}
@keyframes urgencyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(122,141,104,.6); }
  50%      { box-shadow: 0 0 0 12px rgba(122,141,104,0); }
}
.urgency-text {
  flex: 1; font-size: .92rem; line-height: 1.6;
  color: rgba(245,242,236,.82);
}
.urgency-text strong { color: var(--olive-l); font-weight: 500; }
.urgency-count {
  display: flex; flex-direction: column; align-items: center;
  border-left: 1px solid rgba(255,255,255,.12);
  padding-left: 28px; flex-shrink: 0;
}
.urgency-num {
  font-family: var(--f-display); font-size: 2.4rem;
  font-weight: 400; color: var(--olive-l); line-height: 1;
}
.urgency-label {
  font-size: .6rem; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(245,242,236,.82);
  margin-top: 4px;
}

/* ── Trust badges row ── */
.trust-row {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.trust-item {
  padding: 28px 20px; text-align: center;
  border-right: 1px solid var(--border);
  transition: background .25s var(--ease);
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: var(--bg); }
.trust-num {
  font-family: var(--f-display); font-size: 1.6rem;
  font-weight: 400; color: var(--olive); letter-spacing: -.02em;
  margin-bottom: 4px;
}
.trust-label {
  font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

/* ── ROI Calculator ── */
.roi-top {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 60px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.roi-intro {
  max-width: 420px; font-size: 1rem;
  color: var(--muted); line-height: 1.75;
}
.roi-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.roi-inputs {
  background: var(--bg); padding: 48px 44px;
  display: flex; flex-direction: column; gap: 36px;
}
.roi-field {
  display: flex; flex-direction: column; gap: 14px;
}
.roi-field-head {
  display: flex; justify-content: space-between; align-items: baseline;
}
.roi-label {
  font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.roi-value {
  font-family: var(--f-display); font-size: 1.65rem;
  font-weight: 500; color: var(--olive); letter-spacing: -.02em;
}
.roi-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 2px; background: var(--border);
  outline: none; cursor: none;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--olive); cursor: none;
  border: 3px solid var(--bg);
  box-shadow: 0 2px 12px rgba(91,107,78,.3);
  transition: transform .2s var(--ease);
}
.roi-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.roi-slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--olive); cursor: none;
  border: 3px solid var(--bg);
  box-shadow: 0 2px 12px rgba(91,107,78,.3);
}
.roi-scale {
  display: flex; justify-content: space-between;
  font-size: .65rem; letter-spacing: .1em;
  color: var(--muted); text-transform: uppercase;
}

.roi-output {
  background: var(--dark); color: var(--light);
  padding: 48px 44px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.roi-out-block {
  padding-bottom: 28px;
}
.roi-out-label {
  font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(245,242,236,.82);
  margin-bottom: 12px;
}
.roi-out-num {
  font-family: var(--f-display); font-size: 3.6rem;
  font-weight: 400; letter-spacing: -.03em;
  line-height: 1; color: #D9BE8A;
}
.roi-out-sub {
  font-size: .78rem; color: rgba(245,242,236,.78);
  margin-top: 10px; font-style: italic;
}
.roi-out-divider {
  height: 1px; background: rgba(255,255,255,.1);
  margin: 20px 0;
}
.roi-out-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; padding-bottom: 28px;
}
.roi-out-mini { padding: 0; }
.roi-mini-label {
  font-size: .65rem; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(245,242,236,.8);
  margin-bottom: 8px;
}
.roi-mini-num {
  font-family: var(--f-display); font-size: 1.8rem;
  font-weight: 400; color: var(--olive-l);
  letter-spacing: -.02em; line-height: 1;
}
.roi-out-payback {
  padding: 24px 0; border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 28px;
}
.roi-payback-label {
  font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(245,242,236,.82);
  margin-bottom: 6px;
}
.roi-payback-val {
  font-family: var(--f-display); font-size: 2rem;
  font-weight: 400; color: var(--light);
  letter-spacing: -.02em; line-height: 1; margin-bottom: 6px;
}
.roi-payback-note {
  font-size: .72rem; color: rgba(245,242,236,.75);
  font-style: italic;
}
.roi-cta {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-display); font-style: italic;
  font-size: 1.05rem; padding: 16px 28px;
  background: var(--olive); color: #fff;
  border: 1px solid var(--olive);
  transition: all .25s var(--ease);
  align-self: flex-start;
}
.roi-cta:hover {
  background: var(--olive-l); border-color: var(--olive-l);
}
.roi-cta .btn-arrow {
  display: inline-block; transition: transform .25s var(--ease);
}
.roi-cta:hover .btn-arrow { transform: translateX(4px); }
.roi-disclaimer {
  margin-top: 24px; font-size: .72rem;
  color: var(--muted); line-height: 1.7;
  max-width: 820px; font-style: italic;
}

/* ── Guarantee strip ── */
.guarantee-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  margin-top: 56px;
}
.guarantee-item {
  background: var(--bg-alt); padding: 40px 36px;
  border: 1px solid var(--border-subtle);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
[data-theme="dark"] .guarantee-item { background: var(--surface-1); border-color: var(--border-color); }
.section--alt .guarantee-item { background: var(--bg-subtle); }
[data-theme="dark"] .section--alt .guarantee-item { background: var(--surface-2); border-color: rgba(255,255,255,.08); }
.guarantee-item:hover { background: var(--bg-subtle); }
[data-theme="dark"] .guarantee-item:hover { background: var(--surface-2); }
.section--alt .guarantee-item:hover { background: var(--bg); }
[data-theme="dark"] .section--alt .guarantee-item:hover { background: var(--surface-3); }
.guarantee-title {
  font-family: var(--f-display); font-size: 1.35rem;
  font-weight: 400; color: var(--olive);
  letter-spacing: -.02em; margin-bottom: 12px;
}
.guarantee-desc {
  font-size: .85rem; color: var(--muted);
  line-height: 1.75;
}

/* ── Pilot banner ── */
.pilot-banner {
  display: flex; align-items: center; gap: 60px;
  background: var(--dark); color: var(--light);
  padding: 48px 52px; margin-top: 40px;
  position: relative; overflow: hidden;
}
.pilot-banner::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: var(--olive-l);
}
.pilot-left { flex: 1; }
.pilot-label {
  font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245,242,236,.82); margin-bottom: 14px;
}
.pilot-title {
  font-family: var(--f-display); font-size: 2.2rem;
  font-weight: 400; letter-spacing: -.025em;
  line-height: 1.15; margin-bottom: 14px;
}
.pilot-title em {
  color: var(--olive-l); font-style: italic;
}
.pilot-desc {
  font-size: .92rem; color: rgba(245,242,236,.82);
  line-height: 1.75; max-width: 560px;
}
.pilot-right {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 12px; flex-shrink: 0;
}
.pilot-cta {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-display); font-style: italic;
  font-size: 1.15rem; padding: 18px 32px;
  background: var(--olive-l); color: #fff;
  transition: all .25s var(--ease);
}
.pilot-cta:hover { background: #8B9E79; }
.pilot-cta .btn-arrow { transition: transform .25s var(--ease); }
.pilot-cta:hover .btn-arrow { transform: translateX(4px); }
.pilot-note {
  font-size: .72rem; color: rgba(245,242,236,.78);
  font-style: italic; text-align: right;
}

/* ── Cost Comparison ── */
.cc-top {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 60px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.cc-intro {
  max-width: 420px; font-size: 1rem;
  color: var(--muted); line-height: 1.75;
}
.cc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
}
.cc-card {
  background: var(--bg-alt); padding: 44px 36px;
  position: relative;
  border: 1px solid var(--border-subtle);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
[data-theme="dark"] .cc-card { background: var(--surface-1); border-color: var(--border-color); }
.cc-card--good {
  background: var(--bg-subtle);
  outline: 1px solid var(--olive);
  outline-offset: -1px;
}
[data-theme="dark"] .cc-card--good { background: var(--surface-2); }
.cc-card--bad::before,
.cc-card--mid::before,
.cc-card--good::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
}
.cc-card--bad::before { background: var(--red-err); }
.cc-card--mid::before { background: var(--brown-l); }
.cc-card--good::before { background: var(--olive); }
.cc-badge {
  position: absolute; top: 0; right: 0;
  background: var(--olive); color: #fff;
  font-size: .58rem; letter-spacing: .14em;
  text-transform: uppercase; padding: 4px 12px;
}
.cc-tier {
  font-size: .65rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 16px; margin-top: 8px;
}
.cc-name {
  font-family: var(--f-display); font-size: 1.5rem;
  font-weight: 400; letter-spacing: -.025em;
  margin-bottom: 20px;
}
.cc-cost { margin-bottom: 28px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.cc-amount {
  font-family: var(--f-display); font-size: 2.2rem;
  font-weight: 400; letter-spacing: -.03em;
  color: var(--ink); display: block; line-height: 1;
}
.cc-card--bad .cc-amount { color: var(--red-err); }
.cc-card--mid .cc-amount { color: var(--brown); }
.cc-card--good .cc-amount { color: var(--olive); }
.cc-sub {
  font-size: .72rem; letter-spacing: .08em;
  color: var(--muted); display: block; margin-top: 6px;
}
.cc-list {
  display: flex; flex-direction: column;
  margin-bottom: 28px;
}
.cc-list li {
  font-size: .82rem; padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.04);
  line-height: 1.6; display: flex; gap: 10px;
}
.cc-list li:last-child { border-bottom: none; }
.cc-list li::before {
  content: ''; width: 4px; height: 4px;
  border-radius: 50%; flex-shrink: 0; margin-top: 8px;
}
.cc-list li.cc-bad { color: var(--ink-2); }
.cc-list li.cc-bad::before { background: var(--red-err); }
.cc-list li.cc-mid { color: var(--ink-2); }
.cc-list li.cc-mid::before { background: var(--brown-l); }
.cc-list li.cc-good { color: var(--ink-2); }
.cc-list li.cc-good::before { background: var(--olive); }
.cc-total {
  padding-top: 20px; border-top: 1px solid var(--border);
  font-size: .82rem; color: var(--muted);
  letter-spacing: .02em;
}
.cc-total strong {
  font-family: var(--f-display); font-size: 1.3rem;
  font-weight: 500; color: var(--ink); display: block;
  margin-top: 4px; letter-spacing: -.02em;
}
.cc-card--bad .cc-total strong { color: var(--red-err); }
.cc-card--mid .cc-total strong { color: var(--brown); }
.cc-card--good .cc-total strong { color: var(--olive); }
.cc-footnote {
  margin-top: 40px; padding: 28px 32px;
  background: var(--bg-alt); border-left: 3px solid var(--olive);
  font-size: .95rem; color: var(--ink-2);
  line-height: 1.7;
}
.cc-footnote strong { color: var(--olive); font-weight: 500; }

/* ── Tecnico / Dev ── */
.tec-top {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 60px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.tec-intro {
  max-width: 420px; font-size: 1rem;
  color: var(--muted); line-height: 1.75;
}
.tec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.tec-card {
  background: var(--bg-alt); padding: 40px 32px;
  border: 1px solid var(--border-subtle);
  transition: background .3s var(--ease), border-color .3s var(--ease);
  position: relative;
}
[data-theme="dark"] .tec-card { background: var(--surface-1); border-color: var(--border-color); }
.section--alt .tec-card { background: var(--bg-subtle); }
[data-theme="dark"] .section--alt .tec-card { background: var(--surface-2); border-color: rgba(255,255,255,.08); }
.tec-card:hover { background: var(--bg-subtle); }
[data-theme="dark"] .tec-card:hover { background: var(--surface-2); }
.section--alt .tec-card:hover { background: var(--bg); }
[data-theme="dark"] .section--alt .tec-card:hover { background: var(--surface-3); }
.tec-num {
  font-family: var(--f-display); font-size: 1rem;
  font-style: italic; color: var(--olive);
  margin-bottom: 16px; letter-spacing: .02em;
}
.tec-h {
  font-family: var(--f-display); font-size: 1.4rem;
  font-weight: 400; letter-spacing: -.02em;
  color: var(--ink); margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.tec-list { display: flex; flex-direction: column; }
.tec-list li {
  font-size: .82rem; color: var(--ink-2);
  padding: 9px 0; line-height: 1.6;
  display: flex; gap: 10px;
}
.tec-list li::before {
  content: ''; width: 4px; height: 4px;
  border-radius: 50%; background: var(--olive);
  flex-shrink: 0; margin-top: 8px;
}
.tec-cta-wrap {
  display: flex; justify-content: space-between;
  align-items: center; gap: 32px; flex-wrap: wrap;
  margin-top: 48px; padding: 32px 0;
  border-top: 1px solid var(--border);
}
.tec-cta-text {
  font-family: var(--f-display); font-size: 1.25rem;
  font-style: italic; color: var(--ink);
  letter-spacing: -.01em;
}
.btn-line {
  font-family: var(--f-body); font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 14px 28px; border: 1px solid var(--ink);
  color: var(--ink); transition: all .25s var(--ease);
  display: inline-block;
}
.btn-line:hover {
  background: var(--ink); color: var(--bg);
}
.btn-line .btn-arrow {
  display: inline-block; margin-left: 6px;
  transition: transform .25s var(--ease);
}
.btn-line:hover .btn-arrow { transform: translateX(4px); }

/* Variant for use on dark backgrounds */
.btn-line--light {
  border-color: var(--light);
  color: var(--light);
}
.btn-line--light:hover {
  background: var(--light); color: var(--dark);
}

/* ── FAQ ── */
.faq-top {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 60px;
  margin-bottom: 56px; padding-bottom: 44px;
  border-bottom: 1px solid var(--border-l);
}
.faq-intro {
  max-width: 360px; font-size: .95rem;
  color: rgba(245,242,236,.82); line-height: 1.85;
}
.faq-item { border-bottom: 1px solid rgba(245,242,236,.2); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 22px 0; width: 100%;
  font-size: 1.02rem; color: var(--light); font-weight: 300;
  letter-spacing: -.01em; text-align: left;
  transition: color .25s var(--ease); cursor: none;
  background: transparent; border: none;
}
.faq-question:hover { color: var(--brand-sage); }
.faq-icon {
  width: 22px; height: 22px; border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .78rem; color: rgba(245,242,236,.85);
  transition: transform .35s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--olive-l); color: var(--olive-l);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .45s var(--ease), padding .3s var(--ease);
}
.faq-item.open .faq-answer { max-height: 900px; }
.faq-answer p {
  font-size: .92rem; color: rgba(245,242,236,.85);
  line-height: 1.9; padding-bottom: 22px; max-width: 700px;
}
.faq-answer p strong { color: rgba(245,242,236,.95); font-weight: 400; }

/* Progressive-disclosure: hide the deep-tech answer inside <details> */
.faq-answer__expand {
  margin-top: -6px;
  padding: 14px 18px 18px;
  border: 1px solid rgba(245,242,236,.08);
  border-left: 2px solid var(--olive-l);
  background: rgba(245,242,236,.02);
  max-width: 700px;
}
.faq-answer__expand summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--olive-l);
  padding: 4px 0;
  transition: color .2s var(--ease);
}
.faq-answer__expand summary::-webkit-details-marker { display: none; }
.faq-answer__expand summary::before {
  content: '+ ';
  display: inline-block;
  margin-right: 6px;
  transition: transform .2s var(--ease);
}
.faq-answer__expand[open] summary::before { content: '- '; }
.faq-answer__expand summary:hover { color: rgba(245,242,236,.95); }
.faq-answer__expand p {
  margin-top: 12px;
  padding-bottom: 4px;
  font-size: .86rem;
  color: rgba(245,242,236,.7);
}

/* FAQ direction CTA */
.faq-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-top: 56px; padding: 32px 36px;
  border: 1px solid rgba(245,242,236,.12);
  border-left: 3px solid var(--olive-l);
  background: rgba(245,242,236,.025);
}
.faq-cta-text {
  font-family: var(--f-display); font-style: italic;
  font-size: 1.15rem; color: rgba(245,242,236,.85);
  margin: 0; line-height: 1.4;
}

/* ── Manifesto Section (founder story + Vanix Corp) ── */
.manifesto-section {
  position: relative;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 140px 0;
  overflow: hidden;
}
[data-theme="dark"] .manifesto-section {
  background: var(--surface-1);
  border-color: var(--border-color);
}
.manifesto-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(91,107,78,.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 80%, rgba(217,190,138,.06) 0%, transparent 55%);
  pointer-events: none;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  position: relative;
  z-index: 1;
}
.manifesto-left {
  position: sticky;
  top: 120px;
  align-self: start;
}
.manifesto-vanix-tag {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 24px 0 32px;
  padding: 8px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--olive);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 400;
}
[data-theme="dark"] .manifesto-vanix-tag {
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--content-secondary);
}
.manifesto-vanix-tag strong {
  color: var(--olive);
  font-weight: 500;
  letter-spacing: .12em;
}
[data-theme="dark"] .manifesto-vanix-tag strong {
  color: var(--accent-hover);
}
.manifesto-vanix-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 0 rgba(91,107,78,.6);
  animation: vanixPulse 2.4s ease-in-out infinite;
}
@keyframes vanixPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91,107,78,.6); }
  50%      { box-shadow: 0 0 0 8px rgba(91,107,78,0); }
}
.manifesto-right {
  max-width: 640px;
}
.manifesto-lead {
  font-family: var(--f-display);
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 32px;
  letter-spacing: -.015em;
  font-weight: 400;
}
.manifesto-lead strong {
  font-weight: 500;
  color: var(--olive);
  font-style: italic;
}
.manifesto-right p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.manifesto-right p strong {
  color: var(--ink);
  font-weight: 500;
}

.manifesto-signature {
  display: flex; align-items: center; gap: 20px;
  margin-top: 56px; padding-top: 36px;
  border-top: 1px solid var(--border);
}
.manifesto-sig-line {
  width: 48px; height: 1px;
  background: var(--olive);
  flex-shrink: 0;
}
.manifesto-sig-name {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 4px;
}
.manifesto-sig-role {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.manifesto-vanix-card {
  margin-top: 48px;
  padding: 32px 36px;
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--olive);
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .manifesto-vanix-card {
  background: var(--surface-2);
  border-color: rgba(255,255,255,.08);
  border-left-color: var(--accent);
}
.manifesto-vanix-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(91,107,78,.08) 0%, transparent 70%);
  pointer-events: none;
}
.manifesto-vanix-card-top {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; margin-bottom: 16px; flex-wrap: wrap;
}
.manifesto-vanix-logo {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.02em;
}
.manifesto-vanix-logo span {
  color: var(--olive);
  font-style: italic;
}
[data-theme="dark"] .manifesto-vanix-logo span {
  color: var(--accent-hover);
}
.manifesto-vanix-tagline {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.manifesto-vanix-desc {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0;
}

/* Footer Vanix Corp strip */
.footer-vanix {
  display: flex; align-items: center;
  padding: 28px 0;
  margin: 32px 0 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.footer-vanix-left {
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.footer-vanix-logo {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.02em;
  flex-shrink: 0;
  padding-right: 24px;
  border-right: 1px solid var(--border);
}
.footer-vanix-logo span {
  color: var(--olive);
  font-style: italic;
}
[data-theme="dark"] .footer-vanix-logo span {
  color: var(--accent-hover);
}
.footer-vanix-text {
  font-size: .85rem;
  line-height: 1.6;
  color: var(--ink-2);
  flex: 1;
  min-width: 280px;
}
.footer-vanix-text strong {
  color: var(--ink);
  font-weight: 500;
}
.footer-vanix-link {
  color: var(--olive);
  font-style: italic;
  margin-left: 6px;
  border-bottom: 1px solid rgba(91,107,78,.4);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
[data-theme="dark"] .footer-vanix-link {
  color: var(--accent-hover);
  border-bottom-color: rgba(181,201,159,.4);
}
.footer-vanix-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Manifesto responsive */
@media (max-width: 968px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .manifesto-left {
    position: static;
  }
  .manifesto-section { padding: 96px 0; }
  .manifesto-lead { font-size: 1.25rem; }
  .footer-vanix-logo {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding-right: 0; padding-bottom: 12px;
  }
}

/* ── CTA Section ── */
.section-cta { position: relative; overflow: hidden; padding: 120px 0; }
.cta-bg-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 55% at 22% 50%, rgba(91,107,78,.07) 0%, transparent 55%);
  pointer-events: none;
}
.cta-deco {
  position: absolute; pointer-events: none; opacity: .06;
}
.cta-deco svg {
  width: 100%; height: 100%;
  stroke: var(--olive-l); fill: none; stroke-width: .5;
}
.cta-quote {
  font-family: var(--f-display); font-weight: 400; font-style: italic;
  font-size: clamp(1.3rem, 2.8vw, 2.2rem);
  line-height: 1.45; letter-spacing: -.02em;
  color: rgba(245,242,236,.94); max-width: 860px;
  margin-bottom: 52px; position: relative;
}
.cta-quote strong { font-weight: 400; font-style: normal; color: var(--light); }
.cta-founder {
  display: flex; align-items: center; gap: 16px; margin-bottom: 48px;
}
.cta-founder-avatar {
  width: 46px; height: 46px; background: var(--olive);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 1.1rem;
  font-weight: 400; color: #fff; flex-shrink: 0;
}
.cta-founder-name {
  font-family: var(--f-display); font-size: 1.05rem;
  font-weight: 400; color: var(--light); margin-bottom: 2px;
}
.cta-founder-role {
  font-size: .67rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(245,242,236,.78);
}
.cta-actions { display: flex; align-items: center; gap: 28px; }
.cta-note {
  font-size: .72rem; letter-spacing: .08em;
  color: rgba(245,242,236,.78);
}

/* ── Footer v2 — Trust + Compliance ── */
.footer {
  position: relative;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
  overflow: hidden;
}
.footer-grad {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, var(--accent-subtle) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 90% 100%, var(--accent-subtle) 0%, transparent 70%);
  pointer-events: none;
}
.footer-container {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 56px;
}

/* Top: brand block + columns */
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2.5fr;
  gap: 80px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.footer-brand-block {
  max-width: 380px;
}
.footer-brand {
  font-family: var(--f-display); font-size: 1.6rem; font-weight: 400;
  color: var(--content-primary);
  margin-bottom: 18px;
}
.footer-brand span { font-style: italic; color: var(--accent); }
.footer-tagline {
  font-size: .92rem; line-height: 1.65;
  color: var(--content-secondary);
  margin-bottom: 28px;
}
.footer-cta-row .btn-fill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 28px;
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--accent); color: var(--content-on-accent);
  border: 1px solid var(--accent);
}
.footer-cta-row .btn-fill:hover {
  background: var(--accent-hover); border-color: var(--accent-hover);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col {
  display: flex; flex-direction: column; gap: 12px;
}
.footer-col-title {
  font-family: var(--f-body);
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 500;
}
.footer-col a {
  font-size: .86rem;
  color: var(--content-secondary);
  transition: color .2s var(--ease), padding-left .25s var(--ease);
  padding-left: 0;
  display: inline-block;
}
.footer-col a:hover {
  color: var(--accent);
  padding-left: 6px;
}
.footer-meta {
  font-size: .76rem;
  color: var(--content-tertiary);
  font-family: var(--f-mono);
}

/* Trust row */
.footer-trust {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.footer-trust-title {
  font-family: var(--f-body);
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--content-tertiary);
  margin-bottom: 28px;
  text-align: center;
}
.footer-trust-items {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.trust-badge {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 16px;
  background: var(--surface-0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color .3s var(--ease), transform .35s var(--ease), background .3s var(--ease);
}
.trust-badge:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  background: var(--accent-subtle);
}
.trust-badge svg {
  width: 28px; height: 28px;
  flex-shrink: 0;
  color: var(--accent);
}
.trust-badge-name {
  font-family: var(--f-body);
  font-size: .82rem;
  font-weight: 500;
  color: var(--content-primary);
  line-height: 1.2;
  margin-bottom: 3px;
}
.trust-badge-desc {
  font-size: .68rem;
  color: var(--content-tertiary);
  font-family: var(--f-mono);
  line-height: 1.3;
}

/* Bottom: legal */
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-legal {
  display: flex; flex-direction: column; gap: 6px;
}
.footer-legal-line {
  font-size: .76rem;
  color: var(--content-tertiary);
  font-family: var(--f-mono);
}
.footer-legal-line strong {
  color: var(--content-secondary);
  font-weight: 500;
}
.footer-legal-line .dot {
  margin: 0 6px;
  color: var(--content-tertiary);
}
.footer-legal-link {
  color: var(--content-secondary);
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer-legal-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.footer-legal-links {
  display: flex; gap: 28px;
}
.footer-legal-links a {
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--content-tertiary);
  transition: color .2s var(--ease);
}
.footer-legal-links a:hover {
  color: var(--accent);
}

/* Footer responsive */
@media (max-width: 1100px) {
  .footer-trust-items { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .footer { padding: 56px 0 28px; }
  .footer-container { padding: 0 32px; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 48px;
  }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-trust { padding: 40px 0; }
  .footer-bottom { flex-direction: column; gap: 20px; }
}
@media (max-width: 600px) {
  .footer-trust-items { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-legal-links { flex-direction: column; gap: 8px; }
}

/* ── Comparison Chart ── */
.comp-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 60px;
  margin-bottom: 56px; padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.comp-intro {
  max-width: 380px; font-size: .92rem; color: var(--muted); line-height: 1.85;
}
.comp-grid {
  display: flex; flex-direction: column; gap: 0;
}
.comp-row {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 32px; align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.comp-row:last-child { border-bottom: none; }
.comp-label {
  font-family: var(--f-display); font-size: 1.05rem; font-weight: 400;
  letter-spacing: -.015em; line-height: 1.3;
}
.comp-bars {
  display: flex; flex-direction: column; gap: 10px;
}
.comp-bar-group {
  display: flex; align-items: center; gap: 14px;
}
.comp-bar-label {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); width: 100px; flex-shrink: 0;
}
.comp-bar-track {
  flex: 1; height: 32px; background: var(--bg-subtle);
  border: 1px solid var(--border); position: relative;
  overflow: visible; /* allow comp-bar-val to render outside narrow bars */
}
.comp-bar {
  height: 100%;
  transition: width 1.2s var(--ease);
  position: relative;
}
.comp-bar--ai {
  background: linear-gradient(90deg, var(--olive), var(--olive-l));
}
.comp-bar--sem {
  background: rgba(138,135,128,.15);
}
.comp-bar-val {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 12px;
  font-size: .78rem; font-weight: 600; white-space: nowrap;
  letter-spacing: .02em;
}
.comp-bar--ai .comp-bar-val { color: var(--olive); }
.comp-bar--sem .comp-bar-val { color: var(--muted); }
[data-theme="dark"] .comp-bar--ai .comp-bar-val { color: var(--accent-hover); }
.comp-footer {
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid var(--border);
}
.comp-footer span {
  font-size: .72rem; font-style: italic; color: var(--muted);
  letter-spacing: .02em;
}

/* ── Scroll Reveal (excludes 3D-tilt cards — they use --rv-y variable) ── */
.rv, .rv-s, .rv-blur { opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.rv:not(.feat):not(.step):not(.cc-card):not(.tec-card):not(.plan-card) { transform: translateY(40px); }
.rv-s:not(.feat):not(.step):not(.cc-card):not(.tec-card):not(.plan-card) { transform: scale(.96); }
.rv-blur:not(.feat):not(.step):not(.cc-card):not(.tec-card):not(.plan-card) { transform: translateY(30px); filter: blur(12px); }
.rv.on:not(.feat):not(.step):not(.cc-card):not(.tec-card):not(.plan-card),
.rv-s.on:not(.feat):not(.step):not(.cc-card):not(.tec-card):not(.plan-card),
.rv-blur.on:not(.feat):not(.step):not(.cc-card):not(.tec-card):not(.plan-card) {
  opacity: 1; transform: none; filter: none;
}
/* Card reveal — control via opacity + --rv-y only */
.feat.rv, .step.rv, .cc-card.rv, .tec-card.rv, .plan-card.rv,
.feat.rv-s, .step.rv-s, .cc-card.rv-s, .tec-card.rv-s, .plan-card.rv-s {
  opacity: 0;
}
.feat.rv.on, .step.rv.on, .cc-card.rv.on, .tec-card.rv.on, .plan-card.rv.on,
.feat.rv-s.on, .step.rv-s.on, .cc-card.rv-s.on, .tec-card.rv-s.on, .plan-card.rv-s.on,
.feat.rv-visible, .step.rv-visible, .cc-card.rv-visible, .tec-card.rv-visible, .plan-card.rv-visible {
  opacity: 1;
}
.rv-d1 { transition-delay: .1s; }
.rv-d2 { transition-delay: .22s; }
.rv-d3 { transition-delay: .34s; }
.rv-d4 { transition-delay: .46s; }

/* ── Enhanced Card Effects ── */
.plan-card, .cc-card, .tec-card, .guarantee-item {
  position: relative; isolation: isolate;
}
.plan-card::before, .cc-card::before, .tec-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%),
    rgba(217,190,138,.08), transparent 40%);
  opacity: 0; transition: opacity .5s var(--ease);
  pointer-events: none; z-index: 0;
}
.plan-card:hover::before, .cc-card:hover::before, .tec-card:hover::before {
  opacity: 1;
}
.plan-card > *, .cc-card > *, .tec-card > * { position: relative; z-index: 1; }

.plan-card--featured {
  box-shadow: var(--shadow-lg), 0 0 80px rgba(91,107,78,.12);
}
.plan-card--featured::after {
  content: ''; position: absolute; inset: -1px;
  background: linear-gradient(135deg, var(--olive), var(--gold), var(--olive-l));
  opacity: 0; transition: opacity .4s var(--ease);
  z-index: -1; border-radius: inherit;
}
.plan-card--featured:hover::after { opacity: .4; }

/* Enhanced comparison bars with animation */
.comp-bar--ai {
  background: linear-gradient(90deg, var(--olive), var(--olive-l));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 2px 12px rgba(91,107,78,.2);
}
.comp-bar--ai::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transform: translateX(-100%);
  animation: compShine 3s ease-in-out infinite;
}
@keyframes compShine {
  0%, 40% { transform: translateX(-100%); }
  100%    { transform: translateX(100%); }
}

/* ── Section dividers (editorial) ── */
.section {
  position: relative;
}
.section--alt::before {
  content: ''; position: absolute; top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 2px;
  background: var(--olive);
}

/* ── Global typography refinements ── */
body { font-feature-settings: "ss01", "cv11"; }
.section-heading {
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 20, "WONK" 0;
}
.section-eyebrow {
  font-family: var(--f-mono);
}

/* ── Number counter glow ── */
.big-stat-number {
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-l) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 30px rgba(91,107,78,.15));
}

/* ── Advanced Animations ── */
@keyframes float1 {
  0%, 100% { transform: translateY(-15px); }
  50%      { transform: translateY(15px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(-10px) rotate(0deg); }
  50%      { transform: translateY(10px) rotate(8deg); }
}
@keyframes float3 {
  0%, 100% { transform: translate(-8px, -6px); }
  50%      { transform: translate(8px, 6px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .12; }
  50%      { transform: scale(1.08); opacity: .18; }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%, 100% { outline-color: var(--olive); }
  50%      { outline-color: var(--olive-l); }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .container { padding: 0 32px; }
  .section { padding: 90px 0; }
  #nav { padding: 18px 32px; }
  #nav.scrolled { padding: 14px 32px; }
  .hero { padding-bottom: 56px; }
  .hero-side-text { display: none; }
  .hero-float--4, .hero-float--5 { display: none; }
  .hero-float { opacity: .5; }
  .hero-corner { display: none; }
  .hero-title { font-size: clamp(3.2rem, 7vw, 5.5rem); }
  .hero-split { flex-direction: column; align-items: flex-start; gap: 32px; }
  .hero-actions { align-items: flex-start; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-orb--1 { width: 340px; height: 340px; }
  .hero-orb--2 { width: 280px; height: 280px; }
  .hero-orb--3 { display: none; }
  .hero-scroll-indicator { display: none; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .problema-grid { grid-template-columns: 1fr; gap: 56px; }
  .features-top { flex-direction: column; gap: 20px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-line { display: none; }
  .demo-layout { grid-template-columns: 1fr; }
  .demo-text { border-right: none; border-bottom: 1px solid var(--border-l); padding: 56px 40px; }
  .demo-phone-wrap { padding: 48px 40px; }
  .quiz-header { flex-direction: column; gap: 24px; }
  .auto-header { grid-template-columns: 1fr; gap: 24px; }
  .auto-row { grid-template-columns: 36px 1fr; gap: 14px; }
  .auto-detail, .auto-badge { display: none; }
  .comp-header { flex-direction: column; gap: 20px; }
  .comp-row { grid-template-columns: 1fr; gap: 12px; }
  .seg-top { flex-direction: column; gap: 20px; }
  .seg-grid { grid-template-columns: 1fr 1fr; }
  .plans-top { flex-direction: column; align-items: flex-start; }
  .plans-top-right { text-align: left; }
  .plans-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .trust-item:nth-child(even) { border-right: none; }
  .trust-item { border-bottom: 1px solid var(--border); }
  .trust-item:nth-last-child(-n+2) { border-bottom: none; }
  .trust-item:last-child { grid-column: span 2; border-right: none; }
  .roi-top { flex-direction: column; gap: 20px; }
  .roi-grid { grid-template-columns: 1fr; }
  .roi-inputs, .roi-output { padding: 36px 28px; }
  .guarantee-strip { grid-template-columns: 1fr; }
  .pilot-banner { flex-direction: column; align-items: flex-start; gap: 32px; padding: 40px 32px; }
  .pilot-right { align-items: flex-start; }
  .pilot-note { text-align: left; }
  .cc-top { flex-direction: column; gap: 20px; }
  .cc-grid { grid-template-columns: 1fr; }
  .tec-top { flex-direction: column; gap: 20px; }
  .tec-grid { grid-template-columns: 1fr 1fr; }
  .tec-cta-wrap { flex-direction: column; align-items: flex-start; gap: 18px; }
  .urgency-banner { flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; }
  .urgency-count { border-left: none; border-top: 1px solid rgba(255,255,255,.12); padding-left: 0; padding-top: 16px; flex-direction: row; gap: 12px; align-items: baseline; }
  .faq-top { flex-direction: column; gap: 20px; }
  .section-cta { padding: 80px 0; }
  .footer-inner { flex-direction: column; gap: 18px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero-title { font-size: 3rem; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .seg-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; grid-column: auto; }
  .tec-grid { grid-template-columns: 1fr; }
  .roi-out-row { grid-template-columns: 1fr; gap: 20px; }
  .roi-out-num { font-size: 2.6rem; }
  .pilot-title { font-size: 1.7rem; }
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg); z-index: 499;
    align-items: center; justify-content: center; gap: 28px;
  }
  .nav-menu.open .nav-item { font-size: 1.05rem; color: var(--ink); }
  .nav-menu.open .nav-cta { font-size: .88rem; color: var(--ink); border-color: var(--ink); }
  .nav-toggle { display: flex; }
  .quiz-stat-row { gap: 32px; }
  .quiz-start-card { padding: 32px 20px; }
  .quiz-score-card { flex-direction: column; padding: 32px; }
  .quiz-score-info { text-align: center; }
  .cta-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* =========================================================
   PHASE 3 — Premium polish across all sections
   Match the hero's editorial quality everywhere
   ========================================================= */

/* ── Section heading: italic em now uses gradient text ── */
.section-heading em {
  font-style: italic;
  background: linear-gradient(135deg, var(--olive) 0%, var(--brown) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.section--dark .section-heading em,
.section--dark-alt .section-heading em {
  background: linear-gradient(135deg, var(--olive-l) 0%, var(--gold) 50%, var(--gold-l) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Eyebrow dot accent */
.section-eyebrow::before {
  background: linear-gradient(90deg, transparent, var(--olive), var(--gold));
  height: 1px;
  width: 32px;
}

/* ── About section — premium polish ── */
.about-layout { gap: 100px; }
.about-lead {
  font-family: var(--f-display);
  font-size: 1.18rem;
  line-height: 1.75;
  font-weight: 300;
  letter-spacing: -.005em;
}
.about-lead strong {
  font-weight: 500;
  background: linear-gradient(135deg, var(--ink) 0%, var(--olive) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-tags span {
  font-family: var(--f-mono);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--ink-2);
  position: relative;
  overflow: hidden;
}
.about-tags span::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(217,190,138,.18) 100%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.about-tags span:hover::before { opacity: 1; }
.about-tags span:hover {
  border-color: var(--olive);
  color: var(--olive);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(91,107,78,.12);
}
.about-tags span { transition: all .3s var(--ease); }

/* ── Problema — dramatic numbers ── */
.big-stat-number {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-l) 45%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 32px rgba(91,107,78,.18));
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.big-stat-number::after {
  content: '';
  position: absolute;
  left: 0; bottom: -8px;
  width: 64px; height: 2px;
  background: linear-gradient(90deg, var(--olive), var(--gold), transparent);
  opacity: .55;
}
.big-stat-desc {
  font-size: .92rem;
  line-height: 1.7;
}
.problema-right p {
  font-family: var(--f-display);
  font-size: 1.12rem;
  line-height: 1.8;
  font-weight: 300;
}
.problema-right p strong {
  background: linear-gradient(135deg, var(--ink) 0%, var(--olive) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
.tech-tag {
  font-family: var(--f-mono);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--ink-2);
  transition: all .3s var(--ease);
}
.tech-tag:hover {
  border-color: var(--olive);
  color: var(--olive);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(91,107,78,.12);
}

/* ── Features — cursor spotlight + gradient borders ── */
.feat {
  position: relative;
  isolation: isolate;
}
.feat::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(217,190,138,.10), transparent 45%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.feat:hover::after { opacity: 1; }
.feat > * { position: relative; z-index: 1; }
.feat::before {
  height: 2px;
  background: linear-gradient(90deg, var(--olive), var(--gold), transparent);
}
.feat:hover {
  background: var(--bg);
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(30,33,27,.10);
}
.feat-index {
  font-variation-settings: "SOFT" 30, "WONK" 1;
  background: linear-gradient(135deg, rgba(91,107,78,.06) 0%, rgba(217,190,138,.04) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all .35s var(--ease);
}
.feat:hover .feat-index {
  background: linear-gradient(135deg, rgba(91,107,78,.16) 0%, rgba(217,190,138,.10) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.feat-icon-wrap {
  background: linear-gradient(135deg, rgba(91,107,78,.08) 0%, rgba(217,190,138,.04) 100%);
  border: 1px solid rgba(91,107,78,.12);
  position: relative;
  overflow: hidden;
}
.feat-icon-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(217,190,138,.3), transparent 60%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.feat:hover .feat-icon-wrap {
  border-color: rgba(91,107,78,.3);
  box-shadow: 0 4px 18px rgba(91,107,78,.15);
}
.feat:hover .feat-icon-wrap::after { opacity: 1; }
.feat-name {
  font-variation-settings: "SOFT" 20, "WONK" 0;
}
.feat-badge::before {
  background: linear-gradient(90deg, currentColor, transparent);
}

/* ── Steps — visual hierarchy + animated connectors ── */
.step {
  position: relative;
  isolation: isolate;
}
.step::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(217,190,138,.08), transparent 45%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.step:hover::before { opacity: 1; }
.step > * { position: relative; z-index: 1; }
.step:hover {
  background: var(--bg);
  transform: translateY(-3px);
}
.step { transition: all .35s var(--ease); }
.step-num {
  background: linear-gradient(135deg, rgba(91,107,78,.10) 0%, rgba(217,190,138,.06) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all .35s var(--ease);
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.step:hover .step-num {
  background: linear-gradient(135deg, var(--olive) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 14px rgba(91,107,78,.25));
}
.step-icon {
  position: relative;
  border-radius: var(--radius);
}
.step-icon::after {
  content: '';
  position: absolute; inset: -8px;
  background: radial-gradient(circle at center, rgba(217,190,138,.18), transparent 60%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
  border-radius: 50%;
}
.step:hover .step-icon::after { opacity: 1; }
.step-line {
  background: linear-gradient(90deg, var(--border), var(--olive), var(--border));
  height: 1px;
  width: 24px;
  opacity: .6;
}
.step-time {
  font-family: var(--f-mono);
  background: linear-gradient(135deg, rgba(91,107,78,.10) 0%, rgba(217,190,138,.04) 100%);
  border-color: rgba(91,107,78,.18);
  transition: all .25s var(--ease);
}
.step:hover .step-time {
  border-color: var(--olive);
  background: linear-gradient(135deg, rgba(91,107,78,.16) 0%, rgba(217,190,138,.08) 100%);
  box-shadow: 0 4px 14px rgba(91,107,78,.12);
}

/* ── Demo — premium dark side ── */
.demo-layout {
  position: relative;
  overflow: hidden;
}
.demo-layout::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(122,141,104,.15), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.demo-layout::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(217,190,138,.08), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}
.demo-text { position: relative; z-index: 2; }
.demo-phone-wrap { position: relative; z-index: 2; }
.demo-desc {
  font-family: var(--f-display);
  font-size: 1.05rem;
  line-height: 1.85;
  font-weight: 300;
  color: rgba(245,242,236,.82);
}
.demo-tags span {
  font-family: var(--f-mono);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all .3s var(--ease);
}
.demo-tags span:hover {
  border-color: rgba(217,190,138,.3);
  color: var(--gold);
  background: rgba(217,190,138,.05);
}

/* Phone — premium glow ── */
.phone-device {
  box-shadow:
    0 0 0 1px rgba(217,190,138,.15),
    0 0 80px rgba(122,141,104,.18),
    0 32px 80px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.04);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.phone-device:hover {
  transform: translateY(-4px) rotate(-.5deg);
  box-shadow:
    0 0 0 1px rgba(217,190,138,.25),
    0 0 100px rgba(122,141,104,.28),
    0 42px 100px rgba(0,0,0,.65),
    inset 0 1px 0 rgba(255,255,255,.06);
}
.phone-avatar {
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-l) 50%, var(--gold) 100%);
  box-shadow: 0 2px 12px rgba(91,107,78,.4), inset 0 1px 0 rgba(255,255,255,.2);
}

/* ── Quiz — premium look ── */
.quiz-intro p {
  font-family: var(--f-display);
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 300;
}
.quiz-start-card {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.quiz-start-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--olive), var(--gold), var(--olive), transparent);
}
.quiz-start-card::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(217,190,138,.12), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.quiz-stat-val {
  background: linear-gradient(135deg, var(--olive) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.quiz-stat-lbl { font-family: var(--f-mono); }
.quiz-categories span {
  font-family: var(--f-mono);
  background: var(--glass-bg);
  transition: all .3s var(--ease);
}
.quiz-categories span:hover {
  border-color: var(--olive);
  background: var(--glass-bg-hover);
  color: var(--olive);
  transform: translateY(-1px);
}
.quiz-question {
  font-family: var(--f-display);
  font-size: 1.42rem;
  font-variation-settings: "SOFT" 20, "WONK" 0;
}
.quiz-option {
  position: relative;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.quiz-option::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91,107,78,.06) 0%, rgba(217,190,138,.04) 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.quiz-option:hover {
  border-color: var(--olive);
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(91,107,78,.08);
}
.quiz-option:hover::before { opacity: 1; }
.quiz-progress-fill {
  background: linear-gradient(90deg, var(--olive), var(--gold), var(--olive-l));
  box-shadow: 0 0 12px rgba(217,190,138,.4);
}
.quiz-cat-badge {
  font-family: var(--f-mono);
  background: linear-gradient(135deg, rgba(91,107,78,.08) 0%, rgba(217,190,138,.04) 100%);
}

/* ── FAQ — refined accordion ── */
.faq-item {
  position: relative;
  transition: all .35s var(--ease);
}
.faq-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--olive), var(--gold));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease);
}
.faq-item.active::before { transform: scaleY(1); }
.faq-item:hover { background: var(--glass-bg-hover); }
.faq-q {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 20, "WONK" 0;
  transition: all .3s var(--ease);
}
.faq-item:hover .faq-q,
.faq-item.active .faq-q { color: var(--olive); }

/* ── Plans — extra polish on cards ── */
.plan-card {
  position: relative;
  isolation: isolate;
}
.plan-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%),
    rgba(217,190,138,.08), transparent 45%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.plan-card:hover::before { opacity: 1; }
.plan-card > * { position: relative; z-index: 1; }
.plan-name {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 20, "WONK" 0;
}
.plan-price-num {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.plan-card--featured .plan-price-num {
  background: linear-gradient(135deg, var(--olive) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 18px rgba(91,107,78,.25));
}

/* ── Cost Comparison — cursor spotlight ── */
.cc-card {
  position: relative;
  isolation: isolate;
  transition: all .35s var(--ease);
}
.cc-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(217,190,138,.08), transparent 45%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.cc-card:hover::before { opacity: 1; }
.cc-card > * { position: relative; z-index: 1; }
.cc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(30,33,27,.10);
}

/* ── Technical section — premium cards ── */
.tec-card {
  position: relative;
  isolation: isolate;
  transition: all .35s var(--ease);
}
.tec-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(217,190,138,.10), transparent 45%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.tec-card:hover::before { opacity: 1; }
.tec-card > * { position: relative; z-index: 1; }
.tec-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217,190,138,.3);
  box-shadow: 0 18px 48px rgba(30,33,27,.18);
}

/* ── Auto/Automation cards — ── */
.auto-row {
  position: relative;
  transition: all .3s var(--ease);
}
.auto-row:hover {
  background: rgba(245,242,236,.04);
  transform: translateX(4px);
}

/* ── Trust row polish ── */
.trust-item {
  position: relative;
  transition: all .35s var(--ease);
}
.trust-item::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--olive), transparent);
  transition: width .4s var(--ease);
}
.trust-item:hover::after { width: 80%; }
.trust-num {
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-l) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--olive); /* fallback if background-clip:text fails */
  font-variation-settings: "SOFT" 30, "WONK" 1;
}

/* ── ROI calc polish ── */
.roi-out-num {
  background: linear-gradient(135deg, var(--olive-l) 0%, var(--gold) 50%, var(--gold-l) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variation-settings: "SOFT" 30, "WONK" 1;
  filter: drop-shadow(0 4px 24px rgba(217,190,138,.3));
}

/* ── Pilot banner premium gradient ── */
.pilot-banner {
  position: relative;
  overflow: hidden;
}
.pilot-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(217,190,138,.12), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}
.pilot-banner::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(122,141,104,.10), transparent 65%);
  filter: blur(80px);
  pointer-events: none;
}
.pilot-banner > * { position: relative; z-index: 1; }
.pilot-title {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 20, "WONK" 0;
}
.pilot-price {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-l) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 18px rgba(217,190,138,.35));
  font-variation-settings: "SOFT" 30, "WONK" 1;
}

/* ── CTA section — dramatic background ── */
.section-cta {
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(122,141,104,.18), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.section-cta::after {
  content: '';
  position: absolute;
  bottom: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(217,190,138,.08), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.section-cta > * { position: relative; z-index: 1; }
.cta-heading,
.cta-quote {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 20, "WONK" 0;
}
.cta-heading em,
.cta-quote em {
  background: linear-gradient(135deg, var(--olive-l) 0%, var(--gold) 50%, var(--gold-l) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-quote strong {
  font-weight: 500;
  background: linear-gradient(135deg, var(--gold-l) 0%, var(--gold) 50%, var(--olive-l) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 14px rgba(217,190,138,.2));
}

/* ── Footer subtle polish ── */
#footer {
  position: relative;
  border-top: 1px solid var(--border-l);
}
#footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,190,138,.2), transparent);
}
.footer-links a {
  position: relative;
  transition: color .25s var(--ease);
}
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.footer-links a:hover::after { width: 100%; }
.footer-links a:hover { color: var(--gold); }

/* ── Premium decorative accents on dark sections ── */
.section--dark::before,
.section--dark-alt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,190,138,.18), transparent);
}

/* ── Subtle scroll-reveal nuance ── */
.section-heading {
  font-variation-settings: "SOFT" 20, "WONK" 0;
}
.section-heading em {
  font-variation-settings: "SOFT" 30, "WONK" 1;
}

/* ── About lead paragraph emphasis ── */
.about-lead em {
  font-style: italic;
  background: linear-gradient(135deg, var(--olive) 0%, var(--brown) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Generic gradient-text utility ── */
.txt-grad {
  background: linear-gradient(135deg, var(--olive) 0%, var(--brown) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Gradient-text fallback (for browsers without background-clip: text) ── */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .stat-number,
  .big-stat-number,
  .roi-out-num,
  .pilot-price,
  .quiz-stat-val,
  .plan-card--featured .plan-price-num,
  .hero-title em,
  .section-heading em,
  .cta-quote em,
  .about-lead em,
  .about-lead strong,
  .problema-right p strong,
  .feat-index,
  .step-num,
  .trust-num,
  .txt-grad {
    color: var(--olive-l) !important;
    background: none !important;
  }
}

/* ── Inputs (ROI sliders, etc.) — premium thumbs ── */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: var(--border);
  height: 4px;
  border-radius: 4px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-l) 100%);
  cursor: none;
  box-shadow: 0 4px 14px rgba(91,107,78,.35), inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .2s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 18px rgba(91,107,78,.45), 0 0 24px rgba(217,190,138,.3);
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-l) 100%);
  cursor: none;
  box-shadow: 0 4px 14px rgba(91,107,78,.35);
}

/* ── FAQ items polish (extra) ── */
.faq-item {
  padding-left: 20px;
}
.faq-item .faq-q { padding-left: 0; }

/* ── Auto-shine on featured cards ── */
.plan-card--featured::after {
  background: linear-gradient(135deg, var(--olive), var(--gold), var(--olive-l));
}

/* ── Marquee polish ── */
.marquee {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-subtle) 100%);
  position: relative;
  overflow: hidden;
}
.marquee::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 80px;
  background: linear-gradient(90deg, var(--bg-alt), transparent);
  z-index: 2;
  pointer-events: none;
}
.marquee::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--bg-alt));
  z-index: 2;
  pointer-events: none;
}
.marquee-content i {
  background: linear-gradient(135deg, var(--olive), var(--gold));
  width: 4px; height: 4px;
}
.marquee-content span {
  font-family: var(--f-mono);
}

/* =========================================================
   PHASE 4 — BIG TECH POLISH
   3D perspective, staggered motion, microinteractions
   ========================================================= */

/* ── 3D perspective scene on card grids ── */
.features-grid,
.steps-grid,
.plans-grid,
.cc-grid,
.tec-grid {
  perspective: 1400px;
  perspective-origin: 50% 50%;
}

/* ── 3D tilt cards (JS sets --rx, --ry, --ts) ── */
.feat,
.step,
.cc-card,
.tec-card,
.plan-card {
  transform-style: preserve-3d;
  transform:
    translate3d(var(--rv-x, 0), var(--rv-y, 0), 0)
    perspective(1200px)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    translateZ(var(--tz, 0px))
    scale(var(--ts, 1));
  transition:
    transform .5s cubic-bezier(.22, 1, .36, 1),
    box-shadow .5s cubic-bezier(.22, 1, .36, 1),
    background .35s var(--ease);
  will-change: transform;
}
/* Reveal-state override (just update vars, not full transform) */
.feat.rv, .step.rv, .cc-card.rv, .tec-card.rv, .plan-card.rv {
  --rv-y: 40px;
  opacity: 0;
}
.feat.rv.on, .step.rv.on, .cc-card.rv.on, .tec-card.rv.on, .plan-card.rv.on,
.feat.rv-s.on, .step.rv-s.on, .cc-card.rv-s.on, .tec-card.rv-s.on, .plan-card.rv-s.on,
.feat.rv-visible, .step.rv-visible, .cc-card.rv-visible, .tec-card.rv-visible, .plan-card.rv-visible {
  --rv-y: 0px;
  opacity: 1;
}
.feat:hover,
.step:hover,
.cc-card:hover,
.tec-card:hover {
  --tz: 22px;
  --ts: 1.01;
}
.plan-card:hover {
  --tz: 30px;
  --ts: 1.015;
}

/* Lift the 3D inner content slightly ahead of the card */
.feat > *,
.step > *,
.cc-card > *,
.tec-card > *,
.plan-card > * {
  transform: translateZ(8px);
}
.feat-index,
.step-num,
.plan-name,
.plan-price-num {
  transform: translateZ(24px);
}
.feat-icon-wrap,
.step-icon {
  transform: translateZ(18px);
}

/* ── Glare layer on premium cards ── */
.plan-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,.08) 45%,
    rgba(255,255,255,.18) 50%,
    rgba(255,255,255,.08) 55%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
  mix-blend-mode: overlay;
  transform: translateZ(2px);
}
.plan-card:hover::after { opacity: .6; }
.plan-card--featured::after {
  background: linear-gradient(135deg, var(--olive), var(--gold), var(--olive-l));
  opacity: 0;
}

/* ── Buttons: premium pressed state + ripple ── */
.btn-fill, .btn-outline, .nav-cta {
  transform: translateY(var(--btn-y, 0)) scale(var(--btn-s, 1));
  transition:
    transform .2s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow .3s var(--ease),
    background .25s,
    color .25s;
}
.btn-fill:active { --btn-y: 1px; --btn-s: .98; }
.btn-outline:active { --btn-y: 1px; --btn-s: .98; }
.nav-cta:active { --btn-y: 1px; --btn-s: .98; }

/* ── Shimmering text effect for hero numbers ── */
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.stat-number,
.big-stat-number,
.pilot-price,
.roi-out-num,
.trust-num,
.quiz-stat-val {
  background-size: 200% 200%;
  animation: gradShift 8s ease-in-out infinite;
}

/* ── 3D phone mockup ── */
.demo-phone-wrap {
  perspective: 1600px;
  perspective-origin: 50% 50%;
}
.phone-device {
  transform-style: preserve-3d;
  transform:
    perspective(1600px)
    rotateY(var(--phone-ry, -4deg))
    rotateX(var(--phone-rx, 2deg))
    translateZ(0);
  transition: transform 1s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.phone-device:hover {
  --phone-ry: 2deg;
  --phone-rx: -1deg;
}
.phone-device::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    transparent 20%,
    rgba(217,190,138,.12) 40%,
    rgba(255,255,255,.06) 50%,
    transparent 70%
  );
  pointer-events: none;
  border-radius: 24px;
  transform: translateZ(1px);
  mix-blend-mode: overlay;
}

/* ── Phone floating animation ── */
@keyframes phoneFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotateZ(0deg); }
  50%      { transform: translate3d(0, -8px, 0) rotateZ(.3deg); }
}
.phone-device {
  animation: phoneFloat 6s ease-in-out infinite;
}
.phone-device:hover {
  animation-play-state: paused;
}

/* ── Staggered reveal (JS adds .rv + .rv-visible) ── */
/* Base reveal: only animates opacity — transform handled per-variant */
.rv {
  opacity: 0;
  transition:
    opacity 1s cubic-bezier(.22, 1, .36, 1),
    transform 1s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--rv-delay, 0s);
}
.rv-visible { opacity: 1; }

/* Directional variants: only apply transform when .rv-up etc. is present */
.rv-up:not(.rv-visible)   { transform: translate3d(0, 40px, 0); }
.rv-down:not(.rv-visible) { transform: translate3d(0, -30px, 0); }
.rv-left:not(.rv-visible) { transform: translate3d(-40px, 0, 0); }
.rv-right:not(.rv-visible){ transform: translate3d(40px, 0, 0); }
.rv-zoom:not(.rv-visible) { transform: scale(.92); }

/* ── Rotating accent rings (pure CSS background) ── */
.section--dark,
.section--dark-alt {
  position: relative;
}
.section--dark::after,
.section--dark-alt::after {
  content: '';
  position: absolute;
  top: 10%; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(217,190,138,.04);
  pointer-events: none;
  animation: ringRot 60s linear infinite;
}
.section--dark-alt::after {
  top: auto; bottom: 10%; left: -200px; right: auto;
  animation-direction: reverse;
  animation-duration: 80s;
}
@keyframes ringRot {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Dotted matrix pattern on light sections (subtle depth) ── */
.section--alt::after,
.section--subtle::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(91,107,78,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent 80%);
  opacity: .4;
  pointer-events: none;
  z-index: 0;
}
.section--alt > *,
.section--subtle > * { position: relative; z-index: 1; }

/* ── Hero title — word-by-word hover lift (nice detail) ── */
.hero-title .ht-line {
  display: block;
  will-change: transform;
}

/* ── Nav premium hover pill ── */
.nav-menu {
  position: relative;
}
.nav-item {
  padding: 6px 12px;
  border-radius: 40px;
  transition: color .25s, background .25s;
}
.nav-item:hover {
  background: rgba(91,107,78,.06);
}
#nav.nav-over-dark .nav-item:hover {
  background: rgba(255,255,255,.06);
}

/* ── Icon micro-bounce on hover ── */
.feat-icon-wrap svg,
.step-icon svg {
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.feat:hover .feat-icon-wrap svg,
.step:hover .step-icon svg {
  transform: scale(1.12) rotate(-3deg);
}

/* ── Ripple click feedback ── */
.btn-fill,
.btn-outline,
.nav-cta,
.plan-cta {
  position: relative;
  overflow: hidden;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,.35);
  pointer-events: none;
  animation: rippleExpand .7s cubic-bezier(.22, 1, .36, 1) forwards;
}
@keyframes rippleExpand {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ── Scroll to top button (fixed) ── */
#scroll-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  /* WCAG 2.5.5 minimum target size: base 52 * entry scale(.85) ≈ 44.2, scales to 52 when visible */
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(26,29,23,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(217,190,138,.25);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(.85);
  transition: all .4s cubic-bezier(.22, 1, .36, 1);
  z-index: 400;
  box-shadow: 0 14px 40px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.06);
}
#scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
#scroll-top:hover {
  background: var(--olive);
  border-color: var(--gold);
  box-shadow: 0 18px 50px rgba(91,107,78,.35), 0 0 30px rgba(217,190,138,.2), inset 0 1px 0 rgba(255,255,255,.15);
}
#scroll-top svg {
  width: 18px; height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

/* ── Section transition borders with gradient ── */
.section--alt {
  border-top-color: transparent;
  border-bottom-color: transparent;
}
.section--alt > .container {
  position: relative;
}

/* ── Hero title enhanced kinetic ── */
.hero-title em {
  display: inline-block;
  font-style: italic;
  background: linear-gradient(135deg, var(--olive-l) 0%, var(--gold) 50%, var(--gold-l) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 8s ease-in-out infinite;
  filter: drop-shadow(0 6px 28px rgba(217,190,138,.3));
}

/* ── Floating badge animation ── */
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.hero-label-pill,
.plan-featured-badge {
  animation: floatBadge 3.5s ease-in-out infinite;
}

/* ── Premium link underline ── */
.footer-links a,
.nav-item {
  position: relative;
}

/* ── CSS containment for perf on card grids ── */
.feat, .step, .cc-card, .tec-card, .plan-card {
  contain: layout paint;
}

/* ── Entry stagger for features grid children ── */
.features-grid .feat:nth-child(1) { --rv-delay: 0s; }
.features-grid .feat:nth-child(2) { --rv-delay: .08s; }
.features-grid .feat:nth-child(3) { --rv-delay: .16s; }
.features-grid .feat:nth-child(4) { --rv-delay: .24s; }
.features-grid .feat:nth-child(5) { --rv-delay: .32s; }
.features-grid .feat:nth-child(6) { --rv-delay: .4s; }

.steps-grid .step:nth-child(1) { --rv-delay: 0s; }
.steps-grid .step:nth-child(2) { --rv-delay: .12s; }
.steps-grid .step:nth-child(3) { --rv-delay: .24s; }
.steps-grid .step:nth-child(4) { --rv-delay: .36s; }

.plans-grid .plan-card:nth-child(1) { --rv-delay: 0s; }
.plans-grid .plan-card:nth-child(2) { --rv-delay: .1s; }
.plans-grid .plan-card:nth-child(3) { --rv-delay: .2s; }
.plans-grid .plan-card:nth-child(4) { --rv-delay: .3s; }

/* ── FAQ expansion motion ── */
.faq-item { overflow: hidden; transition: background .3s var(--ease); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.22, 1, .36, 1), padding .4s var(--ease);
}
.faq-item.active .faq-a {
  max-height: 500px;
}

/* ── Phone glowing halo (subtle) ── */
.demo-phone-wrap::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 340px; height: 480px;
  transform: translate(-50%, -50%) translateZ(-50px);
  background: radial-gradient(ellipse, rgba(122,141,104,.15) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  animation: haloPulse 4s ease-in-out infinite;
}
@keyframes haloPulse {
  0%, 100% { opacity: .6; transform: translate(-50%, -50%) translateZ(-50px) scale(1); }
  50%      { opacity: .9; transform: translate(-50%, -50%) translateZ(-50px) scale(1.05); }
}

/* ── Premium section dividers (geometric) ── */
.section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(91,107,78,.2));
  pointer-events: none;
}
.section--dark::before,
.section--dark-alt::before {
  background: linear-gradient(to bottom, transparent, rgba(217,190,138,.3));
  height: 1px;
  top: 0;
  left: 0; right: 0;
  transform: none;
  width: 100%;
}

/* ════════════════════════════════════════════════════
   PHASE 6 — DESIGN TOKENS V2 + A11Y FIXES
   Spacing scale (4px), motion tokens, semantic colors,
   floating WhatsApp, cursor a11y
   ════════════════════════════════════════════════════ */

/* ── Spacing scale (Material 3 / Fluent style, 4px base) ── */
:root {
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  20px;
  --s-6:  24px;
  --s-7:  32px;
  --s-8:  40px;
  --s-9:  48px;
  --s-10: 64px;
  --s-11: 80px;
  --s-12: 96px;

  /* ── Motion tokens (M3 inspired) ── */
  --motion-fast:        150ms;
  --motion-normal:      300ms;
  --motion-slow:        500ms;
  --motion-emphasized:  700ms;
  --motion-ease-std:        cubic-bezier(.2, 0, 0, 1);
  --motion-ease-emphasized: cubic-bezier(.3, 0, 0, 1);
  --motion-ease-decel:      cubic-bezier(0, 0, 0, 1);
  --motion-ease-accel:      cubic-bezier(.3, 0, 1, 1);

  /* ── Semantic colors ── */
  --success:        #4F7D52;
  --success-bg:     rgba(79, 125, 82, .08);
  --success-border: rgba(79, 125, 82, .25);
  --warning:        #B5853A;
  --warning-bg:     rgba(181, 133, 58, .08);
  --warning-border: rgba(181, 133, 58, .25);
  --danger:         #A54338;
  --danger-bg:      rgba(165, 67, 56, .08);
  --danger-border:  rgba(165, 67, 56, .25);
  --info:           #5070A8;
  --info-bg:        rgba(80, 112, 168, .08);
  --info-border:    rgba(80, 112, 168, .25);
}

[data-theme="dark"] {
  --success:        #82B187;
  --success-bg:     rgba(130, 177, 135, .12);
  --success-border: rgba(130, 177, 135, .3);
  --warning:        #D4A668;
  --warning-bg:     rgba(212, 166, 104, .12);
  --warning-border: rgba(212, 166, 104, .3);
  --danger:         #D68078;
  --danger-bg:     rgba(214, 128, 120, .12);
  --danger-border: rgba(214, 128, 120, .3);
  --info:           #8AA8D6;
  --info-bg:        rgba(138, 168, 214, .12);
  --info-border:    rgba(138, 168, 214, .3);
}

/* ── Floating WhatsApp button (always visible) ── */
.fab-whats {
  position: fixed;
  right: var(--s-7);
  bottom: var(--s-7);
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 24px -6px rgba(37, 211, 102, .55), 0 0 0 0 rgba(37, 211, 102, .4);
  transition: transform var(--motion-normal) var(--motion-ease-emphasized),
              box-shadow var(--motion-normal) var(--motion-ease-std);
  animation: fabPulse 2.8s var(--motion-ease-std) infinite;
}
.fab-whats svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
.fab-whats:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .6), 0 0 0 0 rgba(37, 211, 102, .4);
  animation-play-state: paused;
}
.fab-whats:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.fab-whats-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--surface-inverse);
  color: var(--brand-cream);
  font-size: .78rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-normal) var(--motion-ease-std),
              transform var(--motion-normal) var(--motion-ease-std);
}
.fab-whats-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--surface-inverse);
}
.fab-whats:hover .fab-whats-tooltip,
.fab-whats:focus-visible .fab-whats-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 24px -6px rgba(37, 211, 102, .55), 0 0 0 0 rgba(37, 211, 102, .4); }
  50%      { box-shadow: 0 8px 24px -6px rgba(37, 211, 102, .55), 0 0 0 14px rgba(37, 211, 102, 0); }
}
@media (max-width: 720px) {
  .fab-whats {
    width: 54px;
    height: 54px;
    right: var(--s-5);
    bottom: var(--s-5);
  }
  .fab-whats svg { width: 24px; height: 24px; }
  .fab-whats-tooltip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fab-whats { animation: none; }
}

/* ── Cursor a11y fix: only on devices with fine pointer ── */
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  body { cursor: auto !important; }
  #cursor { display: none !important; }
  .magnetic { cursor: pointer; }
}

/* ── Social proof section (logos + case study) ── */
.social-proof { padding: var(--s-12) 0; }
.sp-eyebrow {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--content-tertiary);
  margin-bottom: var(--s-5);
  font-weight: 500;
}
.sp-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 300;
  color: var(--content-primary);
  letter-spacing: -.02em;
  margin-bottom: var(--s-10);
  max-width: 820px;
}
.sp-heading em {
  font-style: italic;
  color: var(--accent);
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-2);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--s-7) 0;
  margin-bottom: var(--s-4);
}
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-4) var(--s-3);
  color: var(--content-tertiary);
  opacity: .55;
  filter: grayscale(1);
  transition: opacity var(--motion-normal) var(--motion-ease-std),
              filter var(--motion-normal) var(--motion-ease-std),
              color var(--motion-normal) var(--motion-ease-std),
              transform var(--motion-normal) var(--motion-ease-emphasized);
}
.logo-item svg {
  width: 100%;
  max-width: 120px;
  height: auto;
}
.logo-item:hover {
  opacity: 1;
  filter: grayscale(0);
  color: var(--accent);
  transform: translateY(-2px);
}
.logo-disclaimer {
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--content-tertiary);
  text-align: center;
  margin: 0 0 var(--s-12);
  font-style: italic;
}

.case-study {
  position: relative;
  background: var(--surface-3);
  border: 1px solid var(--border-subtle);
  padding: var(--s-11) var(--s-10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-10);
  align-items: start;
  isolation: isolate;
}
.case-study::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 64px;
  background: var(--accent);
}
.case-meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: var(--s-5);
  margin-bottom: var(--s-2);
}
.case-tag {
  font-family: 'JetBrains Mono', 'Inter', monospace;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent);
}
.case-segment {
  font-size: .82rem;
  color: var(--content-tertiary);
  letter-spacing: .04em;
}
.case-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.45;
  font-weight: 300;
  color: var(--content-primary);
  margin: 0;
  padding: 0;
  border: none;
  font-style: normal;
  letter-spacing: -.005em;
}
.case-quote em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.case-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-7) var(--s-6);
}
.case-num {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.case-num-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.02em;
}
.case-num-label {
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--content-secondary);
  line-height: 1.4;
}
.case-author {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-7);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border-subtle);
}
.case-author-bullet {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px var(--success-bg);
  flex-shrink: 0;
}
.case-author-name {
  font-size: .92rem;
  font-weight: 500;
  color: var(--content-primary);
}
.case-author-role {
  font-size: .76rem;
  color: var(--content-tertiary);
  letter-spacing: .03em;
  margin-top: 2px;
}

[data-theme="dark"] .case-study {
  background: var(--surface-2);
}

/* ── Honest social proof (no fake logos, no invented metrics) ── */
.social-proof--founder {
  display: grid;
  gap: var(--s-8);
  max-width: 920px;
  margin: 0 auto;
}
.sp-founder__intro {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-6) 0 var(--s-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sp-founder__lead {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--content-secondary);
  max-width: 68ch;
}
.sp-founder__lead strong {
  color: var(--content-primary);
  font-weight: 500;
}
.pilot-note {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  padding: var(--s-9) var(--s-8);
}
.pilot-note .case-quote {
  max-width: 68ch;
}
.pilot-note__bullets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pilot-note__bullet {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pilot-note__bullet-tag {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-gold);
}
.pilot-note__bullet-text {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--content-secondary);
}
.pilot-note__cta {
  display: flex;
  justify-content: flex-start;
  padding-top: var(--s-3);
}

/* Honest founder numbers: bounded facts, not invented metrics */
.founder-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.founder-numbers__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.founder-numbers__value {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--brand-gold);
}
.founder-numbers__label {
  font-family: var(--f-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  line-height: 1.4;
  color: var(--content-secondary);
}
.founder-numbers__label span {
  display: block;
  margin-top: 2px;
  font-size: .68rem;
  color: var(--content-tertiary);
  text-transform: none;
  letter-spacing: .04em;
}

@media (max-width: 900px) {
  .founder-numbers { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
}
@media (max-width: 520px) {
  .founder-numbers { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .pilot-note__bullets { grid-template-columns: 1fr; gap: var(--s-4); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
  .case-study {
    grid-template-columns: 1fr;
    padding: var(--s-9) var(--s-7);
    gap: var(--s-7);
  }
}
@media (max-width: 720px) {
  .social-proof { padding: var(--s-10) 0; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); padding: var(--s-5) 0; }
  .case-study { padding: var(--s-7) var(--s-5); }
  .case-numbers { grid-template-columns: 1fr; gap: var(--s-5); }
  .case-num-value { font-size: 2rem; }
  .sp-heading { margin-bottom: var(--s-7); }
}

/* ── Reduced motion fallback ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .phone-device { animation: none !important; }
}

/* ════════════════════════════════════════════════════
   PHASE 7 — STRUCTURAL POLISH
   - Density tokens (compact / comfortable / spacious)
   - Transformation split-screen "antes/depois"
   - Utility helpers (use-icon sizing, sr-only)
   ════════════════════════════════════════════════════ */

:root {
  /* Density tokens — switch via [data-density="compact|comfortable|spacious"] on <html> or section */
  --density-y: 1;
  --density-x: 1;
  --pad-section: calc(var(--s-12) * var(--density-y));
  --pad-card-y:  calc(var(--s-7)  * var(--density-y));
  --pad-card-x:  calc(var(--s-8)  * var(--density-x));
  --gap-grid:    calc(var(--s-7)  * var(--density-x));
}
[data-density="compact"]     { --density-y: .72; --density-x: .82; }
[data-density="comfortable"] { --density-y: 1;   --density-x: 1;   }
[data-density="spacious"]    { --density-y: 1.32; --density-x: 1.18; }

/* ── Phase 7 utilities ── */
  /* Sprite icon sizing */
  .icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; flex-shrink: 0; fill: currentColor; }
  .icon-sm { width: 16px; height: 16px; }
  .icon-md { width: 24px; height: 24px; }
  .icon-lg { width: 32px; height: 32px; }

  /* Screen reader only */
  .sr-only {
    position: absolute !important;
    width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: -1px !important;
    overflow: hidden !important; clip: rect(0,0,0,0) !important;
    white-space: nowrap !important; border: 0 !important;
  }

  /* Skip-to-content link (a11y win) */
  .skip-link {
    position: absolute;
    left: -9999px; top: 0;
    background: var(--accent);
    color: var(--content-on-accent);
    padding: var(--s-3) var(--s-5);
    z-index: 9999;
    font-family: var(--f-body);
    font-size: .82rem;
    font-weight: 500;
    border-radius: 0 0 var(--radius-md, 8px) 0;
  }
  .skip-link:focus { left: 0; outline: 2px solid var(--gold); outline-offset: 2px; }

  /* Global focus-visible polish (keyboard a11y) — does not affect mouse clicks */
  a:focus-visible,
  button:focus-visible,
  [role="button"]:focus-visible,
  input:focus-visible,
  textarea:focus-visible,
  select:focus-visible,
  [tabindex]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
    transition: outline-offset .15s var(--motion-ease-std);
  }
  /* Stronger focus on dark surfaces */
  #nav.nav-over-dark a:focus-visible,
  .hero a:focus-visible,
  .transform-side--after a:focus-visible {
    outline-color: var(--brand-gold);
  }
  /* Avoid double outlines for elements that already define their own */
  .theme-toggle:focus-visible,
  .fab-whats:focus-visible,
  .skip-link:focus-visible {
    outline-offset: 2px;
  }

  /* ════════════════════════════════════════════════════
     TRANSFORMATION — split-screen "antes/depois"
     Money moment. Designed to stop scroll.
     ════════════════════════════════════════════════════ */
  .transform-section {
    position: relative;
    padding: var(--s-12) 0 calc(var(--s-12) * 1.2);
    background:
      radial-gradient(ellipse at 20% 0%, rgba(165, 67, 56, .04) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 100%, rgba(79, 125, 82, .05) 0%, transparent 50%),
      var(--surface-1);
    overflow: hidden;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
  }
  [data-theme="dark"] .transform-section {
    background:
      radial-gradient(ellipse at 20% 0%, rgba(214, 128, 120, .06) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 100%, rgba(130, 177, 135, .07) 0%, transparent 50%),
      var(--surface-1);
  }
  .transform-bg-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
      linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: .4;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  }
  .transform-container {
    position: relative;
    z-index: 2;
  }
  .transform-eyebrow {
    text-align: center;
    font-family: var(--f-body);
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: var(--s-4);
  }
  .transform-heading {
    text-align: center;
    font-family: var(--f-display);
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.08;
    color: var(--content-primary);
    margin-bottom: var(--s-12);
    font-weight: 400;
    letter-spacing: -.01em;
  }
  .transform-heading em {
    font-style: italic;
    background: linear-gradient(135deg, var(--brand-olive-l) 0%, var(--brand-gold) 50%, var(--brand-gold-l) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 6s ease-in-out infinite;
  }

  /* Split layout */
  .transform-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--s-6);
    align-items: stretch;
    margin-bottom: var(--s-12);
  }
  .transform-side {
    position: relative;
    padding: var(--s-9) var(--s-7);
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: var(--s-6);
    transition: transform var(--motion-emphasized) var(--motion-ease-emphasized),
                box-shadow var(--motion-normal) var(--motion-ease-std);
  }
  .transform-side--before {
    background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface-0) 100%);
    color: var(--content-secondary);
  }
  .transform-side--before::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(165, 67, 56, .025) 12px 13px);
    pointer-events: none;
    border-radius: inherit;
  }
  .transform-side--after {
    background: linear-gradient(180deg, var(--brand-ink) 0%, var(--brand-ink-2) 100%);
    color: var(--brand-cream);
    box-shadow: 0 24px 80px -32px rgba(91, 107, 78, .4);
  }
  [data-theme="dark"] .transform-side--before {
    background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface-0) 100%);
    border-color: rgba(214, 128, 120, .15);
  }
  [data-theme="dark"] .transform-side--after {
    background: linear-gradient(180deg, var(--surface-3, #2a2d23) 0%, var(--surface-2) 100%);
    border-color: rgba(130, 177, 135, .25);
  }
  .transform-side:hover {
    transform: translateY(-4px);
  }

  .transform-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    font-family: var(--f-body);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
  }
  .transform-tag--before {
    background: rgba(165, 67, 56, .1);
    color: var(--danger);
    border: 1px solid var(--danger-border);
  }
  .transform-tag--after {
    background: rgba(130, 177, 135, .12);
    color: var(--brand-sage);
    border: 1px solid rgba(130, 177, 135, .3);
  }
  .tag-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: currentColor;
    opacity: .5;
  }
  .tag-dot--live {
    opacity: 1;
    animation: livePulse 1.6s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(130, 177, 135, .6);
  }
  @keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(130, 177, 135, .6); }
    50%      { box-shadow: 0 0 0 5px rgba(130, 177, 135, 0); }
  }

  /* Clock display */
  .transform-clock {
    display: flex;
    align-items: baseline;
    gap: var(--s-2);
    font-family: var(--f-display);
    font-weight: 400;
    margin: var(--s-2) 0 var(--s-4);
    flex-wrap: wrap;
  }
  .clock-digit {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
  }
  .transform-side--before .clock-digit { color: var(--content-tertiary); }
  .transform-side--after .clock-digit {
    background: linear-gradient(135deg, var(--brand-gold-l) 0%, var(--brand-gold) 60%, var(--brand-olive-l) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .clock-sep {
    font-size: clamp(2rem, 4vw, 3.5rem);
    opacity: .35;
    line-height: 1;
  }
  .clock-label {
    font-family: var(--f-mono);
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    align-self: flex-end;
    margin-left: var(--s-3);
    margin-bottom: var(--s-1);
    opacity: .7;
  }

  /* List items */
  .transform-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
  }
  .t-item {
    display: flex;
    align-items: flex-start;
    gap: var(--s-4);
    padding: var(--s-3) 0;
    border-bottom: 1px solid;
    border-color: var(--border-subtle);
  }
  .transform-side--after .t-item { border-color: rgba(245, 242, 236, .08); }
  .t-item:last-child { border-bottom: none; }
  .t-icon {
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .72rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .t-item--bad .t-icon {
    background: rgba(165, 67, 56, .12);
    color: var(--danger);
  }
  .t-item--good .t-icon {
    background: rgba(130, 177, 135, .15);
    color: var(--brand-sage);
  }
  .t-item div { display: flex; flex-direction: column; gap: 2px; }
  .t-item strong {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 1.02rem;
    line-height: 1.3;
    letter-spacing: -.005em;
  }
  .transform-side--before .t-item strong { color: var(--content-primary); }
  .transform-side--after .t-item strong { color: var(--brand-cream); }
  .t-item span {
    font-family: var(--f-body);
    font-size: .82rem;
    line-height: 1.45;
    opacity: .7;
  }

  /* Cost row */
  .transform-cost {
    margin-top: auto;
    padding-top: var(--s-5);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s-3);
    border-top: 1px solid;
    border-color: var(--border-subtle);
  }
  .transform-side--after .transform-cost { border-color: rgba(245, 242, 236, .12); }
  .cost-label {
    font-family: var(--f-mono);
    font-size: .62rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    opacity: .7;
  }
  .cost-value {
    font-family: var(--f-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -.01em;
  }
  .transform-side--before .cost-value { color: var(--danger); }
  .transform-side--after .cost-value {
    background: linear-gradient(135deg, var(--brand-sage) 0%, var(--brand-gold-l) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  /* Divider */
  .transform-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s-3);
    align-self: center;
    height: 100%;
  }
  .divider-line {
    width: 1px;
    flex: 1;
    background: linear-gradient(180deg, transparent, var(--border-color), transparent);
    min-height: 60px;
  }
  .divider-arrow {
    font-family: var(--f-display);
    font-size: 1.4rem;
    color: var(--accent);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--surface-0);
    border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px -8px rgba(0,0,0,.15);
  }

  /* CTA stats row */
  .transform-cta-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: var(--s-7);
    align-items: center;
    padding: var(--s-7) var(--s-8);
    background: var(--surface-0);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
  }
  [data-theme="dark"] .transform-cta-row {
    background: var(--surface-2);
  }
  .transform-stat {
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
    border-right: 1px solid var(--border-subtle);
    padding-right: var(--s-6);
  }
  .transform-stat:nth-child(3) { border-right: none; }
  .t-stat-num {
    font-family: var(--f-display);
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    line-height: 1;
    color: var(--accent);
    font-weight: 400;
    letter-spacing: -.02em;
    display: flex;
    align-items: baseline;
    gap: 2px;
  }
  .t-stat-suffix {
    font-size: 1.4rem;
    opacity: .7;
  }
  .t-stat-label {
    font-family: var(--f-mono);
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--content-tertiary);
    line-height: 1.4;
  }
  .transform-cta {
    padding: var(--s-4) var(--s-7);
    background: var(--accent);
    color: var(--content-on-accent);
    font-family: var(--f-body);
    font-size: .92rem;
    font-weight: 500;
    letter-spacing: .02em;
    border-radius: 999px;
    transition: transform var(--motion-normal) var(--motion-ease-emphasized),
                background var(--motion-fast) var(--motion-ease-std),
                box-shadow var(--motion-normal) var(--motion-ease-std);
    white-space: nowrap;
  }
  .transform-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -12px var(--accent-glow);
  }

  /* Responsive */
  @media (max-width: 1100px) {
    .transform-split {
      grid-template-columns: 1fr;
      gap: var(--s-5);
    }
    .transform-divider {
      flex-direction: row;
      width: 100%;
      height: auto;
      padding: var(--s-3) 0;
    }
    .transform-divider .divider-line {
      width: auto;
      flex: 1;
      height: 1px;
      min-height: 0;
      background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    }
    .divider-arrow { transform: rotate(90deg); }
    .transform-cta-row {
      grid-template-columns: repeat(2, 1fr);
      gap: var(--s-6);
    }
    .transform-stat:nth-child(2) { border-right: none; }
    .transform-stat:nth-child(3) {
      grid-column: 1 / -1;
      border-right: none;
      border-top: 1px solid var(--border-subtle);
      padding-top: var(--s-5);
      padding-right: 0;
    }
    .transform-cta {
      grid-column: 1 / -1;
      justify-self: stretch;
      text-align: center;
      margin-top: var(--s-4);
    }
  }
  @media (max-width: 720px) {
    .transform-section { padding: var(--s-11) 0; }
    .transform-side { padding: var(--s-7) var(--s-5); }
    .transform-cta-row { grid-template-columns: 1fr; padding: var(--s-6) var(--s-5); }
    .transform-stat { border-right: none; padding-right: 0; padding-bottom: var(--s-4); border-bottom: 1px solid var(--border-subtle); }
    .transform-stat:nth-child(3) { border-top: none; padding-top: var(--s-4); }
    .transform-heading { margin-bottom: var(--s-9); }
    .transform-split { margin-bottom: var(--s-9); }
  }
  @media (prefers-reduced-motion: reduce) {
    .transform-side:hover { transform: none; }
    .tag-dot--live { animation: none; }
    .transform-heading em { animation: none; }
  }

/* =========================================================
   TL;DR -- "Em 60 segundos"
   Plain-language summary directly after the hero.
   Purpose: rescue visitors who do not parse the poetic hero
   copy and need one paragraph to decide whether to keep reading.
   ========================================================= */
.tldr {
  padding: var(--s-10) 0 var(--s-11);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-1);
}
.tldr__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: var(--s-9);
  align-items: start;
}
.tldr__lead { max-width: 56ch; }
.tldr__eyebrow {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: var(--s-4);
}
.tldr__headline {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: var(--content-primary);
  margin: 0 0 var(--s-5);
}
.tldr__headline em {
  font-style: italic;
  color: var(--brand-olive-l, var(--olive-l));
}
.tldr__body {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--content-secondary);
  margin: 0;
}
.tldr__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-4);
}
.tldr__bullet {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  align-items: start;
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--border);
  background: var(--surface-2);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.tldr__bullet:hover {
  border-color: var(--brand-gold);
  transform: translateY(-1px);
}
.tldr__bullet-num {
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  color: var(--brand-gold);
  padding-top: 4px;
}
.tldr__bullet-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--content-primary);
  margin-bottom: 4px;
}
.tldr__bullet-desc {
  font-size: .88rem;
  line-height: 1.55;
  color: var(--content-tertiary);
}
.tldr__cta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: var(--s-5);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .tldr { padding: var(--s-9) 0; }
  .tldr__inner { grid-template-columns: 1fr; gap: var(--s-7); }
}
@media (max-width: 560px) {
  .tldr__headline { font-size: 1.7rem; }
  .tldr__bullet { padding: var(--s-4); }
}
