:root{--bg:#FFFFFF;--white:#FFFFFF;--surface:#F2F4F7;--surface-2:#F7F8FA;/* brand tokens (docs/BRAND.md §2). The engine's role names below alias them, so engine CSS cherry-picks unchanged. */
  --brand-navy:       #003052;   /* base: header, footer, headings, structure */
  --brand-teal:       #0F766E;   /* ACTION: buttons, links, selected tiles, step circles, progress. 5.47:1 on white (AA) */
  --brand-teal-hover: #0B5E58;   /* 7.62:1 on white */
  --brand-mid:        #588ED0;   /* secondary, form-card accents. 3.4:1 on white → ≥18px text or non-text only */
  --primary:       var(--brand-navy);   /* navy: structure — headings accent, nav, phone button, bands, selections */
  --primary-2:     var(--brand-mid);
  --primary-hover: #00223A;   /* navy button hover */
  --primary-tint:  #EFF3F9;   /* icon circles, section boxes, "Lead received ✓", console DQ box */
  --primary-line:  #C9D6E6;   /* hairline around --primary-tint boxes */
  --track:         #DCE7F5;   /* form progress track behind the teal fill (v0.6.3 form polish) */
  --primary-2-text: #3776C3;  /* --primary-2's hue darkened to 4.62:1 on white:small mid-blue UI labels (step label,subline) */ --accent:var(--brand-teal);--accent-fill:var(--brand-teal);--accent-hover:var(--brand-teal-hover);--accent-tint:#E6F4F2;--warn:#B45309;--warn-text:#7A4B00;--warn-tint:#FFF4E0;--text:#101010;--text-body:#333333;--text-muted:#6B6B6B;--muted:var(--text-muted);--border:#E3E6EA;--border-input:#C7C3C3;--border-field:#C9D2DE;--border-strong:#D5D9DE;--disabled-bg:#D5D9DE;--disabled-text:#4A4F55;--footer:#1A1919;--footer-bg:var(--footer);--footer-text:#C7C3C3;--footer-muted:#9A9A9A;--footer-accent:#5EC4B8;/* "Enroll Guide" in the footer wordmark (light teal on --footer,8.4:1) */ --on-dark-90:rgba(255,255,255,.9);--on-dark-85:rgba(255,255,255,.85);--on-dark-line:rgba(255,255,255,.1);--hero-wash:rgba(242,244,247,.80);--font:'Plus Jakarta Sans','Plus Jakarta Sans Fallback',Inter,system-ui,sans-serif;--font-display:'Archivo','Archivo Fallback','Arial Black',Arial,sans-serif;--radius-btn:8px;--radius-card:14px;--radius-tile:10px;--container:1140px;--shadow:0 1px 2px rgba(0,0,0,.04);--shadow-pop:0 6px 24px rgba(0,0,0,.14);--header-h:60px}/* ============================================================ 1b. Metric-matched font fallbacks (CLS) Google Fonts loads non-blocking with display=swap,so the first paint uses a local font. These faces resize the local font to the web font's width and line box (measured from the font files with
   Pillow: size-adjust = sample width ratio, ascent/descent = web-font metrics / size-adjust), so the
   swap reflows nothing. Before: CLS 0.49-0.61 mobile, almost all "Web font loaded" on the form card.
   Engine-level fix, portable to mva-lander (same fonts, same loading). */
@font-face {
  font-family: 'Archivo Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Arial');
  font-weight: 800;
  size-adjust: 102.87%;
  ascent-override: 85.35%;
  descent-override: 20.41%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Plus Jakarta Sans Fallback';
  src: local('Arial'), local('ArialMT');
  size-adjust: 106%;
  ascent-override: 97.9%;
  descent-override: 20.9%;
  line-gap-override: 0%;
}

/* ============================================================ 2. Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* the hidden attribute beats any display:flex/grid below (status row, recap, phone-confirm field) */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
img { vertical-align: middle; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
main { display: block; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ============================================================ 3. Type scale (BRAND §2) */
h1, h2, h3, h4 { color: var(--text); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.01em; }
h2.h3, h2.footer-heading { font-family: var(--font); font-weight: 600; letter-spacing: 0; }
h1 { font-size: 36px; }
h2 { font-size: 26px; }
h3 { font-size: 18px; }
p  { margin: 0 0 1em; }
.small { font-size: 14px; }
.legal { font-size: 12px; }
.muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.eyebrow {
  display: block;
  color: var(--accent-fill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.band-primary .eyebrow, .on-dark .eyebrow { color: var(--on-dark-90); }
/* hero eyebrow: sentence case, muted, orange shield-check inline */
.eyebrow-hero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 12px;
}
.eyebrow-hero svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.eyebrow-hero a { color: inherit; }
.section-head { text-align: center; }
@media (min-width: 768px) {
  body { font-size: 17px; }
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  h3 { font-size: 20px; }
}

/* ============================================================ 4. Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 768px) { .container { padding-left: 24px; padding-right: 24px; } }

.band { padding: 48px 0; }
@media (min-width: 768px) { .band { padding: 72px 0; } }
.band.textured { padding-top: 24px; }                       /* How it works: half the usual top padding */
@media (min-width: 768px) { .band.textured { padding-top: 36px; } }
.band-surface { background: var(--surface); }
.band-primary { background: var(--primary); color: var(--white); }
.band-primary h1, .band-primary h2, .band-primary h3 { color: var(--white); }
.band-primary .muted { color: var(--on-dark-85); }
.band-primary a:not(.btn) { color: var(--white); }

/* BRAND §4a — wave texture (How it works; optional on FAQ) */
.textured{background-color:var(--surface-2);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23003052' stroke-opacity='0.07' stroke-width='1.2'%3E%3Cpath d='M0 40 Q55 10 110 40 T220 40'/%3E%3Cpath d='M0 80 Q55 50 110 80 T220 80'/%3E%3Cpath d='M0 120 Q55 90 110 120 T220 120'/%3E%3Cpath d='M0 160 Q55 130 110 160 T220 160'/%3E%3Cpath d='M0 200 Q55 170 110 200 T220 200'/%3E%3C/g%3E%3C/svg%3E")}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow);
}
/* How-it-works step card: blue 01/02/03 top-left, icon badge top-right (BRAND §4 row 3) */
.step-card { position: relative; padding-right: 72px; }
.step-num { color: var(--primary); font-weight: 600; font-size: 14px; margin: 0 0 8px; }
.step-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  border: 2.5px solid var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-badge svg { width: 18px; height: 18px; }
.grid-3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ============================================================ 5. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-btn);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent-fill); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); }
.btn-secondary { background: var(--primary); color: var(--white); }
.btn-secondary:hover { background: var(--primary-hover); color: var(--white); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--disabled-bg); border-color: var(--disabled-bg); color: var(--disabled-text); cursor: not-allowed; }
/* BRAND §6: all buttons full width on phones, except inline ones (header) */
@media (max-width: 767px) { .btn:not(.btn-inline) { width: 100%; } }

/* ============================================================ 6. Form base (BRAND §6: 48px inputs, 16px font) */
.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-btn);
}
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: var(--primary); }
.textarea { min-height: 96px; resize: vertical; }
/* Native date inputs — the qualifier dates (.fdate-input, label overlay "Select a date") and the DOB
   field on both details pages (.fdate-dob, overlay "MM / DD / YYYY" while empty). WebKit sizes
   <input type="date"> from its intrinsic locale width and centres the value, so on iPhone Safari the
   control spills past its box: force block sizing, no native appearance, left-aligned value. */
input[type="date"] { display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; -webkit-appearance: none; appearance: none; min-height: 48px; line-height: 1.4; font-size: 16px; font-family: inherit; text-align: left; margin: 0; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; min-height: 1.4em; }
input[type="date"]::-webkit-datetime-edit { padding: 0; }
.field, .fdate { min-width: 0; }
.fdate { overflow: hidden; border-radius: 10px; }
.fdate-dob { position: relative; min-width: 0; }
.fdate-dob .fdate-label { display: none; color: var(--text-muted); }
.fdate-dob.is-empty .fdate-label { display: block; }
.fdate-dob.is-empty input:focus ~ .fdate-label { display: none; }
.fdate-dob.is-empty input:not(:focus)::-webkit-datetime-edit { color: transparent; }

/* ============================================================ 7. Shell — disclosure bar + sticky header */
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 1000;
  background: var(--white); color: var(--primary); padding: 10px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-btn); text-decoration: none;
}
.skip-link:focus { left: 8px; }

/* placeholders reserve space until shell.js swaps the partials in (no layout shift):
   disclosure bar (2 lines under ~600px, else 1) + header (56 mobile / 72 desktop) */
[data-shell="header"] { min-height: 102px; }
[data-shell="footer"] { min-height: 480px; background: var(--footer-bg); }
@media (min-width: 600px)  { [data-shell="header"] { min-height: 84px; } }
@media (min-width: 1024px) { [data-shell="header"] { min-height: 100px; } }

