:root {
  --navy: #0b1f3a;
  --navy-2: #13315c;
  --green: #15803d;
  --green-light: #22c55e;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg-soft: #f5f8fc;
  --radius: 14px;
  --max: 1120px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; }
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-2); }
a:hover { color: var(--green); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; border-radius: 6px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--navy); text-decoration: none; }
.site-nav { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: .95rem; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--navy); }

/* Buttons */
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #166534; color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #1d4ed8 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #e2e8f0; padding: 64px 0 72px; }
.hero h1 { color: #fff; }
.hero .lede { font-size: 1.15rem; max-width: 36em; color: #cbd5e1; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-light); margin-bottom: 12px; }

/* Example phone/notification mock */
.mock { background: #fff; color: var(--ink); border-radius: 22px; padding: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.35); max-width: 380px; margin: 0 auto; width: 100%; }
.mock-label { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.bubble { background: #eef2f7; border-radius: 16px 16px 16px 4px; padding: 12px 14px; font-size: .92rem; margin-bottom: 10px; }
.bubble strong { color: var(--navy); }
.bubble.alt { background: #e8f7ee; }

/* Sections */
section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 46em; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: #e8f7ee; color: var(--green); display: grid; place-items: center; margin-bottom: 14px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.steps li { counter-increment: step; position: relative; padding-left: 56px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps p { color: var(--muted); margin: 0; }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.cta-band { background: var(--navy); color: #cbd5e1; border-radius: var(--radius); padding: 40px 28px; text-align: center; }
.cta-band h2 { color: #fff; }

/* Prose (legal pages) */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 48px 0 32px; }
.page-head p { color: var(--muted); margin: 0; }
.prose { max-width: 760px; padding-top: 40px; padding-bottom: 64px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2 220px; }
.callout { border-left: 4px solid var(--green); background: #f0fdf4; padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1em 0 1.5em; }
.callout p:last-child { margin-bottom: 0; }
address { font-style: normal; }
mark.todo { background: #fef08a; color: #713f12; padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* SMS form */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(15,23,42,.06); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field select { width: 100%; background: #fff; color: var(--ink); font-size: 1.05rem; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; font-family: inherit; }
.field input:focus, .field select:focus { outline: 3px solid #bbf7d0; border-color: var(--green); }
.hint { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 20px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--green); }
.consent label { font-size: .92rem; color: #334155; }
.consent-links { font-size: .9rem; margin: -8px 0 20px; }
.optional { font-weight: 400; color: var(--muted); }
.age-note { font-size: .9rem; color: #334155; background: var(--bg-soft); border-radius: 10px; padding: 10px 14px; margin-bottom: 20px; }
.error { color: #b91c1c; font-size: .9rem; margin-top: 6px; }
.confirmation { border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: var(--radius); padding: 20px; }
.confirmation h2 { font-size: 1.25rem; }
[hidden] { display: none !important; }

/* Contact */
.contact-grid { display: grid; gap: 20px; }

/* Footer */
.site-footer { background: var(--navy); color: #94a3b8; padding: 36px 0; font-size: .92rem; }
.site-footer p { margin: 0 0 6px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; }
.footer-nav a { color: #e2e8f0; text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: var(--green-light); text-decoration: underline; }

@media (min-width: 760px) {
  .hero { padding: 96px 0 104px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 88px 0; }
}
.spaced { margin-top: 32px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#consent-error { margin: -8px 0 16px; }
.btn[disabled] { opacity: .7; cursor: wait; }
