/* ============================================================
   Radical Health Concierge — design system
   Brand-refresh aligned: warm cream + signature terracotta-coral
   + warm near-black. Editorial serif, pill buttons, rounded cards.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;1,6..72,300;1,6..72,400&family=Hanken+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* canvas + ink */
  --bg:        #F4ECE0;
  --bg-alt:    #ECE3D3;
  --ink-canvas:#262320;   /* warm near-black section bg */
  --paper:     #FCF7EF;
  --ink:       #1A1813;
  --ink-soft:  #46423A;
  --muted:     #726C5F;
  --line:      rgba(26,24,19,0.13);
  --line-soft: rgba(26,24,19,0.07);

  /* accent (tweakable) — signature terracotta-coral */
  --accent:        #D85C39;
  --accent-deep:   #BE4D2D;
  --accent-tint:   rgba(216,92,57,0.10);

  /* type */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;

  /* rhythm */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(72px, 9vw, 150px);
  --radius: 14px;       /* cards */
  --btn-radius: 100px;  /* pill buttons */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

/* ---- typography ---- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.04; margin: 0; text-wrap: balance; }
.display {
  font-size: clamp(2.6rem, 6.4vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.022em;
}
.h2 { font-size: clamp(2rem, 3.9vw, 3.35rem); line-height: 1.02; }
.h3 { font-size: clamp(1.4rem, 2.1vw, 1.95rem); }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.42rem); line-height: 1.5; color: var(--ink-soft); font-weight: 400; text-wrap: pretty; }
em.serif-it { font-style: italic; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.no-rule::before { display: none; }

.kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: var(--section-y); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

.dark-section { background: var(--ink-canvas); color: #E7DFD2; }
.dark-section .lead { color: #B3A998; }
.dark-section .eyebrow { color: #EE8E70; }
.dark-section .eyebrow::before { background: #EE8E70; }
.dark-section h1,.dark-section h2,.dark-section h3 { color: #F7F0E6; }
.alt-section { background: var(--bg-alt); }

/* ---- coral signature section ---- */
.coral-section { background: var(--accent); color: #FFF1E9; }
.coral-section .lead { color: #FCE3D7; }
.coral-section .eyebrow { color: #FFFFFF; }
.coral-section .eyebrow::before { background: rgba(255,255,255,0.85); }
.coral-section h1,.coral-section h2,.coral-section h3,.coral-section h4 { color: #FFFFFF; }
.coral-section .btn-primary { background: #FFF6F0; color: var(--accent-deep); }
.coral-section .btn-primary:hover { background: #fff; }
.coral-section .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.coral-section .btn-ghost:hover { border-color: #fff; }

/* ---- buttons ---- */
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.005em;
  padding: 1rem 1.8rem;
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.dark-section .btn-primary { background: var(--accent); color: #fff; }
.dark-section .btn-primary:hover { background: var(--accent-deep); color: #fff; }
.dark-section .btn-ghost { color: #EDE7DA; border-color: rgba(237,231,218,0.28); }
.dark-section .btn-ghost:hover { border-color: #EDE7DA; }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.link-arrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color .25s, gap .25s;
}
.link-arrow:hover { border-color: var(--accent); gap: 0.8em; }
.link-arrow .arrow { color: var(--accent-deep); transition: transform .25s; }
.link-arrow:hover .arrow { transform: translateX(2px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,242,234,0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); }
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand { display: flex; align-items: baseline; gap: 0.6rem; }
.brand-mark { font-family: var(--serif); font-size: 1.36rem; letter-spacing: -0.02em; font-weight: 500; white-space: nowrap; }
.brand { flex: none; }
.brand-sub {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent-deep);
  border-left: 1px solid var(--line); padding-left: 0.65rem;
  position: relative; top: -1px;
}
.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 4px 0; transition: color .2s;
}
.nav a::after {
  content:""; position:absolute; left:0; bottom:-2px; height:1px; width:0;
  background: var(--accent); transition: width .25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 1.1rem; }
.header-cta .apply-link { font-size: 0.9rem; font-weight: 600; }
.header-cta .apply-link:hover { color: var(--accent-deep); }
.btn-sm { padding: 0.62rem 1.15rem; font-size: 0.88rem; }
.menu-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 120px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 { margin-top: 1.5rem; }
.hero .lead { margin-top: 1.7rem; max-width: 33ch; }
.hero-cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-note {
  margin-top: 1.4rem; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em;
  color: var(--muted); display: flex; align-items: center; gap: 0.6rem;
}
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: #4FA06A; box-shadow: 0 0 0 4px rgba(79,160,106,0.16); }

.hero-media { position: relative; }
.hero-media image-slot { width: 100%; height: 580px; box-shadow: 0 40px 90px -50px rgba(26,24,19,0.5); }
.hero-media .media-caption {
  position: absolute; left: 22px; bottom: 22px; z-index: 3;
  background: rgba(252,250,244,0.92); backdrop-filter: blur(6px);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 0.7rem 0.95rem; max-width: 230px;
}
.hero-media .media-caption .k { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-deep); }
.hero-media .media-caption .v { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.4; margin-top: 2px; }

/* hero framing variants (driven by data-hero on .hero) */
.hero[data-hero="centered"] .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero[data-hero="centered"] .hero-copy { max-width: 760px; }
.hero[data-hero="centered"] .hero .lead,
.hero[data-hero="centered"] .hero-copy .lead { max-width: 46ch; margin-inline: auto; }
.hero[data-hero="centered"] .eyebrow { justify-content: center; }
.hero[data-hero="centered"] .hero-cta { justify-content: center; }
.hero[data-hero="centered"] .hero-note { justify-content: center; }
.hero[data-hero="centered"] .hero-media { display: none; }

.hero[data-hero="overlay"] .hero-grid { display: none; }
.hero[data-hero="overlay"] { padding: 0; }
.hero-stage { display: none; }
.hero[data-hero="overlay"] .hero-stage {
  display: flex; align-items: center; min-height: 100vh;
  background: var(--ink-canvas);
}
.hero[data-hero="overlay"] .hero-stage-img { display: none; }
.hero[data-hero="overlay"] .hero-stage-copy {
  display: flex; align-items: center; width: 100%;
  padding: clamp(96px,13vh,150px) max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)))
           clamp(56px,7vh,96px);
}
.hero[data-hero="overlay"] .hero-stage-img { position: relative; background: #1c1916; overflow: hidden; }
.hero[data-hero="overlay"] .hero-stage-img::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(30,27,24,0.55) 0%, rgba(30,27,24,0) 38%);
}
.hero[data-hero="overlay"] .hero-stage-img image-slot { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-scrim { display: none !important; }
.hero[data-hero="overlay"] .hero-copy { position: relative; z-index: 2; max-width: 1000px; color: #F4EFE4; }
.hero[data-hero="overlay"] .hero-copy h1 { color: #fff; font-size: clamp(2.8rem, 7vw, 6rem); }
.hero[data-hero="overlay"] .hero-copy .lead { max-width: 60ch; }
.hero[data-hero="overlay"] .hero-copy .lead { color: #D9D2C4; }
.hero[data-hero="overlay"] .eyebrow { color: #F3A98E; }
.hero[data-hero="overlay"] .eyebrow::before { background:#F3A98E; }
.hero[data-hero="overlay"] .btn-primary { background: var(--accent); color: #fff; }
.hero[data-hero="overlay"] .btn-primary:hover { background: var(--accent-deep); }
.hero[data-hero="overlay"] .btn-ghost { color:#F4EFE4; border-color: rgba(244,239,228,0.4); }
.hero[data-hero="overlay"] .hero-note { color:#B7B0A1; }
.hero-partner { margin-top: clamp(28px,3.5vw,40px); display: flex; flex-direction: column; gap: 0.65rem; }
.hero-partner .hp-label { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: #A9A294; }
.hero-partner image-slot { width: 210px; height: 54px; }
.hero-partner .mayo-logo { height: 36px; opacity: 0.9; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust { padding-block: clamp(40px, 5vw, 64px); border-block: 1px solid var(--line); }
.trust-head { text-align: center; font-family: var(--serif); font-size: clamp(1.05rem,1.7vw,1.4rem); color: var(--ink-soft); max-width: 30ch; margin: 0 auto 2.4rem; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.6rem, 4vw, 3.6rem); }
.logo-mark {
  font-family: var(--serif); font-size: clamp(0.95rem,1.5vw,1.25rem); letter-spacing: 0.01em;
  color: var(--muted); opacity: 0.78; white-space: nowrap; transition: opacity .25s, color .25s;
  display: flex; flex-direction: column; align-items: center; line-height: 1.1;
}
.logo-mark small { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; margin-top: 3px; }
.logo-mark:hover { opacity: 1; color: var(--ink); }
.logo-slots { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.4rem, 3.5vw, 3rem); }
.logo-slot { display: flex; flex-direction: column; align-items: center; gap: 0.55rem; }
.logo-slot image-slot { width: clamp(120px, 14vw, 168px); height: 52px; opacity: 0.92; }
.logo-slot .ls-cap { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.trust-foot { text-align: center; margin-top: clamp(26px,3vw,38px); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.trust-foot b { color: var(--accent-deep); font-weight: 500; }

/* ============================================================
   GENERIC SECTION HEADER
   ============================================================ */
.section-head { max-width: 760px; margin: 0 auto; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head.left { margin: 0; text-align: left; }
.section-head.left .eyebrow { justify-content: flex-start; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 1.1rem; }
.section-head .lead { margin-top: 1.5rem; }

/* ============================================================
   SHOWCASES (visual product rows)
   ============================================================ */
.showcases { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 120px); margin-top: clamp(48px, 6vw, 96px); }
.showcase {
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(36px, 5vw, 84px);
  align-items: center;
}
.showcase.reverse .sc-visual { order: 2; }
.sc-copy { max-width: 460px; }
.showcase.reverse .sc-copy { margin-left: auto; }
.sc-tag {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-deep); display: inline-flex; align-items: center; gap: 0.7em;
}
.sc-tag .n {
  font-family: var(--serif); font-size: 1.7rem; line-height: 1; letter-spacing: 0;
  color: #fff; background: var(--accent); width: 2.1em; height: 2.1em; border-radius: 50%;
  display: inline-grid; place-items: center;
}
.dl-head .sc-tag .n, .sc-copy .sc-tag .n { color: #fff; }
.sc-copy h3 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); margin-top: 1.1rem; line-height: 1.02; }
.sc-copy p { margin-top: 1.2rem; font-size: 1.08rem; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
.sc-meta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sc-pill {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); border: 1px solid var(--line); border-radius: 100px; padding: 0.4rem 0.85rem;
  background: var(--paper);
}

/* ---- generic mock card ---- */
.mock {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 70px -45px rgba(38,35,32,0.5); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.95rem 1.2rem; border-bottom: 1px solid var(--line-soft); }
.mock-bar .live { width: 8px; height: 8px; border-radius: 50%; background: #4FA06A; box-shadow: 0 0 0 4px rgba(79,160,106,0.18); flex: none; }
.mock-bar .title { font-weight: 600; font-size: 0.92rem; }
.mock-bar .mono { margin-left: auto; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mock-foot { display: flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.2rem; border-top: 1px solid var(--line-soft); background: var(--bg); font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-deep); }
.mock-foot svg { width: 13px; height: 13px; }

/* mock 1 — live feed */
.feed { padding: 0.5rem 0; }
.feed-row { display: grid; grid-template-columns: auto 1fr auto; gap: 0.9rem; align-items: center; padding: 0.95rem 1.2rem; }
.feed-row + .feed-row { border-top: 1px solid var(--line-soft); }
.feed-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; flex: none; }
.feed-ico svg { width: 15px; height: 15px; }
.feed-txt { font-size: 0.95rem; color: var(--ink); line-height: 1.35; }
.feed-time { font-family: var(--mono); font-size: 0.62rem; color: var(--muted); white-space: nowrap; }

/* mock 2 — plan signoff */
.signoff { padding: 1.3rem; }
.so-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.so-rec { font-family: var(--serif); font-size: 1.28rem; margin-top: 0.5rem; line-height: 1.2; }
.so-badge { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; background: rgba(79,160,106,0.12); color: #2F7A4C; border: 1px solid rgba(79,160,106,0.4); border-radius: 100px; padding: 0.4rem 0.85rem; font-size: 0.8rem; font-weight: 600; }
.so-badge svg { width: 14px; height: 14px; }
.so-team { display: flex; gap: 0.7rem; margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line-soft); }
.so-member { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; flex: 1; text-align: center; }
.so-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 0.72rem; font-weight: 500; color: #fff; }
.so-member small { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }

/* mock 3 — diagnostics bento */
.diag { padding: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.diag-chip { display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 0.9rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 0.84rem; line-height: 1.2; color: var(--ink); }
.diag-chip .dc-tick { width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.diag-chip .dc-tick svg { width: 9px; height: 9px; }
.diag-chip.wide { grid-column: 1 / -1; }

/* mock 4 — re-analysis flow */
.flow { padding: 1.6rem 1.3rem; display: flex; flex-direction: column; gap: 0; }
.flow-node { display: grid; grid-template-columns: auto 1fr; gap: 0.95rem; align-items: center; }
.flow-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--accent-tint); color: var(--accent-deep); }
.flow-ico svg { width: 18px; height: 18px; }
.flow-node.active .flow-ico { background: var(--accent); color: #fff; }
.flow-txt b { display: block; font-size: 0.95rem; }
.flow-txt span { font-size: 0.8rem; color: var(--muted); }
.flow-line { width: 1px; height: 18px; margin-left: 18px; background: var(--accent); opacity: 0.4; }

@media (max-width: 880px) {
  .showcase { grid-template-columns: 1fr; gap: 1.8rem; }
  .showcase.reverse .sc-visual { order: 0; }
  .sc-copy, .showcase.reverse .sc-copy { max-width: none; margin: 0; }
  .diag { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   DIAGNOSTICS LEAD BLOCK (expanded — the hero pillar)
   ============================================================ */
.diag-lead { margin-top: clamp(44px, 5.5vw, 84px); }
.diag-lead .dl-head { max-width: 820px; }
.diag-lead .dl-head h3 { font-size: clamp(2rem, 3.8vw, 3.3rem); line-height: 1.0; margin-top: 1.1rem; }
.diag-lead .dl-head p { margin-top: 1.4rem; font-size: 1.12rem; line-height: 1.55; color: var(--ink-soft); max-width: 62ch; text-wrap: pretty; }
.diag-lead .dl-head .em { color: var(--ink); font-weight: 600; }

/* insurance contrast bar */
.ins-bar { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px,2vw,20px); margin-top: clamp(34px,4vw,52px); align-items: stretch; }
.ins-cell { border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.4rem,2.2vw,2rem); background: var(--paper); display: flex; flex-direction: column; }
.ins-cell .ic-label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.ins-cell .ic-big { font-family: var(--serif); font-size: clamp(1.45rem,2.3vw,1.95rem); margin-top: 0.75rem; line-height: 1.08; }
.ins-cell .ic-sub { font-size: 0.94rem; color: var(--muted); margin-top: 0.7rem; line-height: 1.5; }
.ins-cell.std .ic-big { color: var(--muted); }
.ins-cell.us { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-tint); }
.ins-cell.us .ic-label { color: var(--accent-deep); }
.ins-cell.us .ic-big { color: var(--accent-deep); }
.ins-cell.us .ic-sub { color: var(--ink-soft); }
.diag-foot { margin-top: clamp(22px,2.6vw,30px); display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); border: 1px solid var(--accent); border-radius: 100px; padding: 0.55rem 1.05rem; }
.diag-foot svg { width: 15px; height: 15px; }
@media (max-width: 600px){ .ins-bar { grid-template-columns: 1fr; } }

/* test grid (2x3, each card click-to-expand) */
.test-acc { margin-top: clamp(18px,2.2vw,26px); display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px,1.8vw,20px); align-items: start; }
.test-item { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.test-item.open { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.test-q { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; display: flex; align-items: flex-start; gap: 0.9rem; padding: clamp(1.2rem,1.8vw,1.5rem); }
.ti-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; flex: none; }
.ti-ico svg { width: 19px; height: 19px; }
.ti-name { font-family: var(--serif); font-size: clamp(1.1rem,1.5vw,1.32rem); color: var(--ink); line-height: 1.12; }
.ti-head { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.ti-sub { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.02em; color: var(--muted); line-height: 1.4; }
.ti-teaser { display: none; }
.ti-toggle { flex: none; width: 22px; height: 22px; position: relative; }
.ti-toggle::before, .ti-toggle::after { content: ""; position: absolute; background: var(--accent-deep); transition: transform .3s ease, opacity .3s; }
.ti-toggle::before { top: 50%; left: 2px; right: 2px; height: 1.5px; transform: translateY(-50%); }
.ti-toggle::after { left: 50%; top: 2px; bottom: 2px; width: 1.5px; transform: translateX(-50%); }
.test-item.open .ti-toggle::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.test-item.open .ti-name { color: var(--accent-deep); }
.test-a { display: none; }
.test-item.open .test-a { display: block; }
.test-a-inner { padding: 0 clamp(1.2rem,1.8vw,1.5rem) clamp(1.3rem,1.8vw,1.5rem); padding-left: calc(38px + 0.9rem + clamp(1.2rem,1.8vw,1.5rem)); }
.test-a-inner .ti-what { font-size: 0.98rem; color: var(--ink-soft); line-height: 1.55; }
.test-a-inner .ti-points { list-style: none; margin: 0.95rem 0 0; padding: 0.95rem 0 0; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 0.65rem; }
.test-a-inner .ti-points li { position: relative; padding-left: 1.4rem; font-size: 0.94rem; color: var(--ink-soft); line-height: 1.45; text-wrap: pretty; }
.test-a-inner .ti-points li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 680px){ .test-acc { grid-template-columns: 1fr; } .test-a-inner { padding-left: clamp(1.2rem,1.8vw,1.5rem); } }

/* ============================================================
   QUARTERBACK OF YOUR CARE (hub + map)
   ============================================================ */
.qb { margin-top: clamp(40px, 5vw, 72px); display: flex; flex-direction: column; align-items: center; }
.qb-hub {
  background: var(--ink-canvas); color: #F7F0E6; border-radius: 18px; text-align: center;
  padding: clamp(1.4rem,2.2vw,1.9rem) clamp(1.9rem,3.2vw,2.8rem);
  box-shadow: 0 34px 70px -42px rgba(38,35,32,0.65); max-width: 480px;
}
.qb-hub .qh-label { font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.18em; text-transform: uppercase; color: #EE8E70; }
.qb-hub .qh-name { font-family: var(--serif); font-size: clamp(1.45rem,2.3vw,1.95rem); margin-top: 0.45rem; color: #fff; line-height: 1.08; }
.qb-hub .qh-sub { font-size: 0.92rem; color: #B3A998; margin-top: 0.55rem; line-height: 1.45; }
.qb-stem { width: 2px; height: clamp(26px, 3.6vw, 44px); background: var(--line); }
.qb-coord { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(18px,2.4vw,26px); }
.qb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px,1.8vw,22px); width: 100%; }
.qb-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.35rem,2vw,1.75rem); }
.qb-card .qc-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 1rem; }
.qb-card .qc-ico svg { width: 20px; height: 20px; }
.qb-card h4 { font-family: var(--serif); font-size: 1.2rem; line-height: 1.1; }
.qb-card p { font-size: 0.93rem; color: var(--muted); margin-top: 0.45rem; line-height: 1.48; text-wrap: pretty; }
.qb-card .qc-yours { display: inline-block; white-space: nowrap; margin-top: 0.85rem; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); border: 1px solid var(--line); border-radius: 100px; padding: 0.3rem 0.7rem; }
@media (max-width: 860px){ .qb-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .qb-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PERSONALIZATION / PREDICT RESPONSE (data section)
   ============================================================ */
.predict-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px,1.6vw,24px); margin-top: clamp(40px,5vw,64px); }
.mayo-cred { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-top: clamp(30px,3.6vw,46px); }
.mayo-cred .mc-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: #A9A294; }
.mayo-cred image-slot { width: clamp(170px,20vw,230px); height: 56px; }
.predict-stat { text-align: center; }
.predict-stat .ps-num { font-family: var(--serif); font-size: clamp(1.7rem,3vw,2.7rem); color: #fff; line-height: 1; }
.predict-stat .ps-lbl { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.11em; text-transform: uppercase; color: #A9A294; margin-top: 0.55rem; line-height: 1.35; }
.predict-panel { margin-top: clamp(44px,5vw,72px); background: rgba(255,255,255,0.045); border: 1px solid rgba(237,231,218,0.16); border-radius: 20px; padding: clamp(1.6rem,3vw,2.8rem); display: grid; grid-template-columns: 0.82fr 1px 1.18fr; gap: clamp(28px,4vw,56px); align-items: center; }
.pp-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: #EE8E70; }
.case-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.case-chip { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.05em; color: #EDE7DA; border: 1px solid rgba(237,231,218,0.26); border-radius: 100px; padding: 0.42rem 0.82rem; }
.match-line { margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid rgba(237,231,218,0.14); }
.match-line .ml-big { font-family: var(--serif); font-size: clamp(2rem,3.4vw,2.9rem); color: #fff; line-height: 1; }
.match-line .ml-big b { color: #EE8E70; font-weight: 400; }
.match-line .ml-sub { font-size: 0.92rem; color: #A9A294; margin-top: 0.6rem; line-height: 1.45; }
.pp-divider { width: 1px; align-self: stretch; background: rgba(237,231,218,0.12); }
.resp-head-row { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: #A9A294; margin-bottom: 1.2rem; }
.resp-row { margin-bottom: 1.25rem; }
.resp-row:last-child { margin-bottom: 0; }
.resp-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.resp-name { color: #F4EFE4; font-size: 1rem; font-weight: 500; }
.resp-name span { color: #A9A294; font-weight: 400; font-size: 0.85rem; }
.resp-pct { font-family: var(--mono); font-size: 0.92rem; color: #EE8E70; white-space: nowrap; }
.resp-track { height: 9px; border-radius: 100px; background: rgba(237,231,218,0.12); margin-top: 0.6rem; overflow: hidden; }
.resp-fill { height: 100%; border-radius: 100px; background: var(--accent); }
.resp-fill.dim { background: rgba(216,92,57,0.45); }
.resp-fill.faint { background: rgba(237,231,218,0.28); }
.predict-foot { margin-top: clamp(24px,3vw,34px); font-size: 0.85rem; color: #8F897B; max-width: 70ch; line-height: 1.5; }
@media (max-width: 860px){
  .predict-stats { grid-template-columns: repeat(3,1fr); gap: 1.8rem 1rem; }
  .predict-panel { grid-template-columns: 1fr; gap: 1.8rem; }
  .pp-divider { display: none; }
}
@media (max-width: 460px){ .predict-stats { grid-template-columns: repeat(2,1fr); } }

/* ============================================================
   HOW IT WORKS — steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: clamp(40px, 5vw, 72px); }
.step { padding: 0 1.6rem; position: relative; }
.step:not(:last-child)::after {
  content:""; position:absolute; top: 13px; right: 0; width: calc(100% - 2.2rem); height:1px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--line) 100%);
  left: 1.6rem;
}
.dark-section .step:not(:last-child)::after { background: linear-gradient(90deg, #EE8E70 0%, rgba(237,231,218,0.18) 100%); }
.coral-section .step:not(:last-child)::after { background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.22) 100%); }
.step-dot {
  width: 27px; height: 27px; border-radius: 50%; border: 1px solid var(--accent);
  display: grid; place-items: center; font-family: var(--mono); font-size: 0.72rem; color: var(--accent-deep);
  background: var(--ink-canvas); position: relative; z-index: 2;
}
.dark-section .step-dot { color: #EE8E70; border-color: #EE8E70; }
.coral-section .step-dot { background: var(--accent); border-color: rgba(255,255,255,0.85); color: #fff; }
.step h4 { font-size: 1.18rem; margin-top: 1.4rem; }
.step p { font-size: 0.96rem; color: var(--muted); margin-top: 0.6rem; line-height: 1.5; }
.coral-section .step p { color: #FCE3D7; }
.dark-section .step p { color: #A9A294; }
.steps-foot { margin-top: clamp(36px,4vw,56px); }

/* ============================================================
   CASES / OUTCOMES
   ============================================================ */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); margin-top: clamp(40px,5vw,68px); }
.case-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 2.4vw, 2.4rem); display: flex; flex-direction: column; gap: 1.2rem;
  position: relative; overflow: hidden;
}
.case-card .quote-mark { font-family: var(--serif); font-size: 4rem; line-height: 0.5; color: var(--accent); opacity: 0.4; height: 28px; }
.case-card .case-quote { font-family: var(--serif); font-size: clamp(1.08rem, 1.4vw, 1.32rem); line-height: 1.4; color: var(--ink); text-wrap: pretty; }
.case-card .case-meta { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.case-card .case-meta .who { font-weight: 600; font-size: 0.95rem; }
.case-card .case-meta .what { font-size: 0.85rem; color: var(--muted); }
.case-card.featured { background: var(--ink-canvas); color: #EDE7DA; }
.case-card.featured .case-quote { color: #F4EFE4; }
.case-card.featured .quote-mark { color: #F3A98E; opacity: 0.7; }
.case-card.featured .case-meta { border-color: rgba(237,231,218,0.18); }
.case-card.featured .case-meta .what { color: #A9A294; }
.case-tag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); }
.case-card.featured .case-tag { color: #F3A98E; }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px,2.2vw,30px); margin-top: clamp(40px,5vw,64px); }
.team-card { display: flex; flex-direction: column; gap: 1rem; }
.team-card image-slot { width: 100%; height: 300px; }
.team-photo { width: 100%; height: 300px; border-radius: 16px; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.mayo-logo { height: 36px; width: auto; max-width: 180px; object-fit: contain; filter: brightness(0) invert(1); display: block; }
.team-card .t-name { font-family: var(--serif); font-size: 1.22rem; }
.team-card .t-role { font-size: 0.9rem; color: var(--muted); line-height: 1.4; margin-top: 0.25rem; }
.team-card .t-inst { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); margin-top: 0.5rem; }
.team-sub { margin-top: clamp(40px,4vw,60px); padding-top: clamp(30px,3vw,44px); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; }
.team-sub p { max-width: 52ch; color: var(--muted); font-size: 0.98rem; }

/* ============================================================
   MEMBERSHIP
   ============================================================ */
.membership-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px,5vw,80px); align-items: center; }
.price-block .price { display: flex; align-items: baseline; gap: 0.4rem; margin-top: 1.4rem; }
.price-block .price .amt { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.8rem); line-height: 0.9; }
.price-block .price .per { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.price-block .all-in { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); border: 1px solid var(--accent); border-radius: 100px; padding: 0.4rem 0.9rem; }
.price-block .m-note { margin-top: 2rem; font-size: 0.92rem; color: var(--muted); max-width: 40ch; line-height: 1.55; }
.price-block .m-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

.incl-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.8rem, 2.6vw, 2.8rem); }
.dark-section .incl-card { background: rgba(255,255,255,0.04); border-color: rgba(237,231,218,0.16); }
.incl-card .incl-head { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); padding-bottom: 1.3rem; border-bottom: 1px solid var(--line-soft); }
.dark-section .incl-card .incl-head { color: #A9A294; border-color: rgba(237,231,218,0.14); }
.incl-list { list-style: none; margin: 0; padding: 0; }
.incl-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.05rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.02rem; color: var(--ink-soft); }
.dark-section .incl-list li { color: #C7C0B2; border-color: rgba(237,231,218,0.10); }
.incl-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.incl-list .tick { width: 22px; height: 22px; flex:none; border-radius:50%; border:1px solid var(--accent); color: var(--accent-deep); display:grid; place-items:center; margin-top:1px; }
.dark-section .incl-list .tick { color:#F3A98E; border-color:#F3A98E; }
.incl-list .tick svg { width: 11px; height: 11px; }

/* membership variant: comparison */
.compare { display: none; grid-template-columns: 1fr 1fr; gap: clamp(18px,2vw,24px); margin-top: clamp(36px,4vw,56px); }
.compare .col { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem,2.4vw,2.4rem); background: var(--paper); }
.dark-section .compare .col { background: rgba(255,255,255,0.04); border-color: rgba(237,231,218,0.16); }
.compare .col.feat { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); position: relative; }
.compare .col .c-name { font-family: var(--serif); font-size: 1.4rem; }
.compare .col .c-price { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--muted); margin-top: 0.4rem; }
.compare .col .c-badge { position:absolute; top: -11px; left: 1.6rem; background: var(--accent); color:#fff; font-family: var(--mono); font-size:0.58rem; letter-spacing:0.14em; text-transform:uppercase; padding: 0.25rem 0.7rem; border-radius: 100px; }
.compare ul { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.compare ul li { padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.95rem; color: var(--ink-soft); display:flex; gap:0.6rem; }
.dark-section .compare ul li { color:#C7C0B2; border-color: rgba(237,231,218,0.10);}
.compare ul li:last-child { border-bottom: 0; }

/* membership variant: stacked statement (default uses .membership-inner) */
body[data-membership="compare"] .membership-inner { display: none; }
body[data-membership="compare"] .compare { display: grid; }

/* ============================================================
   TRUST / PROOF
   ============================================================ */
.proof-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2vw,28px); margin-top: clamp(40px,5vw,64px); }
.proof-card { padding: clamp(1.5rem,2.2vw,2.2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.proof-card .p-ico { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 1.2rem; }
.proof-card .p-ico svg { width: 17px; height: 17px; }
.proof-card p { font-size: 1.02rem; color: var(--ink-soft); line-height: 1.5; }
.testimonial-slot {
  margin-top: clamp(36px,4vw,56px); background: var(--ink-canvas); color: #EDE7DA;
  border-radius: var(--radius); padding: clamp(2.4rem,4vw,4rem);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: center;
}
.testimonial-slot image-slot { width: 130px; height: 130px; }
.testimonial-slot blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem,2.3vw,2rem); line-height: 1.3; color: #F4EFE4; font-weight: 300; text-wrap: pretty; }
.testimonial-slot .t-by { margin-top: 1.4rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: #F3A98E; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin-top: clamp(36px,4vw,56px); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.55rem 0; font-family: var(--serif); font-size: clamp(1.15rem,1.7vw,1.5rem); color: var(--ink);
}
.faq-q .fq-ico { flex: none; width: 26px; height: 26px; position: relative; }
.faq-q .fq-ico::before, .faq-q .fq-ico::after { content:""; position:absolute; background: var(--accent-deep); transition: transform .3s ease, opacity .3s; }
.faq-q .fq-ico::before { top: 50%; left: 3px; right: 3px; height: 1.5px; transform: translateY(-50%); }
.faq-q .fq-ico::after { left: 50%; top: 3px; bottom: 3px; width: 1.5px; transform: translateX(-50%); }
.faq-item.open .fq-ico::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 0 1.7rem; max-width: 70ch; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; }
.faq-item.open .faq-q { color: var(--accent-deep); }

/* ============================================================
   CLOSING
   ============================================================ */
.closing { text-align: center; }
.closing h2 { max-width: 18ch; margin: 0 auto; }
.closing .lead { margin: 1.6rem auto 0; max-width: 48ch; }
.closing .closing-cta { margin-top: 2.6rem; display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink-canvas); color: #B7B0A1; padding-block: clamp(56px,6vw,88px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(237,231,218,0.14); }
.footer-brand .brand-mark { color: #F4EFE4; }
.footer-brand p { margin-top: 1.2rem; font-size: 0.88rem; line-height: 1.6; max-width: 42ch; color: #8F897B; }
.footer-col h5 { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: #8F897B; margin: 0 0 1.1rem; font-weight: 500; }
.footer-col a { display: block; font-size: 0.92rem; color: #C7C0B2; padding: 0.4rem 0; transition: color .2s; }
.footer-col a:hover { color: #F4EFE4; }
.footer-bottom { padding-top: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem; align-items: center; }
.footer-bottom .legal { font-size: 0.76rem; color: #76705F; max-width: 70ch; line-height: 1.6; }
.footer-badges { display: flex; gap: 0.8rem; }
.badge { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: #C7C0B2; border: 1px solid rgba(237,231,218,0.2); border-radius: 100px; padding: 0.4rem 0.8rem; }

/* ============================================================
   CONSULT MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  background: rgba(15,13,9,0.55); backdrop-filter: blur(6px); padding: 1.5rem;
}
.modal-overlay.open { display: flex; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--paper); border-radius: 8px; width: min(560px, 100%); max-height: 92vh; overflow: auto;
  box-shadow: 0 50px 120px -40px rgba(15,13,9,0.7); position: relative;
  animation: pop .35s cubic-bezier(.2,.9,.3,1);
}
@keyframes pop { from { transform: translateY(16px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { padding: clamp(1.8rem,3vw,2.4rem) clamp(1.8rem,3vw,2.4rem) 0; }
.modal-head .eyebrow { margin-bottom: 1rem; }
.modal-head h3 { font-size: clamp(1.6rem,2.4vw,2.1rem); }
.modal-head p { color: var(--muted); margin-top: 0.7rem; font-size: 0.98rem; }
.modal-body { padding: clamp(1.4rem,2.4vw,2rem) clamp(1.8rem,3vw,2.4rem) clamp(1.8rem,3vw,2.4rem); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--sans); font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.modal-body .btn { width: 100%; margin-top: 0.6rem; }
.modal-foot-note { margin-top: 1rem; font-size: 0.78rem; color: var(--muted); text-align: center; line-height: 1.5; }
.modal-close { position: absolute; top: 1.1rem; right: 1.1rem; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.1rem; color: var(--ink-soft); display: grid; place-items: center; transition: background .2s, transform .2s; z-index: 3; }
.modal-close:hover { background: var(--bg-alt); transform: rotate(90deg); }
.modal-success { display: none; padding: clamp(2.4rem,4vw,3.4rem); text-align: center; }
.modal-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-tint); border: 1px solid var(--accent); color: var(--accent-deep); display: grid; place-items: center; margin: 0 auto 1.4rem; }
.modal-success h3 { font-size: 1.7rem; }
.modal-success p { color: var(--muted); margin-top: 0.7rem; }
.modal.done .modal-head, .modal.done .modal-body { display: none; }
.modal.done .modal-success { display: block; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
/* Content is always visible — no fragile hidden entrance state that
   static capture/print/clone renderers could freeze at opacity:0. */
.reveal { opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .feature { grid-template-columns: 1fr; gap: 1.6rem; }
  .feature-aside { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1.4rem; }
  .step::after { display: none !important; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 880px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { display: none; }
  .hero[data-hero="split"] .hero-media { display: none; }
  .hero[data-hero="overlay"] .hero-stage { grid-template-columns: 1fr; min-height: 0; }
  .hero[data-hero="overlay"] .hero-stage-copy { padding: clamp(96px,14vh,150px) var(--gutter) clamp(48px,7vh,72px); }
  .hero[data-hero="overlay"] .hero-stage-img { min-height: 320px; order: 2; }
  .membership-inner { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .testimonial-slot { grid-template-columns: 1fr; text-align: center; }
  .testimonial-slot image-slot { margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .steps { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .header-cta .apply-link { display: none; }
  .field-row { grid-template-columns: 1fr; }
}

/* hide app-injected tweak mount container baseline */
#tweaks-root:empty { display: none; }
