/* Night Eye Digital: site styles
   Layout: night console. Full-width fields alternate night, day and a raised night band;
   one grid, 1240px max, 24px gutters. Every page opens on one large line and one exhibit.
   Amber is the light: it marks the action and whatever the audit finds, nothing else.
   Surfaces step in tone; nothing is boxed, shadowed or rounded except things that float.
   Every page links this one stylesheet. Components: .btn, .text-link, .inline-link,
   .split-head, .section-cta, .commitments, .audit-spec, .steps, .ledger, .index, .runs,
   .report-doc, .flashlight, .device, .rail, .planner, .calc. Motion: one idea, night vision, carried through the eye logo,
   the hero flashlight, the audit scan, the footer glow and the 404. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
       url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  /* colour */
  --night: #0C1730;      /* ground: Front Range sky after dark */
  --night-2: #132344;    /* raised surface */
  --night-3: #22355E;    /* lines inside tables, switch track */
  --star: #EDF0F6;       /* ink on night */
  --haze: #B4BFD6;       /* secondary ink on night */
  --day: #EEF1F6;        /* daylight field */
  --day-2: #E0E6F0;      /* daylight surface step */
  --ink: #0C1730;        /* ink on day */
  --ink-2: #3A4766;      /* secondary ink on day */
  --eye: #F4B740;        /* eyeshine: the action and the reveal */
  --eye-hi: #FFC95E;
  --eye-wash: #3A2E14;   /* a lit row: amber light on navy */
  --dim: #9BA6BE;        /* rows Night Eye clears */
  --line-night: #3A4E7A; /* form field borders */
  --line-day: #C9D2E2;   /* rules on day */
  --eye-ink: #1C1404;    /* text on amber */
  --eye-deep: #B97A0B;   /* amber for chart marks on day surfaces (3:1 on light) */
  --paper: #FBFCFE;      /* sample report sheet, case cards */
  --bar-night: #7F93BD;  /* data bars on night surfaces */
  --bar-before: #5D72A0; /* "before" marks on night */
  --bar-muted: #7A89AB;  /* "before" marks on day */
  --bad: #FF8A7A;        /* form errors on night */
  --ember: #33466F;      /* unlit wordmark: visible, but in the dark */

  /* motion */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  /* type */
  --font: "Archivo", "Archivo Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wide: 114%;
  --t-display: clamp(2.5rem, 1rem + 5.6vw, 6rem);
  --t-figure: clamp(3.1rem, 1rem + 6vw, 6.5rem);
  --t-h2: clamp(1.9rem, 1.25rem + 2.2vw, 3.3rem);
  --t-lead: clamp(1.125rem, 1.03rem + 0.35vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;

  /* space */
  --max: 1240px;
  --side: 24px;
  --section: clamp(88px, 5rem + 6vw, 176px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--star);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--eye); outline-offset: 3px; }

h1, h2, h3 {
  margin: 0;
  font-weight: 760;
  font-stretch: var(--wide);
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}
h1 { font-size: var(--t-display); font-stretch: 108%; letter-spacing: -0.04em; line-height: .96; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-lead); line-height: 1.2; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; max-width: 62ch; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

.lead { font-size: var(--t-lead); line-height: 1.5; }
.small { font-size: var(--t-small); }
.muted { color: var(--haze); }
.day .muted { color: var(--ink-2); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--eye); color: var(--eye-ink); padding: 12px 16px; font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--side));
  margin-inline: auto;
  padding-left: max(var(--side), env(safe-area-inset-left, 0px));
  padding-right: max(var(--side), env(safe-area-inset-right, 0px));
}

.section { padding-block: var(--section); }
.day { background: var(--day); color: var(--ink); }
.day :focus-visible { outline-color: var(--ink); }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  min-height: 52px; padding: 0 26px;
  background: linear-gradient(var(--eye-hi), var(--eye-hi)) 0 0 / 0% 100% no-repeat var(--eye);
  color: var(--eye-ink);
  font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.005em;
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: background-size .45s var(--ease-out), transform .08s ease;
}
.btn:hover { background-size: 100% 100%; }
.btn-roll { display: inline-grid; overflow: hidden; padding-block: 2px; margin-block: -2px; }
.btn-roll > span, .btn-roll::after { grid-area: 1 / 1; transition: transform .42s var(--ease-in-out); }
.btn-roll::after { content: attr(data-label); content: attr(data-label) / ""; transform: translateY(115%); }
@media (hover: hover) {
  .btn:hover .btn-roll > span { transform: translateY(-115%); }
  .btn:hover .btn-roll::after { transform: none; }
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: var(--t-small); }

.text-link {
  font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 5px; padding-block: 10px;
}
.text-link:hover { color: var(--eye); }
.day .text-link:hover { color: var(--ink-2); }

.inline-link {
  color: var(--star); font-weight: 650; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap;
}
.inline-link:hover { color: var(--eye); }
.day .inline-link { color: var(--ink); }
.day .inline-link:hover { color: var(--ink-2); }

.section-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  margin-top: clamp(48px, 6vw, 80px);
}
.section-cta p { max-width: 46ch; font-size: var(--t-small); }

.band { background: var(--night-2); }
.section--flush-top { padding-top: 0; }