.disclosure-bar {
  background: var(--surface);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  padding: 5px 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;             /* ≤ 64px on mobile (BRAND §6); 44px controls + 6px */
}
@media (min-width: 1024px) { .site-header > .container { min-height: 72px; gap: 24px; } }

/* logo = mark SVG + real-text wordmark (BRAND §3) */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  flex: none;
}
.logo img { width: 36px; height: 36px; flex: none; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
  line-height: 1;
  white-space: nowrap;
}
.wordmark b { font-weight: inherit; color: var(--primary); }   /* "Medicare" — navy */
.wordmark em { font-style: normal; color: var(--accent); }        /* "Enroll Guide" — teal (no star, no insignia) */
@media (max-width: 399px) { .wordmark { font-size: 18px; } }
/* phones: "Medicare Enroll Guide" is wider than the clone source's wordmark,so the header stacks it on two lines ("Medicare" / "Enroll Guide") to keep #,phone and menu in the bar with no horizontal scroll at 360–767px */ @media (max-width:767px){.site-header .wordmark{display:inline-flex;flex-direction:column;font-size:18px;line-height:1.04}}@media (max-width:399px){.site-header .wordmark{font-size:17px}}@media (min-width:768px){.wordmark{font-size:22px}}@media (min-width:1024px){.site-header .logo img{width:44px;height:44px}.site-header .wordmark{font-size:26px}}.header-actions{display:flex;align-items:center;gap:8px;flex:none}.phone-btn,.code-btn{min-height:44px;min-width:44px;padding:0 12px;font-size:15px}.phone-btn .phone-text,.code-btn .code-text{display:none}@media (min-width:768px){.phone-btn,.code-btn{padding:0 18px}.phone-btn .phone-text,.code-btn .code-text{display:inline}}.nav-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--border);border-radius:var(--radius-btn);background:var(--white);color:var(--text);cursor:pointer}.nav-toggle svg{width:24px;height:24px}.nav-toggle .icon-close{display:none}.nav-toggle[aria-expanded="true"] .icon-menu{display:none}.nav-toggle[aria-expanded="true"] .icon-close{display:block}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--white);border-bottom:1px solid var(--border);box-shadow:var(--shadow);max-height:calc(100vh - var(--header-h));overflow-y:auto}.site-nav.is-open{display:block}.site-nav ul{list-style:none;margin:0;padding:8px 0}.site-nav li{margin:0}.site-nav a,.nav-drop-btn{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:48px;padding:10px 16px;color:var(--text);font-weight:500;font-size:16px;text-decoration:none;text-align:left;background:none;border:0;cursor:pointer}.site-nav a:hover,.site-nav a[aria-current="page"],.nav-drop-btn:hover,.nav-drop-btn[aria-expanded="true"]{color:var(--primary)}.nav-drop-btn svg{width:18px;height:18px;flex:none;transition:transform .15s}.nav-drop-btn[aria-expanded="true"] svg{transform:rotate(180deg)}.nav-sub{display:none;list-style:none;margin:0;padding:4px 0 8px;background:var(--surface)}.nav-drop-btn[aria-expanded="true"] + .nav-sub{display:block}.nav-sub a{padding-left:32px;min-height:44px;font-weight:400}.nav-cta{padding:8px 16px 12px}.nav-cta .btn{width:100%;justify-content:center;padding:12px 22px;color:var(--white);background:var(--primary)}.nav-cta .btn:hover{color:var(--white);background:var(--primary-hover)}@media (max-width:1023px){html.nav-open{overflow:hidden}}@media (min-width:1024px){.nav-toggle{display:none}.site-nav{display:flex;position:static;flex:1;justify-content:center;background:none;border:0;box-shadow:none;max-height:none;overflow:visible}.site-nav>ul{display:flex;align-items:center;gap:4px;padding:0}.site-nav li{position:relative}.site-nav a,.nav-drop-btn{width:auto;min-height:44px;padding:8px 14px;font-size:15px;border-radius:var(--radius-btn)}.site-nav a:hover,.nav-drop-btn:hover{background:var(--surface)}.nav-sub{position:absolute;top:100%;left:0;min-width:230px;margin-top:4px;padding:6px;background:var(--white);border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:var(--shadow)}.nav-sub a{padding:8px 12px;min-height:40px;font-weight:400;white-space:nowrap}.nav-cta{display:none}}.site-footer{background:var(--footer-bg);color:var(--footer-text);padding:48px 0 24px;font-size:15px;line-height:1.5}.footer-grid{display:grid;grid-template-columns:1fr;gap:32px}@media (min-width:768px){.footer-grid{grid-template-columns:1fr 1fr;gap:32px 24px}}@media (min-width:1024px){.footer-grid{grid-template-columns:1.6fr 1fr 1fr 1.4fr;gap:24px}}.footer-logo{display:inline-flex;align-items:center;gap:10px;margin:0 0 14px;text-decoration:none}.footer-logo img{width:36px;height:36px}.footer-logo .wordmark{display:inline;font-size:20px}.footer-logo .wordmark b{color:var(--white)}.footer-logo .wordmark em{color:var(--footer-accent)}.footer-blurb{max-width:34ch;margin:0}.footer-heading{color:var(--white);font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;margin:0 0 12px}.site-footer ul{list-style:none;margin:0;padding:0}.site-footer li{margin:0}.site-footer a{color:var(--footer-text);text-decoration:none}.site-footer a:hover{color:var(--white);text-decoration:underline}.footer-col li a{display:inline-flex;align-items:center;min-height:44px}.site-footer address{font-style:normal;padding:8px 0}@media (min-width:1024px){.footer-col li a{min-height:32px}}.footer-disclosure{margin:40px 0 0;padding-top:24px;border-top:1px solid var(--on-dark-line);color:var(--footer-muted);font-size:12px;line-height:1.55}.footer-bottom{display:flex;flex-wrap:wrap;gap:8px 24px;align-items:center;justify-content:space-between;margin-top:16px;font-size:12px;color:var(--footer-muted)}.footer-copy{margin:0}.footer-owner{margin:12px 0 0;font-size:12px;line-height:1.55;color:var(--footer-muted)}.footer-tpmo{margin:12px 0 0;font-size:12px;line-height:1.55;color:var(--footer-text)}.footer-legal{display:flex;flex-wrap:wrap;gap:4px 20px}.footer-legal a{display:inline-flex;align-items:center;min-height:32px;color:var(--footer-muted)}.footer-legal a:hover{color:var(--white)}.legal{max-width:760px;margin:0 auto;padding:40px 16px 64px}@media (min-width:768px){.legal{padding:56px 24px 80px}}.legal h1{font-size:32px;margin:0 0 8px}.legal .updated{color:var(--text-muted);font-size:14px;margin:0 0 28px}.legal h2{font-size:22px;margin:36px 0 12px}.legal p,.legal li{font-size:17px;line-height:1.6;color:var(--text-body)}.legal p{margin:0 0 16px}.legal ul{margin:0 0 16px;padding-left:22px}.legal li{margin:0 0 8px}.legal address{font-style:normal;font-size:17px;line-height:1.6;color:var(--text-body)}.legal .placeholder{color:var(--warn);font-family:ui-monospace,Menlo,Consolas,monospace;font-size:15px}.legal h3{font-size:18px;margin:22px 0 8px}.legal .sms-script{margin:0 0 16px;padding:14px 18px;border-left:3px solid var(--primary);background:var(--primary-tint);border-radius:0 8px 8px 0}.legal .sms-script p{margin:0}.legal .sms-convo{margin:0 0 16px;padding:4px 18px 14px;border:1px solid var(--border);border-radius:14px}.legal .sms-convo dt{margin:12px 0 2px;font-size:14px;font-weight:600;color:var(--text-muted)}.legal .sms-convo dd{margin:0;font-size:17px;line-height:1.6;color:var(--text-body)}.legal .sms-label{margin:0 0 6px;font-size:14px;font-weight:600;color:var(--text-muted)}.legal .sms-sample{max-width:440px;padding:12px 16px;border:1px solid var(--border);background:var(--surface);border-radius:14px;overflow-wrap:anywhere}.legal .counsel-note{margin:0 0 16px;padding:12px 16px;background:var(--warn-tint);border-left:4px solid var(--warn);border-radius:0 var(--radius-btn) var(--radius-btn) 0;color:var(--warn-text);font-size:16px;line-height:1.55}.page-intro{padding:32px 0 36px;text-align:center}@media (min-width:768px){.page-intro{padding:48px 0 52px}}.page-intro h1{max-width:20ch;margin:0 auto 12px}.page-intro .intro{max-width:640px;margin:0 auto;font-size:17px;color:var(--text-body)}.container.narrow{max-width:760px}.container.prose{max-width:760px}.prose h2{font-size:22px;margin:36px 0 12px}.prose h2:first-child{margin-top:0}.prose p{font-size:17px;line-height:1.6;margin:0 0 16px}.prose address{font-style:normal;font-size:17px;line-height:1.6;color:var(--text-body)}.prose .diff-list{margin:8px 0 24px}.h3{font-size:18px}@media (min-width:768px){.h3{font-size:20px}}.step-card .h3{margin:0 0 8px}.lead-p{font-size:17px;line-height:1.6}.list-label{font-size:15px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin:0 0 10px}.check-list-no svg{color:var(--text-muted)}.faq-groups h2{font-size:22px;margin:32px 0 6px;padding-bottom:8px}.faq-groups h2:first-child{margin-top:0}.faq-groups .acc-item h3{margin:0;font-size:inherit}.faq-groups{border-top:0}.contact-grid{display:grid;gap:28px}@media (min-width:1024px){.contact-grid{grid-template-columns:1fr 1.2fr;gap:48px;align-items:start}}.contact-cards{display:grid;gap:12px}.contact-card{display:flex;gap:14px;align-items:flex-start;padding:18px 20px;background:var(--white);border:1px solid var(--border);border-radius:var(--radius-card)}.contact-card .case-icon{flex:none}.contact-card .h3{margin:4px 0 4px}.contact-card p{margin:4px 0 0;font-size:15px;color:var(--text-body)}.contact-card address{font-style:normal;font-size:16px;line-height:1.5;color:var(--text-body)}.contact-link{display:inline-flex;align-items:center;min-height:44px;font-weight:600;font-size:17px;text-decoration:none;word-break:break-all}.contact-note{margin:16px 0 0}.contact-band .form-card{margin:0 auto}.contact-form{margin-top:28px}@media (min-width:1024px){.contact-grid{grid-template-columns:1fr}.contact-form{margin-top:40px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.code-band{padding:40px 0 64px}@media (min-width:768px){.code-band{padding:64px 0 96px}}.code-card{max-width:440px;margin:0 auto;padding:26px 14px 24px;background:var(--white);border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:var(--shadow);text-align:center}@media (min-width:768px){.code-card{padding:36px 36px 32px}}.code-eyebrow{display:block;margin:0 0 8px;font-size:14px;color:var(--text-muted)}.code-card h1{margin:0 0 22px;font-size:26px;line-height:1.2}.code-entry{position:relative;margin:0 0 14px}.code-boxes{display:flex;justify-content:center;align-items:center;gap:4px}.code-box{display:flex;align-items:center;justify-content:center;width:44px;height:56px;border:1.5px solid var(--border-input);border-radius:10px;background:var(--white);font-size:26px;font-weight:600;line-height:1;color:var(--text);transition:border-color .12s,background-color .12s,box-shadow .12s}.code-box.is-filled{border-color:var(--primary);background:var(--primary-tint);color:var(--primary)}.code-box.is-active{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-tint)}.code-sep{width:10px;height:2px;margin:0 2px;border-radius:1px;background:var(--border-input);flex:none}@media (min-width:768px){.code-boxes{gap:6px}.code-box{width:38px;height:50px}}.code-input{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;font-size:16px;color:transparent;background:transparent;cursor:text}.code-msg{margin:0 0 14px;font-size:13px;line-height:1.5}.code-msg.err{color:var(--warn)}.code-msg.info{padding:10px 12px;font-size:14px;color:var(--text-body);background:var(--primary-tint);border-radius:var(--radius-btn)}.code-card .btn{width:100%}.code-alt{margin:16px 0 0;font-size:14px;color:var(--text-muted)}.code-alt a{color:var(--accent);font-weight:500}.link-notice{max-width:720px;margin:0 auto 14px;padding:10px 14px;border-radius:var(--radius-btn);background:var(--warn-tint);color:var(--warn-text);font-size:14px;text-align:center}.phone-confirm .consent{font-size:15px;font-weight:500;color:var(--text);align-items:center}.phone-confirm .consent input{margin:0}.console-header{background:var(--white);border-bottom:1px solid var(--border)}.console-header .container{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;min-height:60px;padding-top:8px;padding-bottom:8px}.console-chip{font-size:13px;color:var(--text-muted);white-space:nowrap}.console-chip b{color:var(--text);font-weight:600}.console-chip.missing{color:var(--warn)}.console-head-right{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;justify-content:flex-end}.find-toggle{min-height:36px;padding:6px 14px;font-size:14px}.test-chip{display:inline-block;padding:3px 8px;border:1px solid var(--warn);border-radius:999px;background:var(--warn-tint);color:var(--warn-text);font-size:11px;font-weight:600;letter-spacing:.06em;white-space:nowrap}.test-chip[hidden],.find-toggle[hidden]{display:none}.console-header .container.find-wrap{display:block;min-height:0;padding-top:0;padding-bottom:0}/* not the header row's 60px */
.find-panel { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.find-row { display: flex; align-items: flex-end; gap: 8px 10px; flex-wrap: wrap; }
.find-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-muted); }
.find-field .input { width: 128px; min-height: 40px; }
.find-or { padding-bottom: 10px; font-size: 13px; color: var(--text-muted); }
.find-row .btn { min-height: 40px; }
.find-msg { margin: 8px 0 0; font-size: 14px; color: var(--warn-text); }
.find-msg:empty { display: none; }
.find-pick-title { margin: 10px 0 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.find-pick-list { display: flex; flex-direction: column; gap: 6px; }
.find-pick { display: block; width: 100%; padding: 10px 12px; border: 1px solid var(--border-input); border-radius: var(--radius-btn); background: var(--white); color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.find-pick:hover, .find-pick:focus-visible { border-color: var(--accent); }
@media (max-width: 767px) { .find-field { flex: 1 1 120px; } .find-field .input { width: 100%; } .find-row .btn { flex: 1 1 100%; } }
.console-main { padding: 24px 0 56px; background: var(--surface); min-height: calc(100vh - 118px); }
.console-card { max-width: 560px; margin: 0 auto 16px; padding: 22px 18px 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow); }
@media (min-width: 768px) { .console-card { padding: 28px 28px 24px; } }
.console-card h1, .console-card h2 { margin: 0 0 14px; font-size: 20px; line-height: 1.25; }
.console-card .tiles { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .console-card .tiles { grid-template-columns: repeat(3, 1fr); } }
.console-card .btn-primary, .console-card .btn-secondary { width: 100%; }
.console-card .form-alert { margin-bottom: 14px; }
.recap-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 15px; color: var(--text-body); }
.recap-line b { color: var(--text); font-weight: 600; }
.code-label { margin: 0 0 4px; font-size: 13px; color: var(--text-muted); text-align: center; }
.big-code { margin: 0 0 14px; font-size: 52px; font-weight: 600; line-height: 1; letter-spacing: .04em; color: var(--primary); font-variant-numeric: tabular-nums; text-align: center; }
@media (min-width: 768px) { .big-code { font-size: 64px; } }
.big-code .hy { color: var(--accent); padding: 0 .04em; }
.script-line { margin: 0 0 12px; font-size: 16px; line-height: 1.5; text-align: center; }
.script-line b { font-weight: 600; }
.hash-chip { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin: 0 2px; border-radius: 6px; background: var(--accent-fill); color: var(--white); font-weight: 600; font-size: 15px; vertical-align: -6px; }
.copy-row { display: flex; gap: 8px; margin: 0 0 16px; }
.copy-row .btn { flex: 1; min-height: 44px; padding: 8px 12px; font-size: 14px; background: var(--white); color: var(--text); border-color: var(--border-input); }
.copy-row .btn:hover { background: var(--surface); }
.copy-row .btn.done { background: var(--primary-tint); color: var(--primary); border-color: transparent; }
.sms-line { margin: -6px 0 14px; font-size: 14px; color: var(--primary); text-align: center; }
/* v0.9.1: code lifetime line + the QR button / popover */
.code-ttl { margin: -4px 0 12px; font-size: 14px; color: var(--text-muted); text-align: center; }
.copy-row { position: relative; }
.copy-row .btn.qr-btn { flex: 0 0 auto; width: auto; min-width: 56px; font-weight: 600; }   /* not full-width on phones */
.qr-pop { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; width: 248px; max-width: calc(100vw - 32px); padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow-pop); text-align: center; }
.qr-svg svg { display: block; width: 216px; height: 216px; max-width: 100%; margin: 0 auto; }
.qr-note { margin: 10px 0 6px; font-size: 13px; line-height: 1.4; color: var(--text-muted); }
.qr-pop .link-btn { color: var(--accent); font-weight: 600; }
.status-row { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 12px 14px; border-radius: var(--radius-btn); background: var(--surface); font-size: 16px; font-weight: 500; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot.amber { background: var(--warn); }
.dot.blue { background: var(--primary); }
.dot.green { background: var(--primary); }
.dot.red { background: var(--muted); }
.dot.amber, .dot.blue { animation: dot-pulse 1.4s ease-in-out infinite; }
@keyframes dot-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.received { text-align: center; padding: 16px 14px 10px; background: var(--primary-tint); border-radius: var(--radius-card); }
.received-big { margin: 0 0 10px; font-size: 30px; font-weight: 600; line-height: 1.2; color: var(--primary); }
.did { display: block; margin: 0 0 12px; font-size: 36px; font-weight: 600; line-height: 1.1; color: var(--primary); text-decoration: none; font-variant-numeric: tabular-nums; }
.did-none { margin: 0 0 12px; padding: 12px 14px; border-radius: var(--radius-btn); background: var(--warn-tint); color: var(--warn-text); font-size: 14px; text-align: left; }
.received .btn { margin-bottom: 8px; }
/* warm-transfer hand-off panel (console): navy script box on --primary-tint, large selectable type; teal only on Accepted */
/* console qualifier: "Qualifies:" hint under NEXT / FINISH — small; key in --primary-2-text, answers muted */
/* console age page: a short numeric box + the muted "if asked" line under it */
.age-input { max-width: 140px; }
.qual-ifasked { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.qual-ifasked-k { color: var(--primary-2-text); font-weight: 600; }
.qual-hint { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.qual-hint-k { color: var(--primary-2-text); font-weight: 600; }
/* alt phone: "I don't have a second number" (ruleset alt_phone_none_option) */
.alt-none { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 15px; color: var(--text); cursor: pointer; }
.alt-none input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent-fill); flex: none; }
.input:disabled { background: var(--surface); color: var(--muted); cursor: not-allowed; }
/* console: agent-code entry box + "New code" (v0.8.4) */
.agent-gate h1 { margin: 0 0 14px; font-size: 22px; }
.agent-gate-row { display: flex; gap: 10px; align-items: stretch; }
.agent-gate-row .input { flex: 1 1 auto; min-width: 0; width: auto; text-transform: uppercase; }
.agent-gate-row .input::placeholder { text-transform: none; }
.agent-gate-row .btn { flex: 0 0 auto; width: auto; min-width: 96px; }
.reissue-actions .btn { min-width: 110px; }
.reissue { margin: 8px 0 12px; text-align: center; }
.reissue-confirm { margin: 8px 0 0; padding: 12px 14px; border: 1.5px solid var(--primary); border-radius: var(--radius-btn); background: var(--primary-tint); }
.reissue-confirm p { margin: 0 0 10px; font-weight: 600; color: var(--primary); }
.reissue-actions { display: flex; gap: 10px; justify-content: center; }
.reissue-msg { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.reissue-msg:empty { display: none; }
/* v0.10.0 step 5: "Read the code" | "Text the link" side by side (stacked under 900px); the card widens only when texting is on */
.console-card.has-sms { max-width: 920px; }
.step5.has-sms { display: grid; gap: 16px; margin: 0 0 16px; }
@media (min-width: 900px) { .step5.has-sms { grid-template-columns: 1fr 1fr; align-items: start; } }
.step5.has-sms .step5-opt { padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-card); }
.step5.has-sms .copy-row { margin-bottom: 0; }
.step5-h { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: var(--primary); text-align: center; }
.sms-lead { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.sms-question { margin: 0 0 12px; padding: 10px 14px; border-left: 3px solid var(--primary); border-radius: 0 var(--radius-btn) var(--radius-btn) 0; background: var(--primary-tint); color: var(--text); font-size: 15px; line-height: 1.5; }
.sms-tick { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 16px; font-weight: 600; color: var(--text); cursor: pointer; }
.sms-tick input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent-fill); flex: none; }
.sms-opt .btn:disabled { background: var(--disabled-bg); border-color: var(--disabled-bg); color: var(--disabled-text); cursor: not-allowed; }
.sms-status { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 10px 12px; border-radius: var(--radius-btn); background: var(--surface); font-size: 15px; font-weight: 500; }
.sms-status.is-sent { background: var(--primary-tint); color: var(--primary); }
.sms-nudge { margin: 8px 0 0; padding: 10px 12px; border-radius: var(--radius-btn); background: var(--warn-tint); color: var(--warn-text); font-size: 14px; font-weight: 600; }
.sms-resend { display: flex; gap: 16px; flex-wrap: wrap; margin: 8px 0 0; }
.sms-resend .link-btn { color: var(--accent); font-weight: 600; }
.sms-msg { margin: 6px 0 0; font-size: 14px; color: var(--warn-text); }
.sms-msg:empty { display: none; }
/* v0.10.0 header Callbacks (n) + list */
.cb-toggle.has-waiting { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.cb-title { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.cb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cb-row { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--border-input); border-radius: var(--radius-btn); background: var(--white); font-size: 14px; color: var(--text-body); }
.cb-row b { color: var(--text); font-weight: 600; }
.cb-who { flex: 1 1 220px; }
.cb-wait { color: var(--muted); white-space: nowrap; }
.cb-claimed { color: var(--muted); font-weight: 600; white-space: nowrap; }
.cb-row .btn { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.cb-empty { font-size: 14px; color: var(--muted); }
.handoff { margin: 6px 0 4px; text-align: left; }
.handoff-dial { margin: 0 0 14px; font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--primary); }
.handoff-dial a { color: var(--primary); font-variant-numeric: tabular-nums; white-space: nowrap; }
.handoff-script .nowrap { white-space: nowrap; }
.handoff-declined-title { margin: 4px 0 12px; font-size: 20px; font-weight: 600; color: var(--primary); }
.handoff-label { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.handoff-script { margin: 0 0 14px; padding: 16px 18px; border: 2px solid var(--primary); border-radius: var(--radius-btn); background: var(--primary-tint); color: var(--text); font-size: 20px; line-height: 1.45; user-select: text; -webkit-user-select: text; }
.handoff-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.handoff-actions .btn, .received .handoff-new { width: 100%; min-height: 52px; margin: 0; }
.handoff-actions .btn { padding: 10px 8px; white-space: normal; text-align: center; }
@media (max-width: 359px) { .handoff-actions { grid-template-columns: 1fr; } }
.expired { text-align: center; }
.status-expired { margin: 0 0 12px; font-size: 18px; font-weight: 600; color: var(--primary); }
.console-card .btn-ghost { width: 100%; margin-top: 8px; background: var(--white); color: var(--text); border-color: var(--border-input); }
.console-card .btn-ghost:hover { background: var(--surface); }
.console-footer { padding: 18px 16px 28px; text-align: center; font-size: 13px; color: var(--text-muted); }
.console-footer a { color: var(--text-muted); margin: 0 6px; }

/* guided qualifier (card 0) */
.qual-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.qual-head h1 { margin: 0; }
.qual-progress { font-size: 13px; font-weight: 600; color: var(--primary); white-space: nowrap; }
.qual-ruleset { margin: 4px 0 14px; font-size: 12px; }
.qual-title { margin: 0 0 8px; font-size: 18px; }
.agent-script { margin: 0 0 14px; padding: 12px 14px; border-left: 3px solid var(--primary); border-radius: 0 var(--radius-btn) var(--radius-btn) 0; background: var(--primary-tint); font-size: 15px; line-height: 1.5; color: var(--text); }
.agent-disclaimer { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--radius-btn); background: var(--warn-tint); color: var(--warn-text); font-size: 14px; line-height: 1.5; }
.qual-q .select, .qual-q .input { max-width: 360px; }
.qual-q .seg { max-width: 360px; }
.dq-panel { padding: 16px; border: 1.5px solid var(--primary); border-radius: var(--radius-card); background: var(--primary-tint); }
.dq-kind { margin: 0 0 4px; font-size: 18px; font-weight: 600; color: var(--primary); }
.dq-reason { margin: 0 0 12px; font-size: 15px; color: var(--text); }
.dq-endcall { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid var(--primary); border-radius: 0 var(--radius-btn) var(--radius-btn) 0; background: var(--white); font-size: 15px; line-height: 1.5; color: var(--text); }
.dq-note { margin: 0 0 12px; font-size: 13px; color: var(--text-muted); }
.qual-done { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: var(--radius-btn); background: var(--primary-tint); color: var(--primary); font-size: 16px; }
.qual-done .link-btn { color: var(--accent); font-weight: 600; }
.handoff .handoff-back { display: block; margin: 10px auto 2px; min-height: 36px; color: var(--accent); font-weight: 600; }   /* v0.9.5 */
.handoff .handoff-back[hidden] { display: none; }
.qual-done-text { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.qual-done-text svg { width: 20px; height: 20px; flex: none; }
.qual-done-text b { font-weight: 600; }
/* consumer step 3: helper text under a field */
.field-help { font-size: 13px; line-height: 1.4; color: var(--text-muted); }

/* ============================================================ 8f. Code flow (/c/{token}) + console optional box (docs/AGENT-FLOW.md → Code flow) */
.code-flow-body { background: var(--surface); }
.flow-header { background: var(--white); border-bottom: 1px solid var(--border); }
.flow-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
.flow-call { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--primary-tint); color: var(--primary); }
.flow-call svg { width: 22px; height: 22px; }
.flow-main { padding: 20px 0 56px; }
@media (min-width: 768px) { .flow-main { padding: 32px 0 72px; } }
.flow-card { max-width: 100%; margin: 0 auto; padding: 18px 16px 22px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow); }
@media (min-width: 768px) { .flow-card { max-width: 720px; padding: 24px 24px 28px; } }
@media (min-width: 1024px) { .flow-card { max-width: 960px; padding: 28px 32px 32px; } }
.flow-progress-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-body); margin: 0 0 6px; min-height: 21px; }
/* CLS: page 1 of the organic form is visible from the first paint, but its title, tiles and hint are
   written by consumer-form.js. Reserve their rendered heights while they are still :empty (measured at
   360–1440 px), so filling them in moves nothing below — before this, the "How it works" band showed
   above the fold on phones and was shoved down ~500 px (CLS 0.28–0.40). Portable to mva-lander. */
