/* Insurance-Financing Entry door. Aspen brand tokens verbatim from the Aspen brand kit
   (tag-build-kit websites/aspen globals.css). Momentum-blue CTAs per lane constraint. */
:root {
  --navy: #002855;
  --indigo: #004bb9;
  --momentum: #2056CE; /* program canon momentum CTA (dentures SPEC.md:38, warby-ux northstar treatment) */
  --charcoal: #282828;
  --gray: #4a463f;
  --line: #e7e0d3;
  --paper: #f6f3ec;
  --paper-2: #efe7d8;
  --white: #ffffff;
  --success: #066a3c;
  --success-tint: #e8f3ec;
  --info-tint: #e9f0fe;
  --danger: #b3261e;
  --danger-tint: #fdecea;
  --radius-sm: 14px;
  --radius: 16px;
  --radius-lg: 28px;
  --maxw: 1140px;
  --fnt-body: "Work Sans", -apple-system, system-ui, "Segoe UI", sans-serif;
  --fnt-head: "Figtree", var(--fnt-body);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--paper); color: var(--gray); font-family: var(--fnt-body); font-size: 16px; line-height: 1.55; }
h1, h2, h3, .h { font-family: var(--fnt-head); color: var(--navy); margin: 0 0 .5rem; line-height: 1.15; }
h1 { font-size: 44px; font-weight: 800; }
h2 { font-size: 28px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: .35rem 0; }
a { color: var(--indigo); }
img { max-width: 100%; display: block; }
.rail { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--indigo); }

