/* ============================================================
   QuoteWell Health — shared stylesheet
   Palette: deep indigo / slate / sand / electric blue
   Type: Fraunces (display) · Karla (body) · IBM Plex Mono (data)
   Layout: the rate band is the hero. Everything else stays quiet.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper:        #FFFFFF;
  --sand:         #F4EDE1;
  --sand-deep:    #E8DCC9;
  --indigo:       #182342;
  --indigo-soft:  #24314F;

  --electric:     #2E6BFF;
  --electric-dk:  #1E52D4;
  --electric-lt:  #EAF1FF;
  --slate:        #4A6483;
  --success:      #2F6B4F;
  --success-lt:   #E4F0EA;

  --text:         #182342;
  --muted:        #5E6779;
  --faint:        #949CAC;
  --line:         #E2DDD3;
  --track:        #DFE5EE;   /* progress bar + band rail */
  --chip:         #F1F4F9;   /* dependent chips */
  --chip-line:    #DAE1EC;
  --line-soft:    #EFEAE1;

  --display: 'Fraunces', Georgia, serif;
  --body:    'Karla', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, monospace;

  --gutter: 2rem;
  --measure: 1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 30, 'WONK' 1;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.14;
  color: var(--indigo);
}

em { font-style: normal; color: var(--electric-dk); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--electric); border-radius: 1px; }

.section-title { font-size: clamp(1.8rem, 3.1vw, 2.45rem); margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 38rem; }

section { padding: 5.5rem 0; }
.section-sand { background: var(--sand); }
.section-indigo { background: var(--indigo); }
.section-indigo h2, .section-indigo h3 { color: var(--paper); }
.section-indigo .section-sub { color: rgba(255,255,255,0.68); }
.section-indigo .eyebrow { color: rgba(255,255,255,0.55); }

/* ---------- NAV ---------- */

nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 68px; display: flex; align-items: center;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: 100%; max-width: var(--measure); margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.nav-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--indigo);
  display: grid; place-items: center; flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 30, 'WONK' 1;
  font-size: 1.12rem; font-weight: 700;
  letter-spacing: -0.025em; color: var(--indigo);
}
.nav-logo-text .lg-accent { color: var(--electric-dk); }
.nav-logo-text .lg-sub {
  font-family: var(--body); font-size: 0.95rem; font-weight: 400;
  letter-spacing: 0; color: var(--slate);
}

.nav-links { display: flex; align-items: center; gap: 2.1rem; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.18s; }
.nav-links a:hover { color: var(--electric-dk); }
.nav-cta {
  background: var(--indigo); color: var(--paper) !important;
  padding: 0.6rem 1.3rem; border-radius: 7px;
  font-weight: 600 !important; font-size: 0.88rem !important;
  transition: background 0.18s;
}
.nav-cta:hover { background: var(--electric-dk); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--indigo); margin: 5px 0; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobileMenu {
  display: none; position: fixed; inset: 68px 0 auto 0; z-index: 99;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--gutter) 1.5rem;
}
#mobileMenu.open { display: block; }
#mobileMenu a {
  display: block; padding: 0.85rem 0; color: var(--indigo);
  text-decoration: none; font-size: 1rem; font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
}
#mobileMenu a:last-child { border-bottom: none; color: var(--electric-dk); font-weight: 600; }

/* ---------- BUTTONS ---------- */

.btn-primary, .btn-outline {
  display: inline-block; padding: 0.9rem 1.9rem; border-radius: 7px;
  font-family: var(--body); font-size: 0.98rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}
