@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/InterVariable.woff2") format("woff2");
}

:root {
  --page: #F7F8FA;
  --surface: #FFFFFF;
  --surface-soft: #F1F5F9;
  --text-heading: #142B45;
  --text-body: #334155;
  --text-muted: #52647A;
  --border: #DDE5EF;
  --input-border: #94A3B8;
  --primary: #2463EB;
  --primary-hover: #1D4ED8;
  --primary-active: #1E40AF;
  --primary-soft: #EFF5FF;
  --focus: #2463EB;
  --accent: #F59A45;
  --accent-ink: #9A4D08;
  --warning-soft: #FFF7ED;
  --warning-border: #F4C48F;
  --success: #15803D;
  --success-soft: #F0FDF4;
  --success-border: #BBE4C7;
  --error: #B91C1C;
  --error-soft: #FEF2F2;
  --disabled-bg: #E2E8F0;
  --disabled-text: #64748B;
  --navy: #142B45;
  --shadow: 0 8px 28px rgba(20, 43, 69, 0.06);
  --container: 1200px;
  --font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text-body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: var(--primary); }
a:hover { color: var(--primary-hover); }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--surface);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 8px; }
.wrap {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}
.narrow { width: min(760px, calc(100% - 32px)); margin: 0 auto; }
h1, h2, h3 { color: var(--text-heading); letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.12; font-weight: 700; }
.page-title { font-size: clamp(30px, 3vw, 40px); line-height: 1.18; }
h2 { font-size: clamp(24px, 2vw, 28px); line-height: 1.25; font-weight: 700; }
h3 { font-size: 22px; line-height: 1.3; font-weight: 650; }
.lede { font-size: 18px; max-width: 65ch; }
.muted { color: var(--text-muted); }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
  margin-bottom: 12px;
}
.section { padding: 64px 0; }
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: 80px;
  display: flex;
  align-items: center;
}
[hidden] { display: none !important; }
.header-inner, .footer-grid, .hero, .split, .contact-grid {
  display: flex;
  align-items: center;
  gap: 32px;
}
.request-form { max-width: 920px; }
.request-form .form-card h2 { margin-bottom: 16px; }
.split { align-items: flex-start; }
.split .form-card { flex: 1 1 auto; }
.summary {
  flex: 0 0 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}
