/* =========================================
   KlinikMatch homepage, rebuild of September 2026
   Source: AI-BRIEF-klinikmatch-website.md and reference-hero-mockup.html.
   Coral only where the clinic acts or pays. Everything else is navy, slate or muted.
   Small text uses --slate, never --muted: --muted is under 4.5:1 on white and paper.
   The legal pages still use style.css.
   ========================================= */

/* ---------- Fonts: Poppins 500 and 600, Sora 300, 400 and 600, from Google Fonts ----------
   Declared here with Google's own woff2 URLs instead of the css2 stylesheet: Google hands each
   browser a different file URL, so the two preloads in index.html missed on Android and the late
   swap moved the hero (CLS 0.28 in Lighthouse mobile). Same files, same swap behaviour. */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLGT9Z1JlFc-K.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 300; font-display: swap; src: url(https://fonts.gstatic.com/s/sora/v17/xMQbuFFYT72XzQspDre2.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 300; font-display: swap; src: url(https://fonts.gstatic.com/s/sora/v17/xMQbuFFYT72XzQUpDg.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/sora/v17/xMQbuFFYT72XzQspDre2.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/sora/v17/xMQbuFFYT72XzQUpDg.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url(https://fonts.gstatic.com/s/sora/v17/xMQbuFFYT72XzQspDre2.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url(https://fonts.gstatic.com/s/sora/v17/xMQbuFFYT72XzQUpDg.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #F4F5F7;
  --white: #FFFFFF;
  --ink: #1C2537;
  --midnight: #2A3958;
  --slate: #5A6379;
  --muted: #8C94A6;
  --line: #E3E6EC;
  --line-strong: #CDD2DC;
  --coral: #E8785F;
  --coral-deep: #C1512F;
  --peach-tint: #FFE8E1;
  --peach-wash: #FFF2EE;
  --attend-tint: #FDF0EC;
  --booked-tint: #EDF0F6;
  --calm: #4A6FA5;
  --display: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  --body: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --shadow-card: 0 1px 2px rgba(28, 37, 55, .04), 0 4px 12px rgba(28, 37, 55, .05);
  --shadow-lift: 0 2px 4px rgba(28, 37, 55, .05), 0 14px 28px rgba(28, 37, 55, .09);

  --nav-h: 68px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--slate);
  background: linear-gradient(180deg, var(--peach-wash) 0, var(--paper) 760px) top / 100% 760px no-repeat, var(--paper);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  color: var(--midnight);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { margin: 0; }
/* Short copy wraps without a lone last word */
p, li, dd { text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

:focus-visible { outline: 2px solid var(--coral-deep); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1152px; margin-inline: auto; padding-inline: 24px; }

/* ---------- Icons: Lucide line icons from the sprite at the top of body ----------
   Navy on --booked-tint everywhere; coral only in the clinic's own steps (4 and 6). */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { display: block; flex: none; width: 22px; height: 22px; }
.ic-box { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--booked-tint); color: var(--midnight); }
/* Compact rows (facts, terms, markets): 36px box, 20px glyph */
.facts .ic-box, .term .ic-box, .markets .ic-box { width: 36px; height: 36px; border-radius: 10px; }
.facts .ic, .term .ic, .markets .ic { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font: 500 15px/1.2 var(--display);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms var(--ease), box-shadow 180ms var(--ease), transform 150ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-cta { background: var(--coral-deep); color: var(--white); padding: 16px 26px; font-size: 16px; }
.btn-cta:hover { box-shadow: 0 10px 22px rgba(193, 81, 47, .28); transform: translateY(-1px); }
.btn-nav { background: var(--midnight); color: var(--white); }
.btn-nav:hover { background: var(--ink); }
.btn-text { color: var(--midnight); padding: 16px 8px; }
.btn-text:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}
.navbar.scrolled {
  background: rgba(244, 245, 247, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.nav-logo { display: inline-flex; align-items: center; min-height: 44px; }
.nav-logo img { display: block; height: 32px; width: auto; }

.nav-links { position: relative; margin-left: auto; }
.nav-links ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 4px; }
.nav-links a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  font: 500 15px/1 var(--display);
  color: var(--midnight);
  text-decoration: none;
}
.nav-indicator {
  position: absolute;
  top: 4px;
  left: 0;
  height: 40px;
  width: 0;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transition: transform 340ms var(--ease), width 340ms var(--ease), opacity 200ms var(--ease);
}
.nav-indicator.is-on { opacity: 1; }

