/* PaveXpress marketing site — hybrid homepage.
   Palette: app green #0c7f62, asphalt charcoal, warm paper, amber lane-stripe motif. */

:root {
	--paper: #f7f6f2;
	--surface: #ffffff;
	--card: #fbfaf6;
	--ink: #23241f;
	--ink-strong: #20211d;
	--ink-2: #5d5c55;
	--ink-3: #8a8879;
	--hairline: #e3e1d8;
	--green: #0c7f62;
	--green-dark: #0a6b53;
	--asphalt: #20211d;
	--asphalt-2: #2b2c27;
	--amber: #e8a200;
	--mint: #9fd9c8;
	--display: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
	--body: -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--display); color: var(--ink-strong); letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
.shell { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* nav — matched to the app's #PaveXpress-TopNav: 56px, #000 (--px-nav), 12/22 padding */
.nav { background: #000000; position: sticky; top: 0; z-index: 50; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; gap: 12px 20px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 20px; color: #f7f6f2; }
.wordmark span { color: var(--green); }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: 13.5px; flex-wrap: wrap; }
.nav-links a { color: #a5a496; }
.nav-links a:hover { color: #ffffff; }
.nav-links .nav-login { color: #f7f6f2; font-weight: 600; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #ffffff; }
.nav-links a.btn-primary.btn-nav { padding: 8px 16px; font-size: 13.5px; }

/* buttons */
.btn { display: inline-block; border-radius: 6px; font-weight: 600; }
a.btn-primary { background: var(--green); color: #ffffff; padding: 14px 28px; font-size: 16px; }
a.btn-primary:hover { background: var(--green-dark); color: #ffffff; }
.btn-nav { padding: 10px 20px; font-size: 14px; }
.link-cta { font-weight: 600; font-size: 16px; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; padding-top: 72px; padding-bottom: 52px; align-items: center; }
.eyebrow { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--green); margin: 0 0 16px; }
.eyebrow-amber { color: var(--amber); }
.hero h1 { font-weight: 800; font-size: clamp(34px, 4vw, 54px); line-height: 1.06; }
.lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 560px; margin: 22px 0 0; }
.cta-row { display: flex; gap: 18px; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.micro { font-size: 13px; color: var(--ink-3); margin: 14px 0 0; }
.hero-shot { margin: 0; border: 1px solid var(--hairline); border-radius: 10px; background: var(--surface); box-shadow: 0 20px 44px rgba(32, 33, 29, 0.10); overflow: hidden; }
.shot-chrome { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid #eeece3; }
.shot-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #dcd9cc; }
.shot-img, .shot-video { display: block; width: 100%; height: auto; }
.shot-fallback { display: none; }
.shot-body { min-height: 340px; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #fbfaf6 0px, #fbfaf6 24px, #f4f2ea 24px, #f4f2ea 48px); padding: 24px; }
.placeholder { border: 1.5px dashed #b9b6a8; border-radius: 8px; padding: 16px 26px; font-size: 14px; font-weight: 600; color: var(--ink-3); background: var(--surface); text-align: center; }

/* lane-stripe divider */
.lane { height: 5px; padding: 0; background: repeating-linear-gradient(90deg, var(--amber) 0px, var(--amber) 44px, transparent 44px, transparent 72px); background-clip: content-box; }

/* equation strip — rotating, typeset (not code) */
.equation-strip { margin-top: 40px; background: var(--asphalt); border-radius: 12px; padding: 30px 40px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.eq-rotator { position: relative; flex: 1 1 auto; min-height: 80px; min-width: 0; }
.eq { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; opacity: 0; transition: opacity 0.9s ease; pointer-events: none; }
.eq-active { opacity: 1; pointer-events: auto; }
.eq-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--amber); }
.eq-math { margin: 0; font-family: "STIX Two Text", "Times New Roman", Georgia, serif; font-style: italic; font-size: 17.5px; line-height: 1.5; color: var(--mint); overflow-wrap: break-word; }
.eq-math sub, .eq-math sup { font-size: 0.64em; }
.eq-cont { display: inline-block; padding-left: 1.6em; font-size: 0.92em; }
.frac { display: inline-flex; flex-direction: column; vertical-align: middle; text-align: center; font-size: 0.82em; line-height: 1.35; margin: 0 3px; }
.frac-bottom { border-top: 1px solid var(--mint); padding-top: 1px; }
.sqrt { border-top: 1px solid var(--mint); padding: 0 3px; }
.eq-note { font-size: 13.5px; color: #a5a496; max-width: 340px; margin: 0; flex: none; }

/* doubts */
.doubts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 52px; padding-bottom: 8px; }
.doubt { background: var(--surface); border: 1px solid var(--hairline); border-radius: 10px; padding: 26px 28px; }
.doubt h2 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.doubt p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* modules */
.modules { padding-top: 44px; }
.section-title { font-size: 26px; font-weight: 700; margin-bottom: 22px; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.module { display: block; border: 1px solid var(--hairline); border-radius: 10px; padding: 20px 22px; background: var(--card); }
.module:hover { border-color: var(--green); }
.module h3 { font-family: var(--body); font-size: 16px; font-weight: 700; color: var(--green); margin-bottom: 6px; }
.module p { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); margin: 0; }

/* verification band */
.verify-band { margin-top: 44px; background: var(--asphalt); border-radius: 12px; padding: 44px 48px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 44px; align-items: center; }
.verify-copy h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; color: #f7f6f2; line-height: 1.15; margin: 0 0 12px; }
.verify-copy p { font-size: 15px; line-height: 1.6; color: #a5a496; margin: 0; }
.verify-copy .verify-note { margin-top: 12px; font-size: 13px; color: #8b8a7d; }
.verify-copy a.verify-link { color: var(--mint); font-weight: 600; }
.verify-copy a.verify-link:hover { color: #ffffff; }
.verify-cards { display: flex; flex-direction: column; gap: 10px; }
.verifier-card { display: flex; flex-direction: column; gap: 2px; background: var(--asphalt-2); border: 1px solid #3a3b34; border-radius: 8px; padding: 13px 18px; }
.verifier-card:hover { border-color: var(--amber); }
.verifier-kind { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--amber); }
.verifier-name { font-size: 14.5px; font-weight: 700; color: #f7f6f2; }
.verifier-note { font-size: 12.5px; line-height: 1.45; color: #a5a496; }

/* credibility */
.cred { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; padding-top: 56px; padding-bottom: 56px; align-items: center; }
.cred-copy h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.12; }
.cred-copy p { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 14px 0; }
.cred-pills { display: flex; flex-wrap: wrap; gap: 8px 12px; align-content: flex-start; }
.pill { font-size: 13.5px; font-weight: 600; color: #3c3d36; background: var(--surface); border: 1px solid var(--hairline); border-radius: 999px; padding: 6px 14px; }
.pill-more { color: var(--ink-3); background: none; border: none; }

/* final CTA */
.final-cta { padding-top: 52px; padding-bottom: 60px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.final-cta h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; max-width: 620px; line-height: 1.15; }
.final-cta-action { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }

/* footer — tonal band: separation by color, no line */
footer { background: #edeade; margin-top: 64px; }
.sponsors { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 44px; padding-bottom: 10px; flex-wrap: wrap; }
.sponsor-copy { font-size: 15px; color: var(--ink-2); max-width: 380px; }
.sponsor-copy strong { color: var(--ink); }
.sponsor-row { display: flex; gap: 44px; align-items: center; flex-wrap: wrap; }
.sponsor { display: flex; flex-direction: column; gap: 2px; align-items: center; }
.sponsor-name { font-family: var(--display); font-weight: 800; font-size: 20px; color: #3c3d36; }
.sponsor-role { font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; }
.footnotes { padding-top: 16px; padding-bottom: 28px; }
.footnotes p { font-size: 11.5px; color: #75746a; margin: 4px 0; }
.footer-links { margin-top: 10px; }

/* responsive */
@media (max-width: 960px) {
	.hero, .verify-band, .cred { grid-template-columns: minmax(0, 1fr); }
	.doubts, .module-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.equation-strip { flex-direction: column; align-items: flex-start; gap: 12px; }
	.final-cta-action { align-items: flex-start; }
}
@media (max-width: 600px) {
	.doubts, .module-grid { grid-template-columns: minmax(0, 1fr); }
	.hero { padding-top: 44px; }
}
@media (max-width: 700px) {
	.nav-inner { padding-top: 10px; padding-bottom: 10px; gap: 6px 14px; }
	.wordmark { font-size: 19px; }
	.nav-links { gap: 8px 14px; font-size: 13px; }
	.nav-links a.btn-primary.btn-nav { padding: 7px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; }
	.shot-video { display: none; }
	.shot-fallback { display: block; }
}

/* ---- interior pages ---- */
.page-hero { padding-top: 64px; padding-bottom: 40px; max-width: 900px; }
.page-hero h1 { font-weight: 800; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.07; }
.page-hero .lede { max-width: 640px; }
.note { font-size: 13.5px; color: var(--ink-3); max-width: 640px; }
.badge-new { display: inline-block; vertical-align: middle; background: var(--amber); color: #2b2405; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; padding: 2px 9px; margin-left: 6px; }

/* modules page — pill switcher, one module per screen */
.mtabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0 26px; }
@media (min-width: 960px) {
	.mtabs { position: sticky; top: 57px; background: var(--paper); z-index: 2; padding-top: 12px; padding-bottom: 14px; }
	.mtabs::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; background: linear-gradient(to bottom, var(--paper), rgba(247, 246, 242, 0)); pointer-events: none; }
}
.mtab { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--hairline); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.mtab:hover { border-color: var(--green); color: var(--ink); }
.mtab-active, .mtab-active:hover { background: var(--asphalt); color: #ffffff; border-color: var(--asphalt); }
.mpanel { padding-bottom: 44px; scroll-margin-top: 150px; }
.mtabs-on .mpanel { display: none; }
.mtabs-on .mpanel-active { display: block; }
.mpanel-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.mpanel-head h2 { font-size: 28px; font-weight: 800; }
.module-method { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin: 0; }
.mpanel .module-body { max-width: 760px; font-size: 16px; }
.module-body { line-height: 1.6; color: var(--ink-2); }
.io-flow { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); gap: 10px; align-items: start; margin: 18px 0 4px; max-width: 860px; }
.io-col h4 { font-family: var(--body); font-size: 11px; letter-spacing: 0.11em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); margin: 0 0 8px; }
.io-col-out h4 { color: var(--green); }
.io-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.io-col li { font-size: 14px; line-height: 1.45; color: var(--ink-2); padding-left: 14px; position: relative; }
.io-col li::before { content: ""; position: absolute; left: 0; top: 0.52em; width: 6px; height: 6px; border-radius: 2px; background: var(--hairline); }
.io-col-out li { color: var(--ink); font-weight: 550; }
.io-col-out li::before { background: var(--green); }
.io-arrow { color: var(--amber); display: flex; justify-content: center; padding-top: 26px; }
.module-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.module-more-cell { background: var(--surface); border: 1px solid var(--hairline); border-radius: 8px; padding: 16px 18px; }
.module-more-cell h3 { font-family: var(--body); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); margin: 0 0 8px; }
.module-more-cell p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.module-more-eng { background: var(--card); }
.mpanel .placeholder-inline { margin-top: 16px; }
.mpanel .module-shot { margin-top: 16px; }

/* verification page */
.method-grid, .learn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 8px; }
.method { padding-top: 40px; }
.doubt h3 { font-family: var(--body); font-size: 16.5px; font-weight: 700; margin: 0 0 8px; }
.evidence { padding-top: 44px; }
.evidence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.evidence-grid .verifier-card { background: var(--surface); border-color: var(--hairline); }
.evidence-grid .verifier-name { color: var(--ink-strong); }
.evidence-grid .verifier-note { color: var(--ink-2); }
.evidence-grid .verifier-kind { color: var(--green); }
.evidence-grid .verifier-card:hover { border-color: var(--green); }

/* who-uses-it */
.stat-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; padding-bottom: 36px; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; color: var(--ink-strong); }
.stat span { font-size: 13.5px; color: var(--ink-2); line-height: 1.35; }
.roster { padding-top: 40px; }
.roster-group { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding: 20px 0; border-top: 1px solid var(--hairline); }
.roster-group-head h3 { font-family: var(--body); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); margin: 0; }
.roster-count { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--green); margin: 6px 0 0; }
.roster-names { display: flex; flex-wrap: wrap; gap: 9px 13px; align-content: flex-start; }
.coverage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; padding-top: 48px; padding-bottom: 40px; align-items: center; }
.usgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; max-width: 640px; }
.tile { aspect-ratio: 1; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 11px; line-height: 1.15; min-width: 0; }
.tile b { font-weight: 700; }
.tile.zero { border: 1px dashed var(--hairline); color: var(--ink-3); }
.tile.t1 { background: #e2ede9; color: #33463f; }
.tile.t2 { background: #b7d7cc; color: #1d3c33; }
.tile.t3 { background: #6aab97; color: #0e2b23; }
.tile.t4 { background: var(--green); color: #ffffff; }
.coverage-copy h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; line-height: 1.12; }
.coverage-copy p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }

/* faq */
.faq { max-width: 760px; padding-bottom: 24px; }
.faq-cat { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); margin: 36px 0 10px; }
.faq details { border-top: 1px solid var(--hairline); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 16.5px; color: var(--ink-strong); padding: 12px 0; list-style-position: outside; }
.faq summary:hover { color: var(--green); }
.faq details p { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 0 0 14px; max-width: 66ch; }

/* legal (terms, privacy) — long-form document typography; the text is carried
   over verbatim from the executed HeadLight documents */
.legal { max-width: 760px; padding-bottom: 24px; }
.legal-notice { font-weight: 650; font-size: 15px; line-height: 1.65; color: var(--ink-strong); border: 1px solid var(--hairline); border-left: 3px solid var(--green); border-radius: 6px; background: var(--surface); padding: 14px 18px; margin: 0 0 18px; }
.legal h2 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); margin: 36px 0 10px; padding-top: 14px; border-top: 1px solid var(--hairline); }
.legal h3 { font-family: var(--body); font-size: 15.5px; font-weight: 700; color: var(--ink-strong); margin: 22px 0 8px; }
.legal p, .legal li { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 0 0 14px; max-width: 70ch; }
.legal ol, .legal ul { margin: 0 0 14px; padding-left: 24px; }
.legal li { margin-bottom: 8px; }
.legal-tablewrap { overflow-x: auto; margin: 0 0 18px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.55; }
.legal th { text-align: left; font-weight: 700; color: var(--ink-strong); background: var(--surface); }
.legal th, .legal td { border: 1px solid var(--hairline); padding: 9px 12px; vertical-align: top; color: var(--ink-2); }

/* learn */
.learn-grid { padding-bottom: 8px; }
.learn-card p { margin-bottom: 8px; }
.placeholder-inline { display: inline-block; border: 1.5px dashed #b9b6a8; border-radius: 6px; padding: 4px 10px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.learn-inapp { padding-top: 36px; }
.learn-inapp .verify-band { align-items: center; }

/* sponsor logos */
.sponsor-logo { display: block; width: auto; }
.sponsor-logo-headlight { height: 26px; }
.sponsor-logo-napa { height: 42px; }
/* 38px, not APA’s 46px: the solid icon block carries 1.39x NAPA’s ink at 46px. 38px matches it (0.95x). */
.sponsor-logo-sapa { height: 38px; }
.sponsor-logo-apa { height: 46px; }
.sponsor .sponsor-role { margin-top: 6px; }

@media (max-width: 960px) {
	.roster-group, .coverage { grid-template-columns: minmax(0, 1fr); }
	.module-more-grid { grid-template-columns: minmax(0, 1fr); }
	.io-flow { grid-template-columns: minmax(0, 1fr); }
	.io-arrow { display: none; }
	.equation-strip { flex-direction: column; align-items: flex-start; gap: 16px; }
	.eq { position: static; display: none; }
	.eq-active { display: flex; }
	.eq-rotator { min-height: 0; }
	.method-grid, .evidence-grid, .learn-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.method-grid, .evidence-grid, .learn-grid { grid-template-columns: minmax(0, 1fr); }
	.stat-row { grid-template-columns: minmax(0, 1fr); }
}

/* publications */
.pubs { max-width: 860px; padding-bottom: 56px; display: flex; flex-direction: column; }
.pub { display: flex; flex-direction: column; gap: 3px; padding: 16px 4px; border-top: 1px solid var(--hairline); }
.pub:hover .pub-title { color: var(--green); }
.pub-pending .pub-title { color: var(--ink-2); }
.pub-pending .pub-meta { color: #b0851f; }
.pub-title { font-weight: 650; font-size: 16.5px; color: var(--ink-strong); line-height: 1.4; }
.pub-meta { font-size: 13px; color: var(--ink-3); }

/* capture figures */
.derivation { padding-top: 44px; }
.derivation-shot, .module-shot { margin: 18px 0 0; border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden; box-shadow: 0 14px 34px rgba(32, 33, 29, 0.08); max-width: 860px; }
.derivation-shot img, .module-shot img { display: block; width: 100%; height: auto; }
.module-shot { grid-column: 1 / -1; }

/* testimonials */
.quotes { padding-top: 48px; }
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 980px; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: 10px; padding: 22px 26px; }
.quote blockquote { margin: 0; font-family: var(--display); font-weight: 600; font-size: 17.5px; line-height: 1.45; color: var(--ink-strong); }
.quote blockquote::before { content: "\201C"; color: var(--amber); margin-right: 2px; }
.quote blockquote::after { content: "\201D"; color: var(--amber); margin-left: 2px; }
.quote figcaption { margin-top: 10px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
@media (max-width: 700px) { .quote-grid { grid-template-columns: minmax(0, 1fr); } }

/* ===== What's new =========================================================== */
.wn-stats { display: flex; flex-wrap: wrap; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--hairline); }
.wn-stat { display: flex; flex-direction: column; }
.wn-n { font-size: 40px; font-weight: 800; color: var(--green); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.wn-l { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.wn-compare { padding-top: 56px; }
.wn-compare h2, .wn-detail h2, .wn-cta h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
.wn-sub { color: var(--ink-2); font-size: 16px; margin: 0 0 24px; }
/* The table scrolls inside its own box; three columns of prose do not fit a phone. */
.wn-table-wrap { overflow-x: auto; }
.wn-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.wn-table th { text-align: left; font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; padding: 0 16px 10px 0; border-bottom: 2px solid var(--hairline); }
.wn-table td { padding: 13px 16px 13px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.wn-what { font-weight: 700; width: 32%; }
.wn-was { color: var(--ink-3); width: 26%; }
.wn-now { color: var(--green-dark); font-weight: 600; }
.wn-detail { padding-top: 56px; }
.wn-notes { max-width: 760px; }
.wn-notes h3 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 32px 0 10px; }
.wn-notes ul { margin: 0; padding-left: 20px; }
.wn-notes li { font-size: 16px; line-height: 1.65; margin-bottom: 10px; color: var(--ink); }
.wn-notes p { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 640px; }
.wn-cta { padding-top: 56px; padding-bottom: 72px; }
.wn-cta p { font-size: 16px; color: var(--ink-2); max-width: 640px; line-height: 1.65; }
.wn-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 700px) { .wn-stats { gap: 26px; } .wn-n { font-size: 32px; } }

/* ---- Learn (I-180): track cards, the one open lesson, the locked list ---- */
.learn-track h3 { margin-top: 4px; }
.learn-lessons { list-style: none; margin: 14px 0 10px; padding: 0; }
.learn-lessons li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 6px 0; border-top: 1px solid var(--hairline); }
.learn-lessons li em { font-style: normal; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.learn-lessons li.open span { font-weight: 700; }
.learn-lessons li em a { color: var(--ink-2); text-decoration: underline; }
.learn-start { margin: 14px 0 0; }
.learn-meta { font-size: 13px; color: var(--ink-2); margin: 0; }
.learn-sample { padding-top: 44px; }
.learn-sample h2 { font-size: 28px; margin: 6px 0 4px; }
.learn-article { max-width: 760px; margin-top: 18px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 10px; padding: 28px 32px; }
.learn-article h3 { font-size: 18px; margin: 22px 0 8px; }
.learn-article p, .learn-article li { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.learn-article table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 10px 0; }
.learn-article th, .learn-article td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.learn-article figure.px-learn-figure { margin: 18px 0; }
.learn-article figure.px-learn-figure svg { width: 100%; height: auto; max-width: 640px; display: block; }
.learn-article figcaption { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; }
.learn-article details { margin: 4px 0 8px; }
.learn-article summary { cursor: pointer; font-weight: 600; }

/* ---- Verify a record (I-180) ---- */
.verify-panel { padding-top: 28px; max-width: 720px; }
.verify-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.verify-row { display: flex; gap: 10px; }
.verify-row input { flex: 1 1 auto; min-width: 0; padding: 11px 12px; border: 1px solid var(--hairline); border-radius: 8px; font-size: 15px; font-family: ui-monospace, Menlo, monospace; background: var(--surface); color: inherit; }
.verify-result { margin-top: 20px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 10px; padding: 18px 22px; }
.verify-result.ok { border-left: 5px solid #0c7f62; } .verify-result.bad { border-left: 5px solid #b03a2e; }
.verify-result h2 { font-size: 22px; margin: 6px 0 10px; }
.verify-state { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 12px; }
.verify-state.ok { background: #dbeee7; color: #005b44; } .verify-state.bad { background: #f3d9d5; color: #8a2b21; }
.verify-result dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.verify-result dt { font-weight: 700; color: var(--ink-2); } .verify-result dd { margin: 0; }
.verify-fine { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-top: 22px; }
