/* The Beyond Surgery website (U-027, updated by U-046), from Beyond Surgery's design handoff of
   2026-10-20 (docs/designs/Beyond Surgery website 2026-10-20.zip). Served on the staging host only until launch.

   The CSP allows only same-origin stylesheets, fonts and images: no script, no inline style, no
   style attribute. Everything the design did with script is CSS here: the contact popover and the
   phone menu are the HTML popover attribute, the forms' "not ready yet" look is :invalid, and the
   register form's "referred by my surgeon" note is :has(). The forms are plain HTML posts to the
   patient app (B-016 D7), so they send with no script at all. */

@font-face { font-family: 'Playfair Display'; src: url('/fonts/playfair-display-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/fonts/playfair-display-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/fonts/playfair-display-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/geist-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

/* ---- Tokens (handoff README, "Design tokens") ------------------------------------------------ */

:root {
  /* The brand green, as the website canvas and the design system have it (Simon, 2026-11-05: olive, not teal). */
  --accent: #094415;
  --accent-ink: color-mix(in oklch, var(--accent) 65%, black);
  --accent-soft: color-mix(in oklch, var(--accent) 16%, var(--paper));
  --accent-line: color-mix(in oklch, var(--accent) 22%, var(--paper));
  --ink: #1a1a1a;
  --ink-2: #3a3a3a;
  --ink-3: #6a6a6a;
  --paper: #f1eddf;
  --cream: #fffaec;
  --sand: #f3f1eb;
  --white: #ffffff;
  --line: #e2e2dc;
  --line-2: #cfcfc8;
  --input: #8c8c86;
  --olive: #3a3e28;
  --forest: #34503a;
  --forest-ink: #263d2b;
  --on-forest: #f6f1e4;
  --gold: #f2c98a;
  --dark-gold: #8a5208;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
  --gutter: clamp(20px, 8.33vw, 120px);
  --section-y: clamp(64px, 7.8vw, 112px);
  --banner-h: 52px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 112px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; }
em { font-style: italic; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: 10px;
  background: var(--ink); color: var(--paper);
}
.skip-link:focus { top: 16px; color: var(--paper); }

/* ---- Type helpers ---------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.eyebrow-mono {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow-ink { color: var(--accent-ink); }
.eyebrow-gold { color: var(--dark-gold); }
.eyebrow-on-olive, .eyebrow-on-dark { color: var(--gold); }
.display-xl, .display-l, .display-m, .display-s { font-family: var(--font-display); font-weight: 400; }
.display-xl { font-size: clamp(44px, 5.9vw, 88px); line-height: 1; letter-spacing: -.015em; text-wrap: balance; }
.display-l { font-size: clamp(38px, 4.5vw, 68px); line-height: 1.03; letter-spacing: -.01em; text-wrap: balance; }
.display-m { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.05; text-wrap: balance; }
.display-s { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.1; }
.display-xl em, .display-l em, .display-m em { color: var(--accent); }
.lede { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.55; color: var(--ink-2); }
.rule { display: block; width: 96px; height: 2px; background: var(--accent); }
.rule-gold { background: var(--gold); }
.rule-dark-gold { background: var(--dark-gold); }
.text-link { text-decoration: underline; text-underline-offset: 3px; }

.section { padding: var(--section-y) var(--gutter); }
.section-white { background: var(--white); border-block: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; }
.intro { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.title-block { display: flex; flex-direction: column; gap: 24px; }
.split-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.split-head .intro { max-width: none; }
@media (max-width: 900px) { .split-head { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ---- Buttons --------------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 26px;
  border: 1px solid transparent; background: transparent;
  font-size: 16px; font-weight: 500; line-height: 1; white-space: nowrap;
  cursor: pointer;
}
.btn-sm { height: 44px; padding: 0 20px; border-radius: 22px; font-size: 15px; }
.btn-lg { height: 56px; padding: 0 32px; border-radius: 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-ink); color: var(--white); }
.btn-forest { background: var(--forest); color: var(--white); font-weight: 600; }
.btn-forest:hover { background: var(--forest-ink); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--white); color: var(--ink); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--white); color: var(--ink); }
.btn-white { background: var(--white); color: var(--accent-ink); }
.btn-white:hover { background: var(--paper); color: var(--accent-ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-quiet { border-color: var(--line-2); color: var(--ink); }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }

.button-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.button-row-centre { justify-content: center; }
.button-row-text { gap: 20px; }
.inline-note { font-size: 15px; color: var(--ink-2); }
.inline-note a { color: var(--accent-ink); text-decoration: underline; }
@media (max-width: 520px) { .button-row .btn { width: 100%; } }

/* ---- Referral banner (Home and About) ------------------------------------------------------- */

.referral-banner {
  position: relative; z-index: 21;
  min-height: var(--banner-h); padding: 8px 64px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  background: var(--accent); color: var(--white); font-size: 15px;
}
.referral-banner strong { font-weight: 600; }
.banner-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  min-height: 34px; padding: 0 18px; border-radius: 17px;
  border: 1px solid var(--white); color: var(--white); font-size: 14px; font-weight: 600;
}
.banner-btn:hover { background: var(--white); color: var(--accent-ink); }
@media (max-width: 1023px) {
  :root { --banner-h: 64px; }
  .referral-banner { justify-content: space-between; padding: 8px 20px; font-size: 14px; line-height: 1.35; }
  .banner-more { display: none; }
  .referral-banner strong { display: block; }
  .banner-btn { min-height: 44px; border-radius: 22px; }
}

/* ---- Header ---------------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  height: 96px; padding: 0 64px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; gap: 32px;
  background: rgba(250, 248, 242, .96);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* Home: the header floats over the cream top of the hero. Where the browser has scroll-driven
   animations it stays with the reader and gains its bar as the page scrolls; elsewhere it simply
   scrolls away. The design's hide-on-scroll-down needs script, so it is not built (U-027 D2). */
.page-home .site-header {
  position: absolute; top: var(--banner-h); left: 0; right: 0;
  background: transparent; border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
@supports (animation-timeline: scroll()) {
  .page-home .site-header {
    position: fixed;
    animation: header-settle linear both;
    animation-timeline: scroll(root);
    animation-range: 0 220px;
  }
  @keyframes header-settle {
    from { top: var(--banner-h); background: rgba(250, 248, 242, 0); border-bottom-color: rgba(226, 226, 220, 0); box-shadow: none; }
    to { top: 0; background: rgba(250, 248, 242, .96); border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(23, 24, 28, .08); }
  }
}

.brand { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; color: var(--ink); justify-self: start; }
.brand:hover { color: var(--ink); }
.brand-mark {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent); color: var(--paper);
  font-family: var(--font-display); font-size: 28px; line-height: 1;
}
.brand-divider { width: 1px; height: 44px; background: var(--line); }
.brand-name { font-family: var(--font-display); font-size: 22px; line-height: 1.1; white-space: nowrap; }

.site-nav { display: flex; gap: 32px; font-size: 16px; justify-self: center; white-space: nowrap; }
.site-nav a[aria-current='page'] { color: var(--accent); }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.header-actions .btn-quiet { border-color: rgba(26, 26, 26, .55); }

.menu-toggle { display: none; }

@media (max-width: 1320px) {
  .site-header { padding: 0 32px; gap: 20px; }
  .site-nav { gap: 22px; font-size: 15px; }
  .brand { gap: 14px; }
  .brand-name { font-size: 20px; }
}

@media (max-width: 1180px) {
  .site-header { height: 72px; padding: 0 20px; grid-template-columns: minmax(0, 1fr) auto; }
  .site-nav, .header-actions { display: none; }
  .brand-mark { width: 32px; height: 32px; border-radius: 8px; font-size: 22px; }
  .brand-divider { height: 36px; }
  .brand-name { font-size: 19px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 44px; padding: 0 18px; border-radius: 22px;
    border: 1px solid rgba(26, 26, 26, .55); background: transparent;
    font-size: 15px; font-weight: 500; cursor: pointer;
  }
  .menu-icon { width: 16px; height: 10px; border-block: 1.5px solid currentColor; position: relative; }
  .menu-icon::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; margin-top: -.75px; border-top: 1.5px solid currentColor; }
}

