/* ==========================================================================
   SearchWin.ai · AI search growth for B2B and SaaS
   Editorial look: serif headlines, warm earth palette, product UI on landscape
   backgrounds, dashed rules. Lime is our accent and marks what earns revenue.
   ========================================================================== */

/* ---------- 1. Fonts (self-hosted, SIL OFL) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2-variations"),
       url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. Tokens ---------- */
:root {
  --font-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --cream: #F6F4EF;
  --cream-2: #EFEBE2;
  --beige: #E5E0D2;
  --paper: #FFFFFF;
  --chip: #F2EEE6;

  --ink: #1A1813;
  --ink-2: #4B463D;
  --muted: #6E675A;

  --brown: #26180D;
  --brown-2: #33231A;
  --brown-3: #423021;
  --sand: #E3D6C2;
  --sand-2: #BFAF97;

  --lime: #C6F432;
  --lime-2: #B3E01C;
  --lime-tint: #F0F9CF;
  --olive: #717E3B;

  /* Chart pairs, checked for colour-blind contrast: blue = visibility, green = revenue */
  --vis: #3A6FE0;
  --rev: #558E0E;
  --vis-d: #5B8DEF;
  --rev-d: #72A61A;
  --warn: #C2492E;

  --line: rgba(26, 24, 19, .12);
  --line-2: rgba(26, 24, 19, .2);
  --dash: rgba(26, 24, 19, .26);
  --line-d: rgba(227, 214, 194, .16);
  --dash-d: rgba(227, 214, 194, .28);

  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  --shadow-card: 0 1px 1px rgba(26, 24, 19, .04), 0 2px 6px rgba(26, 24, 19, .05), 0 28px 56px -28px rgba(26, 24, 19, .34);
  --shadow-float: 0 2px 4px rgba(26, 24, 19, .06), 0 30px 60px -24px rgba(26, 24, 19, .45);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 72px;
  --section-y: clamp(88px, 10vw, 152px);

  /* Colours that flip on dark bands */
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-muted: var(--muted);
  --rule: var(--dash);
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
svg { fill: currentColor; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
ul, ol { list-style: none; }
strong, b { font-weight: 600; }
mark { background: none; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.band--dark :focus-visible, .band--image :focus-visible { outline-color: var(--lime); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section, .band { position: relative; padding-block: var(--section-y); }
.band { isolation: isolate; }
.band--beige { background: linear-gradient(180deg, var(--cream-2) 0%, var(--beige) 100%); }
.band--dark {
  --fg: var(--sand);
  --fg-2: var(--sand);
  --fg-muted: var(--sand-2);
  --rule: var(--dash-d);
  background: var(--brown);
  color: var(--sand);
}
.band--image {
  --fg: var(--cream);
  --fg-2: rgba(246, 244, 239, .86);
  --fg-muted: rgba(246, 244, 239, .7);
  --rule: rgba(246, 244, 239, .3);
  background: var(--brown);
  color: var(--cream);
  overflow: clip;
}
.band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band--dark .band__bg { opacity: .9; }
.band--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(22, 13, 6, .78) 0%, rgba(22, 13, 6, .52) 48%, rgba(22, 13, 6, .18) 100%);
}

/* ---------- 5. Type ---------- */
.h1, .h2, .layer__title, .mrow__title, .footer__claim, .steps__title, .ptile__name, .seg__name, .form__title, .form__done-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(2.75rem, 1.5rem + 3.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.025em;
}
.h2 {
  font-size: clamp(2.125rem, 1.3rem + 2.4vw, 3.375rem);
  line-height: 1.05;
  letter-spacing: -.022em;
  color: var(--fg);
}
.lead {
  font-size: clamp(1.0625rem, .95rem + .4vw, 1.25rem);
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: .62;
}
.source {
  display: block;
  margin-top: 10px;
  font-size: .8125rem;
  line-height: 1.45;
  color: var(--fg-muted);
}
.source--block { margin-top: 28px; }

.head { display: grid; gap: 18px; }
.head--split {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px clamp(32px, 6vw, 112px);
  padding-top: 28px;
  border-top: 1px dashed var(--rule);
}
.head--split .lead { max-width: 46ch; justify-self: end; }
.head__main { display: grid; gap: 18px; justify-items: start; }
.head__main .h2 { max-width: 20ch; }
.head--center { justify-items: center; text-align: center; max-width: 860px; margin-inline: auto; }
.head--center .h2 { max-width: 22ch; }
.head--center .lead { max-width: 58ch; }

/* ---------- 6. Components ---------- */
.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn--sm { --h: 40px; padding: 0 14px; font-size: .875rem; }
.btn--lg { --h: 56px; padding: 0 24px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--lime);
  border-color: rgba(26, 24, 19, .14);
  color: var(--ink);
  box-shadow: inset 0 -2px 0 rgba(26, 24, 19, .1);
}
.btn--primary:hover { background: var(--lime-2); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: #33302A; }
.btn__icon { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(3px); }

.textlink {
  display: inline-flex;
  align-items: center;
  height: 48px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: var(--line-2);
  transition: text-decoration-color .2s;
}
.textlink:hover { text-decoration-color: currentColor; }

.card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}

.list { display: grid; gap: 10px; }
.list li {
  position: relative;
  padding-left: 26px;
  color: var(--fg-2);
  line-height: 1.5;
}
.list li::before {
  content: "";
  position: absolute;
  left: 0; top: .78em;
  width: 14px;
  border-top: 1px solid currentColor;
  opacity: .55;
}
.list--light li { color: var(--fg-2); }

.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--r-xs);
  background: var(--chip);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
.tag--win { background: var(--lime); }

/* Grey bars stand in for other brands, which stay anonymous */
.skel { display: block; height: 9px; border-radius: 4px; background: #E7E2D8; }
.skel--name { width: 46%; height: 11px; }
.skel--short { width: 34%; }
.skel--line { width: 86%; }
.skel--mid { width: 70%; }

/* Media: product UI on a landscape image */
.media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #D8C7AE;
}
.media__bg, .vpanel__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transform-origin: 50% 50%;
}
.media--frame {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: min(620px, calc(100vh - var(--nav-h) - 140px));
  padding: clamp(24px, 3.4vw, 52px);
}

