/* Practice visibility report site styles.
   Built from the premium-website-design-system starter, then a site layer, then a compatibility layer for pages not yet redesigned. */
@font-face {
  font-family: "Inter var";
  src: url("/fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* ---------- 1. Tokens ---------- */
:root {
  /* Type. One family is enough; a variable font with an optical-size axis (Inter 4, Geist, Instrument Sans) covers text and display. */
  --font-sans: "Inter var", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Type scale: hand-tuned steps no closer than about 12 percent apart. Fluid only at the top end. */
  --text-xs: 0.8125rem;   /* 13 captions, legal */
  --text-sm: 0.875rem;    /* 14 UI labels, table cells */
  --text-base: 1rem;      /* 16 dense body, cards */
  --text-md: 1.125rem;    /* 18 long-form body, lead on mobile */
  --text-lg: 1.25rem;     /* 20 lead, h4 */
  --text-xl: 1.5rem;      /* 24 h3 */
  --text-2xl: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);   /* 28 to 40 h2 */
  --text-display: clamp(2.375rem, 1.45rem + 3.9vw, 4rem); /* 38 to 64 h1 */

  --leading-display: 1.04;
  --leading-heading: 1.15;
  --leading-snug: 1.35;
  --leading-body: 1.6;
  --tracking-display: -0.035em;
  --tracking-heading: -0.022em;
  --tracking-tight: -0.011em;
  --tracking-eyebrow: 0.04em;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  /* Space: 4px base, steps grow so neighbours differ by at least ~25 percent (Refactoring UI). */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;
  --section-y: clamp(72px, 4rem + 4vw, 128px);  /* vertical padding of a page section, each side */
  --container: 1200px;                           /* content width; 1120 to 1280 is the common range */
  --gutter: clamp(20px, 4vw, 40px);              /* side padding of the container */
  --measure: 66ch;                               /* max line length for running text (Baymard: 50 to 75 chars) */

  /* Color: warm or cool neutrals do 90 percent of the work, one accent does the rest. */
  --gray-0: #ffffff;
  --gray-25: #fbfaf8;
  --gray-50: #f6f5f2;
  --gray-100: #eceae5;
  --gray-200: #dedbd4;
  --gray-300: #c5c1b8;
  --gray-500: #7a766d;
  --gray-600: #5d5a53;   /* lowest gray allowed for body text on white (about 6.9:1) */
  --gray-700: #43413c;
  --gray-900: #1a1917;
  --gray-950: #0f0f0e;

  --accent: #0b5d6b;        /* the only saturated color on the page; buttons, links, key data */
  --accent-hover: #084852;
  --accent-soft: #e6f0f1;   /* tinted surfaces and selected states */
  --accent-ink: #ffffff;    /* text on the accent */

  --bg: var(--gray-25);
  --surface: var(--gray-0);
  --surface-muted: var(--gray-50);
  --ink: var(--gray-950);
  --ink-2: var(--gray-700);
  --ink-3: var(--gray-600);
  --line: var(--gray-200);
  --line-soft: var(--gray-100);

  /* Status colors are for status only, never decoration. */
  --warn-bg: #fff6dc; --warn-line: #d9a514; --warn-ink: #5c4300;
  --ok: #1f7a4d; --bad: #b42318;

  --radius-sm: 6px;   /* inputs, small buttons, badges */
  --radius-md: 10px;  /* buttons, small cards */
  --radius-lg: 16px;  /* cards, media frames */
  --radius-pill: 999px;

  /* Shadows: two layers, low alpha, tinted with the ink color. Use them on floating things only. */
  --shadow-xs: 0 1px 2px rgba(15, 15, 14, 0.06);
  --shadow-sm: 0 1px 2px rgba(15, 15, 14, 0.05), 0 2px 6px -1px rgba(15, 15, 14, 0.06);
  --shadow-md: 0 1px 2px rgba(15, 15, 14, 0.05), 0 12px 32px -12px rgba(15, 15, 14, 0.18);
  --shadow-lg: 0 2px 4px rgba(15, 15, 14, 0.04), 0 32px 64px -24px rgba(15, 15, 14, 0.28);
  --ring: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-1: 120ms;
  --dur-2: 220ms;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-sans); font-size: var(--text-md); line-height: var(--leading-body);
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
@media (max-width: 640px) { body { font-size: var(--text-base); } }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-soft); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: var(--weight-semibold); text-wrap: balance; }
h1, .display { font-size: var(--text-display); line-height: var(--leading-display); letter-spacing: var(--tracking-display); }
h2, .h2 { font-size: var(--text-2xl); line-height: var(--leading-heading); letter-spacing: var(--tracking-heading); }
h3, .h3 { font-size: var(--text-lg); line-height: var(--leading-snug); letter-spacing: var(--tracking-tight); }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
.lead { font-size: var(--text-lg); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-3); }
.small { font-size: var(--text-sm); }
.eyebrow { font-size: var(--text-sm); font-weight: var(--weight-medium); letter-spacing: var(--tracking-eyebrow); color: var(--accent); margin: 0 0 var(--space-4); }
/* Two-tone heading: first clause in ink, continuation in gray (Stripe, Linear, Attio). */
.h-split span { color: var(--ink-3); }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--space-4); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: var(--space-2); }