/* ---------- header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--night);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--night);
  transition: background-color .2s ease;
}
.site-header.is-scrolled { background: var(--night-2); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  text-decoration: none; font-weight: 750; font-stretch: var(--wide);
  font-size: 1.125rem; letter-spacing: -0.02em; min-height: 44px;
}
.brand svg { width: 34px; height: 34px; flex: none; }
.eye-lid { transform-box: fill-box; transform-origin: 50% 50%; }
.eye-lid.is-blinking { animation: blink .24s var(--ease-in-out); }
@keyframes blink { 45%, 55% { transform: scaleY(.07); } }
@media (prefers-reduced-motion: no-preference) {
  .js .brand .eye { animation: eye-open .7s .15s cubic-bezier(.3, 1.45, .55, 1) backwards; }
}
@keyframes eye-open { from { transform: scaleY(.05); } }

.nav { position: relative; display: flex; align-items: center; gap: 8px; }
.nav-ink {
  position: absolute; left: 0; bottom: 9px; width: 0; height: 2px; background: var(--star);
  opacity: 0; pointer-events: none;
  transition: transform .4s var(--ease-in-out), width .4s var(--ease-in-out), opacity .2s ease;
}
.nav-ink.is-on { opacity: 1; }
.scroll-progress {
  display: none; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--eye); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
}
.js .scroll-progress { display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin-right: 12px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  text-decoration: none; font-size: var(--t-small); font-weight: 550; color: var(--haze);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--star); }
.js .nav-links a[aria-current="page"] { text-decoration: none; color: var(--star); }
.nav-links a[aria-current="page"], .mobile-nav a[aria-current="page"] {
  color: var(--star); text-decoration: underline; text-decoration-color: var(--star);
  text-decoration-thickness: 2px; text-underline-offset: 8px;
}

.menu-btn {
  display: none; min-height: 44px; padding: 0 14px; background: transparent;
  border: 0; font-weight: 650; cursor: pointer; color: var(--star);
}
.mobile-nav { background: var(--night-2); }
.mobile-nav ul { list-style: none; display: grid; padding-block: 8px 20px; }
.mobile-nav a {
  display: flex; align-items: center; min-height: 52px; text-decoration: none;
  font-size: var(--t-lead); font-weight: 650;
}

@media (max-width: 1180px) {
  .nav-links, .nav-ink { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
}
@media (max-width: 440px) {
  #cta-nav { display: none; }
  .header-row { min-height: 64px; }
}
.mobile-nav .btn { margin-top: 12px; width: 100%; font-size: 1.0625rem; }

/* ---------- hero: promise, form, proof ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(24px, 3vw, 56px) clamp(64px, 7vw, 112px); }
.hero > .wrap, .page-top--dark > .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "copy form" "proof form";
  grid-template-rows: auto auto;
  gap: 32px clamp(36px, 5vw, 80px);
}
.hero-copy { grid-area: copy; display: grid; gap: 24px; justify-items: start; align-self: end; padding-top: clamp(8px, 3vw, 48px); }
.hero h1 { font-size: clamp(2.5rem, .6rem + 5.6vw, 5.75rem); }
.hero-copy .lead { max-width: 40ch; }
/* the flashlight: search terms hidden in the dark, lit where you look */
.page-top--dark { position: relative; isolation: isolate; overflow: hidden; }
.flashlight { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.flashlight canvas { position: absolute; left: 0; top: 0; display: block; max-width: none; }
.fl-found { opacity: .42; }
.fl-lit {
  position: absolute; inset: 0;
  --fl-x: 50%; --fl-y: 40%; --fl-r: 200px;
  -webkit-mask-image: radial-gradient(circle var(--fl-r) at var(--fl-x) var(--fl-y), #000 0%, rgba(0, 0, 0, .92) 30%, rgba(0, 0, 0, .3) 68%, rgba(0, 0, 0, .08) 100%);
          mask-image: radial-gradient(circle var(--fl-r) at var(--fl-x) var(--fl-y), #000 0%, rgba(0, 0, 0, .92) 30%, rgba(0, 0, 0, .3) 68%, rgba(0, 0, 0, .08) 100%);
  animation: fl-in 1.2s .25s ease both;
}
.fl-lit::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle calc(var(--fl-r) * 1.5) at var(--fl-x) var(--fl-y), rgba(244, 183, 64, .17), rgba(244, 183, 64, .05) 42%, rgba(244, 183, 64, 0) 70%);
}
@keyframes fl-in { from { opacity: 0; } }
.fl-hint { display: none; align-items: center; gap: 10px; min-height: 1.6em; color: var(--haze); font-size: var(--t-small); }
@media (hover: hover) and (pointer: fine) and (min-width: 701px) and (prefers-reduced-motion: no-preference) {
  .js .fl-hint { display: flex; }
}
.fl-hint-eye { width: 22px; height: 13px; flex: none; color: var(--haze); }
.fl-hint b { color: var(--eye); font-weight: 750; font-variant-numeric: tabular-nums; }
.fl-hint-cta { color: var(--star); font-weight: 650; white-space: nowrap; }
.hero-form { grid-area: form; align-self: start; }
.hero-proof { grid-area: proof; display: grid; gap: 28px; align-content: start; }
.form-title { font-size: var(--t-lead); margin-bottom: 6px; }
.form-sub { color: var(--haze); font-size: var(--t-small); margin-bottom: 20px; }
.hero-form .form { gap: 16px; }

.proof { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 28px; }
.proof li { display: grid; gap: 8px; align-content: start; min-width: 0; }
.proof-num {
  display: inline-flex; align-items: center; gap: .14em;
  font-weight: 800; font-stretch: var(--wide); font-size: clamp(1.9rem, 1.2rem + 1.5vw, 2.6rem); letter-spacing: -0.035em;
  line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.proof-num .arrow { width: .58em; height: .58em; flex: none; }
.proof-label { font-size: var(--t-small); line-height: 1.35; max-width: 22ch; }
.trust { font-size: var(--t-small); font-weight: 600; max-width: none; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form" "proof"; grid-template-rows: none; }
  .hero-copy { padding-top: 0; }
  .hero-copy .lead { max-width: 46ch; }
}
@media (max-width: 640px) {
  .proof { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .proof li { grid-template-columns: 8.6rem minmax(0, 1fr); align-items: center; gap: 14px; }
  .proof-label { max-width: none; }
  .hero { padding-top: 12px; }
  .hero-grid { gap: 20px; }
  .hero-form.form-panel { padding: 20px; }
  .hero-form .form { gap: 12px; }
  .hero-form .field { gap: 6px; }
  .form-sub { margin-bottom: 14px; }
}

/* ---------- the Night Eye view band ---------- */
.ne-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px clamp(36px, 5vw, 80px); align-items: center; }
.ne-copy { display: grid; gap: 24px; justify-items: start; }
.ne-list { list-style: none; display: grid; gap: 16px; }
.ne-list li { display: grid; gap: 2px; }
.ne-list strong { font-weight: 700; }
.ne-list span { color: var(--haze); }
.band .report { background: var(--night); }
@media (max-width: 980px) { .ne-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- live report (the Night Eye view) ---------- */
.report {
  position: relative; overflow: hidden;
  background: var(--night-2);
  font-size: var(--t-small);
  min-width: 0;
}
.report-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; padding: 16px 20px 14px;
}
.report-title { font-weight: 700; }
.report-sub { color: var(--haze); }

.switch {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  padding: 0; background: none; border: 0; cursor: pointer; font-weight: 650; color: var(--star);
}
.switch-track {
  position: relative; width: 46px; height: 26px; border-radius: 13px;
  background: var(--night-3); transition: background-color .25s ease; flex: none;
}
.switch-thumb {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--star); transition: transform .25s ease, background-color .25s ease;
}
.switch[aria-checked="true"] .switch-track { background: var(--eye); }
.switch[aria-checked="true"] .switch-thumb { transform: translateX(20px); background: var(--night); }

.report-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.report-table th {
  text-align: left; font-weight: 600; color: var(--haze);
  padding: 10px 20px; border-top: 1px solid var(--night-3); border-bottom: 1px solid var(--night-3);
}
.report-table td { padding: 10px 20px; border-bottom: 1px solid var(--night-3); vertical-align: baseline; }
.report-table .num { text-align: right; white-space: nowrap; }
.report-table td:first-child { width: 100%; }
.report-table tr > * { transition: background-color .35s ease, color .35s ease, opacity .35s ease; }

.term { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.flag {
  color: var(--eye); font-weight: 650; white-space: nowrap;
  opacity: 0; transition: opacity .35s ease;
}

.report.is-on tr.waste > td, .report tr.waste.is-lit > td { background: var(--eye-wash); }
.report.is-on tr.waste .flag, .report tr.waste.is-lit .flag { opacity: 1; }
.report.is-on tr.waste .cost, .report tr.waste.is-lit .cost { color: var(--eye); font-weight: 650; }
.report.is-on tr.keep > td, .report tr.keep.is-lit > td { color: var(--dim); }

.report-foot { display: grid; padding: 16px 20px 20px; }
.report-foot > p { grid-area: 1 / 1; transition: opacity .35s ease; max-width: none; }
.report-foot .on-text { opacity: 0; }
.report.is-on .report-foot .on-text, .report.has-waste .report-foot .on-text { opacity: 1; }
.report.is-on .report-foot .off-text, .report.has-waste .report-foot .off-text { opacity: 0; }
.report-foot strong { text-wrap: balance; display: block; font-size: var(--t-lead); line-height: 1.3; font-weight: 700; }
.report.is-on .report-foot strong, .report.has-waste .report-foot strong { color: var(--eye); }
.report-foot [data-tally], .report-foot [data-pct] { font-variant-numeric: tabular-nums; }

.scan {
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--eye); opacity: 0; pointer-events: none;
  box-shadow: 0 0 18px 2px rgba(244, 183, 64, .45);
  transition: opacity .25s ease;
}
.report.is-scrubbing .scan { opacity: 1; }

.report-caption { margin-top: 12px; color: var(--haze); font-size: var(--t-small); }

@media (max-width: 560px) {
  .col-clicks { display: none; }
  .report-head, .report-foot { padding-inline: 16px; }
  .report-table th, .report-table td { padding-inline: 12px; }
  .report-table th:first-child, .report-table td:first-child { padding-left: 16px; }
  .report-table th:last-child, .report-table td:last-child { padding-right: 16px; }
}

/* ---------- results: case studies (day) ---------- */
.figure {
  font-weight: 800; font-stretch: var(--wide); letter-spacing: -0.035em; line-height: .95;
  font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: .18em;
  white-space: nowrap;
}
.figure .arrow { width: .62em; height: .62em; flex: none; }
.case { display: grid; align-content: start; gap: 12px; min-width: 0; }
.case-label { font-weight: 700; font-size: var(--t-small); color: var(--ink-2); }
.case-facts { display: grid; gap: 10px; margin: 0; }
.case-facts div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 2px 16px; }
.case-facts dt { color: var(--ink-2); font-size: var(--t-small); font-weight: 600; padding-top: 2px; }
.case-facts dd { margin: 0; }
.ba-chart text { font-family: var(--font); }
.ba-before { fill: var(--bar-muted); }
.ba-after { fill: var(--ink); }
.will-grow :is(.ba-before, .ba-after, .chart-bar path, .chart-bar--accent, .dash-bars path) {
  transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0);
  transition: transform .9s var(--ease-out);
}
.will-grow.is-grown :is(.ba-before, .ba-after, .chart-bar path, .chart-bar--accent, .dash-bars path) { transform: none; }
.will-grow.is-grown :is(.ba-after, .chart-bar--accent) { transition-delay: .2s; }
.will-grow.is-grown :is(.chart-bar, .dash-bars) path:nth-child(2) { transition-delay: .06s; }
.will-grow.is-grown :is(.chart-bar, .dash-bars) path:nth-child(3) { transition-delay: .12s; }
.will-grow.is-grown :is(.chart-bar, .dash-bars) path:nth-child(4) { transition-delay: .18s; }
.will-grow.is-grown :is(.chart-bar, .dash-bars) path:nth-child(5) { transition-delay: .24s; }
.will-grow.is-grown .dash-bars path:nth-child(6) { transition-delay: .3s; }
.will-grow :is(.chart-value, .dash-value) { opacity: 0; transition: opacity .5s ease .6s; }
.will-grow.is-grown :is(.chart-value, .dash-value) { opacity: 1; }
.mix.will-grow .mix-fill { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease-out); }
.mix.will-grow.is-grown .mix-fill { transform: none; }
.mix.will-grow.is-grown li:nth-child(2) .mix-fill { transition-delay: .12s; }
.mix.will-grow.is-grown li:nth-child(3) .mix-fill { transition-delay: .24s; }