.nav-toggle {
  display: none;
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--midnight);
  transition: transform 240ms var(--ease), top 240ms var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.navbar.is-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.navbar.is-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.nav-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 12px;
  right: 12px;
  display: grid;
  gap: 2px;
  padding: 8px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(28, 37, 55, .16), 0 0 0 1px var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 180ms var(--ease), transform 240ms var(--ease), visibility 0s linear 240ms;
}
.navbar.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms var(--ease), transform 240ms var(--ease), visibility 0s; }
.nav-menu a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px;
  border-radius: 10px;
  font: 500 16px/1 var(--display);
  color: var(--midnight);
  text-decoration: none;
}
.nav-menu a:not(.btn)::after { content: "\2192"; color: var(--slate); }
.nav-menu a.is-active { background: var(--peach-wash); }
.nav-menu .btn { margin-top: 6px; }
@media (min-width: 961px) { .nav-menu { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: 44px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
}
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
/* The white pill keeps coral-deep at 4.7:1; on the peach ground it would be 4.3:1. */
.eyebrow-tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 600 12.5px/1.4 var(--body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--coral-deep);
}
.eyebrow-for { font-size: 13px; line-height: 1.4; color: var(--slate); }
.hero h1 { margin-top: 18px; font-size: clamp(34px, 3.9vw, 50px); line-height: 1.08; }
.hero h1 .accent { color: var(--coral-deep); }
.hero-body { margin-top: 18px; max-width: 38ch; font-size: 18px; color: var(--slate); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 14px; font-size: 13.5px; color: var(--slate); }

/* ---------- Pricing card (hero, right column): static example ---------- */
.ledger {
  margin: 0;
  padding: 20px 20px 16px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lift);
}
.ledger-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.ledger-title { font: 600 16px/1.25 var(--display); color: var(--midnight); }
.ledger-sub { margin-top: 3px; font-size: 12.5px; line-height: 1.4; color: var(--slate); }
.tag {
  flex: none;
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font: 600 10.5px/1.4 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
}
.rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 11px;
  background: var(--attend-tint);
}
.row.is-noshow { background: var(--paper); }
.row.is-replaced { background: var(--booked-tint); }
.row-when { font: 600 14px/1.35 var(--display); color: var(--midnight); }
.row-meta { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--slate); }
.pill {
  padding: 6px 11px;
  border-radius: 999px;
  font: 600 12.5px/1.2 var(--display);
  white-space: nowrap;
}
/* White on --coral is 2.9:1, so the billed pill carries ink text (5.3:1). */
.pill-billed { background: var(--coral); color: var(--ink); }
.pill-not { background: var(--white); border: 1px solid var(--line-strong); color: var(--slate); text-decoration: line-through; }
.pill-replaced { background: var(--midnight); color: var(--white); }
.ledger-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--slate);
}
.confirm { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1.2 var(--display); color: var(--midnight); white-space: nowrap; }
.confirm-chip { padding: 5px 11px; border-radius: 999px; background: var(--midnight); color: var(--white); }

/* ---------- Fact strip ---------- */
.facts { margin-top: 44px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 28px; margin: 0; padding: 0; list-style: none; }
.facts li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14px; line-height: 1.45; color: var(--slate); }
/* First line of text centred on the 36px icon box */
.facts li > span:last-child { padding-top: calc((36px - 1.45em) / 2); }
.facts b { font-weight: 600; color: var(--midnight); }

/* ---------- Sections ---------- */
.section { padding-top: 84px; }
.section-title { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; }
.section-sub { margin-top: 10px; max-width: 60ch; font-size: 17px; color: var(--slate); }

/* How it works: six steps, the clinic's two in coral */
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 36px 0 0; padding: 0; list-style: none; }
.step {
  position: relative;
  padding: 18px 16px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}
.step .ic-box { margin-bottom: 14px; }
/* The clinic's two steps carry the only coral icons */
.step--you .ic-box { background: var(--white); color: var(--coral-deep); }
.step-num { font: 600 12.5px/1.3 var(--display); letter-spacing: .04em; color: var(--slate); }
.step h3 { margin-top: 8px; font-size: 15.5px; line-height: 1.3; }
.step-text { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--slate); }
.step--you { border: 1.5px solid var(--coral); background: var(--attend-tint); }
.step--you .step-num { color: var(--midnight); }
.you {
  position: absolute;
  top: 27px;
  right: 14px;
  padding: 3px 8px;
  border: 1px solid var(--coral);
  border-radius: 999px;
  background: var(--white);
  font: 600 10.5px/1.3 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--coral-deep);
}
.steps-note { margin-top: 16px; font-size: 13.5px; color: var(--slate); }