.flow-organic #of-type-title:empty { min-height: 48px; }
.flow-organic #of-tiles:empty { min-height: 331px; }
.flow-organic #of-type-hint:empty { min-height: 19.5px; }
@media (max-width: 379px) { .flow-organic #of-tiles:empty { min-height: 350px; } }
@media (min-width: 600px) { .flow-organic #of-type-title:empty { min-height: 24px; } .flow-organic #of-tiles:empty { min-height: 312px; } }
@media (min-width: 768px) { .flow-organic #of-type-title:empty { min-height: 26.4px; } .flow-organic #of-tiles:empty { min-height: 224px; } }
/* v0.6.3 form polish: reserved = the rendered grid + its 14px bottom margin (measured tiles-top to hint-top
   with the form script on); 1024+ matches 768+ (badge tiles, min-height 100) */
.flow-bar { height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; margin: 0 0 18px; }
.flow-bar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width .25s; }
.flow-title { margin: 0 0 6px; font-size: 26px; line-height: 1.2; font-weight: 700; color: var(--text); }
.flow-title:focus { outline: none; }
@media (min-width: 768px) { .flow-title { font-size: 28px; } }
.flow-sub { margin: 0 0 10px; font-size: 16px; line-height: 1.5; color: var(--text-muted); }
.flow-tagline { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.tag-call { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--primary-tint); color: var(--primary); font-size: 13px; font-weight: 600; white-space: nowrap; }
.tag-you { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-fill); font-size: 13px; font-weight: 600; white-space: nowrap; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.label-row label, .label-row .label { margin: 0; }
/* accident type: one row, Change opens the tile picker inline */
.type-row { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px; padding: 12px 14px; border: 2px solid var(--primary); border-radius: var(--radius-card); background: var(--primary-tint); }
.type-icon { width: 26px; height: 26px; color: var(--primary); flex: none; }
.type-name { flex: 1; font-size: 17px; font-weight: 600; color: var(--text); }
.type-change { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); }
.type-pen { width: 16px; height: 16px; }
.ftiles { margin: -4px 0 16px; }
@media (min-width: 768px) { .ftiles { grid-template-columns: repeat(3, 1fr); } }
/* section boxes */
.flow-sections, .flow-cols, .flow-col { display: grid; gap: 20px; }
@media (min-width: 1024px) { .flow-cols { grid-template-columns: 1fr 1fr; align-items: start; } }
#of-a-sections:not(:empty) { margin: 0 0 20px; }   /* organic page 6: age + ZIP box above the condition note */
.qbox { padding: 16px; background: var(--primary-tint); border: 1px solid var(--primary-line); border-radius: 14px; }
@media (min-width: 768px) { .qbox { padding: 20px; } }
.qbox-head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.qbox-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-fill); color: var(--white); font-size: 14px; font-weight: 700; flex: none; }
.qbox-title { margin: 0; font-size: 18px; font-weight: 700; color: var(--text); }
.qbox-note { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.fq { margin: 0 0 14px; }
.fq:last-child { margin-bottom: 0; }
.fq-label { display: block; margin: 0 0 8px; font-size: 16px; font-weight: 500; color: var(--text); }
.fq.is-invalid .fq-label { color: var(--warn); }
.fq .field-err { display: none; font-size: 13px; color: var(--warn); margin-top: 6px; }
.fq.is-invalid .field-err { display: block; }
.fseg { display: flex; flex-wrap: wrap; gap: 8px; }
.fseg-btn { flex: 1 1 auto; min-width: 90px; min-height: 46px; padding: 8px 14px; border: 1px solid var(--border-field); border-radius: 10px; background: var(--white); color: var(--text); font-size: 16px; font-weight: 500; cursor: pointer; }
.fseg-btn[aria-checked="true"] { background: var(--primary); border-color: var(--primary); color: var(--white); font-weight: 600; }
.fseg-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.fselect { width: 100%; min-height: 46px; padding: 10px 40px 10px 14px; border: 1px solid var(--border-field); border-radius: 10px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101010' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; font-size: 16px; color: var(--text); appearance: none; }
.fdate { position: relative; }
.fdate-input { width: 100%; max-width: 100%; min-width: 0; min-height: 46px; padding: 10px 40px 10px 14px; border: 1px solid var(--border-field); border-radius: 10px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101010' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; font-size: 16px; color: transparent; cursor: pointer; }
.fdate-input::-webkit-calendar-picker-indicator { opacity: 0; width: 100%; position: absolute; inset: 0; cursor: pointer; }
.fdate-input:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.fdate .input:focus { outline-offset: -2px; }
.fdate-label { position: absolute; left: 14px; right: 40px; top: 50%; transform: translateY(-50%); font-size: 16px; color: var(--text); pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow-actions { display: flex; gap: 12px; margin: 20px 0 8px; }
.flow-continue { flex: 1; min-height: 52px; font-size: 17px; font-weight: 600; }
.flow-back { min-height: 52px; padding: 0 22px; background: var(--white); color: var(--primary); border-color: var(--border-input); font-weight: 600; }
.flow-back:hover { background: var(--surface); }
.flow-hint { margin: 0; text-align: center; font-size: 13px; color: var(--text-muted); }
/* details page */
.confirmed-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--primary-line); border-radius: 12px; background: var(--primary-tint); }
.confirmed-strip b { display: block; color: var(--primary); font-size: 16px; }
.confirmed-strip span { font-size: 14px; color: var(--text); }
.confirmed-strip .link-btn { color: var(--accent); font-weight: 600; }
.details-grid { display: grid; gap: 16px; }
@media (min-width: 1024px) { .details-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.details-box { padding: 4px 0 0; }
.details-head { display: none; }
@media (min-width: 1024px) {
  .details-box { padding: 20px; border: 1px solid var(--primary-line); border-radius: 14px; background: var(--primary-tint); }
  .details-head { display: flex; }
  .address-head .label { display: none; }
  .address-head { justify-content: flex-start; margin: 2px 0 10px; }
}
.details-box-title { margin: 0; font-size: 18px; font-weight: 700; color: var(--text); }
.address-head { margin: 4px 0 8px; }
.address-head .label { font-size: 17px; font-weight: 700; }
.flow-card .input { border-color: var(--border-field); border-radius: 10px; }
.must, .flow-card .input.must { border: 2px solid var(--accent); }
.must-box { padding: 12px 14px; border: 2px solid var(--accent); border-radius: 12px; margin: 0 0 14px; }
.must-box .consent { align-items: center; font-size: 16px; font-weight: 600; color: var(--text); }
.consent-box { margin-top: 4px; }
.consent-box .consent { align-items: flex-start; font-size: 13px; font-weight: 400; color: var(--text-body); }
.flow-end { text-align: center; padding: 16px 0 8px; }
.flow-end .done-icon { width: 48px; height: 48px; color: var(--accent); margin: 0 auto 10px; }
.flow-end .done-icon.muted-icon { color: var(--primary); }
.flow-end .flow-sub { margin-bottom: 14px; }
/* console: optional prefill box */
.opt-box { margin: 4px 0 16px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.opt-title { margin: 0 0 2px; font-size: 16px; font-weight: 600; }
.opt-sub { margin: 0 0 12px; font-size: 13px; line-height: 1.4; color: var(--text-muted); }
.opt-box .field:last-child { margin-bottom: 0; }
.opt-box .row-city-zip { grid-template-columns: 1fr; }
@media (min-width: 400px) { .opt-box .row-city-zip { grid-template-columns: 1fr 160px; } }
/* console: outcome after the prospect's review */
.outcome-panel { margin: 0 0 14px; padding: 14px 16px; border: 1.5px solid var(--primary); border-radius: var(--radius-card); background: var(--primary-tint); }
.outcome-panel.is-review { border-color: var(--warn); background: var(--warn-tint); }
.outcome-kind { margin: 0 0 4px; font-size: 18px; font-weight: 600; color: var(--primary); }
.outcome-panel.is-review .outcome-kind { color: var(--warn-text); }
.outcome-reason { margin: 0 0 8px; font-size: 15px; color: var(--text); }
.outcome-note { margin: 0; font-size: 13px; color: var(--text-muted); }
/* duplicate pre-check (v0.9.0): amber notice under the Mobile field — errors and warnings are never the action teal */
.dup-box { margin: 8px 0 0; padding: 10px 12px; border-left: 3px solid var(--warn); border-radius: 0 var(--radius-btn) var(--radius-btn) 0; background: var(--warn-tint); color: var(--warn-text); font-size: 14px; line-height: 1.45; }
.dup-title { margin: 0; font-weight: 600; }
.dup-text { margin: 2px 0 0; }
.dup-box .dup-ifasked { margin-top: 6px; color: var(--warn-text); }

/* organic main form (docs/mockups/main-form/main-form-mobile-*.png): the phone flow at EVERY width, just
   roomier — page 1 card 880px (tiles 4 per row on tablets, 5×2 from 1024px), pages 2–7 card 720px with ONE
   full-width section box per page. Same section boxes, segmented answers, date button and end states as the
   code flow (8f); the code flow keeps its own two-column review and numbered detail boxes. */
.form-card.flow-organic { max-width: 100%; border: 1px solid var(--border); padding: 18px 16px 22px; }
@media (min-width: 768px) {
  .form-card.flow-organic { max-width: 720px; padding: 24px 24px 28px; }
  .form-card.flow-organic.is-type { max-width: 880px; }
  .flow-organic .qbox { padding: 24px; }
  .flow-organic .fq-label { font-size: 17px; }
  .flow-organic .fseg-btn, .flow-organic .fselect, .flow-organic .fdate-input, .flow-organic .fdob-input { min-height: 48px; }
  .flow-organic #of-tiles .tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .flow-organic #of-tiles .tiles { grid-template-columns: repeat(3, 1fr); }
  /* details page stays single column like the phone mockup (page 7): no numbered boxes, no two columns */
  .flow-organic .details-grid { grid-template-columns: 1fr; }
  .flow-organic .details-box { padding: 4px 0 0; border: 0; border-radius: 0; background: none; }
  .flow-organic .details-head { display: none; }
  .flow-organic .address-head .label { display: inline; }
  .flow-organic .address-head { justify-content: space-between; margin: 4px 0 8px; }
}
.form-card.flow-organic .flow-back { width: auto; flex: none; }
.form-card.flow-organic .flow-continue { width: auto; flex: 1; }
/* page 1 tiles: icon above the label at every width (mockup), 2 columns on phones, 5 from 768px */
.flow-organic #of-tiles .tiles { gap: 10px; }
.flow-organic #of-tiles .tile { flex-direction: column; justify-content: center; gap: 8px; padding: 12px 6px; min-height: 92px; font-size: 15px; line-height: 1.25; text-align: center; border: 1px solid var(--border-strong); border-radius: 12px; }
.flow-organic #of-tiles .tile svg { width: 30px; height: 30px; stroke-width: 1.75; }
.flow-organic #of-tiles .tiles input:checked + .tile { border-color: var(--accent-fill); font-weight: 600; }
@media (min-width: 768px) { .flow-organic .of-type-title { text-align: center; } .flow-organic #of-tiles .tile { min-height: 104px; } .flow-organic #of-tiles .tile svg { width: 32px; height: 32px; } }
@media (min-width: 1024px) { .flow-organic #of-tiles .tile { min-height: 108px; } }
.flow-organic .of-type-title { margin-bottom: 14px; }
.flow-organic #of-tiles .tiles { margin-bottom: 14px; }
.flow-organic .fq-hint { margin: 8px 0 0; font-size: 14px; line-height: 1.4; color: var(--text-muted); }
.flow-organic .flow-sub { margin-bottom: 16px; }
.flow-organic .details-box .field-help { margin-top: -2px; }
.flow-organic .tap-box { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--border-field); border-radius: 12px; background: var(--white); }
.flow-organic .tap-box .consent { align-items: center; font-size: 16px; font-weight: 600; color: var(--text); }
.flow-organic .details-grid { margin-bottom: 4px; }
.flow-organic .form-done { padding: 16px 0 8px; }
.flow-organic .form-done .flow-title { margin-bottom: 8px; }
.flow-organic .form-done .done-text { margin-bottom: 14px; }
.of-dq-actions { margin: 4px 0 8px; flex-direction: column; }
@media (min-width: 768px) { .of-dq-actions { flex-direction: row; justify-content: center; } .of-dq-actions .flow-continue { flex: 0 1 auto; padding: 0 28px; } }
.of-dq-actions .flow-back { flex: none; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
/* chip on the first question page: type icon + name · Change */
.of-chip { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 16px; padding: 8px 14px; border-radius: 999px; background: var(--primary-tint); font-size: 16px; }
.of-chip-icon { width: 22px; height: 22px; color: var(--primary); flex: none; }
.of-chip-name { font-weight: 600; color: var(--primary); }
.of-chip-dot { color: var(--text-muted); white-space: pre; }
.of-chip .of-chip-change { min-height: 0; font-size: 16px; font-weight: 400; color: var(--text-body); text-decoration: none; }
.of-chip .of-chip-change:hover { text-decoration: underline; }
/* from page 2 the hero is a plain surface band: no eyebrow, H1, subline or photo */
.hero.is-flow .eyebrow-hero, .hero.is-flow h1, .hero.is-flow .hero-sub { display: none; }
.hero.is-flow { padding-top: 20px; }
@media (min-width: 768px) { .hero.is-flow { padding-top: 32px; } }

/* ============================================================ 9. Home page sections (BRAND §4, REFERENCE §2–9) */
/* hero */
/* mobile spacing is deliberately tight: NEXT must sit above the fold at 390×844 */
.hero { padding: 12px 0 32px; text-align: center; }
/* faint hero photo behind a --surface wash — mva-lander's treatment (BRAND §2): the same --hero-wash (.80,
   Jason's 2026-09-15 choice), cover, centered, no-repeat; text and the card stay on --surface. One crop per
   breakpoint (tools/process-photos.py --hero), each aspect-matched to the band and cut clear of the wheelchair
   and the man in it — cover only ever trims a crop, so none of him shows at any width. WebP via image-set, the
   plain JPG declaration first for browsers without image-set type(). Preloaded per breakpoint in the page head. */
.hero-photo {
  background-image: linear-gradient(var(--hero-wash), var(--hero-wash)), url("/assets/img/hero-390.jpg?v=3f7be0b6");
  background-image: linear-gradient(var(--hero-wash), var(--hero-wash)), image-set(url("/assets/img/hero-390.webp?v=423f6a05") type("image/webp") 1x, url("/assets/img/hero-780.webp?v=3bc6626a") type("image/webp") 2x, url("/assets/img/hero-390.jpg?v=3f7be0b6") type("image/jpeg") 1x, url("/assets/img/hero-780.jpg?v=5d5e2f8f") type("image/jpeg") 2x);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
@media (min-width: 768px) { .hero-photo {
  background-image: linear-gradient(var(--hero-wash), var(--hero-wash)), url("/assets/img/hero-768.jpg?v=b3ecb358");
  background-image: linear-gradient(var(--hero-wash), var(--hero-wash)), image-set(url("/assets/img/hero-768.webp?v=a19585b7") type("image/webp") 1x, url("/assets/img/hero-1536.webp?v=430838a3") type("image/webp") 2x, url("/assets/img/hero-768.jpg?v=b3ecb358") type("image/jpeg") 1x, url("/assets/img/hero-1536.jpg?v=b70289e1") type("image/jpeg") 2x);
} }
@media (min-width: 1024px) { .hero-photo {
  background-image: linear-gradient(var(--hero-wash), var(--hero-wash)), url("/assets/img/hero-1024.jpg?v=a6fca3ef");
  background-image: linear-gradient(var(--hero-wash), var(--hero-wash)), image-set(url("/assets/img/hero-1024.webp?v=05121122") type("image/webp") 1x, url("/assets/img/hero-2048.webp?v=8074b412") type("image/webp") 2x, url("/assets/img/hero-1024.jpg?v=a6fca3ef") type("image/jpeg") 1x, url("/assets/img/hero-2048.jpg?v=7598fae2") type("image/jpeg") 2x);
} }
@media (min-width: 1440px) { .hero-photo {
  background-image: linear-gradient(var(--hero-wash), var(--hero-wash)), url("/assets/img/hero-1440.jpg?v=ae1e9868");
  background-image: linear-gradient(var(--hero-wash), var(--hero-wash)), image-set(url("/assets/img/hero-1440.webp?v=62e3698e") type("image/webp") 1x, url("/assets/img/hero-2880.webp?v=5719916a") type("image/webp") 2x, url("/assets/img/hero-1440.jpg?v=ae1e9868") type("image/jpeg") 1x, url("/assets/img/hero-2880.jpg?v=3f35dee9") type("image/jpeg") 2x);
} }
@media (min-width: 1920px) { .hero-photo {
  background-image: linear-gradient(var(--hero-wash), var(--hero-wash)), url("/assets/img/hero-1920.jpg?v=56b0fab1");
  background-image: linear-gradient(var(--hero-wash), var(--hero-wash)), image-set(url("/assets/img/hero-1920.webp?v=e379eb80") type("image/webp") 1x, url("/assets/img/hero-3840.webp?v=735db131") type("image/webp") 2x, url("/assets/img/hero-1920.jpg?v=56b0fab1") type("image/jpeg") 1x, url("/assets/img/hero-3840.jpg?v=83f78508") type("image/jpeg") 2x);
} }
/* from page 2 the hero is a plain surface band (mva-lander: no photo behind the later form pages) */
.hero.is-flow.hero-photo { background-image: none; }
.hero .eyebrow-hero { margin-bottom: 8px; }
.hero h1 { margin: 0 0 8px; line-height: 1.1; }
.hero h1 .line2 { display: block; color: var(--primary); }
.hero-sub { max-width: 460px; margin: 0 auto 16px; color: var(--text-body); font-size: 16px; font-weight: 400; line-height: 1.5; }
@media (min-width: 768px) {
  .hero { padding: 40px 0 56px; }
  .hero .eyebrow-hero { margin-bottom: 12px; }
  .hero h1 { margin-bottom: 12px; line-height: 1.15; }
  .hero-sub { font-size: 17px; margin-bottom: 24px; }
}

/* form card (BRAND §5 chrome) */
.form-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--white);
  border: 3px solid var(--primary);     /* brand-blue outline so the card holds its edge on the hero photo */
  border-radius: var(--radius-card);
  padding: 14px 16px 20px;
  box-shadow: var(--shadow);
  text-align: left;
  scroll-margin-top: var(--header-h);
}
.form-card .btn { width: 100%; }          /* single buttons are full width; the flow actions row overrides */
.form-card .card-head { text-align: center; }
.form-card .card-title { font-size: 18px; margin: 0 0 2px; }
.form-card .card-sub { color: var(--text-muted); font-size: 14px; margin: 0; }
.progress { display: flex; gap: 6px; max-width: 260px; margin: 10px auto 14px; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--border); }
.progress span.done { background: var(--accent); }
.form-q { font-size: 16px; font-weight: 600; color: var(--text); line-height: 1.3; margin: 0 0 8px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin: 0 0 10px; }
/* tablet 768–1023: card 600, tiles 96 / icon 32. desktop ≥1024: card v2 — 720 wide, tiles scale with it */
@media (min-width: 768px) {
  .form-card { max-width: 600px; padding: 28px; }
  .form-card .card-title { font-size: 22px; margin-bottom: 4px; }
  .progress { max-width: none; margin: 12px 0 18px; }      /* full card width, 6px tall */
  .form-q { font-size: 17px; margin-bottom: 12px; }
  .tiles { gap: 10px; margin-bottom: 16px; }
}
@media (min-width: 1024px) {
  .form-card { max-width: 720px; padding: 28px 36px; }
  .form-card .card-title { font-size: 26px; color: var(--text); }
  .form-card .card-sub { font-size: 15px; }
  .form-q { font-size: 19px; }
  .tiles { gap: 12px; }
  .form-card .btn { min-height: 54px; font-size: 17px; }
  .checks, .prefer-call { font-size: 14px; }
}
.tiles input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.tile {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-tile);
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}
.tile svg { width: 22px; height: 22px; color: var(--primary); flex: none; }
.tile:hover { border-color: var(--border-input); }
.tiles input:checked + .tile { border-color: var(--accent-fill); background: var(--accent-tint); }
.tiles input:checked + .tile svg { color: var(--accent); }
.tiles input:focus-visible + .tile { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (min-width: 768px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile { flex-direction: column; justify-content: center; gap: 8px; padding: 10px 6px; min-height: 96px; font-size: 14px; border: 1px solid var(--border-strong); border-radius: 12px; }
  .tile svg { width: 32px; height: 32px; stroke-width: 1.75; }
  .tiles input:checked + .tile { border-color: var(--accent-fill); font-weight: 600; }
}
@media (min-width: 1024px) {
  .tile { min-height: 112px; font-size: 15px; }
  .tile svg { width: 38px; height: 38px; }
}
.checks { display: grid; gap: 6px; list-style: none; margin: 14px 0 0; padding: 0; font-size: 14px; color: var(--text-body); }
.checks li { display: flex; align-items: center; gap: 6px; }
.checks svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
@media (min-width: 768px) { .checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; } }
.prefer-call { text-align: center; font-size: 14px; color: var(--text-muted); margin: 12px 0 0; }
.prefer-call a { font-weight: 600; text-decoration: none; }

/* 3-step form (BRAND §5) */
.step[hidden], .form-done[hidden] { display: none; }
.form-card.is-done .checks, .form-card.is-done .prefer-call { display: none; }
.step-title { font-size: 18px; margin: 0 0 14px; }
.step-title:focus, .form-q:focus, .form-done:focus { outline: none; }
.step-sub { font-size: 16px; font-weight: 500; color: var(--text-body); }
.recap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 12px;
  margin: 0 0 14px;
  background: var(--surface);
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.recap-icon { display: inline-flex; }
.recap-icon svg { width: 20px; height: 20px; color: var(--primary); }
.recap .link-btn { margin-left: auto; }
.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--accent);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}
.link-btn.back { width: 100%; margin-top: 6px; color: var(--text-muted); }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.field > label, .field .label { font-size: 14px; font-weight: 500; color: var(--text); }
.field .opt { color: var(--text-muted); font-weight: 400; }
.field-err { display: none; font-size: 13px; color: var(--warn); }
/* warning icon before every field error (masked so it takes the text color) */
.field-err::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M10.36 3.6L2.2 17.5a1.9 1.9 0 0 0 1.64 2.85h16.32a1.9 1.9 0 0 0 1.64 -2.85L13.64 3.6a1.9 1.9 0 0 0 -3.28 0z'/%3E%3Cpath d='M12 16.5h.01'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M10.36 3.6L2.2 17.5a1.9 1.9 0 0 0 1.64 2.85h16.32a1.9 1.9 0 0 0 1.64 -2.85L13.64 3.6a1.9 1.9 0 0 0 -3.28 0z'/%3E%3Cpath d='M12 16.5h.01'/%3E%3C/svg%3E") no-repeat center / contain; }
.field.is-invalid .field-err { display: block; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .seg-btn, .field.is-invalid .consent input { border-color: var(--warn); outline-color: var(--warn); }
.field-hint { font-size: 12px; color: var(--text-muted); text-align: right; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 400px) { .row-2 { grid-template-columns: 1fr; } }
/* City + ZIP side by side from 400px, stacked below (step 3 stays clean on small phones) */
.row-city-zip { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 400px) { .row-city-zip { grid-template-columns: 1fr 150px; } }
.zip-wrap { position: relative; }
.zip-wrap .input { padding-right: 52px; }
.zip-state { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 600; color: var(--primary); }
.date-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.date-row .select { padding-left: 10px; padding-right: 6px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.seg-btn {
  min-height: 48px;
  padding: 8px;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.seg-btn[aria-checked="true"] { border-color: var(--primary); background: var(--primary-tint); color: var(--primary); }   /* blue = selection; orange stays for actions */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; font-weight: 400; color: var(--text-body); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--primary); }
.lock-line { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 12px; color: var(--text-muted); }
.lock-line svg { width: 14px; height: 14px; flex: none; }
.consent-note { margin: 0 0 12px; font-size: 12px; line-height: 1.5; color: var(--text-muted); }   /* non-affiliation + not-an-insurer line under the consent block */
.step2-copy { margin: 0 0 16px; padding: 10px 14px; border-radius: var(--radius-btn); background: var(--warn-tint); color: var(--warn-text); font-size: 14px; }   /* placeholder-copy marker on legal pages (Step 2 removes) */
.form-alert { display: none; margin: 0 0 12px; padding: 10px 12px; border-radius: var(--radius-btn); font-size: 14px; }
.form-alert.err { display: block; background: var(--warn-tint); color: var(--warn-text); border-left: 3px solid var(--warn); }
.form-alert.warn { display: block; background: var(--warn-tint); color: var(--warn-text); }
.form-done { text-align: center; padding: 8px 0 4px; }
.form-done .done-icon { width: 44px; height: 44px; color: var(--accent); margin: 0 auto 10px; }
.form-done .done-text { font-size: 17px; margin: 0 0 12px; }
.phone-done { display: block; font-size: 32px; font-weight: 600; line-height: 1.1; color: var(--primary); text-decoration: none; margin: 4px 0 6px; }
.done-call { font-size: 14px; color: var(--text-muted); margin: 0 0 8px; }

/* section headers */
.section-head .sub { max-width: 560px; margin: 0 auto 28px; }
.band-primary .section-head .sub { color: var(--on-dark-85); }

/* phone strip + final cta */
.phone-strip, .cta-final { text-align: center; }
.phone-big { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); font-weight: 600; font-size: 28px; line-height: 1.1; text-decoration: none; margin: 0 0 6px; letter-spacing: -.01em; }   /* 44px tap target */
@media (min-width: 768px) { .phone-big { font-size: 40px; } }
.phone-strip h3 { margin: 0; }
/* phone strip on --primary-2: white is 3.4:1 there, so only LARGE text (h2 26/32px 800, phone 28/40px 600) */
.band-primary-2 { background: var(--primary-2); color: var(--white); }
.band-primary-2 h2 { color: var(--white); margin: 0 0 4px; }
.band-primary-2 .phone-big { font-weight: 700; }
.cta-final .sub { max-width: 520px; margin: 0 auto 20px; color: var(--on-dark-85); }
.cta-final .actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* image + text splits (who we are, know where you stand) */
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } }
/* section photos: 4:3 frame that fills its grid column at every width */
.split-img { display: block; width: 100%; max-width: 100%; }
.split-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--white);
}

