/* ==========================================================================
   The Companion Guide: site.css
   One stylesheet for every page. New pages (e.g. /guides/...) just link it.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #FBFAF6;
  --ink: #14161A;
  --muted: #5A5F66;
  --brand: #0B5D4B;
  --brand-deep: #084537;
  --accent: #FFB800;
  --line: #E4E1D8;
  --paper-2: #F3F1EA;
  --on-dark-muted: #B9BDB8;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 16px;
  --max: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 24px;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--ink); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: 40px; line-height: 44px; }
h2 { font-size: 32px; line-height: 38px; }
h3 { font-size: 20px; line-height: 26px; letter-spacing: -0.01em; }
@media (min-width: 720px) {
  h1 { font-size: 54px; line-height: 58px; }
  h2 { font-size: 40px; line-height: 44px; }
}
@media (min-width: 1100px) {
  h1 { font-size: 64px; line-height: 66px; }
  h2 { font-size: 44px; line-height: 48px; }
}
p { margin: 0; text-wrap: pretty; }
.lead { font-size: 18px; line-height: 28px; color: var(--muted); }

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
@media (hover: hover) and (pointer: fine) {
  a, button, summary, label[for] { cursor: url("/assets/cursor.svg") 6 2, pointer; }
}

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.band--ink :focus-visible, .band--brand :focus-visible { outline-color: var(--accent); }

.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: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 680px; }

/* Placeholder values that still need filling in (see CONFIG). Visible on purpose. */
.ph {
  background: repeating-linear-gradient(-45deg, rgba(255,184,0,.28) 0 6px, rgba(255,184,0,.12) 6px 12px);
  outline: 1px dashed #B98500;
  outline-offset: 1px;
  padding: 0 .2em;
  font-style: normal;
}

/* ---------- Bands + topo / compass-grid motif ---------- */
.band { position: relative; isolation: isolate; padding: 72px 0; }
@media (min-width: 1100px) { .band { padding: 112px 0; } }
.band--ink { background: var(--ink); color: var(--paper); }
.band--brand { background: var(--brand); color: var(--paper); }
.band--soft { background: var(--paper-2); }
.band--ink .lead, .band--brand .lead { color: var(--on-dark-muted); }
.band--brand .lead { color: #CFE3DC; }

.topo::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("/assets/topo.svg");
  background-size: 720px 720px;
  background-position: center top;
  opacity: .12;
}
.band--ink.topo::before, .band--brand.topo::before { background-image: url("/assets/topo-light.svg"); opacity: .12; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  color: var(--brand); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: currentColor; }
.band--ink .eyebrow, .band--brand .eyebrow { color: var(--accent); }

.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head .lead { margin-top: 16px; }
@media (min-width: 1100px) { .section-head { margin-bottom: 56px; } }