/* ---------- 4. Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section + .section { border-top: 1px solid var(--line-soft); }
.section-muted { background: var(--surface-muted); }
.section-ink { background: var(--gray-950); color: #e9e7e2; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .muted, .section-ink .h-split span { color: #a6a299; }
.section-head { max-width: 720px; margin-bottom: var(--space-8); }
.section-head p { color: var(--ink-2); font-size: var(--text-lg); margin-top: var(--space-4); }
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Split: sticky heading left (5 of 12), content right (7 of 12). The workhorse of enterprise feature sections. */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); align-items: start; }
.split > :first-child { position: sticky; top: 104px; }
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: var(--space-6); }
  .split > :first-child { position: static; }
}
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.stack-2 > * + * { margin-top: var(--space-2); } .stack-4 > * + * { margin-top: var(--space-4); } .stack-6 > * + * { margin-top: var(--space-6); }

/* ---------- 5. Header and footer ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line-soft); }
.site-header .container { display: flex; align-items: center; gap: var(--space-6); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: var(--weight-semibold); font-size: 1.0625rem; letter-spacing: var(--tracking-tight); color: var(--ink); text-decoration: none; }
.nav { display: flex; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-3); border-radius: var(--radius-sm); color: var(--ink-2); text-decoration: none; font-size: var(--text-sm); font-weight: var(--weight-medium); }
.nav a:hover { color: var(--ink); background: var(--gray-50); }
.nav a[aria-current="page"] { color: var(--ink); }
.header-cta { margin-left: auto; }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: var(--space-9) var(--space-7); font-size: var(--text-sm); color: var(--ink-3); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: var(--space-7); }
.footer-grid h2 { font-size: var(--text-sm); letter-spacing: 0; color: var(--ink); margin-bottom: var(--space-4); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li + li { margin-top: var(--space-3); }
.footer-grid a { color: var(--ink-3); text-decoration: none; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-base { margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- 6. Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: 0 20px; border-radius: var(--radius-md); border: 1px solid transparent; font: inherit; font-size: var(--text-base); font-weight: var(--weight-medium); line-height: 1; letter-spacing: var(--tracking-tight); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { border-color: var(--gray-300); color: var(--ink); }
.btn-ghost { color: var(--ink); padding-inline: 12px; }
.btn-ghost:hover { background: var(--gray-50); color: var(--ink); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: var(--text-sm); border-radius: var(--radius-sm); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: var(--text-md); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.arrow-link { font-weight: var(--weight-medium); text-decoration: none; }
.arrow-link::after { content: " \2192"; transition: margin var(--dur-1) var(--ease-out); }
.arrow-link:hover::after { margin-left: 3px; }

/* ---------- 7. Surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); }
.card-quiet { background: var(--surface-muted); border-color: transparent; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: var(--weight-medium); background: var(--gray-50); color: var(--ink-2); border: 1px solid var(--line); }
.badge-accent { background: var(--accent-soft); color: var(--accent-hover); border-color: transparent; }
.badge-warn { background: var(--warn-bg); color: var(--warn-ink); border-color: var(--warn-line); }
.notice { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); font-size: var(--text-sm); color: var(--ink-2); }
/* Product frame: a real screenshot or a real HTML rendering of the product, in light window chrome. */
.frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 var(--space-4); border-bottom: 1px solid var(--line-soft); background: var(--gray-25); font-size: var(--text-xs); color: var(--ink-3); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-200); }
.frame-body { padding: var(--space-5); }