/* Browser frame */
.window {
  width: 100%;
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.window__bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #FBFAF7;
}
.window__bar::after { content: ""; width: 46px; }
.window__dots { display: inline-flex; gap: 6px; }
.window__dots i { width: 10px; height: 10px; border-radius: 50%; background: #E4DED3; }
.window__url {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  height: 28px;
  padding: 0 14px;
  border-radius: var(--r-xs);
  background: var(--chip);
  color: var(--ink-2);
  font-size: .8125rem;
  white-space: nowrap;
  overflow: hidden;
}
.window__url > span { overflow: hidden; text-overflow: ellipsis; }

/* ---------- 7. Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(246, 244, 239, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  transition: box-shadow .3s;
}
.nav.is-scrolled, .nav.is-open { box-shadow: 0 1px 0 var(--line); }
.nav__bar {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: calc(var(--container) + var(--gutter) * 2);
  height: var(--nav-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  text-decoration: none;
}
.logo__mark { width: 30px; height: 30px; flex: none; color: var(--ink); --mark-ink: var(--lime); }
.logo__word {
  font-size: 1.375rem;
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1;
}
.logo__tld, .footer__tld { color: var(--olive); font-weight: 500; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a, .nav__menu a:not(.btn) {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .2s;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta-short { display: none; }
.nav__toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-left: -6px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease-out);
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__menu {
  display: grid;
  gap: 4px;
  padding: 8px var(--gutter) 20px;
  border-top: 1px dashed var(--dash);
}
.nav__menu[hidden] { display: none; }
.nav__menu a:not(.btn) { padding: 12px 0; font-size: 1.0625rem; border-bottom: 1px dashed var(--line); }
.nav__menu .btn { margin-top: 12px; }

/* ---------- 8. Hero ---------- */
.hero { padding: calc(var(--nav-h) + clamp(28px, 4vw, 64px)) 0 clamp(72px, 8vw, 120px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6.4fr);
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
}
.hero__copy { display: grid; gap: 26px; justify-items: start; }
.hero__title { max-width: 15ch; }
.hero__lead { max-width: 44ch; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 4px; }
.hero__note {
  padding-top: 18px;
  border-top: 1px dashed var(--dash);
  font-size: .9375rem;
  color: var(--muted);
}
.hero__visual {
  display: grid;
  place-items: center;
  min-height: clamp(560px, 46vw, 680px);
  padding: 84px clamp(20px, 3vw, 48px) 92px;
}
.chat { position: relative; z-index: 1; max-width: 540px; }
.chat__platform-icon { width: 15px; height: 15px; flex: none; color: var(--ink); }
.chat__body {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 336px;
  padding: 20px 18px 18px;
}
.chat__user {
  justify-self: end;
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  background: var(--chip);
  font-size: .9375rem;
  line-height: 1.45;
}
.chat__user p { min-height: 1.45em; }
.chat__user p.is-typing::after {
  content: "";
  display: inline-block;
  width: 1.5px; height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--ink);
  animation: caret .9s steps(2, start) infinite;
}
@keyframes caret { to { visibility: hidden; } }
.chat__ai { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.chat__avatar {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
}
.chat__avatar svg { width: 14px; height: 14px; }
.chat__answer { display: grid; gap: 10px; font-size: .9375rem; line-height: 1.45; }
.chat__thinking { display: none; gap: 5px; padding: 8px 0; }
.chat__thinking span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: think 1.1s var(--ease-in-out) infinite;
}
.chat__thinking span:nth-child(2) { animation-delay: .15s; }
.chat__thinking span:nth-child(3) { animation-delay: .3s; }
@keyframes think { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.chat.is-thinking .chat__thinking { display: flex; }
.chat__intro { min-height: 1.45em; }
.chat__list { display: grid; gap: 8px; }
.chat__item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), filter .6s var(--ease-out), background-color .5s, border-color .5s;
}
.chat__rank {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: var(--r-xs);
  background: var(--chip);
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
}
.chat__item-body { display: grid; gap: 3px; padding-top: 1px; min-width: 0; }
.chat__item-body .skel { margin-top: 5px; }
.chat__brand { font-weight: 650; }
.chat__why { color: var(--ink-2); }
.chat__src {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 2px 7px;
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  font-size: .75rem;
  color: var(--ink-2);
}
.chat__src svg { width: 11px; height: 11px; }
.chat__item--you { border-color: rgba(85, 142, 14, .38); background: var(--lime-tint); }
.chat__item--you .chat__rank { background: var(--lime); }
.chat__item.is-pending { opacity: .3; filter: blur(4px); transform: translateY(6px); }
.chat__item--you.is-dim { background: var(--paper); border-color: var(--line); }
.chat__item--you.is-dim .chat__rank { background: var(--chip); }

.toast {
  position: absolute;
  left: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 26px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 330px;
  padding: 10px 16px 10px 10px;
  border-radius: var(--r-md);
  background: var(--brown);
  color: var(--sand);
  box-shadow: var(--shadow-float);
}
.toast__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: var(--lime);
  color: var(--ink);
}
.toast__icon svg { width: 20px; height: 20px; }
.toast__text { display: grid; gap: 1px; font-size: .8125rem; line-height: 1.3; color: var(--sand-2); }
.toast__text strong { font-size: .9375rem; color: var(--cream); }
.meter {
  position: absolute;
  right: clamp(14px, 2vw, 28px);
  top: clamp(14px, 2vw, 24px);
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--shadow-float);
}
.meter__label { font-size: .75rem; color: var(--muted); }
.meter__value {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 450;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-variant-numeric: lining-nums tabular-nums;
}

/* ---------- 9. The prompt: cloud of buyer questions ---------- */
.cloud { overflow: clip; }
.cloud__rows {
  display: grid;
  gap: 12px;
  margin-top: clamp(48px, 6vw, 80px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cloud__row {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}
.q {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 20px 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(26, 24, 19, .05);
}
.q__icon {
  width: 34px; height: 34px;
  padding: 8px;
  border-radius: var(--r-sm);
  background: var(--chip);
  color: var(--ink);
  flex: none;
}
.q--hot { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.q--hot .q__icon { background: var(--lime); color: var(--ink); }
.cloud__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 32px;
  border-top: 1px dashed var(--dash);
}
.cloud__legend {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: var(--muted);
}
.q-key { width: 16px; height: 16px; border-radius: 4px; background: var(--brown); box-shadow: inset 0 0 0 4px var(--brown), inset 0 0 0 16px var(--lime); }

/* Stats */
.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(3.25rem, 2rem + 4vw, 5.5rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.03em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--fg);
}
.stat__text { margin-top: 14px; max-width: 32ch; color: var(--fg-2); }
.stat--inline { display: flex; align-items: flex-end; gap: 28px; max-width: 720px; }
.stat--inline .stat__text { margin-top: 0; padding-bottom: 6px; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(64px, 8vw, 120px);
  border-top: 1px dashed var(--rule);
}
.stats .stat { padding: 32px 32px 0 0; }
.stats .stat + .stat { padding-left: 32px; border-left: 1px dashed var(--rule); }

/* ---------- 10. Scrollytelling: sticky visual + steps ---------- */
.scrolly {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  grid-template-areas: "steps visual";
  gap: clamp(32px, 5vw, 88px);
  margin-top: clamp(40px, 5vw, 72px);
}
.scrolly--reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "visual steps"; }
.scrolly__visual {
  grid-area: visual;
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  align-self: start;
  display: grid;
  gap: 16px;
}
.scrolly__steps { grid-area: steps; }
.step { display: flex; align-items: center; min-height: 74vh; }
.step:first-child { min-height: 54vh; align-items: flex-start; padding-top: 10vh; }
.step:last-child { min-height: 64vh; }
.step p {
  max-width: 21ch;
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 1rem + 1.6vw, 2.375rem);
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--fg);
  opacity: .32;
  transition: opacity .5s var(--ease-out);
}
.step p strong { font-weight: 500; }
.step.is-active p { opacity: 1; }