/* What arrives: stops doing / lands instead */
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 36px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.pane { padding: 28px 30px; }
.pane-off { background: var(--paper); }
.pane-on { border-left: 3px solid var(--coral); background: linear-gradient(180deg, var(--attend-tint), var(--white) 62%); }
.pane h3 { margin-bottom: 14px; font-size: 12.5px; line-height: 1.4; letter-spacing: .09em; text-transform: uppercase; }
.pane-off h3 { color: var(--slate); }
.marks { margin: 0; padding: 0; list-style: none; }
.marks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 6px; margin: 11px 0; font-size: 15px; line-height: 1.5; }
.marks svg { display: block; width: 16px; height: 16px; margin-top: 4px; }
.pane-off li { color: var(--slate); }
.pane-off svg { color: var(--muted); }
.pane-on li { color: var(--midnight); font-weight: 600; }
.pane-on svg { color: var(--midnight); }
.pay { margin-top: 18px; padding: 20px 24px; border-radius: 14px; background: var(--midnight); color: var(--white); font-size: 16.5px; line-height: 1.55; }
.pay b { font-weight: 600; }
.pay-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 22px; }
.pay-note { font-size: 13.5px; color: var(--slate); }

/* Results: one cleared line, nothing else */
.results-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 28px;
  padding: 28px 30px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.results-card .ic-box { width: 44px; height: 44px; }
.results-card .ic { width: 24px; height: 24px; }
.results-line {
  padding-top: calc((44px - 1.4em) / 2);
  font: 500 clamp(19px, 2vw, 24px)/1.4 var(--display);
  letter-spacing: -0.01em;
  color: var(--midnight);
}

/* Terms and pricing: labelled rows */
.terms { margin: 36px 0 0; padding: 4px 30px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-card); }
.term { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.term:first-child { border-top: 0; }
.term dt { display: flex; align-items: center; gap: 12px; font: 600 12.5px/1.5 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
/* First line centred on the 36px icon box in the label column */
.term dd { margin: 0; max-width: 68ch; padding-top: calc((36px - 1.6em) / 2); color: var(--slate); }

/* Markets: one sentence per origin market */
.markets { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.markets li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line-strong); font: 500 clamp(17px, 1.7vw, 20px)/1.4 var(--display); color: var(--midnight); }
.markets li > span:last-child { padding-top: calc((36px - 1.4em) / 2); }

/* Who KlinikMatch works with */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 36px 0 0; padding: 0; list-style: none; }
.who-card { padding: 22px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); }
.who-card .ic-box { margin-bottom: 16px; }
.who-card h3 { font-size: 17px; line-height: 1.3; }
.who-card p { margin-top: 8px; font-size: 15px; line-height: 1.5; }
.who-close { margin-top: 20px; }
.who-close a { font-weight: 600; color: var(--midnight); text-underline-offset: 3px; }

/* FAQ */
.faq { margin-top: 36px; padding: 4px 30px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-card); }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
  font: 600 16.5px/1.35 var(--display);
  color: var(--midnight);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%232A3958' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 1v12M1 7h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 200ms var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { max-width: 72ch; padding-bottom: 20px; color: var(--slate); }

/* Contact: form on a white card inside a navy band */
.section-contact { margin-top: 84px; padding-block: 84px; overflow: hidden; background: var(--midnight); }
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 56px;
  padding: 48px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; }
.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field-full { grid-column: 1 / -1; }
.field > label, .field > legend { display: block; margin-bottom: 6px; padding: 0; font: 500 14px/1.3 var(--display); color: var(--midnight); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.field textarea { display: block; resize: vertical; }
.field input::placeholder { color: var(--muted, #6B7280); opacity: .7; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--midnight); box-shadow: 0 0 0 3px rgba(42, 57, 88, .15); }
.field :is(input, select, textarea)[aria-invalid="true"] { border-color: var(--coral-deep); }
.field :is(input, select, textarea)[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(193, 81, 47, .18); }
.field-error { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--coral-deep); }
/* Four markets: a 2 by 2 grid of equal pills, one column on phones */
.checks { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px; }
.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
}
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--midnight); }
.check:has(input:checked) { border-color: var(--midnight); background: var(--booked-tint); }
.check:has(input:focus-visible) { outline: 2px solid var(--coral-deep); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; background: var(--attend-tint); color: var(--ink); font-size: 14px; }
.form-submit { grid-column: 1 / -1; width: 100%; margin-top: 4px; white-space: normal; text-align: center; text-wrap: balance; }
.form-submit:disabled { opacity: .75; cursor: progress; }
.next-steps { grid-column: 1 / -1; display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--slate); }
.form-success { display: flex; gap: 14px; align-items: flex-start; padding: 8px 0; }
.form-success:focus { outline: none; }
.form-success svg { flex: none; }
.form-success p { font-size: 18px; color: var(--midnight); }
.form-success strong { font-weight: 600; }