.btn-primary { background: var(--electric); color: #fff; border-color: var(--electric); }
.btn-primary:hover { background: var(--electric-dk); border-color: var(--electric-dk); transform: translateY(-1px); }
.btn-outline { background: none; color: var(--indigo); border-color: var(--line); }
.btn-outline:hover { border-color: var(--electric); color: var(--electric-dk); }

/* ============================================================
   HERO — the band is the page, photograph sits behind it
   ============================================================ */

.hero {
  position: relative;
  isolation: isolate;
  padding: 9rem 0 3.5rem;
  text-align: center;
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
}

/* Scrim: holds the photo back at the top and hands off to solid
   white by the time it reaches the controls, so the form stays crisp. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.50) 0%,
    rgba(255,255,255,0.58) 30%,
    rgba(255,255,255,0.86) 58%,
    rgba(255,255,255,1) 78%,
    #FFFFFF 100%
  );
}

.hero > .wrap { position: relative; z-index: 1; }

@media (max-width: 640px) {
  .hero { background-image: url('hero-small.jpg'); background-position: center 22%; }
}

.hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  max-width: 26ch; margin: 0 auto 1.15rem;
}
.hero-sub {
  font-size: 1.08rem; color: var(--slate);
  max-width: 42rem; margin: 0 auto 2.5rem; line-height: 1.7;
}

.figure-block { margin-top: 2.75rem; }

.figure-label {
  font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 0.9rem;
  transition: color 0.3s;
}
.is-personal .figure-label { color: var(--electric-dk); }

.figure {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 30, 'WONK' 1;
  font-size: clamp(2.6rem, 8vw, 5.25rem);
  font-weight: 700; letter-spacing: -0.045em; line-height: 1;
  color: var(--indigo);
  font-variant-numeric: tabular-nums;
}
.figure-unit { font-size: 0.3em; letter-spacing: -0.01em; color: var(--slate); font-weight: 400; }

.figure-detail {
  font-size: 0.98rem; color: var(--muted);
  max-width: 36rem; margin: 1rem auto 0; min-height: 1.6rem;
}

.band { margin: 2rem auto 0; max-width: 52rem; }
.band-track { position: relative; height: 52px; }
.band-rail { position: absolute; top: 22px; left: 0; right: 0; height: 5px; background: var(--track); border-radius: 3px; }
.band-fill {
  position: absolute; top: 22px; height: 5px;
  background: var(--electric); border-radius: 3px;
  left: 3%; width: 94%;
  transition: left 0.9s cubic-bezier(.22,1,.36,1), width 0.9s cubic-bezier(.22,1,.36,1);
}
.band-post {
  position: absolute; top: 12px; width: 3px; height: 26px;
  background: var(--indigo); border-radius: 2px;
  transition: left 0.9s cubic-bezier(.22,1,.36,1);
}
.band-post.lo { left: 3%; }
.band-post.hi { left: calc(97% - 3px); }
.band-post::after {
  content: attr(data-value);
  position: absolute; top: 33px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 0.84rem; font-weight: 500;
  color: var(--indigo); white-space: nowrap;
}
.band-caption { font-size: 0.9rem; color: var(--faint); margin-top: 1.75rem; }

/* Stepper: one question at a time, fixed height so the hero never grows. */
.controls {
  max-width: 34rem;
  margin: 0 auto;
  text-align: left;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226,221,211,0.9);
  border-radius: 14px;
  padding: 1.6rem 1.75rem 1.5rem;
  box-shadow: 0 1px 2px rgba(24,35,66,0.04), 0 18px 44px rgba(24,35,66,0.10);
  display: flex;
  flex-direction: column;
  min-height: 38rem;
}

.step-meta { margin-bottom: 1.5rem; }
.step-count {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.6rem;
}
.step-bar { height: 3px; background: var(--track); border-radius: 2px; overflow: hidden; }
.step-bar-fill {
  height: 100%; width: 20%;
  background: var(--electric);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(.22,1,.36,1);
}

.step-body { flex: 1; }

/* The result is the payoff and has less to say than the form steps,
   so it sits centred in the panel rather than stranded at the top. */
.step[data-step="done"].active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}
.step { display: none; }
.step.active { display: block; }

.step-q {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 30, 'WONK' 1;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--indigo);
  margin-bottom: 0.35rem;
}
.step-hint { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.1rem; line-height: 1.55; }