/* ---------- 11. The shortlist ---------- */
.sl { position: relative; display: grid; width: min(100%, 440px); }
.sl__serp, .sl__answer {
  grid-area: 1 / 1;
  padding: 18px;
  transition: opacity .7s var(--ease-out), transform .8s var(--ease-out), filter .7s;
}
.sl__search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-size: .9375rem;
}
.sl__search svg { width: 17px; height: 17px; color: var(--muted); }
.sl__results { display: grid; gap: 14px; margin-top: 18px; }
.sl__results li {
  display: grid;
  gap: 6px;
  transform-origin: 50% 0;
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.sl__results i, .sl__results b, .sl__results s { display: block; height: 7px; border-radius: 4px; }
.sl__results i { width: 28%; background: #E9E4DA; }
.sl__results b { width: 62%; height: 10px; background: rgba(58, 111, 224, .5); }
.sl__results s { width: 88%; background: #EFEBE3; }
.sl__answer { align-self: center; opacity: 0; transform: translateY(28px) scale(.96); }
.sl__answer-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--muted);
}
.sl__answer-head svg { width: 15px; height: 15px; color: var(--rev); }
.sl__answer-text { margin: 10px 0 14px; font-size: 1.0625rem; line-height: 1.4; }
.sl__picks { display: grid; gap: 8px; }
.sl__pick {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: background-color .6s, border-color .6s, transform .6s var(--ease-out);
}
.sl__rank {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: var(--r-xs);
  background: var(--chip);
  font-family: var(--font-mono);
  font-size: .8125rem;
}
.sl__name { justify-self: start; font-weight: 650; font-size: 1.0625rem; border-radius: 4px; transition: color .5s, background-color .5s; }
.sl__tag {
  padding: 4px 8px;
  border-radius: var(--r-xs);
  background: var(--lime);
  font-size: .75rem;
  font-weight: 600;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .4s .25s, transform .5s .25s var(--ease-out);
}
.sl__sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .75rem;
  color: var(--muted);
}
.sl__sources span { padding: 2px 7px; border-radius: var(--r-xs); background: var(--chip); color: var(--ink-2); }
.sl__count {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--fg-muted);
}
.sl__count svg { width: 14px; height: 14px; opacity: .5; }
.sl__count span { padding: 5px 10px; border: 1px dashed transparent; border-radius: var(--r-xs); transition: background-color .4s, color .4s, border-color .4s; }
.scrolly__visual[data-state="1"] [data-c="1"] { border-color: var(--rule); color: var(--fg); }
.scrolly__visual[data-state="2"] [data-c="2"] { border-color: var(--rule); color: var(--fg); }
.scrolly__visual[data-state="3"] [data-c="3"] { background: var(--lime); color: var(--ink); }
/* State 2+: the links collapse into one answer */
.sl:not([data-state="1"]) .sl__serp { opacity: 0; transform: scale(.94); filter: blur(4px); }
.sl:not([data-state="1"]) .sl__results li { opacity: 0; transform: scaleY(.2); }
.sl:not([data-state="1"]) .sl__answer { opacity: 1; transform: none; }
.sl[data-state="2"] .sl__pick--you .sl__name { color: transparent; background: #E7E2D8; }
/* State 3: your brand takes the top spot */
.sl[data-state="3"] .sl__pick--you { border-color: rgba(85, 142, 14, .4); background: var(--lime-tint); transform: scale(1.025); }
.sl[data-state="3"] .sl__pick--you .sl__rank { background: var(--lime); }
.sl[data-state="3"] .sl__tag { opacity: 1; transform: none; }

/* ---------- 12. Platforms ---------- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(40px, 5vw, 72px);
}
.ptile {
  display: grid;
  align-content: space-between;
  gap: 36px;
  min-height: 224px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: border-color .3s, box-shadow .4s var(--ease-out);
}
.ptile:hover { border-color: var(--line-2); box-shadow: 0 24px 40px -30px rgba(26, 24, 19, .4); }
.ptile--xl {
  grid-column: span 2;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: end;
  align-items: end;
  gap: 28px;
  min-height: 300px;
  padding: 32px;
  border-color: transparent;
  background: linear-gradient(160deg, #F1EDE3 0%, var(--beige) 100%);
}
.ptile__logo { width: 56px; height: 56px; transition: transform .5s var(--ease-out); }
.ptile__logo--ink { color: var(--ink); }
.ptile--xl .ptile__logo {
  width: clamp(104px, 9vw, 136px);
  height: clamp(104px, 9vw, 136px);
  padding: clamp(18px, 1.6vw, 24px);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}
.ptile:hover .ptile__logo { transform: translateY(-3px); }
.ptile__name { font-size: clamp(1.375rem, 1.1rem + .6vw, 1.75rem); line-height: 1.1; letter-spacing: -.015em; }
.ptile--xl .ptile__name { font-size: clamp(2rem, 1.3rem + 1.8vw, 3rem); letter-spacing: -.022em; }
.ptile__note { margin-top: 8px; font-size: .9375rem; line-height: 1.45; color: var(--muted); }
.ptile:not(.ptile--xl) .ptile__note { min-height: 2.9em; }
.ptile--next { background: transparent; border: 1px dashed var(--dash); }
.ptile__plus {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border: 1px dashed var(--dash);
  border-radius: var(--r-md);
}
.ptile__plus svg { width: 22px; height: 22px; }

/* ---------- 13. The visit: 100 dots ---------- */
.visit .lead .source { margin-top: 12px; }
.dots-scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 24px;
  width: min(100%, 600px);
  margin: 0;
  padding: clamp(18px, 2.4vw, 28px);
}
.dots-readout { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 16px; }
.dots-readout__num {
  min-width: 2.1ch;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 2rem + 2.6vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: lining-nums tabular-nums;
}
.dots-readout__label { max-width: 28ch; color: var(--ink-2); line-height: 1.35; }
.dots { grid-column: 1; grid-row: 2 / span 2; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: clamp(5px, .7vw, 8px); align-self: start; }
.d {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--vis);
  transition: background-color .6s var(--ease-out), box-shadow .6s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.d.is-left { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(26, 24, 19, .22); transform: scale(.62); }
