/* Tokens. Shape rule: controls (inputs, buttons) 10px, panels 16px. One accent. */
:root {
  --bg: #f3f3f1;
  --bg-2: #ebebe8;
  --surface: #fbfbfa;
  --ink: #16171a;
  --ink-2: #3a3c42;
  --muted: #5a5d65;
  --line: #d9d9d4;
  --field-line: #8a8c92;   /* input borders: 3.3:1 on --surface (WCAG 1.4.11) */
  --accent: #c2410c;
  --accent-hover: #a8380a;
  --on-accent: #fff8f3;
  --accent-soft: #f6e3d9;
  --focus: #c2410c;
  --error: #b42318;
  --error-soft: #fbe9e7;
  --shadow: 0 1px 0 rgb(22 23 26 / .04), 0 18px 40px -24px rgb(60 40 20 / .28);
  --r-ctl: 10px;
  --r-panel: 16px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214;
    --bg-2: #16171a;
    --surface: #1a1b1f;
    --ink: #ededeb;
    --ink-2: #cfd0d2;
    --muted: #a3a5ab;
    --line: #2c2e33;
    --field-line: #74777f; /* 3.7:1 on --surface */
    --accent: #fb7b3d;
    --accent-hover: #ff915a;
    --on-accent: #1d0d04;
    --accent-soft: #33200f;
    --focus: #fb7b3d;
    --error: #ff8a80;
    --error-soft: #2e1714;
    --shadow: 0 1px 0 rgb(255 255 255 / .03), 0 18px 40px -24px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.12; font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: var(--r-ctl); z-index: 30; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; white-space: nowrap;
  min-height: 48px; padding: 0 20px;
  border: 0; border-radius: var(--r-ctl);
  background: var(--accent); color: var(--on-accent);
  font: 600 15px/1 var(--font);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-wide { width: 100%; }
.link { color: var(--ink-2); font-weight: 500; text-underline-offset: 3px; }
.link:hover { color: var(--accent); }

/* Nav (z-index scale: nav 20, skip link 30) */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; text-decoration: none; min-width: 0; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand img { flex: none; }
.nav-links { display: none; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-signin { color: var(--ink-2); font-size: 14.5px; font-weight: 500; text-decoration: none; padding: 8px 2px; }
.nav-signin:hover { color: var(--accent); }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-actions { gap: 20px; } }
@media (max-width: 360px) { .brand { font-size: 15px; gap: 8px; } .nav-actions { gap: 10px; } }

/* Hero */
.hero { padding: 40px 0 48px; }
@media (min-width: 960px) { .hero { padding: 64px 0 72px; } }
.hero-grid { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.12fr 1fr; gap: 56px; align-items: start; }
  .hero-copy { padding-top: 24px; }
}
.hero h1 { font-size: clamp(2.1rem, 7.4vw, 3.3rem); letter-spacing: -0.035em; line-height: 1.06; max-width: 15ch; }
@media (min-width: 960px) { .hero h1 { font-size: clamp(2.4rem, 3.6vw, 3.15rem); max-width: 19ch; } }
.def { margin-top: 16px; padding-left: 12px; border-left: 2px solid var(--accent); font-size: 14.5px; color: var(--muted); max-width: 54ch; }
.def b { color: var(--ink-2); font-weight: 600; }
.lede { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 48ch; }