/* types of cases (blue band) */
.case-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px)  { .case-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .case-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.case-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-card);
  padding: 24px;
  color: var(--text-body);
}
.case-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-tint); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.case-icon svg { width: 24px; height: 24px; }
.band-primary .case-card h3 { color: var(--text); margin: 0; }
.band-primary .case-card p { color: var(--text-body); margin: 0; font-size: 15px; flex: 1; }
.case-card .btn { align-self: flex-start; margin-top: 4px; }
.more-types { text-align: center; margin: 28px 0 0; color: var(--white); }
.more-types a { color: var(--white); font-weight: 600; }

/* differentiators */
.diff { display: grid; gap: 32px; }
@media (min-width: 1024px) { .diff { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; } }
.diff .lead .sub { margin-bottom: 20px; }
.diff-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.diff-list li { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--border); color: var(--text); font-weight: 500; }
.diff-num { color: var(--accent-fill); font-weight: 600; font-size: 14px; line-height: 1.7; flex: none; min-width: 26px; }

/* know where you stand */
.check-lists { display: grid; gap: 0 24px; grid-template-columns: 1fr; }
/* two columns where the text column is wide enough: stacked split (600–767) and desktop */
@media (min-width: 600px) and (max-width: 767px), (min-width: 1024px) { .check-lists { grid-template-columns: 1fr 1fr; } }
.check-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* faq */
.faq { display: grid; gap: 28px; }
@media (min-width: 1024px) { .faq { grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; } }
.accordion { border-top: 1px solid var(--border); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 16px 0;
  background: none;
  border: 0;
  text-align: left;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  cursor: pointer;
}
.acc-btn svg { width: 20px; height: 20px; flex: none; color: var(--primary); transition: transform .15s; }
.acc-btn[aria-expanded="true"] svg { transform: rotate(45deg); }
.acc-panel { padding: 0 0 18px; color: var(--text-body); }
.acc-panel[hidden] { display: none; }
.acc-panel p { margin: 0; }