@media (max-width: 480px) {
  .case-facts div { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- sample creative: devices on a rail (night) ---------- */
.rail { position: relative; }
.gallery {
  --phone-w: min(290px, 74vw);
  --device-h: calc((var(--phone-w) - 18px) * 19.5 / 9 + 18px);
  position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: max-content; grid-template-rows: auto auto;
  column-gap: clamp(28px, 3.4vw, 48px); row-gap: 22px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 6px 4px 8px; scroll-padding-inline: 4px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 96px), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 96px), transparent);
}
.gallery::-webkit-scrollbar { display: none; }
.gallery.is-end { -webkit-mask-image: none; mask-image: none; }
.gallery:focus-visible { outline: 3px solid var(--eye); outline-offset: 4px; }
.gallery.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.gallery.is-dragging * { -webkit-user-select: none; user-select: none; }
@media (hover: hover) and (pointer: fine) { .js .gallery { cursor: grab; } }
.mock { grid-row: span 2; display: grid; grid-template-rows: subgrid; scroll-snap-align: start; min-width: 0; }
.mock > .device { align-self: end; min-width: 0; }
.mock--search { width: min(620px, 82vw); }
.mock--li { width: min(500px, 82vw); }
.mock--phone { width: var(--phone-w); }
.mock-cap { display: grid; gap: 8px; justify-items: start; align-content: start; font-size: var(--t-small); color: var(--haze); }
.mock-cap strong { color: var(--star); }
.variant-btn {
  min-height: 44px; padding: 0 16px; background: transparent; color: var(--star);
  border: 1px solid var(--line-night); font-weight: 650; font-size: var(--t-small); cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.variant-btn:hover { border-color: var(--eye); }
.variant-btn[aria-pressed="true"] { background: var(--eye); color: var(--eye-ink); border-color: var(--eye); }
.gallery-note { margin-top: 20px; color: var(--haze); font-size: var(--t-small); }

.rail-bar { display: none; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 28px; }
.js .rail-bar { display: flex; }
.rail-status { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; max-width: none; }
.rail-count { font-weight: 750; font-variant-numeric: tabular-nums; }
.rail-hint { color: var(--haze); font-size: var(--t-small); }
.rail-buttons { display: flex; gap: 8px; flex: none; }
.rail-buttons button {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  background: transparent; color: var(--star); border: 1px solid var(--line-night); cursor: pointer;
  transition: border-color .15s ease, color .15s ease, opacity .15s ease;
}
.rail-buttons button:hover:not([disabled]) { border-color: var(--eye); color: var(--eye); }
.rail-buttons button[disabled] { opacity: .35; cursor: default; }
.rail-buttons svg { width: 20px; height: 20px; }
.rail-cursor {
  position: fixed; left: 0; top: 0; z-index: 70; width: 0; height: 0; pointer-events: none;
}
.rail-cursor span {
  position: absolute; left: -40px; top: -40px; width: 80px; height: 80px; border-radius: 50%;
  display: grid; place-items: center; background: var(--eye); color: var(--eye-ink);
  font-weight: 750; font-size: .875rem; letter-spacing: .02em;
  transform: scale(0); transition: transform .3s var(--ease-out);
}
.rail-cursor.is-on span { transform: scale(1); }

/* device frames */
.device { position: relative; }
.device--browser {
  display: flex; flex-direction: column; height: var(--device-h);
  background: #FFFFFF; border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(237, 240, 246, .07), 0 28px 56px -28px rgba(2, 6, 18, .9);
}
.device-bar { display: flex; flex: none; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: #E8ECF2; }
.device--browser > .ui { flex: 1; min-height: 0; overflow: hidden; }
.device-dots { display: flex; gap: 7px; flex: none; }
.device-dots i { width: 10px; height: 10px; border-radius: 50%; background: #C3CAD6; }
.device-url {
  flex: 1; min-width: 0; height: 26px; display: flex; align-items: center; padding: 0 12px;
  border-radius: 13px; background: #FFFFFF; color: #5F6B7A;
  font: 500 12px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.device--phone {
  padding: 9px; border-radius: 46px;
  background: linear-gradient(150deg, #2B3758, #0A0F1D 62%);
  box-shadow: inset 0 0 0 1.5px #3B4B74, inset 0 0 0 5px #060A14, 0 28px 56px -28px rgba(2, 6, 18, .95);
}
.device-screen { position: relative; overflow: hidden; border-radius: 37px; aspect-ratio: 9 / 19.5; background: #FFFFFF; }
.device-island {
  position: absolute; z-index: 3; top: 11px; left: 50%; width: 31%; height: 22px;
  border-radius: 11px; background: #03050B; transform: translateX(-50%);
}
.device .ui { border-radius: 0; }

/* platform mockups: their own light UI and system fonts */
.ui {
  --ui-bg: #FFFFFF; --ui-ink: #1C1E21; --ui-muted: #65676B; --ui-soft: #F0F2F5; --ui-link: #1A0DAB;
  background: var(--ui-bg); color: var(--ui-ink); border-radius: 12px; overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-stretch: 100%; line-height: 1.4;
}
.ui p { max-width: none; }
.ui-fav {
  width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  color: #FFFFFF; font-weight: 700; font-size: 14px;
}
.ui-fav--red { background: #B3261E; }
.ui-fav--green { background: #1F3D36; color: #E8D5B0; }
.ui-fav--teal { background: #0E6E6E; }

.ui-search { padding: 20px 24px 26px; display: grid; gap: 6px; font-family: Arial, Helvetica, sans-serif; }
.ui-query {
  display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 20px; margin-bottom: 14px;
  border-radius: 23px; box-shadow: 0 1px 6px rgba(32, 33, 36, .28); color: #202124; font-size: 16px;
}
.ui-query svg { width: 18px; height: 18px; flex: none; }
.ui-skel { display: grid; gap: 9px; margin-top: 18px; }
.ui-skel span { height: 10px; border-radius: 5px; background: #EBEEF2; }
.ui-skel span:nth-child(1) { width: 38%; }
.ui-skel span:nth-child(2) { width: 94%; }
.ui-skel span:nth-child(3) { width: 72%; }
.ui-skel--post { margin-top: 0; padding: 16px 14px; border-top: 8px solid #F0F2F5; }
.ui-skel + .ui-skel { margin-top: 26px; }
.ui-feed-domain { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-feed-foot > span:first-child { min-width: 0; }
.ui-li-page .feed-art--ledger { aspect-ratio: 16 / 10; }
.ui-sponsored { font-weight: 700; font-size: 14px; }
.ui-site { display: flex; gap: 12px; align-items: center; }
.ui-site-name, .ui-url { display: block; }
.ui-site-name { font-size: 14px; }
.ui-url { font-size: 12px; color: #4D5156; }
.ui-search-title { font-size: 20px; line-height: 1.3; color: var(--ui-link); margin-top: 6px; }
.ui-search-desc { font-size: 14px; line-height: 1.58; color: #4D5156; }
.ui-sitelinks { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--ui-link); margin-top: 4px; }

.ui-feed-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.ui-feed-name, .ui-feed-sp, .ui-feed-domain, .ui-feed-hl { display: block; }
.ui-feed-foot > span:first-child { display: grid; }
.ui-feed-name { font-weight: 700; font-size: 14px; }
.ui-feed-sp { font-size: 12px; color: var(--ui-muted); }
.ui-dots { margin-left: auto; color: var(--ui-muted); font-size: 11px; letter-spacing: 1px; }
.ui-feed-text { padding: 0 14px 12px; font-size: 14px; }
.feed-art { display: grid; place-items: center; align-content: center; gap: 16px; padding: 28px 24px; text-align: center; }
.feed-art--vesper { aspect-ratio: 1 / 1; background: #1F3D36; color: #E8D5B0; }
.feed-art--ledger { aspect-ratio: 6 / 5; background: #0E6E6E; color: #FFFFFF; }
.ring { width: 42%; max-width: 150px; }
.close-chart { width: 82%; max-width: 280px; }
.close-chart text { font-family: var(--font); }
.feed-art-text {
  font-family: var(--font); font-weight: 780; font-stretch: 112%; letter-spacing: -0.02em;
  font-size: clamp(1.25rem, 1rem + .8vw, 1.7rem); line-height: 1.08; max-width: 15ch;
}
.ui-feed-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--ui-soft); }
.ui-feed-domain { font-size: 12px; color: var(--ui-muted); }
.ui-feed-hl { font-weight: 700; font-size: 15px; }
.ui-feed-btn { background: #E4E6EB; color: #050505; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 6px; white-space: nowrap; }
.ui-feed--li { background: #FFFFFF; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px #E1DFDA; }
.ui-feed--li .ui-feed-foot { background: #FFFFFF; border-top: 1px solid #E0E0E0; }
.ui-li-page { padding: 18px; background: #F3F2EF; }
.ui-app { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #FFFFFF; }
.ui-status {
  display: flex; align-items: center; justify-content: space-between; flex: none;
  height: 44px; padding: 0 24px 0 28px; color: #050505; font-weight: 650; font-size: 13px;
}
.ui-status-icons { display: flex; align-items: center; gap: 5px; }
.ui-status-icons i { display: block; background: #050505; }
.ui-status-icons i:nth-child(1) { width: 16px; height: 10px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.ui-status-icons i:nth-child(2) { width: 14px; height: 10px; border-radius: 10px 10px 0 0; clip-path: polygon(50% 100%, 0 0, 100% 0); }
.ui-status-icons i:nth-child(3) { width: 22px; height: 11px; border-radius: 3px; background: linear-gradient(90deg, #050505 0 72%, #C9CDD3 72%); }
.ui-feed-btn--li { background: #FFFFFF; color: #0A66C2; border: 1.5px solid #0A66C2; border-radius: 999px; }

.ui-story {
  height: 100%; background: #B3261E; color: #FFFFFF;
  display: grid; grid-template-rows: auto auto 1fr auto; padding: 46px 16px 22px;
}
.ui-story-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ui-story-bar span { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .45); }
.ui-story-bar span:first-child { background: #FFFFFF; }
.ui-story-head { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; font-weight: 600; }
.ui-story-head .ui-fav { width: 26px; height: 26px; background: #FFFFFF; color: #B3261E; font-size: 12px; }
.ui-story-sp { font-weight: 400; opacity: .85; }
.story-art { display: grid; align-content: center; justify-items: start; gap: 16px; padding: 8px 4px; }
.story-flame { width: 60px; }
.story-head {
  font-family: var(--font); font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em;
  font-size: clamp(1.7rem, 1.2rem + 1.3vw, 2.4rem); line-height: 1.02; max-width: 10ch;
}
.story-sub { font-size: 15px; opacity: .92; }
.story-sticker {
  background: #FFD9C2; color: #5A120D; font-weight: 800; font-size: 15px;
  padding: 10px 16px; border-radius: 999px; transform: rotate(-3deg);
}
.ui-story-cta { justify-self: center; background: #FFFFFF; color: var(--ui-ink); font-weight: 700; font-size: 14px; padding: 9px 20px; border-radius: 999px; }

@media (max-width: 640px) {
  .gallery {
    column-gap: 20px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
            mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  }
  .rail-hint { display: none; }
  .ui-search { padding: 16px 16px 20px; }
  .ui-query { height: 40px; font-size: 14px; margin-bottom: 10px; }
}

/* ---------- reporting dashboard (example data) ---------- */
.dash { background: var(--night); padding: clamp(20px, 3vw, 36px); display: grid; gap: 28px; }
.dash-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.dash-tabs { display: flex; flex-wrap: wrap; gap: 4px; background: var(--night-2); padding: 4px; }
.dash-tab {
  min-height: 44px; padding: 0 16px; background: transparent; border: 0; color: var(--haze);
  font-weight: 650; font-size: var(--t-small); cursor: pointer;
}
.dash-tab:hover { color: var(--star); }
.dash-tab[aria-selected="true"] { background: var(--night-3); color: var(--star); }
.dash-note { color: var(--haze); font-size: var(--t-small); }
.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; }
.dash-kpis div { display: grid; align-content: start; gap: 4px; padding-top: 14px; border-top: 2px solid var(--night-3); }
.dash-kpis dt { font-size: var(--t-small); color: var(--haze); font-weight: 600; }
.dash-kpis dd {
  margin: 0; font-size: var(--t-h2); font-weight: 780; font-stretch: var(--wide);
  letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums;
}
.dash-kpis div > span { font-size: var(--t-small); color: var(--haze); }
.dash-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px 56px; align-items: start; }
.dash-chart { position: relative; min-width: 0; }
.dash-chart-title { font-weight: 700; margin-bottom: 12px; }
.dash-svg { width: 100%; height: auto; }
.dash-svg text { font-family: var(--font); }
.dash .chart-grid line { stroke: var(--night-3); }
.dash .chart-tick text { fill: var(--haze); font-size: 14px; }
.dash-bars path { fill: var(--bar-night); transition: opacity .15s ease; }
.dash-bars path.is-latest { fill: var(--eye); }
.dash-bars path:hover { opacity: .78; }
.dash-value { fill: var(--star); font-size: 17px; font-weight: 700; }
.chart-tip {
  position: absolute; z-index: 2; pointer-events: none; white-space: nowrap;
  background: var(--star); color: var(--ink); font-size: var(--t-small); font-weight: 650;
  padding: 6px 10px; transform: translate(-50%, calc(-100% - 10px));
  box-shadow: 0 6px 18px rgba(5, 10, 24, .45);
}
.mix { list-style: none; display: grid; gap: 18px; }
.mix li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
.mix-name { font-weight: 600; }
.mix-val { font-weight: 700; font-variant-numeric: tabular-nums; }
.mix-track { grid-column: 1 / -1; height: 10px; background: var(--night-2); }
.mix-fill { display: block; height: 100%; background: var(--bar-night); }
.mix li:first-child .mix-fill { background: var(--eye); }
.dash-foot { margin-top: 24px; color: var(--haze); font-size: var(--t-small); }

@media (max-width: 900px) {
  .dash-body { grid-template-columns: minmax(0, 1fr); }
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- optimize-to table (night) ---------- */
.split-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px);
}
.split-side { display: grid; gap: 8px; justify-items: start; }
.goal-table { width: 100%; border-collapse: collapse; }
.goal-table th {
  text-align: left; font-size: var(--t-small); font-weight: 600; color: var(--haze);
  padding: 0 24px 14px 0; border-bottom: 1px solid var(--night-3);
}
.goal-table td {
  padding: 26px 24px 26px 0; border-bottom: 1px solid var(--night-3);
  vertical-align: top;
}
.goal-table td:first-child { font-weight: 750; font-stretch: var(--wide); font-size: var(--t-lead); letter-spacing: -0.01em; width: 26%; }
.goal-table td:nth-child(2) { color: var(--haze); width: 30%; }
.goal-table td:last-child { font-weight: 600; }
.tracking-line { margin-top: 40px; display: grid; grid-template-columns: 26% minmax(0, 1fr); gap: 12px 0; }
.tracking-line h3 { padding-right: 24px; }
.tracking-line h3 { font-size: var(--t-body); }

@media (max-width: 960px) { .split-head { grid-template-columns: minmax(0, 1fr); align-items: start; } }
@media (max-width: 760px) {
  .tracking-line { grid-template-columns: minmax(0, 1fr); }
  .goal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .goal-table, .goal-table tbody, .goal-table tr, .goal-table td { display: block; width: auto !important; }
  .goal-table tr { padding-block: 22px; border-bottom: 1px solid var(--night-3); display: grid; gap: 8px; }
  .goal-table td { padding: 0; border: 0; }
  .goal-table td[data-label]::before {
    content: attr(data-label); display: block; color: var(--haze); font-weight: 500;
    font-size: var(--t-small); margin-bottom: 2px;
  }
  .goal-table td:nth-child(2) { color: var(--star); }
}

/* ---------- services (night) ---------- */
.services { padding-top: 0; }
.services-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px 72px; margin-top: clamp(40px, 5vw, 72px);
}
.google { background: var(--night-2); padding: clamp(28px, 4vw, 48px); display: grid; gap: 18px; align-content: start; }
.google h3, .channel h3 { font-size: var(--t-h2); font-weight: 760; letter-spacing: -0.03em; line-height: 1.02; }
.google .channel-tag { color: var(--eye); font-weight: 650; }
.google ul {
  list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px; margin-top: 8px;
}
.google li { display: grid; gap: 2px; }
.google li strong { font-weight: 700; }
.google li span { color: var(--haze); font-size: var(--t-small); }
.channels { display: grid; gap: 36px; align-content: start; padding-top: clamp(4px, 1vw, 16px); }
.channel { display: grid; gap: 8px; }
.channel h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); }

.channels .text-link { justify-self: start; }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .google ul { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- process (day) ---------- */
.process-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px 80px; align-items: start; margin-top: clamp(40px, 5vw, 72px);
}
.timeline { list-style: none; display: grid; gap: 0; }
.timeline li {
  display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 4px 24px;
  padding-block: 22px; border-top: 1px solid var(--line-day);
}
.timeline li:last-child { border-bottom: 1px solid var(--line-day); }
.timeline .when { font-weight: 750; font-stretch: var(--wide); letter-spacing: -0.01em; }
.timeline h3 { font-size: var(--t-body); margin-bottom: 4px; }
.timeline p { color: var(--ink-2); }
.timeline.tl-live { position: relative; padding-left: 40px; }
.timeline.tl-live::before, .timeline.tl-live::after {
  content: ""; position: absolute; left: 11px; top: 35px; bottom: 35px; width: 2px;
}
.timeline.tl-live::before { background: var(--line-day); }
.timeline.tl-live::after { background: var(--ink); transform-origin: 50% 0; transform: scaleY(var(--tl, 0)); }
.tl-live li { position: relative; }
.tl-live li::before {
  content: ""; position: absolute; left: -35px; top: 28px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--day); box-shadow: inset 0 0 0 2px var(--line-day);
  transition: background-color .3s ease, box-shadow .3s ease, transform .3s var(--ease-out);
}
.tl-live li.is-lit::before { background: var(--eye-deep); box-shadow: inset 0 0 0 2px var(--ink); transform: scale(1.15); }

.chart-box { background: var(--day-2); padding: clamp(24px, 3vw, 40px); display: grid; gap: 16px; position: sticky; top: 104px; }
.chart-box h3 { font-size: var(--t-lead); }
.chart-box svg { width: 100%; height: auto; }
.chart-box svg text, .mini-chart svg text { font-family: var(--font); }
.chart-axis { stroke: var(--ink-2); stroke-width: 1.5; }
.chart-grid line { stroke: var(--line-day); stroke-width: 1; }
.chart-bar path { fill: var(--ink); }
.chart-bar--accent { fill: var(--eye-deep); }
.chart-bar path:hover, .chart-bar--accent:hover { opacity: .82; }
.chart-value, .chart-value text { fill: var(--ink); font-size: 17px; font-weight: 700; }
.chart-tick text { fill: var(--ink-2); font-size: 15px; }
.chart-box .chart-caption { color: var(--ink-2); font-size: var(--t-small); }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: minmax(0, 1fr); }
  .chart-box { position: static; }
}
@media (max-width: 520px) {
  .timeline li { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- about (night) ---------- */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 48px 80px; align-items: start;
}
.statement {
  font-size: clamp(1.5rem, 1.05rem + 1.4vw, 2.25rem); line-height: 1.22; font-weight: 600;
  font-stretch: 106%; letter-spacing: -0.02em; max-width: 26ch;
}
.statement-note { margin-top: 24px; color: var(--haze); }
.about-copy { display: grid; gap: 18px; }
.about-copy h2 { margin-bottom: 6px; }
.about-copy .text-link { justify-self: start; }

@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- faq (day) ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px 80px; align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 104px; display: grid; gap: 16px; }
.faq-list { display: grid; }
.faq-list details { border-top: 1px solid var(--line-day); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-day); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 24px; min-height: 64px; padding-block: 18px;
  font-weight: 700; font-size: var(--t-lead); letter-spacing: -0.01em; line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus { position: relative; width: 16px; height: 16px; flex: none; }
.faq-list summary .plus::before, .faq-list summary .plus::after {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor;
  transition: transform .2s ease;
}
.faq-list summary .plus::after { transform: rotate(90deg); }
.faq-list details[open] summary .plus::after { transform: rotate(0deg); }
.faq-list details p { padding-bottom: 24px; color: var(--ink-2); }
.faq-a { overflow: hidden; }
.faq-list details.is-closing summary .plus::after { transform: rotate(90deg); }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid > div:first-child { position: static; }
}

/* ---------- audit form (night) ---------- */
.audit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px 80px; align-items: start; }
.audit-intro { display: grid; gap: 24px; justify-items: start; }
/* the free audit, spelled out */
.audit-spec { margin: 0; display: grid; }
.audit-spec div {
  display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 6px 24px;
  padding-block: 18px; border-top: 1px solid var(--night-3);
}
.audit-spec div:last-child { border-bottom: 1px solid var(--night-3); }
.audit-spec dt { font-weight: 700; }
.audit-spec dd { margin: 0; color: var(--haze); }

/* what happens after you submit */
.after-submit { margin-top: clamp(56px, 7vw, 96px); display: grid; gap: 24px; }
.after-submit--page { margin-top: 0; }
.after-submit > h3 { font-size: var(--t-lead); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.steps li { display: grid; align-content: start; gap: 4px; padding-top: 16px; border-top: 2px solid var(--night-3); }
.step-when { font-size: var(--t-small); color: var(--haze); font-weight: 600; }
.steps strong { font-weight: 700; font-size: var(--t-body); }
.steps li > span:last-child { color: var(--haze); font-size: var(--t-small); }

@media (max-width: 1080px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 600px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { padding-block: 14px; }
  .audit-spec div { grid-template-columns: minmax(0, 1fr); }
}

/* what you're signing up for */
.commitments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 72px; margin: 0; }
.commitments div { display: grid; align-content: start; gap: 6px; }
.commitments dt { font-weight: 700; font-size: var(--t-lead); letter-spacing: -0.01em; line-height: 1.3; }
.commitments dd { margin: 0; color: var(--haze); max-width: 54ch; }
@media (max-width: 760px) { .commitments { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

.direct { color: var(--haze); font-size: var(--t-small); }
.direct a { color: var(--star); font-weight: 600; }

.form-panel { background: var(--night-2); padding: clamp(24px, 3.5vw, 44px); }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field label, .field legend { font-weight: 650; font-size: var(--t-small); padding: 0; }
.field .opt { color: var(--haze); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--night); color: var(--star);
  border: 1px solid var(--line-night); border-radius: 0;
  font-size: 1rem; line-height: 1.4;
  transition: border-color .15s ease;
}
.field textarea { min-height: 112px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23EDF0F6' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field input::placeholder, .field textarea::placeholder { color: #8391AE; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #5A6E9C; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--eye); outline-offset: 0; border-color: var(--eye); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.error { color: var(--bad); font-size: var(--t-small); font-weight: 600; }
.hint { color: var(--eye); font-size: var(--t-small); font-weight: 600; }
.hint button {
  background: none; border: 0; padding: 0; color: var(--star); font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.error:empty { display: none; }

fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  background: var(--night); border: 1px solid var(--line-night); cursor: pointer; font-size: var(--t-small); font-weight: 600;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.check input:checked + span { background: var(--eye); border-color: var(--eye); color: var(--eye-ink); }
.check input:focus-visible + span { outline: 3px solid var(--eye); outline-offset: 2px; }

.form-foot { display: grid; gap: 14px; justify-items: start; }
.form-foot .btn { width: 100%; }
.reassure { color: var(--haze); font-size: var(--t-small); }
.local-note { display: flex; align-items: flex-start; gap: 10px; color: var(--star); font-size: var(--t-small); font-weight: 600; }
.local-dot { position: relative; flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--eye); }
.local-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--eye);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .65; } to { transform: scale(3.2); opacity: 0; } }
.consent { color: var(--haze); font-size: var(--t-small); }
.consent a { color: var(--star); }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--bad); }
.form-status.is-preview { color: var(--eye); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.success { display: grid; gap: 14px; }
.success h3 { font-size: var(--t-h2); color: var(--eye); }

@media (max-width: 900px) { .audit-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); padding-block: 8px 32px; }
.page + .site-footer, main.page ~ .site-footer { padding-top: 8px; }
.site-footer .wrap { container-type: inline-size; }
.footer-name {
  font-weight: 800; font-stretch: 125%; letter-spacing: -0.045em; line-height: .9;
  font-size: 8.4vw; font-size: 10.35cqw; white-space: nowrap; color: var(--star);
  max-width: none;
}
.copyright { margin-top: 28px; color: var(--haze); font-size: var(--t-small); }
.footer-cta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px;
  background: var(--night-2); padding: clamp(28px, 4vw, 48px);
  margin-block: clamp(32px, 5vw, 64px) clamp(40px, 5vw, 72px);
}
.footer-cta .lead { max-width: 40ch; }
.footer-info { display: grid; gap: 8px; max-width: 62ch; }
.footer-promise { color: var(--star); font-weight: 600; }
.footer-name.can-glow {
  color: transparent; -webkit-text-fill-color: transparent;
  background-color: var(--ember); -webkit-background-clip: text; background-clip: text;
}
.footer-name.can-glow.is-lit {
  background-image: radial-gradient(circle 300px at var(--gx, 50%) var(--gy, 50%), var(--eye-hi) 0%, var(--star) 26%, var(--ember) 64%);
}
.footer-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px;
  margin-top: 40px; color: var(--haze); font-size: var(--t-small);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; max-width: 660px; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--star); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--eye); }

/* ---------- v6: Channels menu ---------- */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  background: transparent; border: 0; cursor: pointer; font: inherit;
  font-size: var(--t-small); font-weight: 550; color: var(--haze);
}
.nav-drop-btn svg { width: 12px; height: 12px; transition: transform .2s var(--ease-out); }
.nav-drop-btn:hover, .nav-drop-btn.is-current, .nav-drop.is-open .nav-drop-btn { color: var(--star); }
.nav-drop.is-open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 6px); left: -8px; z-index: 30; display: none;
  width: 330px; padding: 8px; list-style: none;
  background: var(--night-2);
  box-shadow: 0 18px 48px rgba(3, 8, 20, .55);
}
.nav-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
html:not(.js) .nav-drop:hover .nav-drop-menu, html:not(.js) .nav-drop:focus-within .nav-drop-menu,
.nav-drop.is-open .nav-drop-menu { display: grid; }
.nav-links .nav-drop-menu a {
  display: grid; gap: 2px; min-height: 0; padding: 10px 12px;
  color: var(--star); text-decoration: none;
}
.nav-links .nav-drop-menu a:hover, .nav-links .nav-drop-menu a:focus-visible { background: var(--eye-wash); }
.nav-links .nav-drop-menu a[aria-current="page"] { text-decoration: none; }
.nav-links .nav-drop-menu a[aria-current="page"] .drop-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.drop-name { font-weight: 650; font-size: var(--t-small); }
.drop-desc { font-size: .8125rem; color: var(--haze); font-weight: 450; }
.mobile-nav .mobile-group { padding: 18px 0 4px; font-size: var(--t-small); font-weight: 600; color: var(--haze); }
.mobile-nav a { min-height: 46px; font-size: 1.1rem; }

/* ---------- footer columns ---------- */
.footer-cols { display: grid; grid-template-columns: repeat(4, max-content); gap: 24px 56px; }
.footer-head { font-size: var(--t-small); font-weight: 600; color: var(--haze); margin-bottom: 4px; }
.footer-cols .footer-links { display: grid; gap: 0; max-width: none; }
.footer-cols .footer-links a { min-height: 36px; }
@media (max-width: 1000px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, max-content)); } }
@media (max-width: 420px) { .footer-cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- channel pages ---------- */
.angle { display: grid; gap: clamp(28px, 4vw, 56px); }
.angle h2 { font-size: var(--t-display); letter-spacing: -0.04em; line-height: .96; font-stretch: 108%; }
/* phones: the big line still has to land in two */
@media (max-width: 480px) {
  h1, .angle h2 { font-size: clamp(1.75rem, 8.4vw, 2.5rem); }
  .hero h1 { font-size: clamp(2.1rem, 10.4vw, 2.75rem); }
}
.angle-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px clamp(32px, 5vw, 72px); width: min(100%, 980px); margin-left: auto; }
@media (max-width: 760px) { .angle-copy { grid-template-columns: minmax(0, 1fr); } }

/* what I run: one row per campaign type, surfaces stepping in tone */
.runs { display: grid; margin: 0; }
.runs div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4px clamp(24px, 5vw, 72px); align-items: baseline; padding: 22px clamp(16px, 2vw, 28px); }
.runs div:nth-child(odd) { background: var(--night-2); }
.runs dt { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); font-weight: 750; font-stretch: var(--wide); letter-spacing: -0.02em; line-height: 1.15; }
.runs dd { margin: 0; max-width: 60ch; }
@media (max-width: 700px) { .runs div { grid-template-columns: minmax(0, 1fr); } }