.d.is-demo { background: var(--rev); box-shadow: 0 0 0 2px var(--paper), 0 0 0 5px var(--lime); transform: scale(1.06); }
.dots-legend { grid-column: 2; grid-row: 2; display: grid; gap: 7px; font-size: .875rem; color: var(--ink-2); }
.dots-legend li { display: inline-flex; align-items: center; gap: 9px; }
.dot-key { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot-key--visit { background: var(--vis); }
.dot-key--left { box-shadow: inset 0 0 0 1.5px rgba(26, 24, 19, .35); }
.dot-key--demo { background: var(--rev); box-shadow: 0 0 0 2px var(--lime); }
.leaks { grid-column: 2; grid-row: 3; display: grid; gap: 6px; align-self: end; }
.leak {
  display: grid;
  min-height: 40px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-sm);
  font-size: .8125rem;
  line-height: 1.3;
  opacity: .4;
  transition: opacity .5s, background-color .5s, border-color .5s;
}
.leak > span {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  transition: opacity .45s var(--ease-out), transform .5s var(--ease-out);
}
.leak__bad::before, .leak__good::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  border-radius: 4px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px;
}
.leak__bad::before {
  background-color: #F6DDD5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7 7 17' stroke='%23C2492E' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}
.leak__good::before {
  background-color: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8' fill='none' stroke='%231A1813' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.leak__good { opacity: 0; transform: translateY(8px); }
.dots-scene:is([data-state="2"], [data-state="3"]) .leak { opacity: 1; }
.dots-scene[data-state="4"] .leak { opacity: 1; border-style: solid; border-color: rgba(85, 142, 14, .3); background: var(--lime-tint); }
.dots-scene[data-state="4"] .leak__bad { opacity: 0; transform: translateY(-8px); }
.dots-scene[data-state="4"] .leak__good { opacity: 1; transform: none; }
.dots-note { grid-column: 1 / -1; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: .75rem; color: var(--muted); }

/* ---------- 14. How it works: 3 + 1 stack ---------- */
.stack { display: grid; gap: 20px; margin-top: clamp(40px, 5vw, 72px); }
.layer {
  --i: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(16px, 1.6vw, 20px) clamp(16px, 1.6vw, 20px) clamp(16px, 1.6vw, 20px) clamp(24px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--cream);
  box-shadow: 0 -16px 40px -30px rgba(26, 24, 19, .35);
  transform-origin: 50% 0;
}
.layer:nth-child(2) { --i: 1; }
.layer:nth-child(3) { --i: 2; }
.layer:nth-child(4) { --i: 3; }
.layer__copy { display: grid; align-content: center; gap: 18px; justify-items: start; padding-block: clamp(12px, 2vw, 28px); }
.layer__title { font-size: clamp(2.25rem, 1.4rem + 2.4vw, 3.5rem); line-height: 1; letter-spacing: -.025em; }
.layer__lede { max-width: 32ch; font-size: clamp(1.125rem, 1rem + .3vw, 1.25rem); line-height: 1.45; color: var(--ink); }
.layer .list { margin-top: 4px; font-size: 1rem; }
.layer__art { display: grid; place-items: center; min-height: 380px; padding: 28px; }
.layer--dark {
  --fg: var(--sand);
  --fg-2: var(--sand);
  border-color: transparent;
  background: var(--brown);
  color: var(--sand);
}
.layer--dark .layer__lede { color: var(--cream); }
.layer--dark .eyebrow { color: var(--lime); opacity: 1; }

/* Entity graph */
.graph {
  --rx: 168px;
  --ry: 116px;
  position: relative;
  display: grid;
  place-items: center;
  width: calc(var(--rx) * 2 + 40px);
  height: calc(var(--ry) * 2 + 64px);
}
.graph::before, .graph::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  border: 1px dashed rgba(26, 24, 19, .3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.graph::before { width: calc(var(--rx) * 2); height: calc(var(--ry) * 2); }
.graph::after { width: calc(var(--rx) * 1.2); height: calc(var(--ry) * 1.2); }
.graph__core, .sources__core, .kg__core {
  position: relative;
  z-index: 1;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 0 0 6px rgba(198, 244, 50, .55);
}
.graph__node {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 1;
  padding: 6px 10px;
  border-radius: var(--r-xs);
  background: var(--paper);
  font-size: .75rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
  transform: translate(-50%, -50%) translate(calc(cos(var(--a)) * var(--rx)), calc(sin(var(--a)) * var(--ry)));
}

/* Citation */
.cite { width: min(92%, 400px); padding: 20px; font-size: .9375rem; }
.cite__q {
  width: fit-content;
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 12px 12px 4px 12px;
  background: var(--chip);
  font-size: .875rem;
}
.cite__a { margin-top: 14px; line-height: 1.5; }
/* The brand highlighted inside an AI answer; the script sweeps --hl from 0 to 100% */
.cite__a mark, .vcard__a mark, .thread__a mark {
  padding: 0 4px;
  border-radius: 4px;
  background: linear-gradient(var(--lime), var(--lime)) 0 0 / var(--hl, 100%) 100% no-repeat;
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.cite__a sup, .vcard__a sup {
  display: inline-grid;
  place-items: center;
  width: 16px; height: 16px;
  margin-left: 2px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: .625rem;
  line-height: 1;
  vertical-align: 3px;
}
.cite__src { display: grid; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.cite__src li { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--ink-2); }
.cite__src span {
  display: grid;
  place-items: center;
  width: 16px; height: 16px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: .625rem;
}

/* Sources around the brand */
.sources { position: relative; display: grid; place-items: center; width: 100%; height: 340px; }
.sources::before {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  border: 1px dashed rgba(26, 24, 19, .32);
  border-radius: 50%;
}
.sources__chip {
  position: absolute;
  left: calc(50% + var(--x));
  top: calc(50% + var(--y));
  display: grid;
  gap: 1px;
  padding: 7px 11px;
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
  transform: translate(-50%, -50%);
}
.sources__chip b { font-size: .75rem; font-weight: 400; color: var(--muted); }

/* Booking widget */
.booking { width: min(92%, 360px); padding: 20px; }
.booking__head { font-weight: 650; }
.booking__days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 14px; }
.booking__days span, .booking__slots span {
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 7px 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: .6875rem;
  color: var(--muted);
}
.booking__days b { font-size: 1rem; color: var(--ink); }
.booking__slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.booking__slots span { font-size: .75rem; color: var(--ink); }
.booking .is-on { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.booking .is-on b { color: var(--lime); }
.booking__done {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--lime-tint);
  font-size: .875rem;
  font-weight: 600;
}
.booking__done svg { width: 17px; height: 17px; color: var(--rev); }
.booking__cr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  font-size: .8125rem;
  color: var(--muted);
}
.booking__cr strong { display: inline-flex; align-items: center; gap: 6px; font-size: 1rem; color: var(--ink); }
.booking__cr svg { width: 14px; height: 14px; color: var(--rev); }

/* ---------- 15. The deal: report switch + comparison ---------- */
.report { display: grid; justify-items: center; gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.report__switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border: 1px dashed var(--dash-d);
  border-radius: var(--r-md);
}
.report__btn {
  position: relative;
  z-index: 1;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--sand-2);
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color .35s;
}
.report__btn[aria-pressed="true"] { color: var(--ink); }
.report__thumb {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  border-radius: var(--r-sm);
  background: var(--sand);
  transition: transform .55s var(--ease-out), background-color .4s;
}
.report[data-view="ours"] .report__thumb { transform: translateX(100%); background: var(--lime); }
.media--report { width: 100%; max-width: 1060px; padding: clamp(18px, 4vw, 56px); }
.report__frame { max-width: 900px; margin-inline: auto; }
.report__view { display: grid; gap: 14px; padding: clamp(16px, 2.4vw, 28px); }
.report__view[hidden] { display: none; }
.report__view.is-entering { animation: viewIn .6s var(--ease-out); }
@keyframes viewIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpis--missing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); }
.kpi__label { font-size: .8125rem; color: var(--muted); }
.kpi__value {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.375rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-variant-numeric: lining-nums tabular-nums;
}
.kpi__delta { font-size: .75rem; color: var(--muted); }
.kpi--na { border-style: dashed; border-color: var(--dash); background: #FBFAF7; }
.kpi--na .kpi__value { font-family: var(--font-sans); font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.report__vis { font-size: .8125rem; color: var(--muted); }
.report__note { font-size: .8125rem; color: var(--sand-2); }
.bars { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); }
.bars__title { margin-bottom: 4px; font-size: .875rem; font-weight: 600; }
.bars__row { display: grid; grid-template-columns: 124px minmax(0, 1fr) 60px; align-items: center; gap: 12px; font-size: .875rem; }
.bars__name { display: inline-flex; align-items: center; gap: 8px; }
.bars__name svg { width: 16px; height: 16px; }
.bars__track { height: 14px; }
.bars__fill {
  display: block;
  width: calc(var(--v) * 100%);
  height: 100%;
  border-radius: 0 3px 3px 0;
  background: var(--rev);
  transform-origin: 0 50%;
}
.bars__val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.report__view.is-entering .bars__fill { animation: grow 1.1s .15s var(--ease-out) both; }
@keyframes grow { from { transform: scaleX(0); } }

.versus { width: 100%; max-width: 1060px; margin: clamp(56px, 7vw, 96px) auto 0; border-top: 1px dashed var(--dash-d); }
.versus__row {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--dash-d);
}
.versus__row > span:first-child { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; color: var(--sand-2); padding-top: 3px; }
.versus__row > span:nth-child(2) { color: var(--sand-2); }
.versus__row > span:nth-child(3) { font-weight: 600; color: var(--cream); }
.versus__row--head > span { font-family: var(--font-mono); font-size: .8125rem !important; font-weight: 500 !important; letter-spacing: .06em; text-transform: uppercase; }
.versus__row--head > span:nth-child(3) { color: var(--lime); }