.step-figure {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 30, 'WONK' 1;
  font-size: clamp(2.1rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--indigo);
  font-variant-numeric: tabular-nums;
  margin: 1.4rem 0 0.5rem;
}
.step-figure .figure-unit { font-size: 0.3em; color: var(--slate); font-weight: 400; }
.step-figure-note {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.6rem;
}

.step-nav { display: flex; gap: 0.7rem; align-items: center; margin-top: 1.5rem; }
.controls-foot {
  font-size: 0.8rem;
  color: var(--faint);
  text-align: center;
  margin-top: 0.9rem;
}
.step-nav .btn-primary { flex: 1; text-align: center; padding: 0.85rem 1rem; }
.btn-back {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.85rem 1.1rem;
  border-radius: 7px;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}
.btn-back:hover { border-color: var(--slate); color: var(--indigo); }
.btn-back[hidden] { display: none; }

.control label, .sub-label {
  display: block; font-family: var(--mono);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.45rem;
}
input, select {
  width: 100%; padding: 0.8rem 0.85rem;
  border: 1px solid var(--line); border-radius: 7px;
  font-family: var(--body); font-size: 1rem;
  color: var(--text); background: var(--paper);
  outline: none; transition: border-color 0.18s, box-shadow 0.18s;
}
input:focus, select:focus { border-color: var(--electric); box-shadow: 0 0 0 3px rgba(46,107,255,0.18); }
input[aria-invalid="true"] { border-color: #B4472F; }


/* Choice cards — coverage type, tapped rather than selected from a list */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}
.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 0.4rem 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.16s, background 0.16s, box-shadow 0.16s;
}
.choice:hover { border-color: var(--slate); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice svg { color: var(--electric); }
.choice-label {
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--indigo);
  line-height: 1.2;
}
.choice-check {
  position: absolute;
  top: 0.45rem; right: 0.5rem;
  opacity: 0;
  color: var(--electric);
  transition: opacity 0.16s;
}
.choice.selected {
  border-color: var(--electric);
  background: var(--electric-lt);
  box-shadow: 0 0 0 2px rgba(46,107,255,0.22);
}
.choice.selected .choice-check { opacity: 1; }
.choice:focus-within { outline: 2px solid var(--electric); outline-offset: 2px; }

.field-note { font-weight: 400; color: var(--faint); text-transform: none; letter-spacing: 0; }
.step-half { max-width: 11rem; }

.field-error { display: none; font-size: 0.84rem; color: #9E3D28; margin-top: 0.4rem; }
.field-error.show { display: block; }

.step .control + .control,
.step .step-row + .control,
.step .control + .step-row,
.step .step-row + .step-row { margin-top: 1rem; }
.step-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; align-items: start; }
.step-row .control + .control { margin-top: 0; }

.add-btn {
  background: var(--paper); border: 1px dashed var(--line); color: var(--electric-dk);
  border-radius: 7px; padding: 0.55rem 0.9rem;
  font-family: var(--body); font-size: 0.88rem; font-weight: 500;
  cursor: pointer; transition: background 0.18s, border-color 0.18s; width: 100%;
}
.add-btn:hover { background: var(--electric-lt); border-color: var(--electric); }
/* Family fields keep their slot when hidden, so switching coverage
   type never changes the height of the panel. */
.fam-only { transition: opacity 0.18s; }
.fam-only.is-hidden { visibility: hidden; opacity: 0; pointer-events: none; }

.person-row {
  display: flex; align-items: center; gap: 0.1rem;
  background: var(--chip); border: 1px solid var(--chip-line);
  border-radius: 7px; padding: 0.2rem 0.2rem 0.2rem 0.15rem;
}
.person-row input {
  width: 68px; padding: 0.28rem 0.4rem; font-size: 0.92rem;
  border-color: transparent; background: transparent;
  -moz-appearance: textfield;
}
.person-row input::-webkit-outer-spin-button,
.person-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.person-row input:focus { background: var(--paper); border-color: var(--electric); }