/* ---- Popovers: the phone menu, the contact form, and the forms' "not switched on yet" note ---- */

[popover] {
  margin: 0; padding: 28px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--white); color: var(--ink);
  box-shadow: 0 24px 64px rgba(23, 24, 28, .18);
}
[popover]::backdrop { background: rgba(23, 24, 28, .12); }

.contact-pop {
  position: fixed; inset: 104px 64px auto auto;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 120px); overflow: auto;
}
@media (max-width: 1180px) { .contact-pop { inset: 80px 16px auto auto; } }
.pop-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.pop-title { font-family: var(--font-display); font-size: 28px; line-height: 1.1; }
.pop-sub { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.pop-close {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 22px;
  border: 1px solid var(--line); background: var(--white);
  font-size: 20px; line-height: 1; cursor: pointer;
}
.pop-close:hover { border-color: var(--ink); }

.mobile-menu {
  position: fixed; inset: 80px 16px auto 16px; width: auto;
  display: none; flex-direction: column; gap: 4px;
}
.mobile-menu:popover-open { display: flex; }
.mobile-menu a:not(.btn) { display: flex; align-items: center; min-height: 48px; font-size: 18px; border-bottom: 1px solid var(--line); }
.mobile-menu a[aria-current='page'] { color: var(--accent); }
.mobile-menu .menu-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 16px; }

.form-hint a { color: var(--accent-ink); text-decoration: underline; }

/* ---- Forms ----------------------------------------------------------------------------------- */

.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 15px; font-weight: 500; }
.field .optional { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea {
  width: 100%; height: 52px; padding: 0 16px;
  border: 1px solid var(--input); border-radius: 10px;
  background: var(--white); font-size: 16px; color: var(--ink);
}
.field textarea { height: auto; padding: 14px 16px; line-height: 1.55; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border: 2px solid var(--accent); }
.field input::placeholder { color: var(--ink-3); }
.form-compact .field input { height: 48px; padding: 0 14px; font-size: 15px; }
.form-compact .field textarea { padding: 12px 14px; font-size: 15px; }
.form-compact .field > span { font-size: 14px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid .span-all { grid-column: 1 / -1; }
.form-grid .field { justify-content: flex-end; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

.chips { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 12px; font-size: 15px; font-weight: 500; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px;
  border: 1px solid var(--input); border-radius: 24px; background: var(--white);
  font-size: 15px; line-height: 1.3; pointer-events: none;
}
.chip:hover span { border-color: var(--accent); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.chips-ink .chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.consent { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--ink-2); cursor: pointer; }
.consent input {
  appearance: none; flex-shrink: 0; margin: 1px 0 0;
  width: 24px; height: 24px; border-radius: 6px;
  border: 1.5px solid var(--input); background: var(--white);
  display: grid; place-content: center; cursor: pointer;
}
.consent input::before { content: ''; width: 12px; height: 7px; border: solid var(--white); border-width: 0 0 2.5px 2.5px; transform: translateY(-2px) rotate(-45deg); opacity: 0; }
.consent input:checked { background: var(--accent); border-color: var(--accent); }
.consent input:checked::before { opacity: 1; }
.consent a { color: var(--accent-ink); text-decoration: underline; }

.form-hint { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }

/* The design dims the submit control until every required answer is in. It stays pressable (it is
   not disabled), so the dimmed look must still meet 4.5:1: a soft tint with dark text, not opacity. */
form:invalid .needs-valid.btn-accent, form:invalid .needs-valid.btn-ink, form:invalid .needs-valid.btn-forest { background: var(--accent-soft); color: var(--accent-ink); }

/* A note beside a form: "don't include medical details", and the referred-patient hint. */
.not-connected {
  margin: 0; padding: 12px 14px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-ink);
  font-size: 14px; line-height: 1.55;
}
.not-connected a { text-decoration: underline; font-weight: 600; }

/* The decoy (B-016 D8): off the page and out of the tab order, so a person never fills it in.
   A bot that does is answered as a success, and nothing is stored. */
.decoy { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* The safety line (D11), on each form and each thank-you page. */
.safety-line { margin: 0; padding: 12px 14px; border-left: 3px solid var(--dark-gold); background: #fbf1dc; color: #5c3605; font-size: 14px; line-height: 1.55; border-radius: 0 8px 8px 0; }

.if-patient, .if-hospital, .if-referred { display: none; }
.contact-form:has(input[value='patient']:checked) .if-patient { display: block; }
.contact-form:has(input[value='hospital']:checked) .if-hospital { display: flex; }
.chips:has(input[value='referred']:checked) .if-referred { display: block; }

/* ---- Footer ---------------------------------------------------------------------------------- */

.site-footer { padding: 48px var(--gutter) 56px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 28px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; font-weight: 600; }
.footer-brand .brand-mark { width: 28px; height: 28px; border-radius: 7px; font-size: 20px; }
.footer-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-3); flex-wrap: wrap; }
/* 44 px targets, the footer's logo and links included (UX sweep 2026-10-28, finding 21). */
.footer-links a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a:hover { color: var(--accent); }
.footer-note { font-size: 13px; line-height: 1.6; color: var(--ink-3); max-width: 900px; }
.footer-note + .footer-note { margin-top: -16px; }

/* ---- Shared CTA bands ------------------------------------------------------------------------- */

.cta-wrap { padding: 0 var(--gutter) var(--section-y); }
.cta-wrap-paper { background: var(--paper); }
.cta-wrap-white { background: var(--white); padding-top: var(--section-y); }
.cta {
  background: var(--accent); color: var(--paper); border-radius: 28px; padding: clamp(36px, 5.5vw, 80px) clamp(24px, 5vw, 72px);
  display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: wrap;
}
.cta h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; max-width: 680px; }
.cta p { font-size: 18px; line-height: 1.55; }
.cta-olive { background: var(--olive); color: var(--white); padding-inline: clamp(24px, 5.5vw, 80px); }
.cta-olive h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; }
.cta-olive h2 em { color: var(--gold); }
.cta-olive a:not(.btn) { color: var(--gold); text-decoration: underline; }

