/* Generated pages (scripts/build-site.mjs). Tokens and components match public/index.html. */
:root {
  --bg: #ffffff; --bg-tint: #fafafa; --bg-tint2: #f5f5f5;
  --ink: #0a0a0a; --ink-2: #171717; --slate: #525252; --muted: #737373; --faint: #a3a3a3;
  --border: #e5e5e5; --border-2: #ededed; --field: #fafafa;
  --black: #0a0a0a; --black-h: #262626;
  --accent: #3b82d9; --accent-d: #2f6bbb; --accent-bg: #eaf2fc; --accent-bd: #c4ddf6; --danger: #da314a;
  --on-dark: #fafafa; --on-dark-mut: #a3a3a3; --dark-card: #171717; --dark-border: #2a2a2a;
  --shadow-sm: 0 1px 2px rgba(10,10,10,.04);
  --shadow-card: 0 1px 3px rgba(10,10,10,.05), 0 8px 24px -12px rgba(10,10,10,.12);
  --r-pill: 999px; --r-btn: 8px; --r-card: 16px; --r-inner: 12px; --r-sm: 8px;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --maxw: 1120px; --readw: 760px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { margin: 0; font-family: var(--sans); font-weight: 600; line-height: 1.1; letter-spacing: -0.022em; text-wrap: balance; }
p { margin: 0; }
a { color: var(--ink); text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid transparent; border-radius: var(--r-pill); background: linear-gradient(#fff,#fff) padding-box, linear-gradient(180deg, rgba(157,157,157,.35), rgba(0,0,0,.12)) border-box; color: #171717; font-size: 14px; font-weight: 500; letter-spacing: -0.02em; box-shadow: 0 4px 4px rgba(23,23,23,.04); }
.badge .dot { width: 8px; height: 8px; border-radius: 8px; background: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border: 1px solid var(--black); border-radius: var(--r-btn); background: var(--black); color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, transform .06s; }
.btn:hover { background: var(--black-h); border-color: var(--black-h); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.small { padding: 9px 14px; font-size: 13.5px; }
.btn.ghost { background: var(--bg); border-color: var(--border); color: var(--ink); }
.btn.ghost:hover { background: var(--bg-tint); border-color: var(--faint); color: var(--ink); }
.btn.on-dark-ghost { background: transparent; border-color: var(--dark-border); color: #fff; }
.btn.on-dark-ghost:hover { background: #232323; border-color: #333; color: #fff; }

.crumbs { max-width: var(--maxw); margin: 0 auto; padding: 20px 24px 0; color: var(--muted); font-size: 13px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.page-hero { padding: 56px 0 72px; text-align: center; }
.page-hero h1 { max-width: 30ch; margin: 18px auto 0; color: #171717; font-size: clamp(34px, 5.5vw, 54px); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; }
.page-hero .sub { max-width: 46rem; margin: 18px auto 0; color: var(--slate); font-size: 18px; line-height: 1.55; }
.page-hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.page-hero .anim-slot { max-width: 860px; margin: 44px auto 0; }
section.block { padding: 72px 0; }
section.block.tint { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-tint); }
.sec-head { margin: 0 auto 40px; text-align: center; }
.sec-head h2 { margin: 12px 0 0; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -0.025em; }
.sec-head p { max-width: 46rem; margin: 14px auto 0; color: var(--slate); line-height: 1.55; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split + .split { margin-top: 56px; }
/* A live page's split shows only its text until the animation exists. */
.split:has(> :only-child) { grid-template-columns: 1fr; max-width: var(--readw); margin-left: auto; margin-right: auto; }
.read { max-width: var(--readw); margin: 0 auto; color: var(--slate); font-size: 17px; line-height: 1.75; }
.read p + p { margin-top: 16px; }

.hub-group + .hub-group { margin-top: 48px; }
.prose + .hub-group { margin-top: 24px; }
.ph-block + .hub-group { margin-top: 32px; }
.hub-group h2 { margin-bottom: 16px; font-size: 22px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hub-card { display: block; padding: 18px; border: 1px solid var(--border); border-radius: var(--r-inner); background: var(--bg); transition: border-color .15s, box-shadow .15s; }
.hub-card:hover { border-color: var(--faint); box-shadow: var(--shadow-card); }
.hub-card b { display: block; color: var(--ink); font-weight: 600; }
.hub-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }

.help-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding-top: 40px; padding-bottom: 72px; }
.help-nav { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.help-nav a { padding: 7px 10px; border-radius: var(--r-sm); color: var(--slate); font-size: 14px; }
.help-nav a:hover, .help-nav a[aria-current] { background: var(--bg-tint2); color: var(--ink); }
.help-main h1 { font-size: clamp(30px, 4vw, 40px); }
.help-main .sub { margin: 14px 0 32px; color: var(--slate); font-size: 17px; }
.help-main .ph-block + .ph-block { margin-top: 16px; }

.cta-band { padding: 56px; border-radius: 24px; background: linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.52) 100%), url('/assets/cta.jpg') center/cover no-repeat, var(--black); color: var(--on-dark); }
.cta-band h2 { max-width: 22ch; color: #fff; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -0.025em; }
.cta-band p { max-width: 46ch; margin-top: 14px; color: #d4d4d4; line-height: 1.6; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.cta-band .btn:not(.on-dark-ghost) { border-color: #fff; background: #fff; color: var(--ink); }
.cta-band .btn:not(.on-dark-ghost):hover { border-color: #e5e5e5; background: #e5e5e5; }

.prose { color: var(--slate); font-size: 16px; line-height: 1.65; }
.prose h2 { margin-bottom: 12px; color: var(--ink); font-size: clamp(24px, 3vw, 32px); }
.prose * + h2 { margin-top: 32px; }
.prose h3 { margin: 24px 0 8px; color: var(--ink); font-size: 18px; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { margin: 12px 0 0; padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose.center { max-width: var(--readw); margin: 0 auto; }
.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.faq-list { max-width: var(--readw); margin: 16px auto 0; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { padding: 16px 0; color: var(--ink); font-weight: 500; cursor: pointer; }
.faq-list details p { padding-bottom: 16px; color: var(--slate); line-height: 1.65; }
.step-list { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: step; }
.step-list li { position: relative; padding: 0 0 16px 40px; counter-increment: step; }
.step-list li::before { content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-bg); color: var(--accent-d); font-size: 13px; font-weight: 600; }
.compare-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--border); border-radius: var(--r-inner); background: var(--bg); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--slate); text-align: left; vertical-align: top; }
.compare th { color: var(--ink); font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }
.sources { margin-top: 16px; color: var(--muted); font-size: 13px; }

/* Placeholders. The ribbon and grey blocks go away as pages are written, anim slots stay
   until the animation exists, always at their final size so the layout does not shift. */
.ph-ribbon { padding: 9px 24px; border-bottom: 1px solid #f3d9a4; background: #fdf0d5; color: #7a4d00; font-size: 13.5px; font-weight: 500; text-align: center; }
.ph-block { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 140px; padding: 20px; border: 1px dashed var(--faint); border-radius: var(--r-inner); background: var(--bg-tint2); color: var(--muted); font-size: 14px; }
.ph-block b { color: var(--slate); font-weight: 600; }
.ph-block.tall { min-height: 260px; }
.anim-slot { display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px; border: 1px dashed var(--accent-bd); border-radius: var(--r-inner); background: var(--accent-bg); color: var(--accent-d); font-family: var(--mono); font-size: 12.5px; text-align: center; overflow: hidden; }

@media (max-width: 860px) {
  .split, .help-layout { grid-template-columns: 1fr; }
  .help-nav { position: static; }
  .hub-grid, .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { padding: 40px 28px; }
}
@media (max-width: 560px) {
  section.block { padding: 56px 0; }
  .hub-grid, .link-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
  .crumbs { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
