/* PassNext Prep. One stylesheet for every page; pages are built by tools/build.py. */
:root {
  --ink: #0d1b2a;
  --ink-2: #3a4a5c;
  --ink-3: #66788a;
  --bg: #f5f8f6;
  --paper: #ffffff;
  --line: #dfe6e2;
  --green: #0b8a5a;
  --green-dark: #086b46;
  --green-soft: #e3f3eb;
  --amber: #f0a33a;
  --amber-soft: #fdf1df;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13, 27, 42, .06), 0 8px 24px rgba(13, 27, 42, .06);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--green-dark); text-underline-offset: 2px; }
a:hover { color: var(--green); }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; margin-top: 1.6em; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin: .3em 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--paper); padding: 8px 12px; border-radius: 8px; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { color: var(--green); font-weight: 800; }
.brand small { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--ink-3); margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--green-dark); }
.nav .btn { color: #fff; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { padding: 8px 14px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Hero */
.hero { padding: 64px 0 48px; }
.hero .lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 680px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 14px; }
.badge { display: inline-block; background: var(--amber-soft); color: #8a5300; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; letter-spacing: 0; text-transform: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-3); }
.updated { font-size: 14px; color: var(--ink-3); }

/* Sections */
.section { padding: 32px 0; }
.section-tight { padding: 8px 0 24px; }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card .kicker { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.card .links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-weight: 700; font-size: 15px; }
.stat { font-size: 15px; color: var(--ink-2); background: var(--green-soft); border-radius: 10px; padding: 10px 12px; margin-top: 14px; }
.feature h3 { display: flex; align-items: center; gap: 10px; }
.feature .dot { width: 28px; height: 28px; border-radius: 8px; background: var(--green-soft); color: var(--green-dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex: none; }

/* Facts list */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 12px 0 0; font-size: 15.5px; }
.facts dt { color: var(--ink-3); font-weight: 600; }
.facts dd { margin: 0; font-weight: 600; }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; gap: 0; } .facts dd { margin-bottom: 8px; } }

/* Tables */
.table-wrap { overflow-x: auto; margin: 12px 0 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #eef3f0; font-weight: 700; font-size: 14px; color: var(--ink-2); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Article pages */
.article { padding: 8px 0 40px; }
.article h2 { scroll-margin-top: 80px; }
.callout { background: var(--paper); border-left: 4px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin: 18px 0; box-shadow: var(--shadow); }
.callout.amber { border-left-color: var(--amber); }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 48px; margin: 0 0 16px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; font-size: 15.5px; }
.toc ul { margin: 6px 0 0; }
.sources { font-size: 14px; color: var(--ink-3); }

/* Band (dark) */
.band { background: var(--ink); color: #e8eef2; border-radius: 20px; padding: 36px 32px; margin: 24px 0; }
.band h2 { color: #fff; margin-top: 0; }
.band p { color: #c9d4dc; max-width: 640px; }
.band a { color: #8fe0bd; }
.band .btn-primary { color: #fff; }

/* Waitlist form */
.signup { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.signup h2 { margin-top: 0; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #c9d3ce; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px var(--green-soft); }
.field [aria-invalid="true"] { border-color: #c2410c; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
.form-note { font-size: 14px; color: var(--ink-3); margin: 0; }
.form-note.error { color: #b42318; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--green); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding-bottom: 12px; color: var(--ink-2); }

/* Pricing */
.plan { position: relative; }
.plan .price { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; }
.plan .price span { font-size: 16px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.plan.featured { border: 2px solid var(--green); }
.plan ul { padding-left: 1.1em; font-size: 15.5px; }

/* Footer */
.site-footer { margin-top: 56px; background: var(--ink); color: #b9c6d0; padding: 40px 0 28px; font-size: 15px; }
.site-footer a { color: #e3ebf0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.footer-grid h3 { color: #fff; font-size: 15px; margin-bottom: 8px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 6px 0; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #9fb0bd; }
.disclaimer { border-top: 1px solid #23364a; margin-top: 28px; padding-top: 18px; font-size: 13.5px; color: #93a4b2; }