/* ============================================================ 10. Clone-source additions (kept for the engine pages) */
/* hero eyebrow in caps */
.eyebrow-hero.eyebrow-caps { text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
/* photo placeholder: a quiet 4:3 block until Jason supplies photos (no wheelchair / gavel clichés) */
.img-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--primary-tint); color: var(--primary-line); }
.img-placeholder svg { width: 72px; height: 72px; }
/* page-1 card head (title + sub above the situation question) */
.flow-organic .card-head { margin: 0 0 10px; }
.flow-organic .card-title { margin: 0 0 2px; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--primary); line-height: 1.2; }
.flow-organic .card-sub { margin: 0; font-size: 14px; color: var(--text-muted); }
.flow-organic .of-type-title { font-size: 20px; text-align: center; }
@media (min-width: 768px) { .flow-organic .card-title { font-size: 26px; } .flow-organic .of-type-title { font-size: 22px; } }
.flow-organic .checks { margin-top: 4px; }
/* disclosure bar: the bold non-affiliation phrase */
.disclosure-bar strong { font-weight: 600; color: var(--text-body); }
/* console: agent-only help under the script line; supervisor review keeps GET CODE (amber, never the action teal) */
.qual-help { margin: -6px 0 12px; padding: 8px 12px; border-left: 3px solid var(--warn); border-radius: 0 var(--radius-btn) var(--radius-btn) 0; background: var(--warn-tint); color: var(--warn-text); font-size: 14px; line-height: 1.45; }
.qual-done.is-review { background: var(--warn-tint); color: var(--warn-text); border: 1px solid var(--warn); }
.qual-done.is-review .qual-done-text { font-weight: 500; align-items: flex-start; }
.qual-done.is-review b { color: var(--warn-text); }
/* ZIP question (qualifier-ui zip control): state name badge inside the field */
/* Date of birth: a masked text input (MM / DD / YYYY), never a native date picker — the same
   field tokens as the ZIP input; amber border on error like every other field. */