/* ---------- 16. Methodology: six practices + sticky viewer ---------- */
.method__head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .75fr);
  align-items: end;
  gap: 32px clamp(32px, 6vw, 112px);
  padding-top: 28px;
  border-top: 1px dashed var(--dash);
}
.method__head .h2 { max-width: 16ch; }
.method__head .lead { max-width: 44ch; }
.method__stat {
  display: grid;
  gap: 14px;
  padding: 26px 26px 24px;
  border-radius: var(--r-lg);
  background: var(--brown);
  color: var(--sand);
}
.method__num {
  display: flex;
  align-items: flex-start;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 3rem + 3vw, 6rem);
  line-height: .9;
  letter-spacing: -.035em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--lime);
}
.method__pct { margin-left: .04em; font-size: .5em; line-height: 1.2; }
.method__stat-text { font-size: .9375rem; line-height: 1.5; color: var(--sand); }

.method__body {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 88px);
  margin-top: clamp(48px, 6vw, 88px);
}
.method__list { counter-reset: none; }
.mrow {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 22px;
  padding: 36px 0;
  align-items: start;
  border-top: 1px dashed var(--dash);
  transition: opacity .5s var(--ease-out);
}
.mrow:last-child { border-bottom: 1px dashed var(--dash); }
.mrow__num {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px dashed var(--dash);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 500;
  transition: background-color .4s, border-color .4s, color .4s;
}
.mrow__copy { display: grid; align-content: start; gap: 12px; }
.mrow__title { font-size: clamp(1.625rem, 1.2rem + 1vw, 2.125rem); line-height: 1.08; letter-spacing: -.018em; }
.mrow__text { max-width: 54ch; color: var(--ink-2); }
.mrow.is-active .mrow__num { border: 1px solid var(--ink); background: var(--lime); }
/* Dimming only once the script drives the rows */
.method__body.is-live .mrow:not(.is-active) { opacity: .4; }
.method__body.is-live .mrow { min-height: 46vh; }

.method__viewer { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.viewer {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: min(660px, calc(100vh - var(--nav-h) - 48px));
  min-height: 520px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--brown);
}
.viewer__top, .viewer__progress { position: relative; z-index: 5; grid-column: 1; }
.viewer__top {
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 0;
}
.viewer__count, .viewer__label {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: .8125rem;
  white-space: nowrap;
}
.viewer__count { gap: 5px; font-family: var(--font-mono); font-weight: 500; color: var(--muted); }
.viewer__count .odo { color: var(--ink); }
.viewer__label { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.viewer__progress {
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin: 0 18px 18px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.viewer__progress i {
  position: relative;
  height: 3px;
  border-radius: 2px;
  background: rgba(26, 24, 19, .14);
  overflow: hidden;
}
.viewer__progress i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--ink);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}
.vpanel {
  grid-row: 1 / -1;
  grid-column: 1;
  position: relative;
  z-index: 0;
  display: grid;
  place-items: center;
  padding: 72px 28px 72px;
  overflow: hidden;
  visibility: hidden;
}
.vpanel.is-active { visibility: visible; z-index: 1; }
.vcard { position: relative; z-index: 1; width: min(100%, 420px); padding: 20px; font-size: .9375rem; }
.vcard__title { font-weight: 650; }
.vcard__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-2);
  font-size: .8125rem;
  color: var(--muted);
}
.vcard__q { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; line-height: 1.4; }
.vcard__q svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.vcard__a { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--chip); line-height: 1.5; }