.centre-row { display: flex; justify-content: center; padding: 0 var(--gutter) 64px; }
.centre-row-paper { background: var(--paper); }

/* ---- Home: hero ------------------------------------------------------------------------------ */

.hero-wrap {
  --photo-top: 150px; --photo-h: 1300px; --hero-min-h: 1220px; --hero-pad-top: 220px;
  --curve-h: 280px; --curve-overlap: 80px;
  position: relative; overflow: hidden; background: var(--white);
}
/* The referral banner lies over the cream top of the hero, as in the design. */
.page-home .hero-wrap { margin-top: calc(-1 * var(--banner-h)); }
.hero-photo {
  position: absolute; top: var(--photo-top); left: 0;
  width: 100%; height: var(--photo-h);
  object-fit: cover; object-position: 62% 0;
  filter: brightness(1.05); background: var(--olive);
}
.hero-cream { position: absolute; left: 0; width: 100%; background: var(--cream); }
.hero-cream-top { top: 0; height: calc(var(--photo-top) + 12px); }
.hero-cream-fade {
  top: var(--photo-top); height: 150px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 40%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 40%, transparent 100%);
}
.hero-cream-wash {
  top: calc(var(--photo-top) + 10px); height: 620px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .92) 66%, rgba(0, 0, 0, .5) 79%, rgba(0, 0, 0, .15) 90%, transparent 100%), linear-gradient(90deg, transparent 4%, #000 20%, #000 80%, transparent 96%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .92) 66%, rgba(0, 0, 0, .5) 79%, rgba(0, 0, 0, .15) 90%, transparent 100%), linear-gradient(90deg, transparent 4%, #000 20%, #000 80%, transparent 96%);
  mask-composite: intersect;
}
/* The olive wash behind the statement at the foot of the photo, so its white text keeps 4.5:1. */
.hero-olive {
  position: absolute; top: calc(var(--photo-top) + 570px); left: 0; width: 100%; height: 740px;
  background: linear-gradient(180deg, rgba(58, 62, 40, 0) 0%, rgba(58, 62, 40, .8) 30%, rgba(58, 62, 40, .9) 55%, rgba(58, 62, 40, .92) 100%);
}
.hero {
  position: relative; min-height: var(--hero-min-h);
  padding: var(--hero-pad-top) var(--gutter) 70px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px; text-align: center;
}
.hero-top { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero h1 { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink); }
.hero h1 span { font-size: clamp(42px, 6.67vw, 96px); line-height: 1.02; letter-spacing: -.015em; }
.hero-sub { font-size: clamp(19px, 1.8vw, 26px); line-height: 1.4; color: var(--ink-2); max-width: 900px; }
.btn-on-cream { background: rgba(255, 250, 236, .6); }
.hero-statement { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-statement p {
  font-family: var(--font-display); font-size: clamp(32px, 3.9vw, 56px); line-height: 1.15; letter-spacing: -.01em;
  color: var(--white); text-wrap: balance; max-width: 960px; text-shadow: 0 2px 24px rgba(30, 32, 20, .45);
}
.hero-statement em { color: var(--gold); }
.short-rule { display: block; width: 56px; height: 1px; background: var(--accent); }
.short-rule-gold { background: var(--gold); }

@media (min-width: 900px) { .hero h1 span { white-space: nowrap; } }

@media (max-width: 1180px) {
  .hero-wrap { --photo-top: 400px; --photo-h: 900px; --hero-min-h: 1040px; --hero-pad-top: 176px; --curve-h: 160px; --curve-overlap: 60px; }
  .hero-olive { top: calc(var(--photo-top) + 200px); height: 600px; }
}
@media (max-width: 640px) {
  .hero-wrap { --photo-top: 430px; --photo-h: 640px; --hero-min-h: 920px; --hero-pad-top: 164px; --curve-h: 90px; --curve-overlap: 40px; }
  .hero-cream-wash { height: 300px; }
  .hero-olive { top: calc(var(--photo-top) + 250px); height: 400px; }
  .hero h1 span { font-size: clamp(30px, 8.6vw, 44px); white-space: nowrap; }
  .hero-top .button-row { width: 100%; }
}

/* The white section below the hero, cut by a curve so the photo ends like the bottom of a circle. */
.after-hero {
  position: relative; margin-top: calc(-1 * var(--curve-overlap));
  padding: calc(var(--curve-h) + 20px) var(--gutter) var(--section-y);
  background: radial-gradient(ellipse 50.6% var(--curve-h) at 50% 0, rgba(255, 255, 255, 0) 99.5%, var(--white) 100%);
  display: flex; flex-direction: column; gap: 56px;
}

/* ---- Home: founder ---------------------------------------------------------------------------- */

.founder {
  margin: clamp(32px, 6.7vw, 96px) auto clamp(48px, 8.3vw, 120px);
  display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 80px; align-items: center;
  width: 100%; max-width: 1200px;
}
.founder figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.founder figcaption .stack { gap: 6px; }
.founder-photo {
  width: 160px; height: 160px; border-radius: 50%; flex-shrink: 0;
  background: #ededE8 url('/images/dr-ellard.webp') 50% 22% / 135% auto no-repeat;
  box-shadow: 0 0 0 2px var(--accent);
}
.founder-name { font-size: 20px; font-weight: 600; }
.founder-role { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.founder-quals { font-size: 16px; letter-spacing: .1em; font-weight: 700; }
.founder-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.founder-quote { display: flex; gap: 20px; align-items: flex-start; padding-left: 56px; border-left: 1px solid #e4e2dc; }
.quote-mark { font-family: var(--font-display); font-weight: 500; font-size: 120px; line-height: .72; color: var(--accent); flex-shrink: 0; margin-top: 6px; }
.founder blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.45; text-wrap: pretty; }

@media (max-width: 900px) {
  .founder { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .founder-quote { padding-left: 0; border-left: 0; gap: 12px; }
  .quote-mark { font-size: 84px; }
  .founder figcaption { order: 2; }
}

/* ---- Home: we understand ---------------------------------------------------------------------- */

.understand { position: relative; margin: -40px calc(-1 * var(--gutter)) 72px; }
.understand-text {
  position: absolute; top: 8%; left: var(--gutter); width: min(620px, 46%); z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
}
.understand-text h2 { font-size: clamp(40px, 4.2vw, 60px); line-height: 1.05; letter-spacing: -.01em; }
.understand-text p { font-size: 20px; line-height: 1.55; max-width: 520px; }
.understand-text .understand-answer { font-family: var(--font-display); font-size: clamp(24px, 2vw, 28px); line-height: 1.35; color: var(--accent-ink); }
.understand-photo {
  aspect-ratio: 1408 / 768; width: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 12%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 12%, #000 80%, transparent 100%);
  mask-composite: intersect;
}
/* A white wash behind the text, so it keeps its contrast over the photo (2026-10-23 handoff). */
.understand::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 52% 62% at 24% 30%, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .88) 55%, rgba(255, 255, 255, 0) 100%);
}
@media (max-width: 1100px) {
  .understand { margin: 0 calc(-1 * var(--gutter)) 48px; display: flex; flex-direction: column; gap: 8px; }
  .understand-text { position: static; width: auto; padding: 0 var(--gutter); }
  .understand::after { content: none; }
}