/* ---------- Footer ---------- */
.footer { padding-block: 64px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-logo { display: block; height: 32px; width: auto; }
.footer-brand p { margin-top: 14px; font-size: 15px; }
.footer-h { margin-bottom: 8px; font: 600 12.5px/1.4 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; font-size: 15px; color: var(--ink); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-ic { gap: 10px; }
.footer-ic .ic { width: 20px; height: 20px; color: var(--midnight); }
.footer-li-btn { justify-content: center; width: 36px; height: 36px; margin-top: 4px; border-radius: 10px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--slate); }
.footer-parent { display: inline-flex; align-items: center; gap: 10px; }
.footer-parent img { display: block; height: 40px; width: auto; }

/* ---------- Cookie notice ---------- */
.cookie {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  padding: 16px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(28, 37, 55, .16), 0 0 0 1px var(--line);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.cookie a { color: var(--coral-deep); }
.cookie-btns { display: flex; justify-content: flex-end; gap: 8px; }
.cookie button { min-height: 44px; padding: 10px 16px; border: 0; border-radius: 999px; cursor: pointer; font: 500 14px/1 var(--display); }
.cookie-decline { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.cookie-accept { background: var(--midnight); color: var(--white); }

/* ---------- Phone: one sticky CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 58;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: 0 -1px 0 var(--line), 0 -8px 24px rgba(28, 37, 55, .08);
  transform: translateY(110%);
  transition: transform 280ms var(--ease);
}
.mobile-cta.is-on { transform: none; }
.mobile-cta .btn { width: 100%; padding-block: 15px; }

@media (hover: none) {
  .btn-cta:hover { box-shadow: none; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .btn-nav { margin-left: auto; }
  .nav-inner { gap: 10px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .ledger { max-width: 560px; }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hero { padding-top: 24px; }
  .hero-body { font-size: 17px; }
  .hero-cta .btn-cta { flex: 1 1 100%; }
  .hero-cta .btn-text { padding-inline: 0; }
  .ledger { padding: 16px 14px 12px; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .row .pill { justify-self: start; }
  .ledger-foot { flex-direction: column; align-items: flex-start; }
  .tag, .you { font-size: 12.5px; letter-spacing: .06em; }
  .facts ul { grid-template-columns: 1fr; }
  .section { padding-top: 64px; }
  .steps { grid-template-columns: 1fr; }
  /* Phones: icon to the left of each step, text beside it */
  .step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
  .step .ic-box { grid-column: 1; grid-row: 1 / span 3; margin-bottom: 0; }
  .step > p, .step > h3 { grid-column: 2; }
  .pair { grid-template-columns: 1fr; }
  .pane { padding: 22px 18px; }
  .pane-on { border-left: 0; border-top: 3px solid var(--coral); }
  .pay { padding: 18px 20px; font-size: 16px; }
  .pay-cta .btn-cta { flex: 1 1 100%; }
  .results-card { gap: 14px; padding: 22px 20px; }
  .terms { padding: 4px 20px; }
  .term { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .term dd { padding-top: 0; padding-left: 48px; }
  .who { grid-template-columns: 1fr; }
  .who-card { display: flex; align-items: flex-start; gap: 14px; }
  .who-card .ic-box { margin-bottom: 0; }
  .who-card > div { padding-top: calc((40px - 1.3 * 17px) / 2); }
  .faq { padding: 4px 20px; }
  .faq-item summary { font-size: 16px; }
  .section-contact { margin-top: 64px; padding-block: 48px; }
  .contact-card { padding: 28px 20px; border-radius: 16px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-col a { min-height: 44px; }
  .footer-li-btn { width: 44px; height: 44px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .checks { grid-template-columns: max-content; }
  .eyebrow-dot { display: none; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .btn-nav { display: none; }
  .nav-toggle { margin-left: auto; }
  .nav-logo img { height: 28px; }
  .mobile-cta { display: block; }
  .cookie {
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -1px 0 var(--line), 0 -10px 30px rgba(28, 37, 55, .12);
    font-size: 13px;
    line-height: 1.4;
  }
  .cookie p { flex: 1 1 auto; }
  .cookie-btns { flex: none; }
  .cookie button { padding: 10px 14px; font-size: 13.5px; }
}

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