/* illustrative product panels on channel pages */
.mock-panel {
  padding: clamp(18px, 2.4vw, 32px); min-width: 0;
  background: var(--paper); color: var(--ink);
}
.mp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px 32px; margin-bottom: 20px; }
.mp-title { font-weight: 750; font-size: var(--t-lead); }
.mp-sub { color: var(--ink-2); font-size: var(--t-small); }
.mp-stats { display: flex; flex-wrap: wrap; gap: 12px; }
.mp-stats p { display: grid; gap: 2px; padding: 10px 16px; background: var(--day); min-width: 140px; }
.mp-stat { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 800; font-stretch: var(--wide); line-height: 1.1; }
.mp-stat-label { font-size: .8125rem; color: var(--ink-2); }
.mp-table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.mp-table th { text-align: left; font-size: .8125rem; color: var(--ink-2); font-weight: 650; padding: 0 12px 10px; border-bottom: 1px solid var(--line-day); }
.mp-table td { padding: 12px; border-bottom: 1px solid var(--line-day); }
.mp-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.mp-table th:first-child, .mp-table td:first-child { padding-left: 0; }
.mp-cap { margin-top: 16px; font-size: .8125rem; color: var(--ink-2); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.tag--keep { background: #DDF1E4; color: #155C33; }
.tag--cut { background: #FADDD8; color: #8F2416; }
.tag--new { background: #FCEBC7; color: #6E4504; }
@media (max-width: 640px) {
  .mp-table thead { display: none; }
  .mp-table tr { display: grid; grid-template-columns: repeat(3, auto); gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line-day); }
  .mp-table td { padding: 0; border: 0; }
  .mp-table td:first-child { grid-column: 1 / -1; font-weight: 650; }
  .mp-table td:last-child { grid-column: 1 / -1; }
  .mp-table .num { text-align: left; }
  .mp-table td.num::before { color: var(--ink-2); font-size: .75rem; margin-right: 4px; }
  .mp-table td:nth-child(2)::before { content: "Clicks"; }
  .mp-table td:nth-child(3)::before { content: "Cost"; }
  .mp-table td:nth-child(4)::before { content: "Conv."; }
}

.variant-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vg-card { display: grid; gap: 10px; align-content: start; padding: 12px 12px 16px; background: var(--day); }
.vg-card--win { background: #FCEBC7; }
.vg-art { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 16px; text-align: center; font-weight: 800; font-size: clamp(1rem, .9rem + .4vw, 1.25rem); line-height: 1.15; }
.vg-art--a { background: #0C1730; color: #FFC95E; }
.vg-art--b { background: #C9D2E2; color: #0C1730; }
.vg-art--c { background: #F4B740; color: #1C1404; }
.vg-name { font-weight: 700; font-size: var(--t-small); }
.vg-stats { display: flex; gap: 20px; margin: 0; }
.vg-stats div { display: grid; }
.vg-stats dt { font-size: .75rem; color: var(--ink-2); }
.vg-stats dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.vg-card .tag { justify-self: start; }
@media (max-width: 720px) { .variant-grid { grid-template-columns: minmax(0, 1fr); } .vg-art { aspect-ratio: 16 / 7; } }

.audience { display: grid; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line-day); }
.aud-group { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px 20px; align-items: center; }
.aud-label { font-size: var(--t-small); font-weight: 650; color: var(--ink-2); }
.aud-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.aud-chips li { padding: 6px 12px; border-radius: 999px; background: #E6ECF7; color: #1B2D57; font-size: var(--t-small); font-weight: 600; }
.aud-chips--out li { background: #F7E4E1; color: #8F2416; text-decoration: line-through; text-decoration-thickness: 1.5px; }
@media (max-width: 560px) { .aud-group { grid-template-columns: minmax(0, 1fr); } }
.flow { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; margin-top: 20px; counter-reset: flow; }
.flow li { position: relative; display: grid; gap: 4px; padding: 14px 16px; background: var(--day); }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -22px; top: 50%; transform: translateY(-50%); color: var(--eye-deep); font-weight: 800; }
.flow-step { font-weight: 750; }
.flow-note { font-size: .8125rem; color: var(--ink-2); }
@media (max-width: 720px) { .flow { grid-template-columns: minmax(0, 1fr); } .flow li:not(:last-child)::after { content: "↓"; right: auto; left: 18px; top: auto; bottom: -20px; transform: none; } }

.measure-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 72px; margin: 0; }
.measure-list div { display: grid; gap: 6px; align-content: start; }
.measure-list dt { font-weight: 700; font-size: var(--t-lead); letter-spacing: -0.01em; }
.measure-list dd { margin: 0; color: var(--haze); max-width: 54ch; }
@media (max-width: 760px) { .measure-list { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

.fit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 80px; align-items: start; }
.fit-grid > div:first-child { display: grid; gap: 20px; justify-items: start; }
.fit-grid .check-list { margin-top: 4px; }
@media (max-width: 900px) { .fit-grid { grid-template-columns: minmax(0, 1fr); } }

.channel-next { padding-block: clamp(56px, 6vw, 96px); }
.next-title { font-size: var(--t-lead); letter-spacing: -0.01em; margin-bottom: 8px; }
.channel-link { color: inherit; text-decoration: none; }
.channel-link:hover { text-decoration: underline; }

/* ---------- pricing ---------- */
html:not(.js) .calc-grid { display: none; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: start; }
.calc { display: grid; gap: 28px; padding: clamp(22px, 3vw, 40px); background: var(--paper); }
.calc h2 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.2rem); }
.calc-field { display: grid; gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.calc-field legend, .calc-row label { font-weight: 700; font-size: var(--t-body); padding: 0; margin-bottom: 4px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc-spend-out { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 800; font-stretch: var(--wide); font-variant-numeric: tabular-nums; }
.calc-range { width: 100%; height: 28px; accent-color: #B97A0B; cursor: pointer; }
.calc-scale { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--ink-2); }
.calc-help { font-size: var(--t-small); color: var(--ink-2); max-width: 60ch; }
.calc-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.calc-options--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.calc-option { position: relative; display: grid; cursor: pointer; }
.calc-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.co-box {
  position: relative; display: grid; gap: 4px; align-content: start; height: 100%;
  padding: 14px 16px 14px 44px; border: 1.5px solid var(--line-day); background: #fff;
  transition: border-color .15s ease, background-color .15s ease;
}
.co-box::before {
  content: ""; position: absolute; left: 16px; top: 16px; width: 16px; height: 16px;
  border: 1.5px solid #7A89AB; border-radius: 4px; background: #fff;
}
.calc-option input[type="radio"] + .co-box::before { border-radius: 50%; }
.calc-option input:checked + .co-box { border-color: var(--eye-deep); background: #FFF7E6; }
.calc-option input:checked + .co-box::before { border-color: var(--eye-deep); background: var(--eye-deep); box-shadow: inset 0 0 0 3px #fff; }
.calc-option input:focus-visible + .co-box { outline: 3px solid var(--ink); outline-offset: 2px; }
.calc-option:hover .co-box { border-color: #7A89AB; }
.co-name { font-weight: 700; font-size: var(--t-small); }
.co-note { font-size: .8125rem; color: var(--ink-2); }
@media (max-width: 720px) { .calc-options, .calc-options--two { grid-template-columns: minmax(0, 1fr); } }

.calc-result {
  position: sticky; top: 104px; display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px);
  background: var(--night); color: var(--star);
}
.calc-label { font-weight: 650; font-size: var(--t-small); color: var(--haze); }
.calc-total { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.calc-total #calc-total { font-size: clamp(2.6rem, 1.8rem + 3vw, 4.2rem); font-weight: 800; font-stretch: var(--wide); line-height: 1; color: var(--eye); font-variant-numeric: tabular-nums; }
.calc-per { color: var(--haze); font-weight: 600; }
.calc-lines { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line-night); }
.calc-lines div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-night); font-size: var(--t-small); }
.calc-lines dt { color: var(--haze); }
.calc-lines dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-setup, .calc-note { font-size: var(--t-small); }
.calc-note, .calc-fine { color: var(--haze); }
.calc-fine { font-size: .8125rem; }
.calc-result .btn { justify-self: stretch; text-align: center; }
@media (max-width: 960px) { .calc-grid { grid-template-columns: minmax(0, 1fr); } .calc-result { position: static; } }

.tier-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .tier-grid { grid-template-columns: minmax(0, 1fr); } }
.tier-table { width: 100%; border-collapse: collapse; }
.tier-table th { text-align: left; font-size: var(--t-small); font-weight: 600; color: var(--haze); padding: 0 14px 12px; border-bottom: 1px solid var(--line-night); }
.tier-table td { padding: 14px; border-bottom: 1px solid var(--line-night); font-size: var(--t-lead); transition: background-color .25s ease; }
.tier-table tr.is-lit td { background: var(--eye-wash); }
.tier-table td:last-child, .tier-table th:last-child { text-align: right; }
.tier-table td:nth-child(2), .tier-table th:nth-child(2) { text-align: right; padding-right: 24px; }
.tier-table td:nth-child(2) { color: var(--haze); font-size: var(--t-small); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 560px) { .tier-table td { font-size: var(--t-body); } .tier-table td:nth-child(2) { padding-right: 12px; } }
.tier-table td:last-child { font-weight: 750; font-variant-numeric: tabular-nums; }
.tier-table tr.is-lit td:last-child { color: var(--eye); }
.tier-extras { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 38px; }
.tier-extras li { display: grid; gap: 4px; align-content: start; }
.tier-extras strong { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); font-weight: 800; font-stretch: var(--wide); color: var(--star); }
.tier-extras span { color: var(--haze); font-size: var(--t-small); max-width: 30ch; }
@media (max-width: 960px) { .tier-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; } }
@media (max-width: 480px) { .tier-extras { grid-template-columns: minmax(0, 1fr); } }

.estimate-note {
  margin-bottom: 4px; padding: 10px 14px; border-left: 3px solid var(--eye);
  background: rgba(244, 183, 64, .08); font-size: var(--t-small); color: var(--star);
}
.estimate-note a { color: var(--eye); }

/* ---------- about: headshot ---------- */
.headshot { display: grid; gap: 14px; justify-items: start; }
.headshot img, .who-photo img { display: block; width: 100%; height: auto; }
.headshot figcaption { display: grid; gap: 2px; font-size: var(--t-small); color: var(--haze); }
.headshot figcaption strong { color: var(--star); font-size: var(--t-body); }
.industries { font-weight: 600; }
.about-top .about-grid { margin-top: clamp(32px, 4vw, 56px); }
.about-copy .actions { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin-top: 8px; }

/* ---------- blog ---------- */
.post-list { list-style: none; display: grid; gap: 10px; }
.post-row a {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 10px clamp(24px, 4vw, 56px);
  padding: clamp(24px, 3.4vw, 48px); background: var(--paper); color: var(--ink); text-decoration: none;
}
.post-meta { grid-row: 1 / span 2; display: grid; gap: 2px; align-content: start; font-weight: 650; }
.post-meta span { font-weight: 500; font-size: var(--t-small); color: var(--ink-2); }
.post-title { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 780; font-stretch: var(--wide); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.post-row--lead .post-title { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -0.03em; }
.post-excerpt { grid-column: 2; max-width: 62ch; }
.post-row a:hover .post-title, .post-row a:focus-visible .post-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 760px) {
  .post-row a { grid-template-columns: minmax(0, 1fr); }
  .post-meta { grid-row: auto; display: flex; flex-wrap: wrap; gap: 2px 14px; align-items: baseline; }
  .post-excerpt { grid-column: 1; }
}
.post-head { display: grid; gap: 22px; justify-items: start; max-width: 900px; }
.post-head h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.9rem); }
.post-head .lead { max-width: 60ch; }
.byline { display: flex; align-items: center; gap: 14px; }
.byline img { width: 48px; height: 48px; border-radius: 50%; display: block; }
.byline p { display: grid; gap: 2px; font-size: var(--t-small); }
.byline a { color: var(--star); font-weight: 700; text-decoration: none; }
.byline a:hover { text-decoration: underline; }
.byline span { color: var(--haze); }
.post-section { padding-top: clamp(48px, 5vw, 80px); }
.post-body { max-width: 720px; gap: 20px; font-size: 1.125rem; line-height: 1.65; }
.post-body h2 { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.9rem); margin-top: 32px; line-height: 1.2; }
.post-body ul { gap: 10px; }
.post-body a { color: var(--ink); text-decoration-color: var(--eye-deep); text-underline-offset: 3px; }
.post-body a:hover { color: var(--ink-2); }
.post-sources { font-size: var(--t-small); }
.post-cta {
  display: grid; gap: 12px; justify-items: start; max-width: 720px; margin-top: 56px;
  padding: clamp(22px, 3vw, 36px); background: var(--night); color: var(--star);
}
.post-cta-title { font-weight: 800; font-size: var(--t-lead); }
.post-cta p:not(.post-cta-title) { color: var(--haze); max-width: 56ch; }
.post-back { margin-top: 32px; }

/* ---------- inner pages (how it works, privacy, thanks, 404) ---------- */
.page-top { padding-block: clamp(28px, 4vw, 64px) clamp(56px, 6vw, 96px); }
.page-top--tight { padding-bottom: clamp(36px, 4vw, 60px); }
.section--snug { padding-top: clamp(40px, 5vw, 72px); }
.page-top--tall { min-height: 56vh; display: flex; align-items: center; }
.page-hero { display: grid; gap: 24px; justify-items: start; }
.page-hero .lead { max-width: 52ch; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
/* a first screen with an exhibit: the line across the top, the pitch beside the evidence */
.page-hero--exhibit { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 56px) clamp(32px, 5vw, 72px); justify-items: stretch; align-items: start; }
.page-hero--exhibit h1 { grid-column: 1 / -1; }
.top-copy { display: grid; gap: 24px; justify-items: start; }
.top-note { font-size: var(--t-small); color: var(--haze); max-width: 44ch; }
@media (max-width: 960px) { .page-hero--exhibit { grid-template-columns: minmax(0, 1fr); } }

.prose { max-width: 760px; display: grid; gap: 18px; }
.prose h2 { font-size: var(--t-lead); letter-spacing: -0.01em; margin-top: 24px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; }
.prose p, .prose li { max-width: 68ch; }

.included-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 80px; }
.included-grid h3 { margin-bottom: 20px; }
.included-grid .muted { margin-top: 24px; }
.check-list, .dash-list { list-style: none; display: grid; gap: 14px; }
.check-list li, .dash-list li { position: relative; padding-left: 28px; max-width: 62ch; }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 12px; height: 6px;
  border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg);
}
.dash-list li::before {
  content: ""; position: absolute; left: 2px; top: .78em; width: 12px; height: 2px; background: currentColor;
}