/* ---- Home: app preview ------------------------------------------------------------------------ */

.app-preview { display: flex; flex-direction: column; gap: 56px; }
.centred-intro { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.centred-intro h2 { font-size: clamp(38px, 5vw, 72px); line-height: 1.02; letter-spacing: -.01em; max-width: 900px; text-wrap: balance; }
.centred-intro p { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 640px; }
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.preview-card { background: var(--sand); border-radius: 28px; padding: 72px 40px 56px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.preview-card h3 { font-family: var(--font-body); font-size: 20px; font-weight: 600; }
.preview-copy { display: flex; flex-direction: column; gap: 8px; text-align: center; max-width: 420px; }
.preview-copy p { font-size: 17px; color: var(--ink-2); }
@media (max-width: 900px) {
  .preview-grid { grid-template-columns: minmax(0, 1fr); }
  .preview-card { padding: 40px 16px 32px; }
}

.phone {
  width: 100%; max-width: 320px; aspect-ratio: 320 / 660; flex-shrink: 0;
  border-radius: 52px; background: #1a1a1a; padding: 11px;
  box-shadow: 0 40px 80px rgba(23, 24, 28, .22), 0 0 0 1px #3a3a3a inset;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.phone-status { height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 26px; font-size: 13px; font-weight: 600; }
.phone-notch { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 14px; background: #1a1a1a; }
.phone-body { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 10px 22px 22px; }
.phone-top { display: flex; align-items: center; justify-content: space-between; }
.phone-brand { font-family: var(--font-display); font-size: 18px; }
.phone-saved { font-size: 11px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border-radius: 10px; padding: 4px 9px; }
.phone-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.phone-title { font-family: var(--font-display); font-size: 26px; line-height: 1.15; }
.phone-small { font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.bar { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.bar-fill { height: 100%; width: 50%; background: var(--accent); }
.slider { display: flex; flex-direction: column; gap: 10px; }
.slider-name { font-size: 13px; line-height: 1.4; font-weight: 500; }
.slider-row { display: flex; align-items: center; gap: 12px; }
.slider-track { position: relative; flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.slider-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--accent); }
.slider-knob { position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--accent), 0 2px 6px rgba(0, 0, 0, .15); }
.slider-value { width: 28px; text-align: right; font-family: var(--font-mono); font-size: 13px; color: var(--accent-ink); font-weight: 600; }
.v74 .slider-fill { width: 74%; } .v74 .slider-knob { left: 74%; }
.v42 .slider-fill { width: 42%; } .v42 .slider-knob { left: 42%; }
.v22 .slider-fill { width: 22%; } .v22 .slider-knob { left: 22%; }
.phone-continue { margin-top: auto; height: 48px; border-radius: 24px; background: var(--accent); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; }
.checklist { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 6px; display: flex; flex-direction: column; }
.checklist-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; font-size: 12px; font-weight: 600; }
.checklist-count { font-family: var(--font-mono); color: var(--accent); }
.check-item { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid #efeee9; font-size: 13px; }
.check-dot { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--white); border: 2px solid #c9c8c2; background: var(--white); }
.check-dot.done { background: var(--accent); border-color: var(--accent); }
.check-dot.current { border-color: var(--accent); }

/* ---- Home: walk into surgery calm ------------------------------------------------------------- */

.feel {
  padding: calc(var(--section-y) + 40px) var(--gutter) var(--section-y);
  background: radial-gradient(ellipse 50.6% 200px at 50% 200px, var(--paper) 99.5%, var(--white) 100%) top / 100% 200px no-repeat, var(--paper);
  display: flex; justify-content: center;
}
.feel-inner { display: flex; flex-direction: column; gap: 56px; width: 100%; max-width: 1200px; }
.feel-intro { display: flex; flex-direction: column; gap: 14px; }
.feel-intro h2 { max-width: 1000px; font-size: clamp(42px, 6.1vw, 88px); line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; }
.feel-intro h2 em { color: var(--accent); }
.feel-intro p { max-width: 720px; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.55; color: var(--ink-2); }
.feel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.feel-grid li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.feel-grid img { width: 260px; height: 260px; max-width: 100%; border-radius: 50%; object-fit: cover; margin-bottom: 4px; }
.feel-grid .feel-a { object-position: 35% center; }
.feel-grid .feel-b { object-position: 35% 30%; }
.feel-grid .feel-c { object-position: 50% 30%; }
.feel-grid h3 { font-size: 32px; line-height: 1.1; }
.feel-grid p { font-size: 17px; color: var(--ink-3); max-width: 320px; }
@media (max-width: 900px) {
  .feel { padding-top: var(--section-y); background: var(--paper); }
  .feel-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .feel-grid img { width: 200px; height: 200px; }
}

/* ---- Home: contact ---------------------------------------------------------------------------- */

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.contact-intro { display: flex; flex-direction: column; gap: 18px; }
.contact-intro p { color: var(--ink-3); }
.contact-intro .email { color: var(--ink); font-size: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 2.8vw, 40px); display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ---- Inner pages: shared ------------------------------------------------------------------------ */

.page-intro { padding: clamp(56px, 6.7vw, 96px) var(--gutter) clamp(40px, 4.4vw, 64px); display: flex; flex-direction: column; gap: 24px; max-width: calc(960px + 2 * var(--gutter)); }

/* A title on the left and a lede on the right, with a faint circle behind (Meet the team, FAQs). */
.page-head {
  position: relative; overflow: hidden;
  padding: clamp(64px, 8.9vw, 128px) var(--gutter) clamp(56px, 6.7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: end;
}
.page-head::after {
  content: ''; position: absolute; width: 620px; height: 620px; right: -180px; top: 90px;
  border-radius: 50%; border: 1px solid rgba(27, 107, 107, .14); pointer-events: none;
}
.page-head > * { position: relative; z-index: 1; }
.page-head .title-block { gap: 20px; }
.page-head-cream {
  padding-bottom: clamp(96px, 11vw, 160px);
  background: radial-gradient(ellipse 50.6% 120px at 50% 0, var(--cream) 99.5%, var(--paper) 100%) bottom / 100% 120px no-repeat, linear-gradient(var(--cream), var(--cream)) 0 0 / 100% calc(100% - 120px) no-repeat;
}
.page-head-cream::after { border-color: rgba(242, 201, 138, .5); top: -40px; right: -120px; width: 560px; height: 560px; }
@media (max-width: 900px) { .page-head { grid-template-columns: minmax(0, 1fr); gap: 24px; } .page-head-cream { background: var(--cream); padding-bottom: var(--section-y); } }

.photo-hero { position: relative; overflow: hidden; background: #1a140e; }
.photo-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.photo-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 14, 8, .9) 0%, rgba(20, 14, 8, .78) 38%, rgba(20, 14, 8, .28) 65%, rgba(20, 14, 8, .05) 100%); }
.photo-hero-text { position: relative; z-index: 1; max-width: calc(640px + 2 * var(--gutter)); padding: clamp(72px, 8.9vw, 128px) var(--gutter); min-height: 620px; display: flex; flex-direction: column; justify-content: center; gap: 28px; color: var(--white); }
.photo-hero-text .eyebrow { color: var(--gold); font-weight: 500; }
.photo-hero-text .rule { background: var(--gold); }
.photo-hero-text h1 em { color: var(--gold); }
.photo-hero-text p { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: #f1ece4; }
@media (max-width: 760px) {
  .photo-hero::after { background: linear-gradient(180deg, rgba(20, 14, 8, .82) 0%, rgba(20, 14, 8, .82) 100%); }
  .photo-hero-text { min-height: 520px; }
}

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; }
.two-col .prose { display: flex; flex-direction: column; gap: 28px; }
.two-col .prose p { font-size: 19px; line-height: 1.65; }
.callout { background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 4px; padding: clamp(24px, 3.3vw, 40px) clamp(20px, 3.3vw, 48px); }
.two-col .prose .callout-quote, .callout-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.45; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ---- About: how it works ------------------------------------------------------------------------ */

.how { display: flex; flex-direction: column; gap: 64px; padding-block: clamp(80px, 8.3vw, 120px) clamp(80px, 8.9vw, 128px); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.timeline::before {
  content: ''; position: absolute; top: 37px; left: 38px; right: calc(20% - 32px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 16px);
}
.timeline li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.timeline-icon {
  position: relative; z-index: 1; width: 76px; height: 76px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 2px solid var(--accent); color: var(--accent);
}
.timeline-icon.is-first { background: var(--accent); color: var(--white); }
.timeline-step { font-family: var(--font-mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--dark-gold); }
.timeline h3 { font-size: 26px; line-height: 1.15; }
.timeline p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 1100px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .timeline::before { top: 38px; bottom: 38px; left: 37px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 8px, transparent 8px 16px); }
  .timeline li { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 24px; row-gap: 8px; padding-bottom: 36px; }
  .timeline-icon { grid-row: 1 / span 3; }
  .timeline h3 { font-size: 24px; }
}

/* ---- About: three things we won't compromise on ------------------------------------------------ */

.values-band { padding: clamp(80px, 8.3vw, 120px) var(--gutter) clamp(80px, 8.9vw, 128px); background: var(--forest); color: var(--on-forest); display: flex; flex-direction: column; gap: 72px; }
.values-band h2 { font-size: clamp(42px, 5vw, 72px); line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; }
.values-count { display: flex; align-items: center; gap: 24px; justify-self: end; font-family: var(--font-display); font-size: clamp(22px, 2.1vw, 30px); line-height: 1.2; }
.values-count span:last-child { max-width: 220px; }
.values-num { font-size: clamp(120px, 13.9vw, 200px); line-height: .8; }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 1px solid rgba(246, 241, 228, .35); padding-top: 56px; }
.values-grid li { display: flex; flex-direction: column; gap: 20px; }
.values-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.values-grid h3 { font-size: 30px; line-height: 1.15; }
.values-grid p { font-size: 17px; line-height: 1.6; }
@media (max-width: 900px) { .values-grid { grid-template-columns: minmax(0, 1fr); } .values-count { justify-self: start; } }

/* ---- About: what you'll receive --------------------------------------------------------------- */

.included {
  padding: 200px var(--gutter) 240px; margin-bottom: var(--section-y);
  background: radial-gradient(ellipse 50.6% 120px at 50% 120px, var(--cream) 99.5%, var(--paper) 100%) top / 100% 120px no-repeat, radial-gradient(ellipse 50.6% 120px at 50% 0, var(--cream) 99.5%, var(--paper) 100%) bottom / 100% 120px no-repeat, linear-gradient(var(--cream), var(--cream)) 0 120px / 100% calc(100% - 240px) no-repeat;
  display: flex; flex-direction: column; gap: 72px;
}
.included-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; align-items: end; }
.included-head h2 { font-size: clamp(48px, 5.8vw, 84px); line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.included-head h2 em { color: var(--forest); }
.included-head p { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 560px; }
.included-head img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.included-card { background: var(--white); border-radius: 32px; padding: 56px 64px 32px; box-shadow: 0 30px 80px rgba(58, 62, 40, .08); display: flex; flex-direction: column; gap: 20px; }
.included-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; padding-bottom: 8px; }
.included-card-head h3 { font-size: clamp(28px, 2.5vw, 36px); line-height: 1.1; }
.included-card-head span { font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.included-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 64px; }
.included-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; align-items: start; padding: 28px 0; border-top: 1px solid #f3ead6; }
.included-num { width: 56px; height: 56px; border-radius: 50%; background: var(--forest); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-feature-settings: 'lnum' 1; font-size: 24px; line-height: 1; padding-bottom: 2px; }
.included-list h4 { font-size: 28px; line-height: 1.15; margin-bottom: 8px; }
.included-list p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.included-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 15px; color: var(--ink-2); }
.included-cta .btn { height: 60px; padding: 0 40px; border-radius: 30px; font-size: 18px; }
@media (max-width: 1000px) {
  .included { padding: var(--section-y) var(--gutter); background: var(--cream); }
  .included-head { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .included-card { padding: 32px 20px 12px; }
  .included-list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .included-list li { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0; }
  .included-num { width: 44px; height: 44px; font-size: 20px; }
  .included-list h4 { font-size: 23px; }
}

.journal-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; padding: 48px 56px; border-radius: 24px; background: var(--accent-soft); color: var(--ink); }
.journal-card:hover { color: var(--ink); }
.journal-card:hover .btn { background: var(--accent-ink); }
.journal-text { display: flex; flex-direction: column; gap: 12px; }
.journal-title { font-family: var(--font-display); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; }
.journal-title em { color: var(--accent-ink); }
.journal-sub { font-size: 18px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 900px) { .journal-card { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 32px 24px; } .journal-card .btn { justify-self: start; } }