/* Demo provenance ribbon */
.demo-ribbon { background: var(--navy); color: #fff; font-size: 12.5px; padding: 6px 24px; text-align: center; }
.demo-ribbon strong { color: #ffd88a; }

/* Header */
.hdr { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.hdr .rail { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.hdr img.logo { height: 24px; width: auto; }
.hdr .hdr-right { display: flex; gap: 20px; align-items: center; font-size: 14.5px; }
.hdr a { text-decoration: none; font-weight: 600; }
.hdr a.tel { color: var(--navy); }

/* Hero split */
.hero { padding: 56px 0 40px; }
.hero .rail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero .img-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 2px 10px rgba(0, 40, 85, .06); }
section { padding: 28px 0; }

/* Insurance question */
.q-label { font-family: var(--fnt-head); font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.seg { display: flex; gap: 12px; }
.seg button { flex: 1 1 0; height: 56px; font-size: 17px; font-weight: 700; font-family: var(--fnt-head); border: 2px solid var(--line); background: var(--white); color: var(--navy); border-radius: var(--radius-sm); cursor: pointer; }
.seg button[aria-checked="true"] { border-color: var(--momentum); background: var(--momentum); color: #fff; }
.seg button:focus-visible { outline: 3px solid var(--momentum); outline-offset: 2px; }
.consequence { margin-top: 16px; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15.5px; display: none; }
.consequence.show { display: block; }
.consequence.no { background: var(--success-tint); color: var(--success); border: 1px solid #bfe0cc; }
.consequence.yes { background: var(--info-tint); color: var(--navy); border: 1px solid #c8d9f6; }

/* CTA */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--momentum); color: #fff; border: 0; border-radius: var(--radius-sm); font-family: var(--fnt-head); font-weight: 700; font-size: 17px; height: 56px; padding: 0 32px; cursor: pointer; text-decoration: none; box-shadow: 0 6px 20px rgba(32, 86, 206, .35); }
.cta:hover { box-shadow: 0 8px 26px rgba(32, 86, 206, .45); }
.cta:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.cta[disabled], .cta.held { background: #9aa7bd; box-shadow: none; cursor: not-allowed; }
.cta-row { display: flex; align-items: center; gap: 18px; margin-top: 20px; flex-wrap: wrap; }
.call-alt { font-size: 14.5px; }
.call-alt a { color: var(--navy); font-weight: 700; text-decoration: none; }

/* Insurer wall */
.wall { text-align: center; }
.wall-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 22px 0 14px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: 16px; min-height: 96px; display: flex; align-items: center; justify-content: center; padding: 12px 16px; box-shadow: 0 2px 8px rgba(1, 35, 104, .08); }
.tile img { max-height: 40px; object-fit: contain; }
.tile img.mono-white { filter: brightness(0); }

/* Equal-width pair */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.pair .card { display: flex; flex-direction: column; }
.pair .card img { border-radius: var(--radius-sm); margin-bottom: 14px; }
.pair .card .grow { flex: 1; }

/* Flow (continuation demo) */
.step-rail { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.step-dot { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--paper-2); border: 1.5px solid var(--line); font-size: 12.5px; }
.step-dot.on { background: var(--momentum); border-color: var(--momentum); color: #fff; }
.routing-banner { background: var(--info-tint); border: 1px solid #c8d9f6; border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14px; margin-bottom: 20px; color: var(--navy); }
.screen { display: none; }
.screen.on { display: block; }

/* Forms (Baymard: single column, labels above, inline validation) */
.field { margin-bottom: 18px; max-width: 480px; }
.field label { display: block; font-weight: 700; color: var(--navy); font-size: 14.5px; margin-bottom: 6px; }
.field .hint { font-size: 13px; color: var(--gray); margin-top: 5px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] { width: 100%; height: 52px; padding: 0 14px; font-size: 16px; border: 1.5px solid #c9c2b4; border-radius: 10px; background: #fff; color: var(--charcoal); font-family: var(--fnt-body); }
.field input:focus-visible { outline: 3px solid var(--momentum); outline-offset: 1px; border-color: var(--momentum); }
.field.err input { border-color: var(--danger); }
.field .field-err { display: none; color: var(--danger); font-size: 13px; margin-top: 5px; font-weight: 600; }
.field.err .field-err { display: block; }
.err-summary { display: none; background: var(--danger-tint); border: 1px solid #eec4c0; color: var(--danger); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 16px; font-size: 14.5px; }
.err-summary.show { display: block; }

/* Office cards */
.office-list { display: grid; gap: 14px; margin-top: 18px; }
.office-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.office-card .meta { font-size: 14px; }
.office-card h3 { margin-bottom: 2px; }
.chip { display: inline-block; background: var(--paper-2); border-radius: 8px; font-size: 12.5px; font-weight: 700; color: var(--navy); padding: 3px 10px; margin-top: 6px; }

/* Slots */
.day-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; margin: 14px 0; }
.day-strip button { flex: 0 0 auto; min-width: 86px; height: 60px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; font-family: var(--fnt-head); font-weight: 700; color: var(--navy); cursor: pointer; font-size: 13.5px; line-height: 1.25; }
.day-strip button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.slot-group-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); margin: 14px 0 8px; }
.slot-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.slot-grid button { min-width: 104px; height: 44px; border: 1.5px solid #c9c2b4; background: #fff; border-radius: 10px; font-weight: 700; color: var(--navy); cursor: pointer; font-size: 15px; }
.slot-grid button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty-day { background: var(--paper-2); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14.5px; }

/* TCPA */
.tcpa { display: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin: 14px 0; max-width: 480px; }
.tcpa.show { display: block; }
.tcpa label { display: flex; gap: 10px; font-size: 13.5px; align-items: flex-start; }
.tcpa input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }
.tcpa .tag-owned { font-size: 11.5px; color: #8a6d1a; background: #fdf4dc; border-radius: 6px; padding: 2px 8px; display: inline-block; margin-top: 8px; }

/* Review */
.summary-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary-row .k { font-weight: 700; color: var(--navy); }
.summary-row a { font-size: 13.5px; }
.held-band { background: #fff7e8; border: 1.5px solid #ecd9a8; color: #6b5416; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; margin-top: 16px; }
.ins-chip { display: inline-block; background: var(--info-tint); color: var(--navy); border-radius: 8px; padding: 3px 10px; font-size: 13px; font-weight: 700; }

/* Age gate */
.age-gate { display: none; background: var(--danger-tint); border: 1px solid #eec4c0; border-radius: var(--radius-sm); padding: 14px 16px; margin: 14px 0; max-width: 480px; font-size: 14.5px; color: var(--danger); }
.age-gate.show { display: block; }
.age-gate a { color: var(--danger); font-weight: 700; }

/* Chain inspector */
.inspector { position: fixed; right: 16px; bottom: 16px; width: 420px; max-height: 55vh; background: #10233c; color: #dbe6f7; border-radius: 14px; z-index: 60; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); display: flex; flex-direction: column; overflow: hidden; font-size: 12px; }
.inspector.closed .insp-body { display: none; }
.insp-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #0b1a2e; cursor: pointer; font-weight: 700; font-family: var(--fnt-head); font-size: 13px; }
.insp-body { overflow-y: auto; padding: 10px 14px; }
.insp-law { color: #8fd0a2; margin-bottom: 8px; }
.insp-entry { border-top: 1px solid #23406b; padding: 8px 0; }
.insp-entry .tag { font-weight: 800; }
.insp-entry .tag.DEMO { color: #ffd88a; }
.insp-entry .tag.LOCAL { color: #9fb8dd; }
.insp-entry .tag.HELD { color: #ff9d9d; }
.insp-entry .tag.REFUSED { color: #ff9d9d; }
.insp-entry pre { white-space: pre-wrap; word-break: break-word; margin: 4px 0 0; color: #b8cbe8; font-size: 11px; }

/* Footer */
.ftr { background: var(--navy); color: #cfdcee; margin-top: 48px; padding: 32px 0; font-size: 13.5px; }
.ftr a { color: #fff; font-weight: 700; text-decoration: none; }
.ftr img { height: 22px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.disclosures { font-size: 12px; color: var(--gray); padding: 18px 0 0; }

/* Mobile */
@media (max-width: 767px) {
  h1 { font-size: 30px; }
  h2 { font-size: 23px; }
  .hero { padding: 24px 0 16px; }
  .hero .rail { grid-template-columns: 1fr; gap: 20px; }
  .hero .img-card { order: -1; }
  .seg { flex-direction: column; }
  .card { padding: 20px 16px; }   /* tighter mobile padding so the CTA reads truly full-span */
  .rail { padding: 0 16px; }
  .cta { width: 100%; }           /* momentum CTAs FULL-SPAN on mobile (standing rule) */
  .cta-row { flex-direction: column; align-items: stretch; }
  .call-alt { text-align: center; }
  .wall-grid { grid-template-columns: repeat(2, 1fr); }
  .tile { min-height: 72px; }
  .pair { grid-template-columns: 1fr; }
  .hdr .hdr-right .find { display: none; }
  .inspector { width: calc(100vw - 24px); right: 12px; max-height: 45vh; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .wall-grid { grid-template-columns: repeat(3, 1fr); }
}