.funnel { display: grid; gap: 12px; margin-top: 16px; }
.funnel__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; font-size: .875rem; color: var(--ink-2); }
.funnel__row b { font-variant-numeric: tabular-nums; color: var(--ink); }
.funnel__bar { grid-column: 1 / -1; grid-row: 2; height: 10px; border-radius: 3px; background: var(--chip); overflow: hidden; }
.funnel__bar i { display: block; width: calc(var(--v) * 100%); height: 100%; border-radius: 3px; background: var(--vis); transform-origin: 0 50%; }
.funnel__row--win .funnel__bar i { background: var(--rev); }

.kg {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 0;
}
.kg__core { grid-column: 1 / -1; justify-self: center; margin-bottom: 8px; font-size: .9375rem; }
.kg__n {
  justify-self: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: #FBFAF7;
  font-size: .75rem;
  font-weight: 500;
  white-space: nowrap;
}

.cites { display: grid; gap: 6px; margin-top: 14px; }
.cites li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: .875rem;
}
.cites b { font-size: .75rem; font-weight: 600; padding: 2px 7px; border-radius: 4px; background: var(--lime-tint); color: #3C6609; }

.thread { display: grid; gap: 10px; margin-top: 12px; }
.thread__q { font-weight: 600; line-height: 1.4; }
.thread__a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: var(--r-sm); background: var(--chip); line-height: 1.5; }
.thread__votes { display: grid; justify-items: center; align-content: start; gap: 2px; font-size: .75rem; font-weight: 600; color: var(--rev); font-variant-numeric: tabular-nums; }
.thread__votes svg { width: 16px; height: 16px; }

.post { display: flex; align-items: center; gap: 12px; }
.post__avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #C9B79A, #8C6F4E); flex: none; }
.post__name { font-weight: 650; line-height: 1.3; }
.post__meta { font-size: .8125rem; color: var(--muted); }
.post__text { margin-top: 12px; font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; }
.post__checks { display: grid; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.post__checks li { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 500; }
.post__checks svg { width: 16px; height: 16px; padding: 2px; border-radius: 4px; background: var(--lime); color: var(--ink); }

/* Odometer digits */
.odo { display: inline-flex; overflow: hidden; height: 1.2em; line-height: 1.2; }
.odo__d { display: block; height: 1.2em; overflow: hidden; }
.odo__s { display: flex; flex-direction: column; transform: translateY(calc(var(--n, 0) * -1.2em)); transition: transform .7s var(--ease-out); }
.odo__s span { display: block; height: 1.2em; text-align: center; }

/* Mobile copies of the viewer cards, inserted into each row by the script */
.mrow__media { display: none; }

/* ---------- 17. Process ---------- */
.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(40px, 5vw, 72px);
}
.steps { position: relative; display: grid; gap: 44px; padding-left: 52px; }
.steps::before, .steps::after {
  content: "";
  position: absolute;
  left: 13px; top: 10px; bottom: 10px;
  width: 0;
  border-left: 1px dashed var(--dash);
}
.steps::after {
  border-left: 2px solid var(--ink);
  left: 12.5px;
  transform-origin: 50% 0;
  transform: scaleY(var(--progress, 1));
}
.steps__item { position: relative; z-index: 1; display: grid; gap: 8px; }
.steps__item::before {
  content: "";
  position: absolute;
  left: -52px; top: 3px;
  z-index: 1;
  width: 28px; height: 28px;
  border: 1px solid var(--ink);
  border-radius: var(--r-sm);
  background: var(--cream-2);
}
.steps__item:last-child::before { background: var(--lime); }
.steps__when { font-family: var(--font-mono); font-size: .8125rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.steps__title { font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); line-height: 1.1; letter-spacing: -.018em; }
.steps__item > p:last-child { max-width: 48ch; color: var(--ink-2); }

.growth { position: sticky; top: calc(var(--nav-h) + 28px); }
.growth__inner { display: grid; gap: 14px; padding: clamp(18px, 2.6vw, 32px); }
.growth__title { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.15; letter-spacing: -.015em; }
.growth__note { font-size: .8125rem; color: var(--ink-2); }
.mini { margin: 0; padding: 16px 16px 8px; }
.mini__head { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; }
.mini__key { width: 18px; height: 3px; border-radius: 2px; }
.mini__key--vis { background: var(--vis); }
.mini__key--rev { background: var(--rev); }
.mini__svg { width: 100%; height: auto; margin-top: 6px; overflow: visible; }
.mini__grid line { stroke: rgba(26, 24, 19, .1); stroke-width: 1; stroke-dasharray: 3 3; }
.mini__ticks text, .mini__x text { font-family: var(--font-sans); font-size: 10px; fill: var(--muted); }
.mini__ticks text { text-anchor: end; font-variant-numeric: tabular-nums; }
.mini__x text { text-anchor: middle; }
.mini__line { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mini__line--vis { stroke: var(--vis); }
.mini__line--rev { stroke: var(--rev); }
.mini__area--vis { fill: var(--vis); fill-opacity: .1; }
.mini__area--rev { fill: var(--rev); fill-opacity: .1; }
.mini__end { stroke: #fff; stroke-width: 2; }
.mini__end--vis { fill: var(--vis); }
.mini__end--rev { fill: var(--rev); }
.mini__label { font-size: 12px; font-weight: 600; fill: var(--ink); }
.mini__hit { fill: transparent; cursor: crosshair; }
.mini__cross { stroke: rgba(26, 24, 19, .28); stroke-width: 1; pointer-events: none; }
.mini__dot { stroke: #fff; stroke-width: 2; pointer-events: none; }
.chart-tip {
  position: fixed;
  z-index: 70;
  padding: 6px 9px;
  border-radius: var(--r-xs);
  background: var(--ink);
  color: var(--cream);
  font-size: .75rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
}
.chart-tip[hidden] { display: none; }

/* ---------- 18. Results ---------- */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 88px);
  border-top: 1px dashed var(--dash-d);
}
.number { padding: 32px 24px 8px 0; }
.number + .number { padding-left: 24px; border-left: 1px dashed var(--dash-d); }
.number__value {
  font-family: var(--font-serif);
  font-size: clamp(3.25rem, 1.8rem + 3.2vw, 4.75rem);
  line-height: .95;
  letter-spacing: -.03em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--lime);
  white-space: nowrap;
}
.number__value small { margin-left: .12em; font-size: .42em; letter-spacing: 0; color: var(--sand); }
.number__label { max-width: 24ch; margin-top: 14px; color: var(--sand); }
.results__note { margin-top: 28px; font-size: .8125rem; color: var(--sand-2); }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(28px, 4vw, 48px); }
.case {
  display: grid;
  align-content: space-between;
  gap: 28px;
  min-height: 248px;
  padding: 24px;
  border: 1px dashed var(--dash-d);
  border-radius: var(--r-lg);
  background: rgba(51, 35, 26, .72);
}
.case__tag { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--sand-2); }
.case__result { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.2; letter-spacing: -.012em; color: var(--cream); }
.case__kpi { padding-top: 16px; border-top: 1px dashed var(--dash-d); color: var(--sand); }
.case__kpi strong { margin-right: 6px; font-family: var(--font-serif); font-size: 1.75rem; font-weight: 400; letter-spacing: -.02em; color: var(--lime); }

