/* Your Healthcare Access — site styles */
:root {
  --ink: #0F2E35;
  --sea: #1F6F78;
  --mist: #E6F0EE;
  --paper: #FFFFFF;
  --sun: #F6B93B;
  --sun-dark: #E3A41E;
  --text: #1B2A2E;
  --muted: #51646A;
  --line: #C9D9D6;
  --on-ink: #CFE3E0;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --body: 'Figtree', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); }
img, svg { max-width: 100%; display: block; }
a { color: var(--sea); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.1; }
.brand img { width: 60px; height: 50px; }
.header-note { margin: 0; max-width: 360px; font-size: 13px; line-height: 1.45; color: var(--muted); text-align: right; }

/* Hero */
.hero { background: var(--ink); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; grid-template-areas: "intro form" "checks form"; grid-template-rows: auto 1fr; column-gap: 64px; padding-top: 72px; }
.hero-intro { grid-area: intro; }
.hero-checks { grid-area: checks; align-self: start; padding-bottom: 80px; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4.8vw, 3.7rem); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 20px; max-width: 13em; }
.lede { font-size: 1.15rem; color: var(--on-ink); max-width: 32em; margin: 0 0 32px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 300; }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }

/* The form panel */
.arch { grid-area: form; align-self: end; justify-self: end; width: 100%; max-width: 480px; background: var(--paper); color: var(--text); border-radius: 16px; padding: 40px 36px; }
.hero .arch { margin-bottom: 32px; }
.arch h2 { font-family: var(--display); font-weight: 800; font-size: 1.65rem; line-height: 1.15; letter-spacing: -0.015em; text-align: center; margin: 0 0 6px; }
.arch .sub { text-align: center; color: var(--muted); font-size: 0.98rem; margin: 0 0 24px; }

/* Form */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.field input, .field select { width: 100%; height: 52px; padding: 0 14px; font: inherit; font-size: 17px; color: var(--text); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; }
.field input:focus, .field select:focus { border-color: var(--sea); outline: none; box-shadow: 0 0 0 3px rgba(31, 111, 120, 0.2); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2351646A' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; padding-right: 36px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 20px; }
.consent input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--sea); }
.consent label { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.btn-primary { display: block; width: 100%; height: 58px; border: 0; border-radius: 12px; background: var(--sun); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.15rem; cursor: pointer; transition: background-color .15s ease; }
.btn-primary:hover { background: var(--sun-dark); }
.btn-primary[disabled] { opacity: .7; cursor: progress; }
.form-error { background: #FDECEA; color: #8A1C12; border-radius: 8px; padding: 12px 14px; font-size: 0.95rem; margin: 0 0 18px; }

/* How it works */
.steps { padding: 72px 0 80px; }
.steps h2, .info h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 32px; }
.step-list { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-list li { counter-increment: step; border-top: 2px solid var(--line); padding-top: 20px; }
.step-list li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--sea); margin-bottom: 14px; }
.step-list h3 { font-size: 1.15rem; margin: 0 0 6px; }
.step-list p { margin: 0; color: var(--muted); }

/* Important information */
.info { background: var(--mist); padding: 64px 0; }
.info h2 { margin-bottom: 20px; }
.info p { max-width: 70ch; margin: 0 0 16px; }
.info p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink); padding: 56px 0 32px; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.brand-light { color: #fff; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-grid h2 { font-family: var(--display); font-size: 1.05rem; color: #fff; margin: 6px 0 12px; }
.footer-grid p { margin: 0 0 12px; max-width: 60ch; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.15); margin: 36px 0 0; padding-top: 24px; font-size: 0.88rem; }
.copyright { font-size: 0.88rem; margin: 10px 0 0; }

/* Thank-you */
.thanks .wrap { display: flex; justify-content: center; padding-top: 64px; }
.thanks .arch { justify-self: auto; max-width: 560px; text-align: center; padding-bottom: 56px; }
.thanks .tick { width: 56px; height: 56px; margin: 0 auto 16px; }
.thanks .ready { text-align: left; margin: 24px 0 0; padding: 0 0 0 20px; color: var(--text); }
.thanks .ready li { margin-bottom: 6px; }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 8px; }
.legal .effective { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-family: var(--display); font-size: 1.35rem; margin: 40px 0 12px; }
.legal p, .legal li { color: #34464B; }
.legal ul { padding-left: 22px; }
.legal h1, .legal .effective, .legal h2, .legal p, .legal ul,
.legal ol {     max-width: fit-content;

    
}

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; grid-template-areas: "intro" "form"; padding-top: 40px; }
  .hero-checks { display: none; }
  .lede { margin-bottom: 28px; }
  .arch { justify-self: stretch; max-width: none; padding-left: 22px; padding-right: 22px; }
  .step-list { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
  .header-note { text-align: left; max-width: none; font-size: 12px; }
  .brand { font-size: 1.15rem; }
  .field-row { grid-template-columns: 1fr 1fr; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
