/* ============================================================
   CASCADE LOCAL SEO — v2
   "Editorial tech" — deep forest, sky-blue energy, sand cascade.
   Palette from the brand mark: #062514 · #4AC4E0 · #DABE79
   ============================================================ */

:root {
  --green-950: #03150B;
  --green-900: #062514;
  --green-850: #07301A;
  --green-800: #0A3A21;
  --green-750: #0C4426;
  --green-700: #10502E;
  --line:      rgba(218,190,121,0.15);
  --line-2:    rgba(218,190,121,0.28);
  --line-blue: rgba(74,196,224,0.26);

  --blue:  #4AC4E0;
  --blue-d: #2A9DBA;
  --blue-soft: rgba(74,196,224,0.12);
  --tan:   #DABE79;
  --tan-2: #E8D49A;
  --tan-soft: rgba(218,190,121,0.10);

  --cream: #F4F1E6;
  --muted: #A4BAAC;
  --muted-2: #6F8C7A;

  --accent: var(--tan);
  --accent-on: #062514;

  --ff-display: "Newsreader", Georgia, serif;
  --ff-sans: "Hanken Grotesk", system-ui, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 72px);
  --r: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--green-900);
  color: var(--cream);
  font-family: var(--ff-sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grain + vignette overlay */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.04; mix-blend-mode: overlay;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 100% at 50% -20%, transparent 55%, rgba(0,0,0,0.5));
}
main, .nav, .footer, .scroll-rail, .tweaks-host { position: relative; z-index: 2; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--tan); color: var(--green-900); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--ff-display); font-weight: 500; letter-spacing: -0.012em; line-height: 1.02; margin: 0; }
.it { font-style: italic; }
.eyebrow {
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); opacity: .7; }
.eyebrow .sec { color: var(--muted-2); }
.lead { color: var(--muted); font-size: clamp(17px, 1.45vw, 21px); max-width: 60ch; }
.serif { font-family: var(--ff-display); }

/* ============================================================
   SCROLL PROGRESS + RAIL
   ============================================================ */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 80;
  background: linear-gradient(90deg, var(--tan), var(--blue)); }
.scroll-rail { position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; gap: 16px; }
.scroll-rail a { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line-2);
  transition: all .3s; position: relative; }
.scroll-rail a.active { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }
.scroll-rail a::after { content: attr(data-label); position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%); font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap; opacity: 0; transition: opacity .25s;
  pointer-events: none; }
.scroll-rail a:hover::after { opacity: 1; }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: sticky; top: 0; z-index: 70;
  backdrop-filter: blur(16px) saturate(1.2);
  background: linear-gradient(to bottom, rgba(6,37,20,0.9), rgba(6,37,20,0.62));
  border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 30px; height: 76px; }
.brand { display: flex; align-items: center; gap: 13px; font-family: var(--ff-display); font-size: 24px; letter-spacing: -0.02em; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.brand b { font-weight: 600; }
.brand .dot { color: var(--blue); }
.nav-links { display: flex; gap: 30px; margin-left: auto; font-size: 14.5px; }
.nav-links a { color: var(--muted); position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--accent); transition: width .25s; }
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }
.nav-badge { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(74,196,224,.5)} 70%{box-shadow:0 0 0 7px rgba(74,196,224,0)} 100%{box-shadow:0 0 0 0 rgba(74,196,224,0)} }

.btn { font-family: var(--ff-sans); font-weight: 600; font-size: 15px; border: none; cursor: pointer;
  border-radius: 999px; padding: 13px 24px; display: inline-flex; align-items: center; gap: 9px;
  transition: transform .15s ease, box-shadow .25s, background .2s, color .2s; will-change: transform; }
.btn-primary { background: var(--accent); color: var(--accent-on); box-shadow: 0 10px 36px -12px rgba(218,190,121,.6); }
.btn-primary:hover { box-shadow: 0 16px 44px -10px rgba(218,190,121,.78); }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; justify-content: center; padding-block: 16px; font-size: 16px; }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }
.btn .arr-dn { transition: transform .25s; }
.btn:hover .arr-dn { transform: translateY(3px); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: 11px; width: 44px; height: 42px; cursor: pointer; }
.menu-btn svg { color: var(--cream); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(54px, 8vw, 110px); padding-bottom: clamp(48px, 7vw, 96px); overflow: hidden; }
.waves { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.waves svg { position: absolute; width: 220%; height: 100%; left: -10%; opacity: .5; }
.wave-path { fill: none; stroke-width: 1.4; }
.spotlight { position: absolute; width: 640px; height: 640px; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(74,196,224,0.10), transparent 65%); transform: translate(-50%,-50%);
  left: 70%; top: 25%; transition: left .4s ease, top .4s ease; }