/* ---- Meet the team ---------------------------------------------------------------------------- */

.member { padding: clamp(56px, 6.7vw, 96px) var(--gutter); }
.member-cream {
  padding-block: 220px; margin: 40px 0;
  background: radial-gradient(ellipse 50.6% 120px at 50% 120px, var(--cream) 99.5%, transparent 100%) top / 100% 120px no-repeat, radial-gradient(ellipse 50.6% 120px at 50% 0, var(--cream) 99.5%, transparent 100%) bottom / 100% 120px no-repeat, linear-gradient(var(--cream), var(--cream)) 0 120px / 100% calc(100% - 240px) no-repeat;
}
.member-inner { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 96px; align-items: center; max-width: 1200px; margin: 0 auto; }
.member-flip .member-inner { grid-template-columns: minmax(0, 1fr) 340px; }
.member-flip .member-photo { order: 2; }
.member-photo { position: relative; width: 340px; height: 340px; }
.member-photo img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: #ededE8; box-shadow: 0 30px 70px rgba(58, 62, 40, .14); }
.member-ring { position: absolute; inset: 0; transform: translate(18px, 14px); border-radius: 50%; border: 1.5px solid var(--gold); }
.member-flip .member-ring { transform: translate(-18px, 14px); }
.member-badge {
  position: absolute; right: 6px; bottom: 22px; padding: 8px 16px; border-radius: 20px;
  background: var(--white); box-shadow: 0 10px 24px rgba(58, 62, 40, .12);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.member-flip .member-badge { right: auto; left: 6px; }
.member-text { display: flex; flex-direction: column; gap: 22px; }
.member-num { font-family: var(--font-mono); font-size: 13px; letter-spacing: .3em; color: var(--dark-gold); }
.member-text h2 { font-size: clamp(38px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -.01em; }
.member-quals { font-size: 15px; letter-spacing: .06em; color: var(--ink-2); font-weight: 500; }
.member-quote { padding-left: 24px; border-left: 2px solid var(--gold); font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.35; color: var(--accent); }
.member-bio { display: flex; flex-direction: column; gap: 14px; }
.member-bio p { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
@media (max-width: 1000px) {
  .member-cream { padding-block: var(--section-y); margin: 0; background: var(--cream); }
  .member-inner, .member-flip .member-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .member-flip .member-photo { order: 0; }
  .member-photo { width: min(280px, 80vw); height: min(280px, 80vw); }
}

/* ---- FAQs ------------------------------------------------------------------------------------- */

.faq-cards { padding: 24px var(--gutter) clamp(72px, 8.3vw, 120px); display: flex; flex-direction: column; gap: 20px; max-width: calc(1080px + 2 * var(--gutter)); margin: 0 auto; }
.faq-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 40px; align-items: start; padding: 44px 48px; border-radius: 24px; background: var(--white); border: 1px solid #efeae0; box-shadow: 0 20px 60px rgba(58, 62, 40, .06); }
.faq-num { font-family: var(--font-display); font-style: italic; font-size: 72px; line-height: .9; color: var(--accent); }
.faq-topic { font-family: var(--font-mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--dark-gold); }
.faq-card h2 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; text-wrap: balance; }
.faq-card p { font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 760px; }
@media (max-width: 760px) { .faq-card { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 28px 22px; } .faq-num { font-size: 48px; } }

/* ---- For hospitals ---------------------------------------------------------------------------- */

.hosp-hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center;
  padding: clamp(64px, 8.3vw, 120px) var(--gutter) 200px;
  background: radial-gradient(ellipse 50.6% 120px at 50% 0, var(--cream) 99.5%, var(--white) 100%) bottom / 100% 120px no-repeat, linear-gradient(var(--cream), var(--cream)) 0 0 / 100% calc(100% - 120px) no-repeat;
}
.hosp-hero .eyebrow { color: var(--dark-gold); }
.hosp-hero .lede { color: var(--ink); }
.big-em { font-size: 1.18em; }
.hosp-hero-photo { width: 100%; height: 520px; object-fit: cover; border-radius: 20px; }
@media (max-width: 900px) {
  .hosp-hero { grid-template-columns: minmax(0, 1fr); padding-bottom: var(--section-y); background: var(--cream); }
  .hosp-hero-photo { height: 320px; }
}

.teams { display: flex; flex-direction: column; gap: 48px; }
.teams-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.teams-intro .prose { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.teams-intro .prose p { font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.teams-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.teams-card { display: flex; flex-direction: column; gap: 24px; padding: 40px; border-radius: 20px; background: var(--cream); border: 1px solid #efe6cf; }
.teams-card h3 { font-size: clamp(26px, 2.1vw, 30px); line-height: 1.15; }
.check-list { display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.check-icon { display: flex; flex-shrink: 0; margin-top: 1px; color: var(--accent); }
.check-icon-gold { color: var(--gold); }
@media (max-width: 1000px) { .teams-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 760px) { .teams-cards { grid-template-columns: minmax(0, 1fr); } .teams-card { padding: 28px 24px; } }

.surgeons-band {
  padding: 160px var(--gutter) 120px;
  background: radial-gradient(ellipse 50.6% 120px at 50% 120px, var(--cream) 99.5%, var(--white) 100%) top / 100% 120px no-repeat, linear-gradient(var(--cream), var(--cream)) 0 120px / 100% 100% no-repeat;
  display: flex; flex-direction: column; gap: 120px;
}
.surgeons { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); margin: 0 -72px; border-radius: 20px; overflow: hidden; background: var(--olive); color: var(--white); }
.surgeons-text { padding: 64px 56px; display: flex; flex-direction: column; gap: 28px; }
.surgeons-text h2 { font-size: clamp(36px, 3.6vw, 52px); line-height: 1.05; text-wrap: balance; }
.surgeons-sub { font-size: 19px; line-height: 1.5; color: var(--gold); }
.surgeons-list { display: flex; flex-direction: column; gap: 20px; }
.surgeons-list li { display: flex; gap: 16px; align-items: flex-start; padding-top: 20px; border-top: 1px solid rgba(246, 241, 228, .22); }
.surgeons-list .check-icon { margin-top: 2px; }
.surgeons-list h3 { font-family: var(--font-body); font-size: 20px; font-weight: 600; line-height: 1.3; }
.surgeons-list p { margin-top: 6px; font-size: 16px; line-height: 1.55; color: #e9e4d6; }
.surgeons img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.reasons li { display: flex; flex-direction: column; gap: 18px; padding: 40px 36px 44px; border-radius: 24px; background: var(--white); border: 1px solid #dcdad2; box-shadow: 0 18px 50px rgba(58, 62, 40, .07); }
.reason-top { display: flex; justify-content: space-between; align-items: flex-start; }
.reason-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--white); display: flex; align-items: center; justify-content: center; }
.reason-num { font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; color: var(--ink-3); }
.reasons h3 { font-size: 30px; line-height: 1.15; margin-top: 6px; }
.reasons p { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.reasons .text-link { font-size: 15px; font-weight: 600; color: var(--accent); }
.reasons .text-link:hover { color: var(--accent-ink); }
@media (max-width: 1320px) { .surgeons { margin: 0; } }
@media (max-width: 1100px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .surgeons-band { padding: var(--section-y) var(--gutter); background: var(--cream); gap: var(--section-y); }
  .surgeons { grid-template-columns: minmax(0, 1fr); }
  .surgeons-text { padding: 40px 28px; }
  .surgeons img { min-height: 260px; }
}
@media (max-width: 640px) { .reasons { grid-template-columns: minmax(0, 1fr); } .reasons li { padding: 28px 24px; } }

.glance { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: 56px; align-items: center; }
.glance h2 { font-size: clamp(32px, 2.8vw, 40px); line-height: 1.1; text-wrap: balance; }
.glance p { font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.dash { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: 0 24px 60px rgba(26, 26, 26, .12); }
.dash-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; }
.dash-title { font-family: var(--font-display); font-size: 24px; }
.dash-note { font-size: 13px; color: #4a4a4a; }
.dash-scroll { overflow-x: auto; }
.dash table { width: 100%; min-width: 680px; border-collapse: collapse; text-align: left; }
.dash thead th { padding: 14px 12px; background: #f7eedb; font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: #4a4a4a; }
.dash th:first-child, .dash td:first-child { padding-left: 22px; }
.dash tbody th, .dash td { padding: 16px 12px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 400; vertical-align: middle; }
.dash-name { display: block; font-size: 16px; font-weight: 600; }
.dash-sub { display: block; margin-top: 2px; font-size: 13px; color: #4a4a4a; }
.dash-warn { background: #fcebe7; }
.dash-warn .dash-sub { color: #9a2f18; font-weight: 500; }
.pill { display: inline-block; padding: 5px 12px; border-radius: 14px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pill-ok { background: #ddefe9; color: #0e4a4a; }
.pill-amber { background: #fbe9c8; color: #6b3f06; }
.pill-red { background: #f6d9d2; color: #8a2e16; }
.pill-grey { background: #ecebe6; color: var(--ink-2); }
@media (max-width: 1100px) { .glance { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

.research-band { display: flex; justify-content: space-between; align-items: center; gap: 48px; padding: 80px 72px; border-radius: 28px; background: var(--accent); color: var(--paper); }
.research-band .stack { max-width: 680px; }
/* Paper, not gold: gold on the accent is 4.0:1 at 13 px, under WCAG AA (the gate on 8c4aadf, run 41878992707). */
.eyebrow-on-accent { color: var(--paper); }
.research-band h2 { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.02; text-wrap: balance; }
.research-band p { font-size: 18px; line-height: 1.55; }
@media (max-width: 900px) { .research-band { flex-direction: column; align-items: flex-start; padding: 40px 28px; gap: 28px; } }

/* ---- Data and privacy -------------------------------------------------------------------------- */

.policy { padding: 0 var(--gutter) var(--section-y); }
.policy-row { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; padding: 40px 0; border-top: 1px solid var(--line); }
.policy-row h2 { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.15; }
.policy-row .stack { gap: 14px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.policy-row a { color: var(--accent); text-decoration: underline; }
.policy-row strong { color: var(--ink); }
.updated { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); }
@media (max-width: 760px) { .policy-row { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 32px 0; } }

/* ---- Register your interest -------------------------------------------------------------------- */

.register { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
.register-intro { display: flex; flex-direction: column; background: var(--forest-ink); color: var(--on-forest); }
.register-photo { position: relative; height: 360px; flex-shrink: 0; overflow: hidden; }
.register-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 20%; }
.register-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38, 61, 43, 0) 70%, var(--forest-ink) 100%); }
.register-intro-text { padding: 20px 48px 28px; display: flex; flex-direction: column; gap: 14px; }
.register-intro h1 { font-size: clamp(34px, 3.1vw, 44px); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
.register-intro h1 em { color: var(--gold); }
.register-intro-text > p { font-size: 16px; line-height: 1.5; color: #f1ece4; }
.next-steps { display: flex; flex-direction: column; gap: 6px; padding: 0 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.next-steps li { display: flex; gap: 14px; align-items: baseline; font-size: 16px; line-height: 1.45; color: #f1ece4; }
.next-steps .n { font-family: var(--font-display); font-size: 20px; color: var(--gold); width: 20px; flex-shrink: 0; }
.register-lead { display: flex; align-items: center; gap: 18px; }
.register-lead img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; box-shadow: 0 0 0 2px var(--gold); background: #ededE8; flex-shrink: 0; }
.register-lead p { display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.4; }
.register-lead span { font-size: 14px; color: var(--gold); }
.register-side { padding: 24px 48px; display: flex; flex-direction: column; }
.register-card { flex: 1; width: 100%; background: var(--white); border-radius: 24px; padding: 32px; box-shadow: 0 24px 64px rgba(58, 62, 40, .1); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.register-card .field input { height: 44px; }
.register-card .field > span, .register-card .chips legend { font-size: 15px; }
.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.register-foot { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.register-promise { font-size: 13px; color: var(--ink-2); }
.register-promise .form-hint { font-size: inherit; }
@media (max-width: 1320px) { .form-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .register { grid-template-columns: minmax(0, 1fr); }
  .register-photo { height: 240px; }
  .register-intro-text { padding: 20px var(--gutter) 32px; }
  .register-side { padding: 32px var(--gutter) var(--section-y); }
}
@media (max-width: 640px) { .register-card { padding: 28px 20px; } .form-grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* ---- Journal ---------------------------------------------------------------------------------- */

.journal-head { padding: clamp(64px, 8.3vw, 120px) var(--gutter) clamp(64px, 6.7vw, 96px); display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 16px; color: var(--accent-ink); }
.journal-head h1 { max-width: 960px; font-size: clamp(44px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; }
.journal-head h1 em { color: var(--accent); }
.journal-head p { max-width: 720px; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.6; color: var(--ink-2); }
.pillars { padding: 0 var(--gutter) clamp(80px, 9.7vw, 140px); display: flex; flex-direction: column; gap: clamp(64px, 7.8vw, 112px); max-width: calc(1080px + 2 * var(--gutter)); margin: 0 auto; }
.pillar-row { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; align-items: center; }
.pillar-row-flip { grid-template-columns: minmax(0, 1fr) 360px; }
.pillar-row-flip img { order: 2; }
.pillar-row img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; background: #ededE8; }
.pillar-row .eyebrow-mono { letter-spacing: .2em; }
.pillar-row h2 { font-size: clamp(34px, 3.1vw, 44px); line-height: 1.1; }
.pillar-row p { font-size: 19px; line-height: 1.7; color: var(--ink-2); }
@media (max-width: 800px) {
  .pillar-row, .pillar-row-flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pillar-row-flip img { order: 0; }
  .pillar-row img { aspect-ratio: 4 / 3; }
}
.journal-cta { padding: clamp(64px, 6.7vw, 96px) var(--gutter); background: var(--accent); color: var(--white); display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.journal-cta h2 { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.05; }
.journal-cta p { font-size: 20px; margin-bottom: 12px; }

/* ---- Pricing ---------------------------------------------------------------------------------- */

.price-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: center; padding: clamp(64px, 7.8vw, 112px) var(--gutter) clamp(72px, 6.7vw, 96px); }
.price-hero .display-xl { font-size: clamp(48px, 6.1vw, 88px); }
.price-card { background: var(--olive); color: var(--white); border-radius: 28px; padding: 48px; box-shadow: 0 30px 80px rgba(58, 62, 40, .2); display: flex; flex-direction: column; gap: 14px; }
.price { display: flex; align-items: baseline; gap: 14px; margin-top: 8px; }
.price-num { font-family: var(--font-display); font-size: clamp(72px, 6.7vw, 96px); line-height: 1; }
.price-per { font-size: 20px; }
.price-weeks { font-size: 19px; }
.price-note { font-size: 14px; line-height: 1.5; color: #f1ece4; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.price-list { display: flex; flex-direction: column; gap: 16px; padding: 20px 0 24px; font-size: 19px; }
.price-list li { display: flex; align-items: center; gap: 14px; }
.price-list li::before { content: '✓'; width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--gold); color: var(--olive); font-size: 14px; font-weight: 700; }
.per-day-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.per-day-cards li { display: flex; flex-direction: column; gap: 8px; padding: 32px 36px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.per-day-label { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.per-day-price { font-family: var(--font-display); font-size: clamp(36px, 3.6vw, 52px); line-height: 1.1; color: var(--accent); }
.per-day-note { font-size: 16px; color: var(--ink-2); }
@media (max-width: 1000px) { .price-hero { grid-template-columns: minmax(0, 1fr); gap: 48px; } .price-card { padding: 36px 28px; } }
@media (max-width: 760px) { .per-day-cards { grid-template-columns: minmax(0, 1fr); } .per-day-cards li { padding: 24px; } }

/* ---- Research (the 2026-11-04 design) --------------------------------------------------------- */

.research { padding: clamp(48px, 5vw, 72px) var(--gutter) var(--section-y); display: flex; flex-direction: column; gap: 48px; }
.research-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 860px; }
.research-head h1 { font-size: clamp(40px, 4.2vw, 60px); line-height: 1.05; text-wrap: balance; }
.research-note { align-self: flex-start; max-width: 860px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(26, 26, 26, .04); }
.research-note summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 22px; min-height: 44px; }
.research-note summary::-webkit-details-marker { display: none; }
.research-note-icon { width: 32px; height: 32px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.research-note-title { font-size: 17px; font-weight: 600; }
.research-note-more { margin-left: auto; padding-left: 16px; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--accent-ink); white-space: nowrap; }
.research-note[open] .research-note-more svg { transform: rotate(180deg); }
.research-note p { padding: 0 22px 20px 68px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.studies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.study { display: flex; flex-direction: column; gap: 16px; padding: 36px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.study-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.study-kind { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent-ink); }
.study-tag { font-size: 12px; line-height: 1; padding: 6px 10px; border-radius: 12px; background: #f1efe9; color: var(--ink-2); }
.study h2 { font-size: clamp(24px, 2vw, 28px); line-height: 1.2; text-wrap: balance; }
.study-cite { font-size: 15px; line-height: 1.5; color: #4a4a4a; }
.study .btn { margin-top: auto; align-self: flex-start; }
.research-foot { font-size: 14px; line-height: 1.6; color: #4a4a4a; max-width: 860px; }
@media (max-width: 900px) { .studies { grid-template-columns: minmax(0, 1fr); } .study { padding: 28px 24px; } .research-note p { padding-left: 22px; } }
@media (max-width: 640px) { .research-note summary { flex-wrap: wrap; } .research-note-more { margin-left: 46px; padding-left: 0; } }

/* ---- Thank-you and problem pages (B-016) ------------------------------------------------ */

.thanks { padding: clamp(56px, 6.7vw, 96px) var(--gutter) var(--section-y); display: flex; flex-direction: column; gap: 24px; max-width: calc(880px + 2 * var(--gutter)); }
.thanks-sub { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; margin-top: 16px; }
.thanks-steps { display: flex; flex-direction: column; gap: 22px; }
.thanks-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; }
.thanks-steps .n { width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 20px; }
.thanks-steps h2 { font-family: var(--font-body); font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.thanks-steps p { font-size: 17px; color: var(--ink-2); }
.problem-list { list-style: disc; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 18px; color: var(--ink-2); }
.thanks a:not(.btn) { color: var(--accent-ink); text-decoration: underline; }

/* ---- 404 -------------------------------------------------------------------------------------- */

.not-found { min-height: 60vh; padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; }

/* Gaps for .stack, named in the markup so no style attribute is needed. */
.stack[data-gap='6'] { gap: 6px; } .stack[data-gap='8'] { gap: 8px; } .stack[data-gap='10'] { gap: 10px; }
.stack[data-gap='12'] { gap: 12px; } .stack[data-gap='14'] { gap: 14px; } .stack[data-gap='16'] { gap: 16px; }
.stack[data-gap='18'] { gap: 18px; } .stack[data-gap='20'] { gap: 20px; } .stack[data-gap='22'] { gap: 22px; }
.stack[data-gap='28'] { gap: 28px; } .stack[data-gap='32'] { gap: 32px; } .stack[data-gap='40'] { gap: 40px; }
.stack[data-gap='48'] { gap: 48px; } .stack[data-gap='56'] { gap: 56px; }