/* sample monthly report */
.report-doc { background: var(--paper); color: var(--ink); padding: clamp(24px, 4vw, 52px); display: grid; gap: clamp(28px, 4vw, 44px); }
.report-doc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; }
.report-doc-head h3 { font-size: var(--t-lead); margin-top: 6px; }
.report-doc .muted { color: var(--ink-2); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; }
.kpis div { display: grid; align-content: start; gap: 4px; padding-top: 16px; border-top: 2px solid var(--ink); }
.kpis dt { font-size: var(--t-small); color: var(--ink-2); font-weight: 600; }
.kpis dd {
  margin: 0; font-size: var(--t-h2); font-weight: 780; font-stretch: var(--wide);
  letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums;
}
.kpis div > span { font-size: var(--t-small); color: var(--ink-2); }
.report-doc-body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 56px; align-items: start; }
.mini-chart { display: grid; gap: 12px; }
.mini-chart figcaption { font-weight: 700; }
.mini-chart svg { width: 100%; height: auto; }
.report-notes { display: grid; gap: 28px; }
.report-notes h4 { margin: 0 0 12px; font-size: var(--t-body); font-weight: 700; }
.report-notes .dash-list { gap: 10px; }

@media (max-width: 860px) {
  .included-grid, .report-doc-body { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- mobile sticky call to action ---------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--night-2); box-shadow: 0 -8px 24px rgba(5, 10, 24, .45);
    transform: translateY(110%); visibility: hidden;
    transition: transform .25s ease, visibility .25s;
  }
  .mobile-cta.is-visible { transform: none; visibility: visible; }
  .mobile-cta .btn { width: 100%; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- phone type ---------- */
@media (max-width: 560px) {
  h2 { font-size: 1.8rem; font-stretch: 104%; }
  h3 { font-stretch: 104%; }
  .google h3 { font-size: 2rem; }
}

/* ---------- page transitions ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .2s ease both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- budget planner (example splits) ---------- */
.planner { display: grid; gap: 28px; }
.planner-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 20px 32px; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-night); }
.day .seg { border-color: var(--line-day); }
.seg button {
  min-height: 44px; padding: 0 16px; background: transparent; color: inherit; border: 0;
  font: inherit; font-size: var(--t-small); font-weight: 650; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.seg button + button { border-left: 1px solid var(--line-night); }
.day .seg button + button { border-left-color: var(--line-day); }
.seg button:hover:not([aria-pressed="true"]) { background: rgba(127, 147, 189, .18); }
.seg button[aria-pressed="true"] { background: var(--star); color: var(--ink); }
.day .seg button[aria-pressed="true"] { background: var(--ink); color: var(--star); }
.planner-budget { flex: 1 1 260px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; min-width: 220px; }
.planner-budget label { font-weight: 650; font-size: var(--t-small); }
.planner-budget-out { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 750; font-variant-numeric: tabular-nums; }
.planner-budget input { grid-column: 1 / -1; }
.planner-rows { list-style: none; display: grid; gap: 4px; }
.pr { display: grid; gap: 8px; padding: 16px 0 18px; border-top: 1px solid var(--line-night); }
.day .pr { border-top-color: var(--line-day); }
.pr-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.pr-name { font-weight: 700; }
.pr-val { font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.pr-pct { margin-left: 10px; font-weight: 550; color: var(--haze); font-size: var(--t-small); }
.day .pr-pct { color: var(--ink-2); }
.pr-track { height: 12px; background: var(--night-3); }
.day .pr-track { background: var(--day-2); }
.pr-bar { display: block; height: 100%; width: 0; background: var(--eye); border-radius: 0 4px 4px 0; transition: width .45s var(--ease-out); }
.day .pr-bar { background: var(--eye-deep); }
.pr-desc { color: var(--haze); font-size: var(--t-small); max-width: 62ch; }
.day .pr-desc { color: var(--ink-2); }
.pr.is-off .pr-name, .pr.is-off .pr-val { opacity: .55; }
.pr.is-off .pr-val { font-weight: 600; }
.planner-summary { font-weight: 650; max-width: 70ch; }
.planner-summary:empty { display: none; }
.planner-note { font-size: var(--t-small); color: var(--haze); max-width: 70ch; }
.day .planner-note { color: var(--ink-2); }
.planner-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 16px 72px; align-items: start; }
.planner-wrap > div:first-child { display: contents; }
.planner-wrap h2 { grid-column: 1 / -1; margin-bottom: clamp(16px, 2.4vw, 32px); }
.planner-wrap .lead, .planner-wrap .text-link { grid-column: 1; justify-self: start; }
.planner-wrap .planner { grid-column: 2; grid-row: 2 / span 3; }
@media (max-width: 900px) { .planner-wrap { grid-template-columns: minmax(0, 1fr); } .planner-wrap .planner { grid-column: 1; grid-row: auto; margin-top: 16px; } }
@media (max-width: 560px) { .pr-head { flex-wrap: wrap; } .pr-val { text-align: left; } .seg button { padding: 0 12px; } }

/* ---------- example charts ---------- */
.ex-chart { display: grid; gap: 14px; margin-top: clamp(48px, 5vw, 72px); padding: clamp(20px, 3vw, 32px); background: var(--paper); color: var(--ink); }
.ex-title { font-weight: 750; font-size: var(--t-lead); }
.ex-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: var(--t-small); font-weight: 600; }
.ex-legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 18px; height: 4px; border-radius: 2px; }
.sw--s1 { background: #B97A0B; }
.sw--s2 { background: #4A6CC7; }
.ex-plot { position: relative; }
.ex-plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.ex-line { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ex-plot .chart-grid line, .ex-plot .chart-axis, .ex-cross { vector-effect: non-scaling-stroke; }
.ex-plot .chart-tick text, .ex-xlab, .ex-val { font-size: 15px; }
.ex-line.ex-s1 { stroke: #B97A0B; }
.ex-line.ex-s2 { stroke: #4A6CC7; }
.ex-bar.ex-s1 { fill: #B97A0B; }
.ex-bar.ex-s2 { fill: #4A6CC7; }
.ex-dot { stroke: var(--paper); stroke-width: 2; opacity: 0; transition: opacity .12s ease; }
.ex-dot.ex-s1 { fill: #B97A0B; }
.ex-dot.ex-s2 { fill: #4A6CC7; }
.ex-cross { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.ex-hit { fill: transparent; cursor: crosshair; }
.ex-col.is-on .ex-dot, .ex-col.is-on .ex-cross { opacity: 1; }
.ex-col .ex-bar { transition: opacity .15s ease; }
.ex-plot.is-active .ex-col:not(.is-on) .ex-bar { opacity: .55; }
.ex-val { fill: var(--ink); font-weight: 700; }
.ex-xlab { fill: var(--ink-2); }
.ex-chart .chart-tip { background: var(--night); color: var(--star); white-space: normal; max-width: 260px; text-align: center; }
.ex-table summary { cursor: pointer; font-weight: 650; font-size: var(--t-small); text-decoration: underline; text-underline-offset: 4px; width: max-content; }
.ex-table table { margin-top: 12px; border-collapse: collapse; font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.ex-table th, .ex-table td { padding: 6px 16px 6px 0; text-align: left; border-bottom: 1px solid var(--line-day); }
.ex-note { font-size: var(--t-small); color: var(--ink-2); max-width: 72ch; }
.ex-flag { display: block; margin-top: 4px; font-weight: 650; color: var(--ink); }
@media (max-width: 760px) { .ex-plot .chart-tick text, .ex-xlab, .ex-val { font-size: 28px; } }
@media (max-width: 480px) { .ex-plot .chart-tick text, .ex-xlab, .ex-val { font-size: 36px; } .ex-val--s2 { display: none; } }

/* ---------- the results ledger: one row per past account ---------- */
.ledger { list-style: none; display: grid; gap: 10px; }
.lr {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 6fr) minmax(0, 5fr); gap: 20px clamp(24px, 3vw, 44px);
  align-items: start; padding: clamp(24px, 2.6vw, 36px) clamp(24px, 3.4vw, 48px); background: var(--paper);
}
.lr-who { display: grid; gap: 2px; font-weight: 750; font-size: var(--t-lead); letter-spacing: -0.01em; }
.lr-who span { font-weight: 500; font-size: var(--t-small); color: var(--ink-2); letter-spacing: 0; }
.lr-fig { font-size: clamp(3rem, 5.8vw, 5.25rem); max-width: none; line-height: .86; margin-top: -.04em; white-space: nowrap; }
.lr-what { display: grid; gap: 12px; }
.lr-what h3 { font-size: var(--t-lead); }
.lr .case-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.lr .case-facts div { grid-template-columns: minmax(0, 1fr); gap: 0; align-content: start; }
@media (max-width: 1100px) { .lr .case-facts { grid-template-columns: minmax(0, 1fr); } }
.hb-chart { width: 100%; max-width: 400px; height: auto; overflow: visible; }
.hb-chart text { font-family: var(--font); }
.hb-cat { fill: var(--ink-2); font-size: 13px; }
.hb-val { fill: var(--ink); font-size: 14px; font-weight: 700; }
.hb-before { fill: var(--bar-muted); }
.hb-after { fill: var(--eye-deep); }
.will-grow :is(.hb-before, .hb-after) { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); transition: transform .9s var(--ease-out); }
.will-grow.is-grown :is(.hb-before, .hb-after) { transform: none; }
.will-grow.is-grown .hb-after { transition-delay: .2s; }
.will-grow .hb-val { opacity: 0; transition: opacity .5s ease .7s; }
.will-grow.is-grown .hb-val { opacity: 1; }
@media (max-width: 900px) {
  .lr { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* ---------- who does the work ---------- */
.who-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.who-copy { display: grid; gap: 24px; justify-items: start; }
.who-facts { display: grid; gap: 16px; margin: 0; }
.who-facts div { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); gap: 2px 24px; }
.who-facts dt { font-weight: 700; }
.who-facts dd { margin: 0; }
@media (max-width: 900px) { .who-grid { grid-template-columns: minmax(0, 1fr); } .who-photo { max-width: 460px; } }
@media (max-width: 560px) { .who-facts div { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the index: one lit row per page ---------- */
.index { list-style: none; display: grid; }
.index a {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4px clamp(24px, 5vw, 72px); align-items: baseline;
  padding: 20px 20px; margin-inline: -20px; color: var(--star); text-decoration: none;
  transition: background-color .2s var(--ease-out);
}
.index a:hover, .index a:focus-visible { background: var(--eye-wash); }
.index a:focus-visible { outline-offset: -3px; }
.ix-name { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem); font-weight: 760; font-stretch: var(--wide); letter-spacing: -0.03em; line-height: 1.05; }
.ix-desc { font-size: var(--t-lead); line-height: 1.4; max-width: 46ch; }
@media (max-width: 760px) { .index a { grid-template-columns: minmax(0, 1fr); padding: 16px 12px; margin-inline: -12px; } }

/* ---------- running text is full ink; grey is for captions ---------- */
.ne-list span, .commitments dd, .audit-spec dd, .measure-list dd, .google li span, .steps li > span:last-child,
.pr-desc, .day .pr-desc, .faq-list details p, .timeline p, .case-facts dd, .tier-extras span, .goal-table td:nth-child(2) { color: inherit; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important; animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- touch: every control at least 44px tall ---------- */
@media (pointer: coarse), (max-width: 760px) {
  .footer-cols .footer-links a { min-height: 44px; min-width: 44px; }
  .calc-range { height: 44px; }
  .ex-table summary { min-height: 44px; display: flex; align-items: center; }
  .channel-link { display: inline-flex; min-height: 44px; align-items: center; }
}