.row-x { background: none; border: none; color: var(--faint); cursor: pointer; font-size: 0.9rem; line-height: 1; padding: 0.3rem; border-radius: 4px; }
.row-x:hover { color: var(--indigo); }

.submit {
  width: 100%; background: var(--indigo); color: #fff; border: none;
  padding: 0.95rem; border-radius: 7px;
  font-family: var(--body); font-size: 0.98rem; font-weight: 600;
  cursor: pointer; transition: background 0.18s;
}
.submit:hover { background: var(--electric-dk); }
.submit:disabled { background: var(--faint); cursor: default; }
.note { font-size: 0.78rem; color: var(--faint); margin-top: 0.9rem; line-height: 1.5; }
.note a { color: var(--electric-dk); }
.link-btn {
  background: none; border: none; font-family: var(--body);
  font-size: 0.9rem; color: var(--muted); cursor: pointer; text-decoration: underline;
}
.link-btn:hover { color: var(--indigo); }

.success { text-align: center; padding: 1rem 0; }
.success-mark {
  width: 52px; height: 52px; background: var(--success-lt);
  border: 1px solid #CBDFD4; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 1.1rem;
}
.success h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.55rem; }
.success p { font-size: 0.98rem; color: var(--muted); }
.success-contact { margin-top: 1.1rem; font-family: var(--mono); font-size: 0.88rem; color: var(--electric-dk); }
.success-contact a { color: inherit; text-decoration: none; }

/* ---------- QUALIFIER ---------- */

.creed-list { margin-top: 2.75rem; border-top: 1px solid var(--line); }
.creed-item {
  display: grid; grid-template-columns: 3rem 1fr;
  gap: 1.5rem; align-items: baseline;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line);
}
.creed-tick { color: var(--electric); font-size: 1.1rem; line-height: 1; }
.creed-item p { font-size: 1.15rem; color: var(--indigo); line-height: 1.5; }
.creed-item span { display: block; font-size: 0.95rem; color: var(--muted); margin-top: 0.3rem; }

/* ---------- PROCESS LEDGER ---------- */

.ledger { margin-top: 3rem; border-top: 1px solid var(--line); }
.ledger-row {
  display: grid; grid-template-columns: 5rem 1fr 1.4fr;
  gap: 2rem; align-items: start;
  padding: 2rem 0; border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.ledger-row:hover { background: rgba(46,107,255,0.03); }
.ledger-num { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--electric-dk); padding-top: 0.4rem; }
.ledger-row h3 { font-size: 1.3rem; }
.ledger-row p { font-size: 1rem; color: var(--muted); line-height: 1.7; }

/* ---------- HOW WE GET PAID ---------- */

.paid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
.paid-item { padding-top: 1.5rem; border-top: 2px solid var(--electric); }
.paid-item h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.paid-item p { font-size: 0.97rem; color: rgba(255,255,255,0.68); line-height: 1.7; }

/* ---------- CONTACT ---------- */

.contact-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.detail-tag {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 0.5rem;
}
.detail-value { font-size: 1.05rem; color: var(--indigo); font-weight: 500; text-decoration: none; line-height: 1.5; }
a.detail-value:hover { color: var(--electric-dk); }

/* ---------- CTA ---------- */