.fdob { min-width: 0; }   /* full width of its box, like the date button it replaces */
.fdob .fdob-input { min-height: 46px; border-color: var(--border-field); border-radius: 10px; font-variant-numeric: tabular-nums; }
.fdob .fdob-input::placeholder { color: var(--text-muted); }
.fdob .fdob-input:focus { outline-offset: -2px; }
.fq.is-invalid .fdob-input { border-color: var(--warn); outline-color: var(--warn); }
.fzip { max-width: 320px; }
.fzip .fzip-input { min-height: 46px; border-color: var(--border-field); border-radius: 10px; padding-right: 120px; }
.fzip .zip-state { font-weight: 600; }
.qual-q .zip-wrap { max-width: 360px; }
/* condition note (optional) */
.flow-organic .textarea, .flow-card .textarea { min-height: 88px; border-color: var(--border-field); border-radius: 10px; }
.flow-card .input.must, .flow-card .textarea.must { border: 2px solid var(--accent); }
.lock-line a { color: inherit; }

/* ============================================================ 12. Form polish (v0.6.3, option C)
   Mid-blue structure on the form card; red stays for actions and the selected state. The tile icon becomes a
   40px badge through CSS on the existing inline svg (padding shrinks the icon to 22px), so the tile markup
   rendered by qualifier-ui.js (form, /c/{token}) and cloned by the console is unchanged. */