/* ---------- 19. B2B and SaaS ---------- */
.segs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(40px, 5vw, 72px); }
.seg {
  display: grid;
  align-content: space-between;
  gap: 28px;
  min-height: 176px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: border-color .3s;
}
.seg:hover { border-color: var(--line-2); }
.seg__name { font-size: 1.625rem; line-height: 1.1; letter-spacing: -.015em; }
.seg__q { font-size: .9375rem; line-height: 1.45; color: var(--muted); }
.outcomes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px dashed var(--dash);
  border-radius: var(--r-lg);
}
.outcomes__label { font-family: var(--font-mono); font-size: .8125rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.outcomes__list { display: flex; flex-wrap: wrap; gap: 8px; }
.outcomes__list li { padding: 7px 12px; border-radius: var(--r-sm); background: var(--lime); font-size: .9375rem; font-weight: 600; }

/* ---------- 20. FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(40px, 6vw, 96px); }
.faq__head { position: sticky; top: calc(var(--nav-h) + 28px); display: grid; justify-items: start; gap: 22px; padding-top: 28px; border-top: 1px dashed var(--dash); }
.faq__list { border-top: 1px dashed var(--dash); }
.qa { border-bottom: 1px dashed var(--dash); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.05rem + .6vw, 1.625rem);
  line-height: 1.2;
  letter-spacing: -.012em;
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon {
  position: relative;
  flex: none;
  width: 36px; height: 36px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  transition: background-color .3s, border-color .3s;
}
.qa__icon::before, .qa__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 13px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease-out); }
.qa summary:hover .qa__icon { border-color: var(--ink); }
.qa[open] .qa__icon { border-color: var(--ink); background: var(--lime); }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__body { overflow: hidden; }
.qa__body p { max-width: 62ch; padding: 0 60px 26px 0; color: var(--ink-2); }

/* ---------- 21. Final CTA ---------- */
.cta { padding-block: clamp(96px, 11vw, 168px); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(40px, 6vw, 96px); }
.cta__copy { display: grid; justify-items: start; gap: 22px; }
.cta__copy .h2 { max-width: 15ch; color: var(--cream); }
.cta__copy .eyebrow { color: var(--cream); }
.cta__copy .list { margin-top: 6px; }
.form { position: relative; display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); }
.form__title { margin-bottom: 4px; font-size: 1.875rem; line-height: 1.1; letter-spacing: -.018em; }
.field { display: grid; gap: 7px; }
.field label { font-size: .875rem; font-weight: 600; }
.field__opt { margin-left: 6px; font-size: .8125rem; font-weight: 400; color: var(--muted); }
.field input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #FDFCFA;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #9A9385; }
.field input:hover { border-color: rgba(26, 24, 19, .38); }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(198, 244, 50, .6); }
.field__error { display: none; font-size: .8125rem; color: #A63B22; }
.field.is-invalid input { border-color: #B8452A; box-shadow: 0 0 0 4px rgba(194, 73, 46, .14); }
.field.is-invalid .field__error { display: block; }
.form .btn { margin-top: 6px; }
.form__micro { font-size: .8125rem; color: var(--muted); text-align: center; }
.form__done {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 32px;
  border-radius: inherit;
  background: var(--paper);
  text-align: center;
  animation: viewIn .6s var(--ease-out);
}
.form__done[hidden] { display: none; }
.form__done:focus { outline: none; }
.form__done-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: var(--r-md); background: var(--lime); }
.form__done-icon svg { width: 28px; height: 28px; }
.form__done-title { font-size: 2rem; line-height: 1.1; letter-spacing: -.02em; }
.form__done-text { max-width: 34ch; color: var(--ink-2); }

/* ---------- 22. Footer ---------- */
.footer { padding: clamp(72px, 8vw, 120px) 0 28px; overflow: clip; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
.footer__claim { max-width: 17ch; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.875rem); line-height: 1.05; letter-spacing: -.022em; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer__label { margin-bottom: 14px; font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.footer__cols ul { display: grid; gap: 10px; }
.footer__cols a { font-weight: 500; text-decoration: none; }
.footer__cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__word {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .035em;
  margin-top: clamp(56px, 8vw, 112px);
  font-size: clamp(3rem, 13.6vw, 14.5rem);
  font-weight: 650;
  line-height: .9;
  letter-spacing: -.06em;
  white-space: nowrap;
  color: var(--ink);
  user-select: none;
}
.footer__mark { width: .78em; height: .78em; flex: none; margin-top: .06em; color: var(--ink); --mark-ink: var(--lime); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px dashed var(--dash);
  font-size: .875rem;
  color: var(--muted);
}
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--ink); }

/* ---------- 23. Motion start states ---------- */
/* Hidden start states apply only while the script is confirmed to run them */
.anim [data-reveal], .anim [data-hero-in] { opacity: 0; transform: translateY(22px); }
.anim [data-tile] { opacity: 0; transform: translateY(26px); }

/* ---------- 24. Placeholder finder: open the page with ?ph ---------- */
.show-ph [data-ph] { position: relative; outline: 2px dashed #E8590C; outline-offset: 6px; }
.show-ph [data-ph]::before {
  content: "TO REPLACE · " attr(data-ph);
  position: absolute;
  top: -14px; left: 12px;
  z-index: 20;
  max-width: calc(100% - 24px);
  padding: 5px 9px;
  border-radius: 6px;
  background: #E8590C;
  color: #fff;
  font: 600 11px/1.3 var(--font-sans);
}

/* ---------- 25. Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__cta { margin-left: auto; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .segs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
}

@media (max-width: 960px) {
  .hero__grid,
  .head--split,
  .method__head,
  .method__body,
  .process__grid,
  .faq__grid,
  .cta__grid,
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .head--split .lead { justify-self: start; }
  .hero__title { max-width: 13ch; }
  .hero__visual { min-height: 0; padding: 76px 16px 88px; }
  .chat { margin-inline: auto; }

  .scrolly, .scrolly--reverse {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "visual" "steps";
    gap: 0;
  }
  .scrolly__visual { top: calc(var(--nav-h) + 8px); z-index: 1; gap: 10px; padding-bottom: 12px; }
  .media--frame { min-height: 0; padding: 18px; }
  .scrolly__steps { position: relative; z-index: 2; }
  .step, .step:first-child { display: block; min-height: 80vh; padding-top: 0; }
  .step:last-child { min-height: 62vh; }
  .step p {
    max-width: none;
    padding: 18px 20px;
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-float);
    font-size: clamp(1.25rem, 1rem + 1.6vw, 1.5rem);
    color: var(--ink);
    opacity: 1;
  }
  .band--dark .step p { background: var(--brown-2); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line-d), 0 24px 40px -20px rgba(0, 0, 0, .6); }
  .sl { width: min(100%, 400px); }
  .sl__serp, .sl__answer { padding: 14px; }
  .sl__results { gap: 10px; margin-top: 14px; }
  .sl__results li:nth-child(n+7) { display: none; }
  .sl__answer-text { margin: 8px 0 10px; font-size: 1rem; }
  .sl__pick { min-height: 44px; }
  .sl__sources { margin-top: 10px; }
  .dots-scene { grid-template-columns: minmax(0, 1fr); width: min(100%, 360px); gap: 12px; padding: 16px; }
  .dots-readout__num { font-size: 2.5rem; }
  .dots-readout__label { font-size: .9375rem; }
  .dots { grid-row: auto; width: min(100%, 236px); margin-inline: auto; gap: 5px; }
  .leaks, .dots-legend { display: none; }

  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats .stat, .stats .stat + .stat { padding: 24px 0; border-left: 0; border-bottom: 1px dashed var(--rule); }
  .stat--inline { flex-direction: column; align-items: flex-start; gap: 12px; }

  .layer { grid-template-columns: minmax(0, 1fr); padding: 24px 16px 16px; }
  .layer__copy { padding: 0 8px; }
  .layer__art { min-height: 320px; }

  .method__body { margin-top: 32px; }
  .method__viewer { display: none; }
  .method__body.is-live .mrow { min-height: 0; }
  .method__body.is-live .mrow:not(.is-active) { opacity: 1; }
  .mrow { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px 0; }
  .mrow__media {
    display: grid;
    place-items: center;
    min-height: 340px;
    margin-top: 6px;
    padding: 56px 16px 24px;
  }
  .mrow__media .vcard { width: min(100%, 400px); }
  .mrow__tag {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border-radius: var(--r-xs);
    background: rgba(255, 255, 255, .86);
    font-size: .75rem;
    font-weight: 600;
  }

  .growth, .faq__head { position: relative; top: 0; }

  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .number:nth-child(3) { padding-left: 0; border-left: 0; }
  .number:nth-child(n+3) { border-top: 1px dashed var(--dash-d); }
  .cases { grid-template-columns: minmax(0, 1fr); }
  .case { min-height: 0; }

  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .versus__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 16px; }
  .versus__row > span:first-child { grid-column: 1 / -1; }
  .versus__row--head > span:first-child { display: none; }

  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  body { font-size: 1rem; }
  .nav__bar { gap: 12px; }
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
  .logo__word { font-size: 1.25rem; }
  .logo__mark { width: 26px; height: 26px; }
  .hero__copy { gap: 22px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .hero__visual { margin-inline: calc(var(--gutter) * -1 + 8px); padding: 68px 10px 84px; }
  .chat__body { min-height: 0; padding: 16px 12px 14px; }
  .chat__item { padding: 10px; }
  .toast { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .meter { right: 10px; top: 10px; }
  .window__bar::after { display: none; }
  .window__bar { grid-template-columns: auto minmax(0, 1fr); }

  .q { height: 48px; padding: 0 16px 0 8px; gap: 10px; font-size: .9375rem; }
  .q__icon { width: 30px; height: 30px; padding: 7px; }
  .cloud__rows, .cloud__row { gap: 10px; }

  .pgrid { gap: 10px; }
  .ptile { min-height: 176px; padding: 18px; gap: 22px; }
  .ptile__logo { width: 42px; height: 42px; }
  .ptile--xl { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 20px; gap: 20px; }
  .ptile--xl .ptile__logo { width: 84px; height: 84px; padding: 16px; }
  .ptile__note { font-size: .8125rem; }
  .ptile__plus { width: 42px; height: 42px; }

  .graph { --rx: 90px; --ry: 112px; }
  /* Phone: nodes sit on a fixed grid around the core instead of the ellipse */
  .graph__node { padding: 5px 8px; font-size: .6875rem; transform: translate(-50%, -50%) translate(var(--mx), var(--my)); }
  .graph__node:nth-child(2) { --mx: 0px; --my: -124px; }
  .graph__node:nth-child(3) { --mx: 72px; --my: -62px; }
  .graph__node:nth-child(4) { --mx: 72px; --my: 62px; }
  .graph__node:nth-child(5) { --mx: -72px; --my: 62px; }
  .graph__node:nth-child(6) { --mx: 0px; --my: 124px; }
  .layer__art { padding: 16px; }
  .sources { height: 300px; }
  .sources__chip { padding: 6px 9px; font-size: .75rem; }
  .sources__chip:nth-child(n+6) { display: none; }

  .report__switch { width: 100%; }
  .report__btn { padding: 0 8px; font-size: .8125rem; white-space: normal; line-height: 1.2; }
  .media--report { padding: 12px; border-radius: var(--r-md); }
  .kpis--missing { grid-template-columns: minmax(0, 1fr); }
  .kpi { padding: 12px; }
  .bars__row { grid-template-columns: 96px minmax(0, 1fr) 48px; gap: 8px; font-size: .8125rem; }

  .numbers { grid-template-columns: minmax(0, 1fr); }
  .number, .number + .number, .number:nth-child(3) { padding: 24px 0; border-left: 0; }
  .number + .number { border-top: 1px dashed var(--dash-d); }

  .segs { grid-template-columns: minmax(0, 1fr); }
  .seg { min-height: 0; gap: 14px; }
  .qa__body p { padding-right: 0; }
  .footer__bottom { flex-direction: column; }
}

/* Stacked sticky cards only where they fit on screen */
@media (min-width: 961px) and (min-height: 700px) {
  .layer {
    position: sticky;
    top: calc(var(--nav-h) + 16px + var(--i) * 22px);
    min-height: min(560px, calc(100vh - var(--nav-h) - 130px));
  }
}

/* ---------- 26. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .cloud__row { flex-wrap: wrap; justify-content: center; width: auto; padding-inline: var(--gutter); }
  .cloud__rows { -webkit-mask-image: none; mask-image: none; }
  .media__bg, .vpanel__bg { transform: none; }
}

@media (forced-colors: active) {
  .d.is-demo { forced-color-adjust: none; }
  .btn { border: 1px solid ButtonText; }
}