.cta { background: var(--indigo); padding: 4.5rem 0; text-align: center; }
.cta h2 { font-size: clamp(1.7rem, 2.8vw, 2.25rem); color: var(--paper); margin-bottom: 0.85rem; }
.cta p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }
.cta .btn-outline { color: #fff; border-color: rgba(255,255,255,0.32); }
.cta .btn-outline:hover { border-color: var(--electric); color: var(--electric); }

/* ---------- SUBPAGES ---------- */

.page-header { background: var(--sand); border-bottom: 1px solid var(--line); padding: 9.5rem 0 4rem; }
.page-title { font-size: clamp(2.05rem, 4vw, 3.05rem); margin-bottom: 1.15rem; }
.page-sub { font-size: 1.12rem; color: var(--muted); line-height: 1.7; max-width: 44rem; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.compare-card { border-radius: 12px; padding: 2rem; }
.compare-card.aca { background: var(--sand); border: 1px solid var(--line); }
.compare-card.priv { background: var(--electric-lt); border: 1px solid #C6D9FF; }
.compare-tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.25rem; }
.compare-card.aca .compare-tag { color: var(--muted); }
.compare-card.priv .compare-tag { color: var(--electric-dk); }
.compare-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.compare-list li { font-size: 0.97rem; color: var(--muted); line-height: 1.65; }
.compare-list strong { display: block; color: var(--indigo); font-weight: 700; margin-bottom: 0.15rem; }

.callout {
  background: var(--success-lt); border: 1px solid #CBDFD4;
  border-left: 3px solid var(--success); border-radius: 0;
  padding: 1.4rem 1.6rem; margin-top: 2rem;
}
.callout p { color: var(--indigo); font-size: 1rem; line-height: 1.68; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1.85rem; }
.tile-tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--electric-dk); margin-bottom: 1rem; }
.tile h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 0.55rem; }
.tile p { font-size: 0.95rem; color: var(--muted); line-height: 1.68; }

.questions { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 3rem; max-width: 62rem; }
.question h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.5rem; }
.question p { font-size: 0.95rem; color: var(--muted); line-height: 1.68; }

/* ---------- FOOTER ---------- */

footer { background: var(--indigo); color: rgba(255,255,255,0.62); padding: 3.5rem 0 2rem; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 3rem; flex-wrap: wrap;
  padding-bottom: 2.25rem; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-name {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 30, 'WONK' 1;
  font-size: 1.2rem; font-weight: 700; letter-spacing: -0.025em;
  color: var(--paper); margin-bottom: 0.75rem;
}
.footer-name .lg-accent { color: var(--electric); }
.footer-name .lg-sub { font-family: var(--body); font-size: 1rem; font-weight: 400; letter-spacing: 0; color: rgba(255,255,255,0.6); }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; max-width: 26rem; }
.footer-links { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.62); text-decoration: none; font-size: 0.93rem; transition: color 0.18s; }
.footer-links a:hover { color: var(--electric); }

.producer {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  margin-top: 1.75rem;
}
.producer strong { color: var(--paper); font-weight: 700; }
.license {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.85rem;
  line-height: 1.7;
}
.disclosure { font-size: 0.82rem; color: rgba(255,255,255,0.42); line-height: 1.65; margin-top: 1rem; max-width: 60rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.75rem; margin-top: 1.5rem;
  font-size: 0.84rem; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 1rem;
}
.footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-bottom a:hover { color: var(--electric); }
.footer-legal { display: flex; gap: 1.5rem; }

/* ---------- LEGAL PAGES ---------- */

.legal { max-width: 46rem; margin: 0 auto; padding: 4rem var(--gutter) 5rem; }
.legal-toc {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 3rem;
}
.legal-toc h2 {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.legal-toc ol { list-style: none; counter-reset: toc; columns: 2; column-gap: 2rem; }
.legal-toc li { counter-increment: toc; margin-bottom: 0.4rem; break-inside: avoid; }
.legal-toc a {
  color: var(--indigo);
  text-decoration: none;
  font-size: 0.93rem;
  border-bottom: 1px solid transparent;
}
.legal-toc a::before {
  content: counter(toc) '. ';
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--faint);
}
.legal-toc a:hover { border-bottom-color: var(--electric); color: var(--electric-dk); }