/* ---------- 8. Lists, tables, data ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li + li { margin-top: var(--space-3); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230b5d6b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.rule-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.rule-list > li { padding-block: var(--space-5); border-bottom: 1px solid var(--line); }
.num { font-variant-numeric: tabular-nums; font-family: var(--font-mono); font-size: var(--text-sm); color: var(--accent); }
.table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.table th { text-align: left; font-weight: var(--weight-medium); color: var(--ink-3); padding: var(--space-3) var(--space-4) var(--space-3) 0; border-bottom: 1px solid var(--line); }
.table td { padding: var(--space-3) var(--space-4) var(--space-3) 0; border-bottom: 1px solid var(--line-soft); }
.stat-value { font-size: var(--text-2xl); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-heading); font-variant-numeric: tabular-nums; }

/* ---------- 9. Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-5); align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: var(--space-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); }
.plan-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); }
.plan .price { font-size: 2.75rem; font-weight: var(--weight-semibold); letter-spacing: var(--tracking-display); line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: var(--text-sm); font-weight: var(--weight-regular); letter-spacing: 0; color: var(--ink-3); margin-left: 6px; }
.plan .check-list { font-size: var(--text-sm); }
.plan .btn { margin-top: auto; }

/* ---------- 11. Utilities and accessibility ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--surface); padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.skip-link:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* ---------- 12. Site layer ---------- */
.logo { flex: none; }
.site-header .brand span { white-space: nowrap; }
main.wide { padding: 0; }
.eyebrow { text-transform: none; }

/* Hero */
.hero { padding-block: clamp(48px, 3rem + 3vw, 104px) clamp(56px, 3rem + 3vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lead { margin-top: var(--space-5); max-width: 40ch; }
.hero .actions { margin-top: var(--space-6); }
.cta-note { margin: var(--space-3) 0 0; font-size: var(--text-sm); color: var(--ink-3); }
.trust-row { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); list-style: none; padding: 0; margin: var(--space-6) 0 0; font-size: var(--text-sm); color: var(--ink-2); }
.trust-row li { position: relative; padding-left: 22px; }
.trust-row li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230b5d6b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.hero .notice { margin-top: clamp(40px, 5vw, 72px); }
.section > .container > .notice:first-child { margin: 0 0 var(--space-7); }
.notice { max-width: 860px; }
.notice-mark { flex: none; width: 8px; height: 8px; margin-top: 0.5em; border-radius: 50%; background: var(--warn-line); box-shadow: 0 0 0 4px var(--warn-bg); }

/* Sample report frame */
.excerpt { margin: 0; font-size: var(--text-sm); }
.excerpt .sample-flag { display: inline-flex; margin: 0 0 var(--space-3); padding: 2px 10px; border-radius: var(--radius-pill); background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); font-size: var(--text-xs); font-weight: var(--weight-semibold); }
.excerpt figcaption { color: var(--ink-3); font-size: var(--text-xs); line-height: 1.5; margin-bottom: var(--space-4); }
.excerpt table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.excerpt th { text-align: left; font-weight: var(--weight-medium); color: var(--ink-3); font-size: var(--text-xs); padding: 0 0 var(--space-2); border-bottom: 1px solid var(--line); }
.excerpt td { padding: 10px 0; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.excerpt td:last-child { width: 54%; white-space: nowrap; text-align: right; }
.excerpt tr.you td { font-weight: var(--weight-semibold); color: var(--accent-hover); }
.bar { display: inline-block; height: 8px; margin-right: 10px; border-radius: var(--radius-pill); background: var(--gray-200); vertical-align: middle; max-width: 70%; }
.you .bar { background: var(--accent); }
.w27 { width: 15%; } .w62 { width: 34%; } .w51 { width: 28%; } .w42 { width: 23%; } /* bar lengths: share x 0.55, so the "% of answers" label fits */
@media (max-width: 640px) { .excerpt td:last-child { width: 62%; } .excerpt .bar { margin-right: 6px; } }
.fix { margin: var(--space-4) 0 var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--warn-bg); color: var(--warn-ink); line-height: 1.5; }
.frame-link { margin: 0; }
.frame-bar span { margin-left: var(--space-2); }

