:root {
  color-scheme: light;
  --navy: #082c58;
  --ink: #173756;
  --muted: #536d84;
  --orange: #ff7919;
  --line: #dce5ee;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--navy); text-underline-offset: 4px; }
a:hover { color: #a84b09; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
p, li { line-height: 1.75; }
p { margin: 0 0 18px; }
h1, h2, h3 { color: var(--navy); word-spacing: normal; }
h1 { font-size: clamp(34px, 4.5vw, 56px); line-height: 1.15; letter-spacing: normal; margin: 16px 0 20px; font-weight: 650; }
h2 { font-size: clamp(26px, 2.7vw, 32px); line-height: 1.3; letter-spacing: normal; margin: 0 0 20px; font-weight: 650; }
h3 { font-size: 19px; line-height: 1.45; letter-spacing: normal; margin: 24px 0 10px; }
.skip { position: fixed; top: -100px; left: 20px; padding: 15px; background: #fff; z-index: 10; }
.skip:focus { top: 10px; }
.announcement { text-align: center; background: var(--navy); color: #e4edf8; padding: 12px 20px; font-size: 10px; letter-spacing: 1.2px; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px max(5.5%, calc((100vw - 1190px)/2)); }
.header { min-height: 108px; border-bottom: 1px solid #e9eef3; }
.logo { display: block; width: 171px; height: auto; }
.logo.small { width: 130px; }
nav { display: flex; flex-wrap: wrap; gap: 24px; }
nav a { font-size: 12px; text-decoration: none; color: var(--muted); }
.hero { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(250px, 1fr); gap: 48px; align-items: center; max-width: 1190px; margin: auto; padding: 40px 32px; }
.back { display: inline-block; font-size: 12px; margin-bottom: 28px; text-decoration: none; }
.eyebrow { font-size: 10px; letter-spacing: 1.3px; font-weight: 650; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }
.intro { font-size: 18px; color: var(--muted); max-width: 570px; margin: 0; }
.limit-card { border: 1px solid #d6e2ed; border-radius: 12px; background: #f3f7fb; text-align: center; padding: 28px 24px; color: var(--navy); }
.number { display: block; font-size: 88px; line-height: 1; letter-spacing: -.045em; font-weight: 650; }
.limit-card strong { display: block; font-size: 19px; margin: 12px 0 16px; }
.limit-card p { color: var(--muted); font-size: 14px; max-width: 270px; margin: 0 auto 16px; }
.card-detail { display: block; border-top: 1px solid #d6e2ed; padding-top: 16px; font-size: 12px; }
.article { max-width: 800px; padding: 0 32px 32px; margin: auto; font-size: 16px; color: var(--muted); }
.article section { padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.article section > :last-child { margin-bottom: 0; }
.article a { font-weight: 600; }
.callout { border-left: 4px solid var(--orange); background: #fff5eb; border-radius: 0 6px 6px 0; padding: 20px 22px; margin: 24px 0; color: var(--navy); }
.callout p { margin: 0; }
.benefits, .steps { padding-left: 24px; margin: 0 0 20px; }
.benefits li, .steps li { padding-left: 5px; margin-bottom: 16px; }
.benefits li:last-child, .steps li:last-child { margin-bottom: 0; }
.benefits strong, .steps strong { color: var(--navy); }
.text-action { display: inline-block; line-height: 1.75; }
.cta { text-align: center; background: #f2f6fa; border-block: 1px solid var(--line); padding: 48px 24px; }
.cta h2 { margin-bottom: 16px; }
.cta > p:not(.eyebrow) { color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; max-width: 100%; background: var(--orange); color: var(--navy); padding: 16px 22px; border-radius: 6px; text-decoration: none; font-size: 14px; line-height: 1.5; font-weight: 650; }
.button:hover { background: #ff8d3a; color: var(--navy); }
.footer { padding-top: 28px; padding-bottom: 28px; }
.footer p { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.footer nav { gap: 22px; }
@media (max-width: 760px) {
  .header, .footer { padding-inline: 24px; }
  .header { gap: 20px; }
  .header .logo { width: 135px; }
  .header nav { justify-content: flex-end; gap: 12px 18px; max-width: 205px; }
  .header nav a { font-size: 11px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 28px 24px 32px; }
  .back { margin-bottom: 24px; }
  .intro { font-size: 17px; }
  .limit-card { max-width: 400px; width: 100%; margin: auto; padding: 24px; }
  .number { font-size: 72px; }
  .limit-card strong { margin: 10px 0 12px; }
  .article { padding: 0 24px 24px; }
  .article section { padding: 28px 0; }
  .footer { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta { padding: 36px 24px; }
}
@media (max-width: 420px) {
  .header { align-items: flex-start; }
  .header .logo { width: 116px; }
  .header nav { max-width: 150px; gap: 10px 14px; }
  .announcement { font-size: 9px; letter-spacing: .8px; }
  .callout { padding: 18px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---- Shared static-page additions (legal pages, /welcome/) ---- */
html { -webkit-text-size-adjust: 100%; }

.footer { flex-wrap: wrap; }
.footer-legal { flex-basis: 100%; border-top: 1px solid var(--line); padding-top: 18px; }
.footer .footer-legal p { font-size: 12px; line-height: 1.7; margin: 0 0 6px; }
.footer-legal a { font-weight: 600; }
.header nav a.nav-cta { color: var(--navy); font-weight: 650; }

/* Legal documents */
.legal-doc { max-width: 820px; margin: 0 auto; padding: 40px 32px 64px; color: var(--ink); font-size: 16px; overflow-wrap: anywhere; }
.legal-doc .legal-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 28px; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.legal-doc .legal-nav a { font-size: 13px; color: var(--muted); text-decoration: none; font-weight: 600; }
.legal-doc .legal-nav a[aria-current="page"], .legal-doc .legal-nav a:hover { color: var(--navy); text-decoration: underline; }
.legal-doc h1 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 12px; }
.legal-doc h2 { font-size: clamp(20px, 2.2vw, 24px); margin: 36px 0 12px; }
.legal-doc h3 { font-size: 17px; }
.legal-doc p, .legal-doc li { line-height: 1.7; }
.legal-doc .version { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.legal-doc button#print-legal { font: inherit; font-size: 13px; font-weight: 650; padding: 9px 16px; border: 1px solid #cdd9e6; color: var(--navy); background: #fff; border-radius: 6px; cursor: pointer; }
.legal-doc button#print-legal:hover { background: #f3f7fb; }
.legal-doc button#print-legal:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; border: 1px solid var(--line); border-radius: 8px; }
.legal-doc table { border-collapse: collapse; width: 100%; font-size: 14px; }
.legal-doc td, .legal-doc th { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-doc th { background: #f3f7fb; color: var(--navy); }
.legal-doc tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) {
  .legal-doc { padding: 28px 22px 48px; font-size: 15px; }
  .legal-doc table { font-size: 13px; table-layout: fixed; }
  .legal-doc td, .legal-doc th { padding: 8px; overflow-wrap: anywhere; word-break: break-word; hyphens: auto; }
}
@media print {
  .skip, .announcement, .header, .footer, .legal-nav, #print-legal { display: none !important; }
  .legal-doc { max-width: none; padding: 0; font-size: 11pt; }
  .table-wrap { border: 0; overflow: visible; }
  h1, h2 { break-after: avoid; } p { orphans: 3; widows: 3; }
  a { color: inherit; text-decoration: none; }
}

/* Welcome / success page */
.welcome { max-width: 860px; margin: 0 auto; padding: 48px 32px 56px; }
.welcome .check { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #e9f6ee; color: #14532d; border: 1px solid #b7e0c4; }
.welcome h1 { margin-top: 20px; }
.welcome .intro { max-width: 640px; }
.next-steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0; display: grid; gap: 14px; }
.next-steps li { counter-increment: step; position: relative; padding: 20px 22px 20px 70px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); }
.next-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 22px; top: 19px; font-weight: 700; color: var(--orange); font-size: 18px; }
.next-steps strong { display: block; color: var(--navy); font-size: 17px; margin-bottom: 4px; }
.schedule { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 0; }
.schedule th, .schedule td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule th { color: var(--navy); white-space: nowrap; }
.welcome .actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 28px; }
.welcome .fine { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .welcome { padding: 32px 22px 40px; }
  .next-steps li { padding: 18px 18px 18px 58px; }
  .next-steps li::before { left: 18px; }
  .schedule th { white-space: normal; }
}

/* /sample landing page */
.sample-hero { align-items: start; }
.sample-points { margin-top: 24px; color: var(--muted); }
.sample-card { border: 1px solid #d6e2ed; border-radius: 12px; background: #f3f7fb; padding: 26px 24px; color: var(--navy); }
.sample-form h2, .sample-thanks h2 { font-size: 22px; margin: 0 0 16px; }
.sample-form .field { margin-bottom: 14px; }
.sample-form label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 6px; color: var(--navy); }
.sample-form input, .sample-form select { width: 100%; min-height: 46px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #b9cadb; border-radius: 6px; padding: 10px 12px; }
.sample-form input:focus-visible, .sample-form select:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--navy); }
.sample-form [aria-invalid="true"] { border-color: #b42318; }
.sample-form .check-field { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 16px; }
.sample-form .check-field input { width: 20px; min-height: 0; height: 20px; flex: 0 0 20px; margin: 2px 0 0; padding: 0; accent-color: var(--navy); }
.sample-form .check-field label { font-size: 13px; font-weight: 500; line-height: 1.5; margin: 0; color: var(--ink); }
.sample-form .button { width: 100%; border: 0; cursor: pointer; font-family: inherit; margin-top: 4px; }
.sample-form .button:disabled { opacity: .65; cursor: progress; }
.sample-form .consent { font-size: 12px; line-height: 1.6; color: var(--muted); margin: 14px 0 0; }
.sample-form .consent a { font-weight: 600; }
.form-error { background: #fdecea; border: 1px solid #f5c2bd; color: #8a1c12; border-radius: 6px; padding: 10px 12px; font-size: 14px; line-height: 1.5; margin: 4px 0 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sample-thanks { text-align: left; }
.sample-thanks:focus { outline: none; }
.sample-thanks .check { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #e9f6ee; color: #14532d; border: 1px solid #b7e0c4; margin-bottom: 14px; }
.sample-thanks p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .sample-card { padding: 22px 18px; } }

/* Footer social links (rel="me"): small icons, 24px tap targets. */
.footer .footer-social { display: flex; gap: 10px; margin-top: 10px; }
.footer-social a { display: inline-flex; padding: 3px; color: var(--muted); border-radius: 4px; }
.footer-social a:hover { color: var(--navy, #082c58); }
.footer-social svg { display: block; width: 18px; height: 18px; }