.legal h2 {
  font-size: 1.35rem;
  margin: 2.75rem 0 0.85rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 6rem;
}
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.legal h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
.legal p { font-size: 1rem; color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
.legal ul { margin: 0 0 1.25rem 1.25rem; }
.legal li { font-size: 1rem; color: var(--muted); line-height: 1.7; margin-bottom: 0.5rem; }
.legal a { color: var(--electric-dk); }
.legal strong { color: var(--indigo); font-weight: 700; }
.legal-updated {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin-top: 1.25rem;
}
.legal-flag {
  background: var(--electric-lt);
  border: 1px solid #C6D9FF;
  border-left: 3px solid var(--electric);
  border-radius: 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.legal-flag p { color: var(--indigo); margin-bottom: 0; font-size: 0.95rem; }

@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
  .legal { padding: 2.75rem var(--gutter) 3.5rem; }
}


/* ---------- BOOKING (Google appointment schedule) ---------- */

.expect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.75rem;
}
.expect-item { padding-top: 1.25rem; border-top: 2px solid var(--electric); }
.expect-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.35rem; }
.expect-item p { font-size: 0.95rem; color: var(--muted); line-height: 1.65; }

@media (max-width: 980px) {
  .expect-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 600px) {
  .expect-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}


.sched {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.5rem;
  box-shadow: 0 1px 2px rgba(24,35,66,0.04), 0 18px 44px rgba(24,35,66,0.10);
  overflow: hidden;
}
.sched iframe { display: block; border-radius: 10px; min-height: 700px; }

.sched-note {
  font-size: 0.82rem;
  color: var(--faint);
  line-height: 1.65;
  margin-top: 1.5rem;
  max-width: 52rem;
}
.sched-note a { color: var(--electric-dk); }

@media (max-width: 640px) {
  .sched { padding: 0.35rem; }
  .sched iframe { min-height: 1100px; }
}

/* ---------- COOKIE CONSENT ---------- */

#cc {
  position: fixed; inset: auto 0 0 0; z-index: 200;
  background: var(--indigo); color: rgba(255,255,255,0.85);
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 1.25rem var(--gutter); display: none;
  box-shadow: 0 -4px 28px rgba(24,35,66,0.22);
}
#cc.show { display: block; }
#cc-inner { max-width: var(--measure); margin: 0 auto; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
#cc-text { flex: 1; min-width: 260px; font-size: 0.9rem; line-height: 1.6; }
#cc-text a { color: var(--electric); }
#cc-actions { display: flex; gap: 0.65rem; flex-shrink: 0; }
.cc-btn {
  font-family: var(--body); font-size: 0.9rem; font-weight: 600;
  padding: 0.65rem 1.4rem; border-radius: 7px; cursor: pointer;
  border: 1px solid transparent; transition: background 0.18s, border-color 0.18s, color 0.18s;
}
#cc-accept { background: var(--electric); color: #fff; }
#cc-accept:hover { background: #4A82FF; }
#cc-decline { background: none; color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.3); }
#cc-decline:hover { border-color: rgba(255,255,255,0.65); color: #fff; }

/* ---------- ACCESSIBILITY ---------- */

:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; border-radius: 3px; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--indigo); color: #fff; padding: 0.85rem 1.35rem;
  z-index: 300; border-radius: 0 0 7px 0; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 980px) {
  .ledger-row { grid-template-columns: 4rem 1fr; gap: 1.25rem; }
  .ledger-row p { grid-column: 2; margin-top: 0.5rem; }
  .paid-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-row { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .compare, .tiles, .questions { grid-template-columns: 1fr; }
  }

@media (max-width: 400px) {
  .choice-grid { grid-template-columns: 1fr; }
  .choice { flex-direction: row; justify-content: flex-start; padding: 0.75rem 1rem; gap: 0.75rem; }
}

@media (max-width: 640px) {
  :root { --gutter: 1.25rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  section { padding: 3.75rem 0; }
  .hero { padding: 7.5rem 0 3rem; }
  .hero-sub { margin-bottom: 2.5rem; }
  .band { margin-top: 2.25rem; }
  .controls { padding: 1.35rem 1.25rem 1.25rem; min-height: 0; }
    .contact-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .creed-item { grid-template-columns: 2rem 1fr; gap: 1rem; }
  .creed-item p { font-size: 1.05rem; }
  .page-header { padding: 7rem 0 2.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  #cc-actions { width: 100%; }
  .cc-btn { flex: 1; }
}