/* Waypoint bullets */
.waypoints { list-style: none; margin: 0; padding: 0; }
.waypoints li { position: relative; padding-left: 26px; }
.waypoints li + li { margin-top: 10px; }
.waypoints li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px;
  background: var(--brand); box-shadow: 0 0 0 3px rgba(11,93,75,.14);
}
.band--ink .waypoints li::before, .band--brand .waypoints li::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(255,184,0,.2); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: var(--paper); --cell-bg: var(--paper); --cell-fg: var(--brand);
  display: inline-flex; align-items: center; gap: 16px;
  height: 54px; padding: 0 14px 0 22px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 0; border-radius: 0;
  font: 600 17px/1 var(--sans); letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s var(--ease), transform .08s var(--ease), box-shadow .15s var(--ease);
  box-shadow: 0 2px 0 var(--brand-deep);
}
.btn:hover { background: var(--brand-deep); text-decoration: none; }
.btn:active { transform: translateY(2px); box-shadow: 0 0 0 var(--brand-deep); }
.btn__cell {
  display: grid; place-items: center; width: 28px; height: 28px;
  background: var(--cell-bg); color: var(--cell-fg);
}
.btn__cell svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.btn:hover .btn__cell svg { transform: translateX(2px); }
.btn--inverse { --btn-bg: var(--paper); --btn-fg: var(--ink); --cell-bg: var(--brand); --cell-fg: var(--paper); box-shadow: 0 2px 0 rgba(0,0,0,.35); }
.btn--inverse:hover { background: #fff; }
.btn--block { width: 100%; justify-content: space-between; }
.btn--sm { height: 44px; font-size: 15px; padding: 0 10px 0 16px; gap: 12px; }
.btn--sm .btn__cell { width: 24px; height: 24px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px;
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  font: 600 15px/1 var(--sans); text-decoration: none; border-radius: 0;
}
.btn-ghost:hover { border-color: var(--ink); text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(251,250,246,.92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__word { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
@media (max-width: 380px) { .logo__word { font-size: 18px; } .logo__mark { width: 26px; height: 26px; } }
.logo__needle { transform-origin: 16px 16px; transform-box: view-box; }
@media (prefers-reduced-motion: no-preference) {
  .logo:hover .logo__needle, .logo:focus-visible .logo__needle { animation: needle-settle .9s steps(1, end) both; }
}
@keyframes needle-settle {
  0% { transform: rotate(0deg); }
  12% { transform: rotate(60deg); }
  24% { transform: rotate(130deg); }
  36% { transform: rotate(210deg); }
  48% { transform: rotate(290deg); }
  60% { transform: rotate(380deg); }
  72% { transform: rotate(345deg); }
  84% { transform: rotate(368deg); }
  100% { transform: rotate(360deg); }
}

.nav { display: none; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink); padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left center; transition: transform .25s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
@media (min-width: 900px) { .nav { display: block; } }
.header-actions { display: flex; align-items: center; gap: 24px; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 72px; }
@media (min-width: 1100px) { .hero { padding: 88px 0 112px; } }
.hero__grid { display: grid; gap: 40px; }
@media (min-width: 1100px) { .hero__grid { grid-template-columns: 1.35fr .65fr; gap: 64px; align-items: end; } }
.hero h1 em { font-style: italic; color: var(--brand); background: linear-gradient(transparent 72%, rgba(255,184,0,.55) 72%); padding: 0 .04em; }
.hero .lead { margin-top: 24px; max-width: 620px; }
.hero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__note { font-size: 14px; color: var(--muted); }

.founder-card {
  display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center;
  padding: 18px; background: #fff; border: 1px solid var(--line);
}
.founder-card img { width: 72px; height: 72px; object-fit: cover; border-radius: 0; background: var(--paper-2); }
.founder-card__k { font-family: var(--serif); font-size: 19px; line-height: 24px; }
.founder-card p { font-size: 15px; line-height: 22px; color: var(--muted); margin-top: 4px; }
.founder-card a { color: var(--brand); font-weight: 600; }
.band--ink .founder-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.band--ink .founder-card p { color: var(--on-dark-muted); }
.band--ink .founder-card a { color: var(--accent); }

/* ---------- Answers collage ---------- */
.query {
  display: flex; align-items: center; gap: 12px; max-width: 640px;
  background: #fff; border: 1px solid var(--line); padding: 14px 16px; margin-bottom: 28px;
  font-size: 17px;
}
.query svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.collage { display: grid; gap: 16px; }
@media (min-width: 720px) { .collage { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1100px) {
  .collage { grid-template-columns: repeat(12, 1fr); gap: 24px; }
  .collage .card--google { grid-column: 1 / span 6; }
  .collage .card--chatgpt { grid-column: 7 / span 6; margin-top: 40px; }
  .collage .card--perplexity { grid-column: 2 / span 6; margin-top: -16px; }
  .collage .card--overview { grid-column: 8 / span 5; margin-top: 24px; }
}
.mock {
  background: #fff; border: 1px solid var(--line); padding: 18px 18px 20px;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(20,22,26,.35);
  font-size: 14px; line-height: 21px;
}
.mock__bar { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.mock__dot { width: 10px; height: 10px; flex: none; }
.mock__url { color: #1F6B3A; font-size: 13px; }
.mock__title { color: #1A3D9C; font-size: 18px; line-height: 24px; margin: 2px 0 4px; }
.mock__muted { color: var(--muted); }
.mock mark { background: rgba(255,184,0,.4); color: inherit; padding: 0 2px; }
.mock ol { margin: 10px 0 0; padding-left: 20px; }
.mock ol li + li { margin-top: 4px; }
.mock .src { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.mock .src span { border: 1px solid var(--line); padding: 2px 8px; font-size: 12px; color: var(--muted); }
.mock sup { font-size: 10px; color: var(--brand); font-weight: 700; }
.illustration-note { margin-top: 24px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.illustration-note::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; }

/* ---------- Journey ---------- */
.journey { display: grid; gap: 0; counter-reset: wp; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .journey { grid-template-columns: repeat(3, 1fr); } }
.journey li { position: relative; padding: 28px 0 28px 0; border-top: 1px solid rgba(255,255,255,.18); }
@media (min-width: 900px) { .journey li { padding: 32px 32px 0 0; } }
.journey__marker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.journey__marker span { display: grid; place-items: center; width: 30px; height: 30px; background: var(--accent); color: var(--ink); font-family: var(--serif); font-size: 16px; letter-spacing: 0; }
.journey h3 { font-size: 28px; line-height: 32px; }
.journey p { margin-top: 10px; color: var(--on-dark-muted); max-width: 340px; }
.engines { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-family: var(--serif); font-size: 22px; line-height: 30px; }
.engines__k { font-family: var(--sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; width: 100%; }
@media (min-width: 900px) { .engines__k { width: auto; margin-right: 8px; } }
.engines span[aria-hidden] { color: var(--accent); }

/* ---------- Chart ---------- */
.chart-grid { display: grid; gap: 32px; }
@media (min-width: 1100px) { .chart-grid { grid-template-columns: 1fr 320px; gap: 56px; align-items: center; } }
.chart-frame { background: #fff; border: 1px solid var(--line); padding: 20px 16px 12px; }
.chart-legend { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend i { width: 18px; height: 3px; display: inline-block; }
.chart-legend .k-clicks i { background: var(--brand); }
.chart-legend .k-impr i { background: repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 9px); }
.chart svg { width: 100%; height: auto; }
.chart .gridline { stroke: var(--line); stroke-width: 1; }
.chart .axis-label { fill: var(--muted); font-size: 11px; font-family: var(--sans); }
.chart .line-clicks { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart .line-impr { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 6 5; stroke-linejoin: round; }
.chart .start-line { stroke: var(--accent); stroke-width: 2; }
.chart .start-flag { fill: var(--accent); }
.chart .start-text { fill: var(--ink); font-size: 12px; font-weight: 600; font-family: var(--sans); }
.sample-pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--ink); padding: 3px 8px; }
.stats { display: grid; gap: 16px; }
@media (min-width: 720px) and (max-width: 1099px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { border-top: 2px solid var(--ink); padding-top: 16px; }
.stat__n { font-family: var(--serif); font-size: 56px; line-height: 60px; letter-spacing: -0.03em; margin-top: 10px; }
.stat__l { color: var(--muted); margin-top: 4px; }
.chart-caption { margin-top: 12px; font-size: 13px; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .js .chart .draw { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); }
  .js .chart .draw.line-impr { stroke-dasharray: var(--len) var(--len); }
  .js .chart.is-drawn .draw { transition: stroke-dashoffset 1.8s var(--ease); stroke-dashoffset: 0; }
  .js .chart.is-drawn .draw.line-impr { transition-delay: .25s; }
  .js .chart.is-done .draw.line-impr { stroke-dasharray: 6 5; }
}

/* ---------- Work grid ---------- */
.work-grid { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 720px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-grid li { padding: 28px 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.work-grid svg { width: 32px; height: 32px; color: var(--brand); margin-bottom: 18px; }
.work-grid h3 { margin-bottom: 8px; }
.work-grid p { color: var(--muted); }
.also { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; font-size: 15px; }
.also strong { font-weight: 600; }
.also span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.also span::before { content: ""; width: 7px; height: 7px; background: var(--brand); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 40px; }
@media (min-width: 1100px) { .price-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: start; } }
.price-card { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.03); padding: 28px 22px; }
@media (min-width: 720px) { .price-card { padding: 40px; } }
.price { font-family: var(--serif); font-size: 64px; line-height: 64px; letter-spacing: -0.03em; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
@media (min-width: 720px) { .price { font-size: 84px; line-height: 84px; } }
.price small { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: var(--on-dark-muted); }
.price .ph { color: var(--paper); outline-color: var(--accent); }
.price-terms { margin-top: 14px; color: var(--on-dark-muted); }
.price-terms strong { color: var(--paper); font-weight: 600; }
.price-compare { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 15px; color: var(--on-dark-muted); }
.price-card .btn { margin-top: 28px; }
.limits { width: 100%; border-collapse: collapse; font-size: 16px; }
.limits caption { text-align: left; font-family: var(--serif); font-size: 26px; line-height: 32px; padding-bottom: 16px; }
.limits th, .limits td { text-align: left; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-weight: 400; }
.limits td { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 16px; }
.limits .yes { display: inline-grid; place-items: center; width: 22px; height: 22px; background: var(--accent); color: var(--ink); }
.limits .yes svg { width: 14px; height: 14px; }
.band--ink .ph { color: var(--paper); outline-color: var(--accent); }
.price-founder { margin-top: 28px; }

/* ---------- Start form ---------- */
.start > * { max-width: 920px; }
.start .lead { margin-top: 16px; margin-bottom: 8px; }
.madlib {
  font-family: var(--serif); font-size: 28px; line-height: 46px; letter-spacing: -0.015em;
  margin: 8px 0 0;
}
@media (min-width: 720px) { .madlib { font-size: 36px; line-height: 58px; } }
@media (min-width: 1100px) { .madlib { font-size: 42px; line-height: 66px; } }
.madlib__field { display: inline; }
.madlib textarea, .madlib input {
  font: inherit; letter-spacing: inherit; color: var(--brand);
  background: transparent; border: 0; border-radius: 0;
  border-bottom: 2px solid var(--brand);
  padding: 0 4px; margin: 0 2px;
  vertical-align: baseline;
}
.madlib textarea {
  display: inline-block;
  width: min(100%, 15ch); max-width: 100%; min-width: 8ch;
  resize: none; overflow: hidden;
  field-sizing: content;
  height: auto; line-height: inherit;
  vertical-align: top;
}
.madlib input { width: 11ch; max-width: 100%; field-sizing: content; min-width: 9ch; }
.madlib textarea::placeholder, .madlib input::placeholder { color: rgba(11,93,75,.45); }
.madlib textarea:focus, .madlib input:focus { outline: none; background: rgba(255,184,0,.16); }
.madlib textarea:focus-visible, .madlib input:focus-visible { outline: none; box-shadow: 0 3px 0 var(--accent); }
.madlib [aria-invalid="true"] { border-bottom-color: #B42318; }
.form-error { margin-top: 16px; color: #B42318; font-weight: 600; display: flex; gap: 8px; align-items: flex-start; }
.form-error:empty { display: none; }
.form-error::before { content: "!"; display: inline-grid; place-items: center; width: 20px; height: 20px; background: #B42318; color: #fff; font-size: 13px; flex: none; margin-top: 2px; }
.form-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.form-note { font-size: 14px; color: var(--muted); }
.sent { margin-top: 8px; }
.sent[hidden] { display: none; }
/* Unset contact blocks ship with the hidden attribute so non-JS crawlers never see empty links; site.js un-hides them once CONFIG has values. */
[hidden] { display: none !important; }
.sent h3 { font-size: 32px; line-height: 38px; }
.sent p { margin-top: 10px; color: var(--muted); max-width: 620px; }
.sent__preview { margin-top: 20px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); font-size: 15px; line-height: 23px; white-space: pre-wrap; max-width: 680px; }
.sent__links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.copy-status { font-size: 14px; color: var(--brand); font-weight: 600; min-height: 22px; margin-top: 10px; }
.text-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- How it works ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.timeline li { position: relative; padding: 0 0 36px 52px; }
.timeline li::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; width: 2px; background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 11px); }
.timeline li:last-child::before { display: none; }
@media (min-width: 900px) {
  .timeline li { padding: 56px 0 0 0; }
  .timeline li::before { left: 40px; right: -32px; top: 15px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(to right, var(--line) 0 6px, transparent 6px 11px); }
}
.timeline__n { position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; background: var(--brand); color: var(--paper); font-family: var(--serif); font-size: 17px; }
.timeline__when { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: rgba(255,184,0,.35); padding: 3px 8px; margin-bottom: 12px; }
.timeline p { color: var(--muted); margin-top: 8px; max-width: 360px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-family: var(--serif); font-size: 21px; line-height: 28px; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 24px; height: 24px; background:
    linear-gradient(var(--brand), var(--brand)) center / 12px 2px no-repeat,
    linear-gradient(var(--brand), var(--brand)) center / 2px 12px no-repeat;
  border: 1px solid var(--line); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 24px; color: var(--muted); max-width: 720px; }
.faq .faq__a p + p { margin-top: 12px; }

/* ---------- Final CTA ---------- */
.final { text-align: left; }
.final__inner { display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) { .final__inner { grid-template-columns: 1fr auto; } }
.final h2 { max-width: 760px; }
.final p { margin-top: 14px; color: #CFE3DC; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 56px 0 40px; }
.site-footer .logo { color: var(--paper); }
.footer__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1fr auto; align-items: end; } }
.footer__tag { margin-top: 12px; color: var(--on-dark-muted); max-width: 360px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer__links a { color: var(--paper); }
.footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: var(--on-dark-muted); }

/* ---------- Prose pages (privacy, guides) ---------- */
.prose { padding: 56px 0 96px; }
.prose h1 { margin-bottom: 12px; }
.prose h2 { font-size: 28px; line-height: 34px; margin: 48px 0 12px; }
.prose p, .prose li { color: #2E3238; font-size: 17px; line-height: 28px; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 0; margin: 14px 0 0; }
.prose .meta { color: var(--muted); font-size: 15px; }
.notice { margin-top: 28px; padding: 16px 18px; border-left: 4px solid var(--accent); background: var(--paper-2); font-size: 15px; line-height: 23px; }

/* ---------- 404 ---------- */
.lost { min-height: calc(100vh - var(--header-h) - 220px); display: grid; align-items: center; padding: 80px 0; }
.lost p { margin-top: 16px; }
.lost .btn { margin-top: 32px; }

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-d1 { transition-delay: .08s; }
  .js .reveal-d2 { transition-delay: .16s; }
  .js .reveal-d3 { transition-delay: .24s; }
  .js .mock.reveal { transform: translateY(12px); }
}

/* Mock card identity dots (generic colors, no brand logos) */
.card--google .mock__dot { background: #3E6FD8; }
.card--chatgpt .mock__dot { background: #14161A; border-radius: 50%; }
.card--perplexity .mock__dot { background: #1F7A8C; }
.card--overview .mock__dot { background: linear-gradient(135deg, #3E6FD8, #0B5D4B 60%, #FFB800); }
.price-grid > *, .chart-grid > *, .hero__grid > * { min-width: 0; }
.ph { overflow-wrap: anywhere; }
@media (max-width: 479px) {
  .site-header .wrap { gap: 10px; }
  .site-header .logo { gap: 8px; min-width: 0; }
  .site-header .logo__word { font-size: 17px; }
  .site-header .logo__mark { width: 24px; height: 24px; }
  .site-header .btn--sm { padding: 0 12px; font-size: 14px; height: 40px; }
  .site-header .btn--sm .btn__cell { display: none; }
}
.price > .ph { font-size: .5em; line-height: 1.2; }
.form-alt { margin-top: 18px; }