.url-form { margin-top: 28px; display: grid; gap: 8px; max-width: 560px; }
label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
input {
  width: 100%; min-height: 50px; padding: 0 14px;
  border: 1px solid var(--field-line); border-radius: var(--r-ctl);
  background: var(--surface); color: var(--ink);
  font: 16px/1.2 var(--font);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
input::placeholder { color: color-mix(in srgb, var(--muted) 85%, transparent); }
input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent); }
input[aria-invalid="true"] { border-color: var(--error); }
.url-row { display: grid; gap: 10px; }
@media (min-width: 560px) { .url-row { grid-template-columns: 1fr auto; } .url-row .btn { min-height: 50px; } }
.url-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.url-foot .link { font-size: 14.5px; }
.help { font-size: 13.5px; color: var(--muted); }
.error { font-size: 14px; color: var(--error); font-weight: 500; }
.error a { color: inherit; font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Preview panel */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: 22px;
  box-shadow: var(--shadow);
  min-height: 360px;
}
@media (min-width: 768px) { .panel { padding: 28px; } }
.pv-head { display: flex; align-items: center; gap: 14px; }
.pv-logo {
  flex: none; width: 52px; height: 52px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; overflow: hidden;
  font-weight: 700; font-size: 22px;
}
.pv-logo img { width: 100%; height: 100%; object-fit: contain; background: #fafaf9; }
.pv-logo-empty { background: var(--bg-2); border: 1px dashed var(--line); }
.pv-logo-error { background: var(--error-soft); color: var(--error); }
.pv-title { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.pv-sub { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.pv-kicker { margin-top: 24px; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pv-guarantee { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pv-g { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.pv-g-num { font-size: clamp(2.4rem, 7vw, 3.2rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--accent); }
.pv-g-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pv-g-cap { margin-top: 10px; font-size: 14px; color: var(--muted); }
.pv-catalog { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.pv-catalog #pv-total { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.pv-google { margin-top: 12px; font-size: 13.5px; color: var(--muted); padding: 10px 12px; border-radius: var(--r-ctl); background: var(--bg-2); }
.pv-google b { color: var(--ink-2); font-weight: 600; }
.pv-err-msg { margin-top: 20px; color: var(--ink-2); font-size: 15.5px; max-width: 46ch; }
.lanes { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; }
.lanes-empty { margin-top: 22px; }
.lanes li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.lanes li:first-child { border-top: 0; }
.lane-name { font-size: 14.5px; color: var(--ink-2); }
.lane-count { font-family: var(--mono); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lanes-empty .lane-count { color: var(--muted); font-weight: 500; }
.lane-bar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--accent); width: 0; transition: width .9s var(--ease); }
.pv-foot { margin-top: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pv-note { margin-top: 16px; font-size: 13px; color: var(--muted); padding: 10px 12px; border-radius: var(--r-ctl); background: var(--bg-2); }
.pv-state[data-state="result"], .pv-state[data-state="error"] { animation: fade-in .45s var(--ease); }

/* Skeleton */
.skel { background: var(--bg-2); border-radius: 6px; position: relative; overflow: hidden; }
.skel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--surface) 70%, transparent), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.3s infinite;
}
.skel-stack { flex: 1; display: grid; gap: 8px; }
.skel-line { height: 12px; }
.skel-total { height: 56px; width: 50%; margin-top: 24px; border-radius: 10px; }
.pv-state[data-state="loading"] .pv-sub { margin-top: 14px; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* Directory strip (single marquee on the page) */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); padding: 16px 0 10px; overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track, .strip:focus-within .marquee-track, .strip.paused .marquee-track { animation-play-state: paused; }
.marquee-track li { white-space: nowrap; color: var(--muted); font-weight: 500; font-size: 15px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.strip-foot { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.strip-foot .link { font-size: 14px; }
.strip-toggle { font: 500 13px/1 var(--font); color: var(--muted); background: transparent; border: 1px solid var(--field-line); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.strip-toggle:hover { color: var(--ink); border-color: var(--ink-2); }

/* Samples */
.samples { padding: 72px 0 24px; }
.section-lede { margin-top: 12px; color: var(--muted); max-width: 62ch; font-size: 17px; }
.sample-grid {
  margin-top: 28px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%;
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 16px 8px; margin: 28px -16px 0; scroll-padding-inline: 16px; overscroll-behavior-x: contain;
}
@media (min-width: 768px) { .sample-grid { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 28px 0 0; padding: 0; } }
@media (min-width: 1100px) { .sample-grid { grid-template-columns: repeat(3, 1fr); } }
.sample {
  scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel);
  padding: 20px; display: grid; gap: 10px; align-content: start;
  animation: rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms);
}
.sample:first-child { border-color: var(--accent); box-shadow: var(--shadow); }
.sample-dir { font-size: 13px; font-weight: 600; color: var(--accent); }
.sample h3 { font-size: 1.05rem; line-height: 1.3; letter-spacing: -0.01em; }
.sample p { color: var(--muted); font-size: 14.5px; }

/* How it works */
.how { padding: 88px 0; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; }
.step { display: grid; gap: 8px; padding: 24px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step h3 { font-size: 1.5rem; }
.step p { color: var(--muted); max-width: 60ch; }
.step-when { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 600; }
@media (min-width: 860px) {
  .step { grid-template-columns: 1fr 2fr 11rem; gap: 32px; align-items: baseline; padding: 30px 0; }
  .step-when { text-align: right; }
  .step h3 { font-size: 1.75rem; }
}

/* Proof */
.proof { padding: 88px 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.eyebrow { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--muted); }
.proof-h { margin-top: 10px; display: grid; gap: 8px 32px; align-items: end; font-size: clamp(1.6rem, 3vw, 2.4rem); }
@media (min-width: 860px) { .proof-h { grid-template-columns: auto 1fr; } .proof-h-text { padding-bottom: 14px; max-width: 22ch; } }
.big-num { display: block; font-size: clamp(5rem, 22vw, 11rem); font-weight: 700; letter-spacing: -0.06em; line-height: .9; color: var(--accent); font-variant-numeric: tabular-nums; }
.proof-copy { margin-top: 18px; display: grid; gap: 12px; }
.proof-copy p { color: var(--muted); max-width: 62ch; }
.proof-copy .link { color: var(--ink); font-weight: 600; }

.stats { margin: 48px 0 0; display: grid; gap: 0; }
.stat { padding: 16px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.stat dt { color: var(--muted); font-size: 15px; }
.stat dd { margin: 0; font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; white-space: nowrap; }
@media (min-width: 860px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .stat { flex-direction: column-reverse; align-items: flex-start; gap: 4px; }
  .stat dd { font-size: 2.2rem; }
}

.timeline { margin-top: 48px; padding: 24px 20px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); }
@media (min-width: 768px) { .timeline { padding: 28px 28px 24px; } }
.tl-axis { position: relative; height: 22px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.tl-axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.tl-axis span:first-child { transform: none; }
.tl-axis .tl-axis-end { right: 0; left: auto; transform: none; }
.tl-row { position: relative; display: grid; gap: 6px; padding: 10px 0; }
.tl-label { font-size: 14px; color: var(--ink-2); }
.tl-bar { display: block; height: 10px; border-radius: 5px; background: var(--accent); width: var(--w); transform-origin: left; }
.tl-bar-soft { background: color-mix(in srgb, var(--accent) 45%, var(--surface)); }
.tl-bar-hatch { background: repeating-linear-gradient(135deg, var(--accent) 0 6px, color-mix(in srgb, var(--accent) 30%, var(--surface)) 6px 12px); }
.tl-bar-open { width: auto; margin-left: var(--from); background: repeating-linear-gradient(90deg, var(--muted) 0 6px, transparent 6px 11px); height: 3px; margin-top: 3px; margin-bottom: 4px; opacity: .7; }
.timeline.in .tl-bar:not(.tl-bar-open) { animation: grow 1s var(--ease) both; }
.timeline.in .tl-row:nth-child(3) .tl-bar { animation-delay: .08s; }
.timeline.in .tl-row:nth-child(4) .tl-bar { animation-delay: .16s; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.record-wrap { margin-top: 48px; display: grid; gap: 32px; }
@media (min-width: 960px) { .record-wrap { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.record { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px; box-shadow: var(--shadow); }
.record-cap { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.record-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; align-items: baseline; }
.record-row span { color: var(--muted); }
.record-row strong { font-weight: 600; overflow-wrap: anywhere; }
.status { color: var(--accent); }
.record-link code { font-family: var(--mono); font-size: 12.5px; overflow-wrap: anywhere; color: var(--ink-2); }
@media (max-width: 420px) { .record-row { grid-template-columns: 1fr; gap: 2px; } }
.states h3 { font-size: 1.35rem; }
.states dl { margin: 18px 0 0; display: grid; grid-template-columns: 1fr; gap: 4px 20px; }
.states dt { font-weight: 600; margin-top: 12px; }
.states dd { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 640px) { .states dl { grid-template-columns: 190px 1fr; gap: 14px 20px; } .states dt { margin-top: 0; } }

/* FAQ */
.faq { padding: 88px 0; }
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 56px; } .faq-grid h2 { position: sticky; top: 96px; align-self: start; max-width: 14ch; } }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative;
  font-weight: 600; font-size: 17px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }
.faq-list details p .link { color: var(--ink); overflow-wrap: anywhere; }
.faq-list details[open] p { animation: fade-in .35s var(--ease); }

/* Pricing */
.pricing { padding: 24px 0 96px; }
.plan {
  display: grid; gap: 32px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel);
  padding: 24px; box-shadow: var(--shadow);
}
@media (min-width: 900px) { .plan { grid-template-columns: 1.2fr 1fr; gap: 56px; padding: 44px; } }
.plan h2 { max-width: 16ch; }
.price { margin-top: 20px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price > span:first-child { font-size: clamp(3.4rem, 9vw, 4.8rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.price-note { color: var(--muted); font-weight: 500; }
.includes { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .includes { grid-template-columns: 1fr 1fr; gap: 12px 24px; } }
.includes li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 15px; }
.includes li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.refund-line { margin-top: 24px; padding: 12px 14px; border-radius: var(--r-ctl); background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.plan-form { display: grid; gap: 16px; align-content: start; }
@media (min-width: 900px) { .plan-form { padding-left: 40px; border-left: 1px solid var(--line); } }
.field { display: grid; gap: 8px; }
.renew { font-size: 13.5px; color: var(--ink-2); padding: 10px 12px; border-radius: var(--r-ctl); background: var(--accent-soft); }

/* Plan picker (pricing) */
.plans-head { margin-bottom: 20px; max-width: 64ch; }
.plans-head p { margin-top: 8px; }
.ink2 { color: var(--ink-2); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); cursor: pointer; }
.plan-card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; background: var(--accent-soft); }
.plan-card input { position: absolute; top: 18px; right: 18px; width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; accent-color: var(--accent); }
.plan-name { font-weight: 650; }
.plan-price { font-size: 1.6rem; font-weight: 650; }
.plan-price small { font-size: .85rem; font-weight: 500; color: var(--muted); }
.plan-card .includes { margin: 4px 0 0; grid-template-columns: 1fr; }
.addon { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.45; font-weight: 400; cursor: pointer; }
.addon b { font-weight: 650; }
.addon input { flex: none; width: 18px; height: 18px; min-height: 0; padding: 0; margin: 3px 0 0; accent-color: var(--accent); }
.addon input:disabled + span { opacity: .5; }
.consent { padding: 12px; border: 1px solid var(--field-line); border-radius: var(--r-ctl); background: var(--bg); }
.consent:has(input[aria-invalid="true"]) { border-color: var(--error); }
.consent a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0 36px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; min-width: 0; }
.footer nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.footer nav a:hover { color: var(--ink); }
.brand-foot { font-size: 15px; }
.copy { color: var(--muted); font-size: 14px; }

/* Motion: entry and scroll reveal */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.rise { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; gap: 10px 28px; padding: 0 16px; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track li[aria-hidden="true"] { display: none; }
  .strip-toggle { display: none; }
  .skel::after { display: none; }
}

/* Long-form pages: terms, privacy, refunds, the directory list and the sample report */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal p { margin-top: 16px; color: var(--ink-2); max-width: 66ch; }
.legal-meta { margin-top: 12px; font-size: 14px; }
.legal p.legal-meta { color: var(--muted); }
.legal .lead { margin-top: 20px; font-size: 18px; }
.legal h2 { margin-top: 48px; font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.legal h3 { margin-top: 28px; font-size: 1.1rem; }
.legal ul, .legal ol { margin: 14px 0 0; padding-left: 22px; max-width: 66ch; color: var(--ink-2); }
.legal li { margin-top: 8px; }
.legal li::marker { color: var(--accent); }
.legal a { color: var(--ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal a:hover { color: var(--accent); }
.legal .short { margin-top: 32px; max-width: 760px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow); }
.legal .short h2 { margin-top: 0; font-size: 1.1rem; }
.legal .short ul { margin-top: 10px; }
.legal .who { margin-top: 28px; max-width: 760px; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; }
.legal .who h2 { margin-top: 0; font-size: 1.1rem; }
.legal .who p { margin-top: 6px; }
.legal address { margin-top: 6px; font-style: normal; color: var(--ink-2); }
.legal .refund-sentence { font-weight: 500; color: var(--ink); }
.table-wrap { margin-top: 18px; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); }
.legal table, .data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal th, .legal td, .data-table th, .data-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
.legal thead th, .data-table thead th { border-top: 0; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--bg-2); }
.legal td { color: var(--ink-2); }
@media (max-width: 640px) {
  .legal .stack-table thead { display: none; }
  .legal .stack-table tr { display: block; padding: 10px 12px; border-top: 1px solid var(--line); }
  .legal .stack-table tr:first-child { border-top: 0; }
  .legal .stack-table td { display: block; padding: 2px 0; border: 0; }
  .legal .stack-table td:first-child { font-weight: 600; color: var(--ink); }
}

/* Directory list and sample report */
.report-stats { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 900px; }
@media (min-width: 720px) { .report-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.report-stat { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.report-stat b { display: block; font-size: 1.9rem; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.report-stat span { font-size: 13.5px; color: var(--muted); }
.filters { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters input[type="search"] { max-width: 320px; min-height: 44px; }
.chip { font: 500 14px/1 var(--font); color: var(--ink-2); background: var(--surface); border: 1px solid var(--field-line); border-radius: 999px; padding: 10px 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); }
.count-line { margin-top: 14px; font-size: 14px; color: var(--muted); }
.data-table td { color: var(--ink-2); }
.data-table td:first-child { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.data-table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: var(--bg-2); color: var(--ink-2); }
.pill-live { background: var(--accent-soft); color: var(--accent); }
.dir-cols { margin-top: 18px; list-style: none; padding: 0; columns: 1; column-gap: 32px; }
@media (min-width: 640px) { .dir-cols { columns: 2; } }
@media (min-width: 1000px) { .dir-cols { columns: 3; } }
.dir-cols li { break-inside: avoid; display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.dir-cols li span:first-child { color: var(--ink); overflow-wrap: anywhere; min-width: 0; }
.dir-cols li span:last-child { color: var(--muted); font-size: 13px; white-space: nowrap; }
.legal .cta-band { margin-top: 48px; padding: 24px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.legal .cta-band p { margin: 0; color: var(--ink); font-weight: 500; }
.legal .cta-band .btn { color: var(--on-accent); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.select { min-height: 44px; padding: 0 36px 0 12px; border: 1px solid var(--field-line); border-radius: var(--r-ctl); background: var(--surface); color: var(--ink); font: 15px/1.2 var(--font); max-width: 100%; }
.h-count { font-size: .7em; font-weight: 500; color: var(--muted); margin-left: 6px; font-variant-numeric: tabular-nums; }

/* Fixes after the screenshot pass */
.plan-card { font-weight: 400; }
.plan-card .includes li { font-weight: 450; }
.legal .dir-cols { padding-left: 0; max-width: none; }
.legal .dir-cols li { margin-top: 0; }
.data-table td:first-child { overflow-wrap: break-word; }
@media (max-width: 640px) {
  .data-table thead { display: none; }
  .data-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 10px 12px; border-top: 1px solid var(--line); align-items: center; }
  .data-table tbody tr:first-child { border-top: 0; }
  .data-table td { padding: 0; border: 0; }
  .data-table td:nth-child(1) { grid-column: 1 / -1; }
  .data-table td:nth-child(2) { font-size: 13.5px; color: var(--muted); }
  .data-table td:nth-child(4) { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
  .data-table td:nth-child(4)::before { content: "Accepted "; }
  .legal .stack-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink); }
}