.form-card, .form-card.flow-organic { border-top: 5px solid var(--primary-2); }
.flow-progress-row { color: var(--primary-2-text); }
.flow-bar { background: var(--track); }
.form-card .card-sub, .flow-organic .card-sub { color: var(--primary-2-text); }
.tile svg, .flow-organic #of-tiles .tile svg { box-sizing: border-box; width: 40px; height: 40px; padding: 6px; border-radius: 50%; background: var(--primary-tint); color: var(--primary-2); flex: none; }
.tiles input:checked + .tile, .flow-organic #of-tiles .tiles input:checked + .tile { border-color: var(--accent); background: var(--accent-tint); }
.tiles input:checked + .tile svg, .flow-organic #of-tiles .tiles input:checked + .tile svg { background: var(--accent-tint); color: var(--accent); }
@media (min-width: 768px) {
  .tile svg, .flow-organic #of-tiles .tile svg { width: 40px; height: 40px; }
  .flow-organic #of-tiles .tile, .tile { min-height: 100px; }
}
@media (min-width: 1024px) { .tile svg, .flow-organic #of-tiles .tile svg { width: 40px; height: 40px; } .flow-organic #of-tiles .tile, .tile { min-height: 100px; } }
@media (hover: hover) and (pointer: fine) {
  .tile:hover, .flow-organic #of-tiles .tile:hover { border-color: var(--primary-2); }
  .tiles input:checked + .tile:hover, .flow-organic #of-tiles .tiles input:checked + .tile:hover { border-color: var(--accent); }
  .fseg-btn:not([aria-checked="true"]):hover { border-color: var(--primary-2); }
}
/* nav: "Your situation ▾" must not wrap at 1440 */ @media (min-width:1024px){.site-nav a,.nav-drop-btn{white-space:nowrap}}