.thumb-item { position: relative; display: inline-block; }
.thumb-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  cursor: pointer;
}
.header-inner { width: min(var(--container), calc(100% - 64px)); margin: 0 auto; }
.logo { text-decoration: none; color: var(--text-heading); display: flex; align-items: center; }
.logo img { height: 48px; width: auto; display: block; background: none; border: 0; box-shadow: none; filter: none; }
.footer-logo { height: 32px; width: auto; display: block; background: none; border: 0; box-shadow: none; filter: none; }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav a { color: var(--text-body); text-decoration: none; font-weight: 600; font-size: 15px; padding-bottom: 4px; }
.nav a[aria-current="page"] { color: var(--primary); box-shadow: inset 0 -2px 0 var(--primary); }
.nav-toggle { display: none; }
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  font: 600 16px/1.4 var(--font);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); color: white; }
.btn-primary:active { background: var(--primary-active); }
.btn-secondary { background: white; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary-soft); }
.btn[disabled], .btn:disabled { background: var(--disabled-bg); color: var(--disabled-text); border-color: transparent; cursor: not-allowed; }
.btn-full { width: 100%; }
.icon { display: inline-block; vertical-align: middle; }
.hero { align-items: start; gap: 40px; padding: 48px 0 24px; }
.hero-copy { flex: 0 0 48%; }
.hero-panel { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.points { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0; list-style: none; }
.points li { background: var(--surface-soft); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tile, .symptom {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 104px;
  padding: 12px;
  text-align: center;
  font: 600 14px/1.35 var(--font);
  color: var(--text-heading);
  cursor: pointer;
}
.tile:hover, .symptom:hover { background: var(--primary-soft); }
.tile[aria-checked="true"], .symptom[aria-checked="true"] {
  background: var(--primary-soft);
  border: 2px solid var(--primary);
}
.symptoms { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
[data-symptom-block] h3,
[data-variant-note] { scroll-margin-top: 72px; }
.symptom { min-height: 44px; border-radius: 10px; display: inline-flex; align-items: center; gap: 8px; }
.card-grid, .check-grid, .factor-list { display: grid; gap: 16px; }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.card, .form-card, .notice, .faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.card { padding: 24px; text-decoration: none; color: inherit; display: block; }
.card h3 { font-size: 18px; margin: 8px 0; }
.card p { margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.coverage-band {
  background: var(--navy);
  color: white;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.coverage-band h2, .coverage-band p { color: white; }
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px; }
.footer-grid { align-items: start; justify-content: space-between; width: min(var(--container), calc(100% - 64px)); margin: 0 auto; }
.footer-grid a { color: var(--text-body); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.crumbs { font-size: 14px; color: var(--text-muted); margin: 24px 0 12px; }
.crumbs a { color: var(--text-muted); }
.layout-problem { display: grid; grid-template-columns: minmax(0, 760px) 320px; gap: 32px; align-items: start; }
.side-card { position: sticky; top: 16px; }
.form-card { padding: 28px; }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 12px 14px;
  font: 400 16px/1.4 var(--font);
  color: var(--text-heading);
  background: white;
}
textarea { min-height: 120px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--text-muted); }
input:focus, select:focus, textarea:focus { border-color: var(--primary); outline: 3px solid var(--focus); outline-offset: 2px; }
.field { margin-bottom: 20px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); background: var(--error-soft); }
.field-error { color: var(--error); font-size: 14px; margin: 6px 0 0; }
.steps-bar { display: flex; align-items: center; gap: 12px; margin: 16px 0 24px; }
.step-pip { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-soft); font-weight: 700; }
.step-pip.is-active, .step-pip.is-done { background: var(--primary); color: white; }
.step-line { flex: 1; height: 2px; background: var(--border); }
.summary { background: var(--primary-soft); border-radius: 16px; padding: 20px; }
.notice { padding: 16px; }
.notice.success { background: var(--success-soft); border-color: var(--success-border); }
.notice.warn { background: var(--warning-soft); border-color: var(--warning-border); }
.notice.error { background: var(--error-soft); border-color: var(--error); }
.notice.info { background: var(--primary-soft); border-color: var(--border); }
.upload {
  border: 1px dashed var(--input-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.photo-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.photo-actions .btn { min-width: 180px; }
.photo-file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.thumbs img, .thumb { width: 96px; height: 80px; object-fit: cover; border-radius: 8px; }
.faq-item { margin-bottom: 8px; }
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  font: 600 16px/1.4 var(--font);
  padding: 16px 20px;
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  color: var(--text-heading);
}
.faq-item .answer { padding: 0 20px 16px; }
.zip-row { display: flex; gap: 12px; }
.zip-row input { flex: 1; }
.dialog {
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: min(440px, calc(100% - 32px));
  box-shadow: var(--shadow);
}
.dialog::backdrop { background: rgba(20, 43, 69, 0.45); }
.dialog-body { padding: 24px; }
.icon-btn {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 10px;
}
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  z-index: 30;
}
.consent[hidden] { display: none; }
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: white;
  border-top: 1px solid var(--border);
}
.menu-panel[hidden] { display: none; }
.check-grid { grid-template-columns: repeat(3, 1fr); }
.check { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.hidden, .visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.prose { max-width: 70ch; }
.prose p { margin: 0 0 16px; }
.related { margin-top: 32px; padding-top: 8px; }
.related h2 { font-size: 22px; }
.related ul { margin: 12px 0 16px; padding-left: 1.2em; }
.related a { font-weight: 600; }

@media (max-width: 1023px) {
  .hero, .layout-problem, .contact-grid, .footer-grid { display: block; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tiles .tile:last-child { grid-column: 1 / -1; }
  .card-grid, .steps, .check-grid { grid-template-columns: 1fr 1fr; }
  .side-card { position: static; margin-top: 24px; }
  .wrap { width: min(var(--container), calc(100% - 48px)); }
}
@media (max-width: 767px) {
  .site-header { height: 64px; }
  .logo img { height: 40px; }
  .header-inner { width: calc(100% - 32px); }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .menu-panel {
    display: block;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
  }
  .menu-panel a { display: block; padding: 12px 0; font-weight: 600; text-decoration: none; }
  .section { padding: 40px 0; }
  .wrap, .narrow { width: calc(100% - 32px); }
  h1 { font-size: 32px; }
  .card-grid, .steps, .check-grid { grid-template-columns: 1fr; }
  .photo-actions { flex-direction: column; }
  .photo-actions .btn { width: 100%; }
  .split { flex-direction: column-reverse; }
  .summary { width: 100%; flex-basis: auto; }
  .zip-row, .coverage-band, .consent { display: block; }
  .zip-row .btn, .coverage-band .btn { width: 100%; margin-top: 12px; }
  .consent .btn { width: 100%; margin-top: 8px; }
  .mobile-cta { display: block; }
  body.has-mobile-cta { padding-bottom: 84px; }
  .thumbs img, .thumb { width: 80px; height: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
