
/* Layout concept: a service-record page. Paper ground, navy bands, brass for
   anything you can act on. One bold moment: the "50" in the PCS band. */
:root {
  --paper: #F5F6F2;
  --surface: #FFFFFF;
  --ink: #15202B;
  --muted: #56616B;
  --line: #D9DDD6;
  --navy: #1B2E44;
  --navy-ink: #EEF1EC;
  --brass: #9A6D1E;
  --brass-bright: #C99A3E;
  --brass-soft: #F3E8D2;
  --stamp: #9B3434;
  --olive: #4A5A3C;
  --font-display: "Saira Extra Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 6px;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F161D; --surface: #162029; --ink: #E8EBE6; --muted: #A2ABB2; --line: #2A3743;
    --navy: #0B1219; --navy-ink: #E8EBE6; --brass: #D9AD58; --brass-bright: #E2B865; --brass-soft: #2B2416;
    --stamp: #E07A6E; --olive: #9CB088; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0F161D; --surface: #162029; --ink: #E8EBE6; --muted: #A2ABB2; --line: #2A3743;
  --navy: #0B1219; --navy-ink: #E8EBE6; --brass: #D9AD58; --brass-bright: #E2B865; --brass-soft: #2B2416;
  --stamp: #E07A6E; --olive: #9CB088; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(2.1rem, 6vw, 3.2rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; text-transform: uppercase; letter-spacing: 0.02em; }
p { margin: 0; }
a { color: var(--brass); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--brass-bright); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.section { padding-block: clamp(64px, 10vw, 112px); }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 720px; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; }
.fine { font-size: .82rem; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--radius); font: 600 1rem/1 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brass-bright); color: #1A1306; }
.btn-primary:hover { background: var(--brass); color: #fff; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--navy); color: var(--navy-ink); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-mono); font-size: .6rem; font-weight: 400; letter-spacing: .14em; opacity: .7; margin-top: 3px; }
.nav-links { display: none; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: inherit; text-decoration: none; font-size: .95rem; opacity: .85; }
.nav-links a:hover { opacity: 1; color: var(--brass-bright); }
.nav .btn { min-height: 42px; padding: 0 16px; font-size: .92rem; white-space: nowrap; }
@media (min-width: 960px) { .nav-links { display: flex; } }
@media (max-width: 420px) { .nav .btn { display: none; } }

/* Hero */
.hero { background: var(--navy); color: var(--navy-ink); padding-block: clamp(44px, 8vw, 96px) clamp(60px, 9vw, 112px); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -1px -10%; height: 46px; background: var(--paper); clip-path: polygon(0 100%, 100% 30%, 100% 100%); }
.hero-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero h1 { font-size: clamp(2.7rem, 8.5vw, 4.8rem); text-transform: uppercase; font-weight: 800; margin-top: 14px; }
.hero h1 em { font-style: normal; color: var(--brass-bright); display: block; }
.hero .eyebrow { color: var(--brass-bright); }
.hero .lede { color: color-mix(in srgb, var(--navy-ink) 80%, transparent); margin-top: 20px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.coe { background: #F7F2E6; color: #1E2228; border-radius: 4px; padding: 22px 22px 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); transform: rotate(-1.4deg); font-family: var(--font-mono); position: relative; max-width: 420px; justify-self: center; width: 100%; }
.coe::before { content: ""; position: absolute; inset: 8px; border: 1px solid #C9B98F; pointer-events: none; }
.coe-head { display: flex; justify-content: space-between; gap: 12px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #6B5A33; border-bottom: 1px dashed #C9B98F; padding-bottom: 10px; }
.coe-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid #E4D9BE; font-size: .88rem; }
.coe-row:last-of-type { border-bottom: 0; }
.coe-row b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: #1B2E44; font-variant-numeric: tabular-nums; }
.coe-stamp { position: absolute; right: 18px; bottom: -12px; transform: rotate(-10deg); border: 2px solid #8C2F2F; background: #F7F2E6; color: #8C2F2F; font-size: .7rem; letter-spacing: .14em; padding: 4px 8px; font-weight: 500; }

/* Myths */
.myths { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (max-width: 360px) { .myths { grid-template-columns: 1fr; } }
.myth { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px; display: grid; gap: 14px; align-content: start; }
.myth-line { display: flex; align-items: flex-start; gap: 12px; }
.myth-tag { flex: none; font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .14em; color: var(--stamp); border: 1.5px solid var(--stamp); border-radius: 3px; padding: 3px 7px; transform: rotate(-3deg); margin-top: 4px; }
.myth-text { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; line-height: 1.08; text-transform: uppercase; text-decoration: line-through; text-decoration-color: var(--stamp); text-decoration-thickness: 2px; color: var(--muted); }
.truth { color: var(--ink); }
.truth strong { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); font-weight: 500; margin-bottom: 4px; }

/* PCS / nationwide */
.pcs { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .pcs { grid-template-columns: auto 1fr; gap: 64px; } }
.fifty { font-family: var(--font-display); font-weight: 800; line-height: .8; color: var(--brass); font-size: clamp(9rem, 30vw, 16rem); letter-spacing: -0.02em; }
.fifty small { display: block; font-size: clamp(1.4rem, 4vw, 1.9rem); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-top: 14px; line-height: 1.1; }
.pcs-copy { display: grid; gap: 22px; min-width: 0; }
.pcs-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.pcs-list li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.pcs-list b { font-weight: 700; }
.pcs-list span { color: var(--muted); }

/* Calculator */
.calc-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .calc-grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; } }
.calc-explain { display: grid; gap: 16px; }
.calc-explain p { color: var(--muted); max-width: 52ch; }
.tool { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 20px; background: var(--surface); min-width: 0; }
.fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 12px; min-height: 48px; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--brass); outline: 2px solid color-mix(in srgb, var(--brass) 35%, transparent); }
.out { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.out div { background: var(--surface); padding: 14px 16px; display: grid; gap: 2px; }
.out span { font-size: .8rem; color: var(--muted); }
.out b { font-family: var(--font-mono); font-weight: 500; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.out .hl { background: var(--brass-soft); }

/* Ways to use */
.ways { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.way { background: var(--surface); padding: 26px 24px; display: grid; gap: 8px; align-content: start; }
.way p { color: var(--muted); }
.way .aka { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--olive); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.step { counter-increment: s; display: grid; gap: 8px; align-content: start; border-top: 2px solid var(--navy); padding-top: 16px; }
.step::before { content: counter(s); font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--brass); line-height: .9; }
.step p { color: var(--muted); }

/* About */
.about { display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px) { .about { grid-template-columns: 240px 1fr; gap: 56px; } }
.portrait { position: relative; overflow: hidden; aspect-ratio: 1/1; max-width: 100%; border-radius: var(--radius); background: repeating-linear-gradient(135deg, var(--line) 0 2px, transparent 2px 12px), var(--surface); border: 1px dashed var(--muted); display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .9rem; padding: 20px; }
.about-copy { display: grid; gap: 16px; max-width: 64ch; }
.team-promise { display: grid; gap: 6px; margin-top: 8px; }
.team-promise .list li { padding: 14px 0; }
.portrait { width: 100%; max-width: 240px; }
.portrait:has(img) { border: 0; background: var(--surface); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0 0; }
.creds li { font-family: var(--font-mono); font-size: .76rem; border: 1px solid var(--line); border-radius: 4px; padding: 6px 10px; background: var(--surface); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 1.3rem; color: var(--brass); }
.faq details[open] summary::after { content: "–"; }
.faq-answer { padding: 0 20px 20px; color: var(--muted); max-width: 68ch; }

/* Contact */
.contact { background: var(--navy); color: var(--navy-ink); }
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.contact .lede { color: color-mix(in srgb, var(--navy-ink) 78%, transparent); margin-top: 14px; }
.contact .eyebrow { color: var(--brass-bright); }
.contact-info { display: grid; gap: 14px; margin-top: 24px; font-size: 1.05rem; }
.contact-info b { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .65; font-weight: 400; }
.contact-info a { color: var(--brass-bright); text-decoration: none; font-weight: 600; }
.lead-form { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.lead-form .consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .78rem; color: var(--muted); align-items: start; }
.lead-form .consent input { min-height: 0; width: 18px; height: 18px; margin-top: 2px; }
.form-msg { font-size: .9rem; padding: 12px; border-radius: var(--radius); background: var(--brass-soft); }

/* Footer */
.footer { padding-block: 40px 110px; font-size: .82rem; color: var(--muted); }
.footer-grid { display: grid; gap: 18px; }
.ehl { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer nav a { color: var(--muted); }
@media (min-width: 900px) { .footer { padding-bottom: 40px; } }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; background: var(--navy); padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); border-top: 1px solid rgba(255,255,255,.1); }
.mobile-bar .btn { min-height: 46px; padding: 0 10px; font-size: .95rem; }
.mobile-bar .btn-ghost { color: var(--navy-ink); }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ---- Shared additions for state, base and hub pages ---- */
.crumbs { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; color: color-mix(in srgb, var(--navy-ink) 65%, transparent); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--brass-bright); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.hero-sub h1 { font-size: clamp(2.5rem, 7.5vw, 4.2rem); }
.coe-row b.small { font-size: 1.35rem; }
.note { margin-top: 18px; font-size: .9rem; color: color-mix(in srgb, var(--navy-ink) 70%, transparent); border-left: 2px solid var(--brass-bright); padding-left: 12px; max-width: 60ch; }

.list { list-style: none; padding: 0; margin: 0; display: grid; }
.list li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list b { font-weight: 700; }
.list span { color: var(--muted); }
.list a { font-weight: 700; }
@media (min-width: 760px) { .list.two-col li { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; } }

.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 0.8fr 1.2fr; gap: 56px; } .split .section-head { position: sticky; top: 100px; } }

.callout { background: var(--brass-soft); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 8px; max-width: 760px; }
.callout p { color: var(--ink); }

.state-links { display: grid; gap: 12px; margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.chip:hover { border-color: var(--brass); color: var(--brass); }
.chip-all { background: var(--navy); color: var(--navy-ink); border-color: var(--navy); }
.chip-all:hover { color: var(--brass-bright); border-color: var(--navy); }

.states { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 24px; }
.states li { padding: 11px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.states a { font-weight: 700; text-decoration: none; }
.states a:hover { text-decoration: underline; }
.states .tag { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; color: var(--olive); text-transform: uppercase; }

.cta { background: var(--navy); color: var(--navy-ink); }
.cta .wrap { display: grid; gap: 22px; justify-items: start; }
.cta .lede { color: color-mix(in srgb, var(--navy-ink) 78%, transparent); }
.cta .eyebrow { color: var(--brass-bright); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.disclaimer { font-size: .8rem; color: var(--muted); max-width: 72ch; margin-top: 28px; }
.ways.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 760px) { .list.bylist li { grid-template-columns: 150px minmax(0, 1fr); gap: 20px; } }
.list.bylist a { text-decoration: none; font-weight: 600; }
.list.bylist a:hover { text-decoration: underline; }
.list.bylist li > span { color: var(--muted); line-height: 1.8; }
.hero .q { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--brass-bright); margin-top: 18px; line-height: 1.3; }
.hero .q + .lede { margin-top: 6px; }
.byline { margin-top: 14px; font-size: .84rem; color: color-mix(in srgb, var(--navy-ink) 70%, transparent); }
.byline a { color: inherit; }
.sources { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; max-width: 760px; }
.sources ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: .88rem; }
.related { margin-top: 28px; display: grid; gap: 10px; max-width: 760px; }
.related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.related ul a { display: inline-flex; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-size: .9rem; font-weight: 600; background: var(--surface); }
.related ul a:hover { border-color: var(--brass); }
.quote { margin: 8px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--brass-bright); font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; line-height: 1.15; text-transform: uppercase; color: var(--ink); }
.quote cite { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: .74rem; font-style: normal; letter-spacing: .1em; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
table.compare caption { text-align: left; padding: 14px 16px 4px; font-size: .85rem; color: var(--muted); }
table.compare th, table.compare td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
table.compare thead th { font-family: var(--font-mono); font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
table.compare tbody th { font-weight: 600; width: 22%; }
table.compare td.win { background: var(--brass-soft); font-weight: 600; }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }
.social { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.social-list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social-list a { display: inline-flex; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; background: var(--paper); }
.about-photo { max-width: 260px; justify-self: center; }
.legal { max-width: 70ch; display: grid; gap: 14px; }
.legal h2 { font-size: 1.3rem; margin-top: 18px; color: var(--ink); }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal p, .legal li { color: var(--ink); line-height: 1.6; }