.hero-grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero-tracker { display: flex; width: fit-content; max-width: 100%; white-space: nowrap; align-items: center; gap: 9px; margin-bottom: 22px; padding: 9px 16px; border: 1px solid var(--line-blue); border-radius: 999px; font-family: var(--ff-mono); font-size: 12.5px; letter-spacing: .02em; color: var(--blue); background: rgba(74,196,224,0.05); }
.hero-tracker b { color: var(--blue); font-weight: 500; font-variant-numeric: tabular-nums; }
.hero-tracker .ht-sep { opacity: .5; }
.hero-tracker .ht-live { color: var(--blue); }
.hero h1 { font-size: clamp(46px, 7vw, 96px); margin: 26px 0 26px; letter-spacing: -0.025em; }
.hero h1 .amp { color: var(--accent); font-style: italic; font-weight: 400; }
.hero h1 .line { display: block; overflow: hidden; }
/* base = VISIBLE end-state; entrance is a gated enhancement (see bottom) */
.hero h1 .line > span { display: inline-block; }
@keyframes riseIn { from { transform: translateY(110%); } to { transform: translateY(0); } }
.hero .lead { font-size: clamp(17px, 1.55vw, 21px); max-width: 50ch; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .01em; color: var(--muted);
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
.chip svg { color: var(--blue); }

/* ---- live rank-climb demo card ---- */
.demo { position: relative; z-index: 4; align-self: start; min-width: 0; }
.demo-card { max-width: 100%; overflow: hidden; }
.demo-card { background: linear-gradient(180deg, rgba(12,68,38,0.55), rgba(7,48,26,0.85));
  border: 1px solid var(--line-2); border-radius: var(--r); padding: 22px;
  box-shadow: 0 40px 90px -45px rgba(0,0,0,.9); backdrop-filter: blur(4px); }
.demo-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.demo-head .q { font-family: var(--ff-mono); font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.demo-head .q svg { color: var(--muted-2); }
.demo-head .live { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: 7px; }
.rank-list { position: relative; height: 320px; }
.rank-row { position: absolute; left: 0; right: 0; height: 60px; display: flex; align-items: center; gap: 14px;
  padding: 0 14px; border-radius: 12px; background: var(--green-850); border: 1px solid transparent;
  transition: top .85s cubic-bezier(.5,0,.1,1), background .5s, border-color .5s, box-shadow .5s; }
.rank-row .pin { width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--green-700);
  color: var(--muted); font-family: var(--ff-mono); font-size: 13px; font-weight: 500; display: grid; place-items: center; transition: all .5s; }
.rank-row .biz { font-weight: 600; font-size: 15px; line-height: 1.2; }
.rank-row .meta { font-size: 12px; color: var(--muted); font-family: var(--ff-mono); }
.rank-row .stars { color: var(--tan); letter-spacing: .5px; }
.rank-row.you { background: linear-gradient(100deg, rgba(218,190,121,0.16), rgba(218,190,121,0.04)); border-color: var(--line-2); }
.rank-row.you.top { box-shadow: 0 0 0 1px var(--accent), 0 12px 30px -14px rgba(218,190,121,.5); }
.rank-row.you .pin { background: var(--accent); color: var(--accent-on); }
.you-tag { margin-left: auto; font-family: var(--ff-mono); font-size: 10px; letter-spacing: .12em; color: var(--accent-on); background: var(--accent); padding: 4px 9px; border-radius: 999px; }
.demo-foot { font-size: 12px; color: var(--muted-2); margin-top: 14px; font-family: var(--ff-mono); text-align: center; }

/* ---- stats band ---- */
.statband { border-block: 1px solid var(--line); }
.statband .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 40px; }
.stat { text-align: left; }
.stat .n { font-family: var(--ff-display); font-size: clamp(38px, 4.5vw, 60px); line-height: 1; }
.statband .stat .n, .statband .stat .n .u { color: var(--blue); }
.stat .n .u { color: var(--accent); font-size: .42em; font-family: var(--ff-mono); }
.stat .l { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); margin-top: 10px; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 24px; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.sec-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 66px); }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 60px); margin: 20px 0 20px; }
.sec-head .lead { margin: 0; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

.card { background: linear-gradient(180deg, var(--green-800), var(--green-850)); border: 1px solid var(--line); border-radius: var(--r); }

/* ---- the shift ---- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.surface { padding: 30px; }
.surface .badge { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.surface .badge .n { width: 24px; height: 24px; border-radius: 7px; background: var(--accent); color: var(--accent-on); display: grid; place-items: center; font-size: 12px; }
.search-bar { display: flex; align-items: center; gap: 11px; background: var(--green-950); border: 1px solid var(--line); border-radius: 11px; padding: 13px 15px; font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.search-bar svg { color: var(--muted-2); }
.search-bar .cursor { width: 1.5px; height: 16px; background: var(--blue); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mini-row { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-top: 1px solid var(--line); }
.mini-row:first-of-type { border-top: 0; }
.mini-row .pin { width: 26px; height: 26px; flex: none; border-radius: 7px; background: var(--green-700); color: var(--muted); font-family: var(--ff-mono); font-size: 12px; display: grid; place-items: center; }
.mini-row.you .pin { background: var(--accent); color: var(--accent-on); }
.mini-row .biz { font-weight: 600; font-size: 15px; }
.mini-row .meta { font-size: 12.5px; color: var(--muted); }
.mini-row .stars { color: var(--tan); }
.mini-row .yt { margin-left: auto; font-family: var(--ff-mono); font-size: 10px; letter-spacing: .12em; color: var(--accent-on); background: var(--accent); padding: 3px 9px; border-radius: 999px; }

.ai-q { font-size: 15px; color: var(--cream); background: var(--blue-soft); border-left: 2px solid var(--blue); border-radius: 0 10px 10px 0; padding: 13px 16px; margin-bottom: 18px; }
.ai-q b { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--blue); display: block; margin-bottom: 5px; }
.ai-a { font-size: 15.5px; line-height: 1.7; color: var(--muted); min-height: 132px; }
.ai-a .tlabel { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--blue); display: block; margin-bottom: 8px; }
.ai-a mark { background: var(--tan-soft); color: var(--tan-2); padding: 1px 5px; border-radius: 5px; font-weight: 600; }
.ai-a .tw-cursor { display: inline-block; width: 8px; height: 17px; background: var(--blue); vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.fineprint { font-size: 12.5px; color: var(--muted-2); margin-top: 28px; max-width: 72ch; }

/* ---- audit band ---- */
.audit-band { background:
  radial-gradient(90% 120% at 85% 0%, rgba(74,196,224,0.08), transparent 55%),
  linear-gradient(180deg, var(--green-850), var(--green-900)); }
.audit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.audit-grid h2 { font-size: clamp(32px, 4.4vw, 56px); margin: 20px 0 20px; }
.audit-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 13px; }
.audit-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.audit-list svg { color: var(--blue); flex: none; margin-top: 3px; }
.audit-card { padding: 30px; box-shadow: 0 40px 90px -50px rgba(0,0,0,.9); }
.audit-card .tag { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.audit-card h3 { font-size: 27px; margin: 12px 0 4px; }
.audit-card p.sub { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 12px; font-family: var(--ff-mono); letter-spacing: .04em; color: var(--muted); margin-bottom: 7px; }
.field input, .field select { width: 100%; background: var(--green-950); border: 1px solid var(--line); border-radius: 11px; padding: 13px 15px; color: var(--cream); font-family: var(--ff-sans); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.field input::placeholder { color: var(--muted-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.audit-foot { font-size: 12.5px; color: var(--muted-2); text-align: center; margin-top: 14px; font-family: var(--ff-mono); }
.audit-foot a { color: var(--blue); }

/* ---- sample audit ---- */
.audit-sample { display: grid; grid-template-columns: 0.88fr 1.12fr; overflow: hidden; }
.as-left { padding: 34px; border-right: 1px solid var(--line); }
.as-left .label { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.as-left h3 { font-size: 28px; margin: 14px 0 4px; }
.as-left .cat { color: var(--muted); font-size: 14px; }
.metrics { display: flex; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.metric { flex: 1; min-width: 88px; }
.metric .v { font-family: var(--ff-display); font-size: 34px; line-height: 1; }
.metric .v small { font-size: 17px; }
.metric.bad .v { color: #EBA079; }
.metric .k { font-size: 12px; color: var(--muted); font-family: var(--ff-mono); margin-top: 7px; }
.as-right { padding: 34px; }
.as-right h4 { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; font-weight: 500; }
.as-right h4:not(:first-child) { margin-top: 28px; }
.as-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.as-list li { font-size: 14.5px; color: var(--muted); padding-left: 22px; position: relative; line-height: 1.5; }
.as-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.as-list li b { color: var(--cream); font-weight: 600; }

/* ---- how it works ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 30px; }
.step .num { font-family: var(--ff-display); font-size: 60px; color: var(--accent); line-height: 1; }
.step .when { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin: 16px 0 10px; }
.step h3 { font-size: 23px; margin-bottom: 12px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }
.callout { margin-top: 26px; padding: 34px 40px; border-radius: var(--r);
  background: linear-gradient(100deg, var(--blue-soft), transparent 70%); border: 1px solid var(--line-blue);
  font-family: var(--ff-display); font-size: clamp(21px, 2.3vw, 30px); line-height: 1.32; }
.callout b { color: var(--blue); font-weight: 600; }

/* ---- AI era + industries ---- */
.feat { display: grid; gap: 2px; margin-top: 22px; padding: 0; }
.feat li { list-style: none; display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.feat li b { color: var(--cream); }
.feat li span.t { color: var(--muted); font-size: 15px; }
.feat .ico { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.ind-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.ind { padding: 28px; transition: border-color .25s, transform .25s, background .25s; }
.ind:hover { border-color: var(--accent); transform: translateY(-3px); }
.ind .k { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ind h3 { font-size: 24px; margin: 12px 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ind h3 .arr { color: var(--blue); transition: transform .25s; }
.ind:hover h3 .arr { transform: translateX(5px); }
.ind p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* marquee */
.marquee { margin-top: 30px; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.tagpill { font-family: var(--ff-mono); font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- pricing ---- */
.found { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: center; padding: 38px;
  margin-bottom: 26px; background:
  radial-gradient(80% 130% at 90% 10%, rgba(74,196,224,0.08), transparent 60%),
  linear-gradient(110deg, var(--green-800), var(--green-850)); }
.found .k { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.found h3 { font-size: clamp(25px, 3vw, 36px); margin: 14px 0 16px; }
.found p { color: var(--muted); font-size: 15px; margin: 0 0 22px; max-width: 52ch; }
.found .price { font-family: var(--ff-display); font-size: 64px; line-height: 1; }
.found .price small { font-size: 18px; color: var(--muted); font-family: var(--ff-mono); }
.found .side { text-align: right; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tier { padding: 32px 30px; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.tier:hover { transform: translateY(-4px); }
.tier.feature { border-color: var(--accent); background: linear-gradient(180deg, var(--green-750), var(--green-800)); box-shadow: 0 40px 80px -50px rgba(218,190,121,.5); }
.tier .ribbon { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on); background: var(--accent); align-self: flex-start; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.tier .name { font-family: var(--ff-display); font-size: 26px; }
.tier .price { font-family: var(--ff-display); font-size: 46px; line-height: 1; margin: 10px 0 4px; }
.tier .price small { font-size: 16px; color: var(--muted); font-family: var(--ff-mono); }
.tier ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 13px; }
.tier li { font-size: 14px; color: var(--muted); padding-left: 28px; position: relative; line-height: 1.45; }
.tier li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--blue-soft); }
.tier li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 9px; border: solid var(--blue); border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); }
.tier .btn { margin-top: auto; }
.pricing-foot { text-align: center; color: var(--muted-2); font-size: 13.5px; margin-top: 32px; font-family: var(--ff-mono); }
.pricing-foot a { color: var(--blue); }

/* ---- who ---- */
.who { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.who.solo { grid-template-columns: 1fr; max-width: 880px; }
.who-portrait { aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--green-800); }
.who-portrait .ph { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; color: var(--muted-2); font-family: var(--ff-mono); font-size: 12px; text-align: center; gap: 10px; }
.who h2 { font-size: clamp(30px, 3.8vw, 48px); margin: 18px 0 22px; }
.who p { color: var(--muted); font-size: 16px; max-width: 56ch; }
.who p + p { margin-top: 16px; }
.who .sig { font-family: var(--ff-display); font-style: italic; font-size: 28px; color: var(--cream); margin-top: 24px; }

/* ---- FAQ ---- */
.faq-list { display: grid; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; display: flex; align-items: center; gap: 18px;
  padding: 26px 4px; font-family: var(--ff-display); font-size: clamp(19px, 2vw, 25px); color: var(--cream); transition: color .2s; }
.faq-q:hover { color: var(--accent); }
.faq-q .pm { margin-left: auto; flex: none; width: 24px; height: 24px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--accent); transition: transform .3s; }
.faq-q .pm::before { left: 0; top: 11px; width: 24px; height: 2px; }
.faq-q .pm::after { left: 11px; top: 0; width: 2px; height: 24px; }
.faq-item.open .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { color: var(--muted); font-size: 15.5px; margin: 0 0 26px; max-width: 74ch; padding-right: 44px; }

/* ---- final CTA ---- */
.final { text-align: center; overflow: hidden; position: relative; }
.final .waves { opacity: .6; }
.final-inner { position: relative; z-index: 3; }
.final h2 { font-size: clamp(38px, 6vw, 80px); margin-bottom: 24px; }
.final h2 .it { color: var(--accent); }
.final .lead { margin: 0 auto 34px; }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--line); padding-block: 52px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 22px 40px; align-items: center; }
.footer .brand { font-size: 21px; }
.footer-links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--muted); flex-wrap: wrap; align-items: center; }
.footer-links a:hover { color: var(--cream); }
.footer-mail { color: var(--blue); font-family: var(--ff-mono); font-size: 13.5px; }
.footer-fine { color: var(--muted-2); font-size: 12.5px; margin-top: 24px; font-family: var(--ff-mono); }

/* ---- reveal ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid, .audit-sample, .who, .found, .audit-grid { grid-template-columns: minmax(0, 1fr); }
  .two-col, .steps, .tiers { grid-template-columns: minmax(0, 1fr); }
  .hero-tracker { white-space: normal; }
  .statband .wrap { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .stat + .stat { border-left: 0; padding-left: 0; }
  .as-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .found .side { text-align: left; }
  .nav-links, .nav-badge, .scroll-rail { display: none; }
  .nav .btn-primary { margin-left: auto; padding: 8px 14px; font-size: 13px; }
  .menu-btn { display: inline-grid; place-items: center; }
  .demo { margin-top: 8px; min-width: 0; }
}
@media (max-width: 540px) {
  .field-row { grid-template-columns: 1fr; }
  .statband .wrap { grid-template-columns: 1fr; }
  .hero h1 .line > span { animation: none; transform: none; }
}

.mobile-menu { display: none; position: fixed; inset: 76px 0 auto 0; z-index: 65; background: var(--green-850); border-bottom: 1px solid var(--line); padding: 18px var(--pad) 26px; }
.mobile-menu.show { display: grid; gap: 4px; }
.mobile-menu a { padding: 13px 4px; color: var(--cream); border-bottom: 1px solid var(--line); }

/* Hero entrance — enhancement only. Base state is already visible; this animates
   FROM hidden, gated on a JS class + motion preference, so throttled/no-JS = visible. */
@media (prefers-reduced-motion: no-preference) {
  body.anim .hero h1 .line > span { transform: translateY(110%); animation: riseIn .9s cubic-bezier(.2,.8,.2,1) forwards; }
  body.anim .hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
  body.anim .hero .lead { animation: fadeUp .9s .35s both; }
  body.anim .hero-cta { animation: fadeUp .9s .5s both; }
  body.anim .chips { animation: fadeUp .9s .62s both; }
  body.anim .demo { animation: fadeUp 1s .4s both; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}