/* Sections */
.section-tight { padding-block: clamp(56px, 3rem + 3vw, 96px); }
.section-flush-top { padding-top: 0; }
.section + .section-flush-top { border-top: 0; }
.section-link { margin: var(--space-7) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: baseline; }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature-grid li { background: var(--surface); padding: var(--space-6); }
.feature-grid h3 { margin: var(--space-4) 0 var(--space-2); font-size: var(--text-md); }
.feature-grid p { margin: 0; color: var(--ink-2); font-size: var(--text-base); }
@media (max-width: 960px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } .feature-grid li { padding: var(--space-5); } }
.split-aside h2 { margin-bottom: var(--space-4); }
.split-aside p:last-child { margin-bottom: 0; }
.story > li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-4); }
.story strong { display: block; font-size: var(--text-lg); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-tight); line-height: var(--leading-snug); margin-bottom: var(--space-2); color: var(--ink); }
.story div { color: var(--ink-2); }
.story .num { padding-top: 4px; }
.grid-2 { display: grid; gap: var(--space-5); }
.card h2 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.card h3 { margin-bottom: var(--space-4); }
.card > :last-child { margin-bottom: 0; }
.fit .card { padding: var(--space-7) var(--space-6); }
.x-list { list-style: none; padding: 0; margin: 0; }
.x-list li { position: relative; padding-left: 28px; }
.x-list li + li { margin-top: var(--space-3); }
.x-list li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 16px; height: 16px; border-radius: 50%; background: var(--gray-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 5.5l5 5m0-5l-5 5' fill='none' stroke='%2343413c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.got-report { border-top: 3px solid var(--accent); }

/* Dark section */
.section-ink { border-top: 0; }
.section-ink + .section { border-top: 0; }
.section-ink .eyebrow { color: #8fc9d2; }
.section-ink a { color: #9fd6de; }
.section-ink a:hover { color: #fff; }
.section-ink p, .section-ink li { color: #d6d3cc; }
.section-ink h3 { margin: var(--space-7) 0 var(--space-3); }
.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); margin: 0 0 var(--space-7); padding: 0 0 var(--space-7); border-bottom: 1px solid #34322e; }
.spec-grid dt { font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-display); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.spec-grid dd { margin: var(--space-3) 0 0; color: #bdb9b0; font-size: var(--text-sm); line-height: 1.5; }
.section-ink .rule-list { border-color: #34322e; }
.section-ink .rule-list > li { border-color: #34322e; }

/* Facts */
.facts .section-head { margin-bottom: var(--space-7); }
.facts dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.facts dl > div { background: var(--surface); padding: var(--space-6); }
.facts dt { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--ink); margin-bottom: var(--space-2); }
.facts dd { margin: 0; font-size: var(--text-base); color: var(--ink-2); line-height: 1.55; }
@media (max-width: 960px) { .facts dl { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .facts dl { grid-template-columns: 1fr; } .facts dl > div { padding: var(--space-5); } }

/* Closing CTA */
.cta-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-7); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 24px; background: var(--accent); color: #e6f0f1; }
.cta-panel h2 { color: #fff; margin-bottom: var(--space-3); }
.cta-panel p { margin: 0; max-width: 52ch; }
.cta-panel .btn-primary { background: #fff; color: var(--accent-hover); }
.cta-panel .btn-primary:hover { background: var(--accent-soft); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; }
.cta-panel .cta-note { color: #d3e6e9; }
.cta-panel .cta-note a { color: #fff; }
.cta-note a { overflow-wrap: anywhere; }
@media (max-width: 960px) { .cta-panel { grid-template-columns: 1fr; } }

/* Pricing */
.hero-pricing .section-head { margin-bottom: var(--space-7); max-width: 820px; }
.hero-pricing h1 { max-width: 18ch; }
.hero-pricing .lead { max-width: 62ch; font-size: var(--text-md); }
.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.plan { box-shadow: var(--shadow-sm); gap: var(--space-5); }
.plan-head h2 { font-size: var(--text-xl); margin: var(--space-2) 0 var(--space-2); }
.plan-step { margin: 0; font-size: var(--text-sm); color: var(--ink-3); display: flex; gap: var(--space-2); }
.plan-summary { margin: 0; font-size: var(--text-base); color: var(--ink-2); line-height: 1.5; }
.plan-price { padding-top: var(--space-5); border-top: 1px solid var(--line-soft); }
.plan .price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 var(--space-2); }
.plan .price small { margin-left: 0; }
.price-extra { margin: var(--space-2) 0 0; font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--ink-2); }
.tax-line { margin: var(--space-2) 0 0; font-size: var(--text-xs); color: var(--ink-3); }
.variant { display: flex; flex-direction: column; gap: var(--space-4); }
.variant h3 { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--accent); margin: 0; }
.variant .btn { margin-top: 0; }
.variant.soon { margin-top: var(--space-2); padding: var(--space-5); border-radius: var(--radius-md); background: var(--surface-muted); gap: var(--space-3); }
.variant.soon h3 { color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.variant.soon .badge { background: var(--warn-bg); color: var(--warn-ink); border-color: var(--warn-line); }
.price-soon { margin: 0; font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--ink-2); }
.variant.soon .check-list { color: var(--ink-2); }
.soon-note { margin: 0; font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--ink-3); }
.plan-note { margin: 0; padding-top: var(--space-4); border-top: 1px solid var(--line-soft); font-size: var(--text-sm); color: var(--ink-2); }
.plan-free .btn { margin-top: 0; }
.hero-pricing .notice { margin-top: var(--space-6); }
@media (max-width: 1080px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.price-list { list-style: none; padding: 0; margin: 0 0 var(--space-8); border-top: 1px solid var(--line); }
.price-list li { padding: var(--space-4) 0; border-bottom: 1px solid var(--line); font-size: var(--text-base); color: var(--ink-2); }
.split h3 { margin-bottom: var(--space-3); }
table.simple { margin-top: var(--space-5); }
table.simple caption { text-align: left; caption-side: top; color: var(--ink-3); font-size: var(--text-sm); padding-bottom: var(--space-3); }
.rule-list-plain > li { color: #d6d3cc; }
.qa-list > div { padding-block: var(--space-5); border-bottom: 1px solid var(--line); }
.qa-list > div:first-child { border-top: 1px solid var(--line); }
.qa-list h3 { margin-bottom: var(--space-2); }
.qa-list p { margin: 0; color: var(--ink-2); }
#credit .card, #billing h3 { margin-top: var(--space-5); }
#billing h3 { font-size: var(--text-md); margin-bottom: var(--space-3); }

/* Mobile header: brand and button on one row, nav as a scrolling row below. No script needed. */
@media (max-width: 760px) {
  .site-header .container { flex-wrap: wrap; gap: 0 var(--space-3); padding-block: var(--space-2) 0; }
  .site-header nav { order: 3; width: 100%; overflow-x: auto; }
  .nav { justify-content: space-between; gap: var(--space-2); }
  .nav a { padding: 0; min-width: 24px; white-space: nowrap; font-size: var(--text-xs); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero .actions .btn { flex: 1 1 100%; }
  .spec-grid { grid-template-columns: 1fr 1fr 1fr; gap: var(--space-3); }
  .story > li { grid-template-columns: 36px minmax(0, 1fr); }
  .cta-panel .actions .btn { flex: 1 1 100%; }
}
@media (max-width: 380px) { .header-cta { padding: 0 10px; } }

/* ---------- 13. Compatibility layer for pages not yet redesigned ---------- */
main.narrow { max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; padding: var(--space-8) var(--gutter) var(--space-9); }
main.narrow h1 { font-size: clamp(2rem, 1.6rem + 1.8vw, 3rem); margin-bottom: var(--space-5); }
main.narrow h2 { font-size: var(--text-xl); margin: var(--space-8) 0 var(--space-3); }
main.narrow h3 { margin: var(--space-6) 0 var(--space-2); }
main.narrow .lead { max-width: none; }
main.narrow .plans { max-width: none; }
ul, ol { padding-left: 1.3rem; }
li { margin: 0.35rem 0; }
.check-list li, .x-list li, .rule-list > li, .nav li, .footer-grid li, .feature-grid li, .trust-row li, .price-list li { margin: 0; }
.footer-grid li + li { margin-top: var(--space-3); }
.check-list li + li, .x-list li + li { margin-top: var(--space-3); }
.kicker { font-size: var(--text-sm); color: var(--ink-3); margin: 0; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: var(--radius-md); background: var(--accent); color: #fff; text-decoration: none; font-weight: var(--weight-medium); font-size: var(--text-base); }
.button:hover { background: var(--accent-hover); color: #fff; }
.text-link { font-weight: var(--weight-medium); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: var(--space-2) var(--space-4); }
.skip:focus { left: 8px; z-index: 50; }
.note, .sample-banner { padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); font-size: var(--text-sm); }
.sample-banner p, .note { margin: 0; }
main.narrow .note { margin: var(--space-5) 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }
.defs dt { font-weight: var(--weight-semibold); margin-top: var(--space-4); }
.defs dd { margin: var(--space-1) 0 0; }
.toc ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-size: var(--text-sm); }
.faq dt { font-weight: var(--weight-semibold); font-size: var(--text-md); margin: var(--space-6) 0 var(--space-2); }
.faq dd { margin: 0; color: var(--ink-2); }
code { font-family: var(--font-mono); font-size: 0.9em; overflow-wrap: anywhere; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.flow-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); max-width: 40rem; margin: var(--space-5) 0; }
.flow-form label, .flow-form legend { font-weight: var(--weight-semibold); font-size: var(--text-sm); }
.flow-form input:not([type=hidden]), .flow-form select, .flow-form textarea { width: 100%; max-width: 32rem; margin-top: var(--space-1); padding: 10px 12px; font: inherit; font-size: var(--text-base); color: var(--ink); background: var(--surface); border: 1px solid var(--gray-300); border-radius: var(--radius-sm); }
.flow-form input[type=number] { max-width: 8rem; }
.flow-form input:focus-visible, .flow-form select:focus-visible, .flow-form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.flow-form fieldset { border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-2) var(--space-4); margin: var(--space-4) 0; }
.flow-form h2 { font-size: var(--text-lg); margin: var(--space-6) 0 var(--space-2); }
.flow-form button.button { border: 0; cursor: pointer; }
.flow-form .note { margin: var(--space-4) 0; }
.excerpt-page table, main.narrow table { border-collapse: collapse; }
/* Pricing hero is shorter than the home hero so the prices sit near the top. */
.hero-pricing { padding-top: clamp(40px, 2rem + 2vw, 64px); }
.hero-pricing h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); max-width: 22ch; }
.hero-pricing .section-head { margin-bottom: var(--space-6); }
.hero-pricing .lead { margin-top: var(--space-4); }
.plan { gap: var(--space-4); }
.section-head .eyebrow, .split-aside .eyebrow { font-size: var(--text-sm); color: var(--accent); margin: 0 0 var(--space-4); }
.section-ink .split-aside .eyebrow { color: #8fc9d2; }
.got-report { border-top: 1px solid var(--line); background: var(--accent-soft); border-color: transparent; }
.got-report ul { padding-left: 1.1rem; }

/* Pricing on phones: a tighter intro so the first price shows on the first screen. */
@media (max-width: 640px) {
  .hero-pricing { padding-top: var(--space-5); padding-bottom: var(--space-8); }
  .hero-pricing .section-head { margin-bottom: var(--space-5); }
  .hero-pricing .section-head .eyebrow { margin-bottom: var(--space-2); }
  .hero-pricing h1 { font-size: 2.125rem; }
  .hero-pricing .lead { font-size: var(--text-base); line-height: 1.5; margin-top: var(--space-3); }
  .plan { padding: var(--space-5); gap: var(--space-3); }
  .plan-head h2 { margin: var(--space-1) 0; }
  .plan-price { padding-top: var(--space-4); }
}
