/* ==========================================================================
   Her Fortitude — site styles
   Layout concept: ivory editorial pages, navy type, one rising "stages path"
   motif (rose line, four growing dots) used as the signature graphic.
   Edit colours and fonts here only; every page reads these tokens.
   ========================================================================== */

:root {
  /* Brand colours (logo spec, Oct 2026) */
  --navy: #1A2F4A;
  --sage: #B0D0BC;
  --rose: #C48B90;
  --ivory: #FAF6EC;

  /* Tints, mixed only from the four brand colours above.
     Rose is never used for small text on ivory (too low contrast); text is navy on light, ivory on navy. */
  --navy-soft: color-mix(in srgb, var(--navy) 82%, var(--ivory));   /* secondary text on ivory */
  --rose-ink: var(--navy);
  --sage-wash: color-mix(in srgb, var(--sage) 32%, var(--ivory));
  --rose-wash: color-mix(in srgb, var(--rose) 20%, var(--ivory));
  --paper: color-mix(in srgb, var(--sage) 10%, var(--ivory));       /* raised surfaces: form, cards */
  --ivory-soft: color-mix(in srgb, var(--ivory) 82%, var(--navy));  /* secondary text on navy */
  --rule: color-mix(in srgb, var(--navy) 16%, transparent);

  /* Type */
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Great Vibes", "Brush Script MT", cursive;  /* logo only */

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 3.9rem);

  --measure: 64ch;
  --wrap: 1160px;
  --radius: 14px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--navy); text-decoration-color: var(--rose); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--rose-ink); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0; }
.stage-word, .italic { font-family: var(--font-display); font-style: italic; font-weight: 400; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--rose); border-radius: 2px; flex: none; }
.lede { font-size: var(--step-1); color: var(--navy-soft); max-width: 56ch; line-height: 1.55; }
.prose { max-width: var(--measure); display: grid; gap: 1.1em; }
.prose h2 { margin-top: 0.6em; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 0.4em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: 0.02em;
  padding: 0.95em 1.6em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: var(--ivory); }
.btn--primary:hover { background: color-mix(in srgb, var(--navy) 88%, var(--ivory)); color: var(--ivory); }
.btn--rose { background: var(--rose); color: var(--navy); }
.btn--rose:hover { background: color-mix(in srgb, var(--rose) 85%, var(--ivory)); color: var(--navy); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: var(--ivory); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--navy); color: var(--ivory); font-size: var(--step--1); }
.announce .wrap { display: flex; justify-content: center; gap: 0.6em; flex-wrap: wrap; padding-block: 9px; text-align: center; }
.announce a { color: var(--sage); font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: color-mix(in srgb, var(--ivory) 95%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: inline-flex; text-decoration: none; }
.brand .logo-img { width: 320px; height: auto; display: block; }
.header-ig { font-size: 0.95rem; text-decoration: none; }
.header-ig:hover { text-decoration: underline; }
@media (max-width: 480px) { .header-ig span { display: none; } .header-ig svg { width: 26px; height: 26px; } }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { border-bottom-color: var(--rose); color: var(--navy); }
.nav .btn { padding: 0.7em 1.25em; font-size: 0.92rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; display: block; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ivory); border-bottom: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px var(--gutter-r) 20px var(--gutter);
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .nav { position: static; padding-inline: 0; border: 0; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; }
  .nav-list { flex-direction: column; align-items: stretch !important; gap: 0 !important; }
  .nav-list > li > a, .menu-btn { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule) !important; }
  .nav .btn { margin-top: 8px; }
  .brand .logo-img { width: 210px; }
}

/* ---------- Logo pieces (inline SVG) ---------- */
.lg-her { font-family: var(--font-script); fill: var(--rose); }
.lg-word { font-family: var(--font-display); fill: var(--navy); letter-spacing: 0.16em; }
.lg-line { stroke: var(--rose); fill: none; stroke-width: 2.2; stroke-linecap: round; }
.lg-pre { fill: var(--ivory); stroke: var(--rose); stroke-width: 2; }
.lg-peri { fill: var(--navy); }
.lg-meno { fill: var(--rose); }
.lg-post { fill: var(--sage); }
.on-navy .lg-word { fill: var(--ivory); }
.on-navy .lg-peri { fill: var(--ivory); }
.on-navy .lg-pre { fill: var(--navy); }

/* ---------- Sections ---------- */
section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.band-sage { background: var(--sage-wash); }
.band-rose { background: var(--rose-wash); }
.band-navy { background: var(--navy); color: var(--ivory); }
.band-navy h2, .band-navy h3 { color: var(--ivory); }
.band-navy .lede { color: var(--ivory-soft); }
.band-navy .eyebrow { color: var(--sage); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-tagline { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--rose-ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: var(--step--1); color: var(--navy-soft); display: flex; gap: 8px; align-items: center; }
.hero-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 45%, transparent); flex: none; }

.stage-card {
  background: var(--navy); color: var(--ivory); border-radius: 24px;
  padding: clamp(24px, 3.5vw, 40px); position: relative; overflow: hidden; min-width: 0;
}
.stage-card .eyebrow { color: var(--sage); }
.stage-card h2 { font-size: var(--step-2); color: var(--ivory); margin: 10px 0 6px; }
.stage-card p { color: var(--ivory-soft); font-size: 0.98rem; }
.stage-path { width: 100%; height: auto; margin-top: 18px; display: block; }
.stage-path text { font-family: var(--font-display); font-style: italic; fill: var(--ivory); font-size: 15px; }
.stage-path .sp-line { stroke: var(--rose); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.stage-path .sp-pre { fill: var(--navy); stroke: var(--rose); stroke-width: 2.5; }
.stage-path .sp-peri { fill: var(--ivory); }
.stage-path .sp-meno { fill: var(--rose); }
.stage-path .sp-post { fill: var(--sage); }
@media (prefers-reduced-motion: no-preference) {
  .stage-path .sp-line { stroke-dasharray: 520; stroke-dashoffset: 0; animation: draw 1.6s ease-out .2s both; }
  .stage-path circle { animation: pop .5s ease-out both; }
  .stage-path circle:nth-of-type(1) { animation-delay: .4s; }
  .stage-path circle:nth-of-type(2) { animation-delay: .7s; }
  .stage-path circle:nth-of-type(3) { animation-delay: 1s; }
  .stage-path circle:nth-of-type(4) { animation-delay: 1.3s; }
}
@keyframes draw { from { stroke-dashoffset: 520; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(.4); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.stage-path circle { transform-box: fill-box; transform-origin: center; }

@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---------- Waitlist strip ---------- */
.strip { padding-block: 0; }
.strip-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
  background: var(--rose-wash); border: 1px solid color-mix(in srgb, var(--rose) 40%, var(--ivory)); border-radius: var(--radius);
  padding: 22px clamp(20px, 3vw, 36px);
}
.strip-inner p { font-size: var(--step-1); font-family: var(--font-display); max-width: 46ch; }

/* ---------- Definition ("What is") block ---------- */
.definition {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: start;
}
.definition .def-text { display: grid; gap: 16px; min-width: 0; }
.definition dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); min-width: 0; }
.definition dl > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--rule); }
.definition dt { font-weight: 700; font-size: 0.95rem; }
.definition dd { margin: 0; color: var(--navy-soft); }
@media (max-width: 820px) { .definition { grid-template-columns: 1fr; } .definition dl > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Stages grid ---------- */
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--navy); }
.stage { padding: 26px 22px 28px 0; display: grid; gap: 10px; align-content: start; position: relative; }
.stage + .stage { padding-left: 22px; border-left: 1px solid var(--rule); }
.stage-dot { width: var(--d); height: var(--d); border-radius: 50%; margin-top: -1px; }
.stage-dot--pre { --d: 14px; border: 2.5px solid var(--rose); background: var(--ivory); }
.stage-dot--peri { --d: 18px; background: var(--navy); }
.stage-dot--meno { --d: 22px; background: var(--rose); }
.stage-dot--post { --d: 26px; background: var(--sage); }
.stage h3 { font-style: italic; font-size: var(--step-2); }
.stage .when { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rose-ink); }
.stage p { color: var(--navy-soft); font-size: 0.98rem; }
@media (max-width: 900px) {
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage:nth-child(3) { padding-left: 0; border-left: 0; }
  .stage:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 540px) {
  .stages { grid-template-columns: 1fr; }
  .stage, .stage + .stage { padding-left: 0; border-left: 0; }
  .stage + .stage { border-top: 1px solid var(--rule); }
}

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-content: start; }
.pillar-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-wash); }
.pillar-icon svg { width: 22px; height: 22px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar p { color: var(--navy-soft); }
.pillar ul { margin: 0; padding-left: 1.1em; color: var(--navy-soft); display: grid; gap: 4px; font-size: 0.98rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Symptom chips ---------- */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 0.95rem; }

/* ---------- Offer (formats) ---------- */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid color-mix(in srgb, var(--ivory) 25%, transparent); }
.offer { padding: 28px 26px 8px 0; display: grid; gap: 10px; align-content: start; }
.offer + .offer { padding-left: 26px; border-left: 1px solid color-mix(in srgb, var(--ivory) 25%, transparent); }
.offer .status { font-size: var(--step--1); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); }
.offer p { color: var(--ivory-soft); }
@media (max-width: 860px) {
  .offers { grid-template-columns: 1fr; }
  .offer + .offer { padding-left: 0; border-left: 0; border-top: 1px solid color-mix(in srgb, var(--ivory) 25%, transparent); }
}

/* ---------- Founder teaser ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder-mark {
  aspect-ratio: 4 / 5; max-width: 100%; border-radius: 20px; background: var(--navy);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.founder-mark img { width: 100%; height: 100%; object-fit: cover; }
.founder-mark .monogram { width: 62%; height: auto; }
.founder-copy { display: grid; gap: 18px; min-width: 0; }
.founder-copy blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: var(--step-2); line-height: 1.3; color: var(--navy); border-left: 3px solid var(--rose); padding-left: 20px; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } .founder-mark { max-width: 360px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--rule); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--font-display); font-size: var(--step-1); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-family: var(--font-body); font-size: 1.6rem; color: var(--rose-ink); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 22px; max-width: var(--measure); color: var(--navy-soft); display: grid; gap: 10px; }

/* ---------- CTA band ---------- */
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 28px; align-items: center; }
.cta-band h2 { max-width: 20ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Citations ---------- */
sup.cite { font-size: 0.68em; line-height: 0; margin-left: 1px; }
sup.cite a { text-decoration: none; font-weight: 700; color: var(--rose-ink); padding: 0 1px; }
sup.cite a:hover { text-decoration: underline; }
.band-navy sup.cite a { color: var(--sage); }
.references { padding-block: 40px 56px; border-top: 1px solid var(--rule); }
.references h2 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.references ol { margin: 16px 0 0; padding-left: 1.4em; display: grid; gap: 8px; font-size: var(--step--1); color: var(--navy-soft); max-width: 900px; overflow-wrap: anywhere; }
.references li:target { background: var(--rose-wash); border-radius: 6px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: var(--step--1); color: var(--navy-soft); margin-top: 22px; }
.page-meta strong { color: var(--navy); }

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px); }
.page-hero .wrap { display: grid; gap: 18px; }
.breadcrumb { font-size: var(--step--1); color: var(--navy-soft); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--rose); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-aside { position: sticky; top: 96px; display: grid; gap: 20px; }
.fact-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }
.fact-card h2 { font-size: var(--step-1); }
.fact-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 0.97rem; }
.fact-card li { display: grid; gap: 2px; }
.fact-card .label { font-size: var(--step--1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rose-ink); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.values > div { border-top: 2px solid var(--navy); padding-top: 16px; display: grid; gap: 8px; }
.values p { color: var(--navy-soft); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-aside { position: static; } .values { grid-template-columns: 1fr; } }

/* ---------- Waitlist form ---------- */
.join-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.join-copy { display: grid; gap: 22px; min-width: 0; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.perks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.perks li::before { content: ""; width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px var(--rose-wash); justify-self: center; }
.form-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 22px; padding: clamp(22px, 3.5vw, 40px); box-shadow: 0 24px 60px -36px color-mix(in srgb, var(--navy) 50%, transparent); min-width: 0; }
.form-card h2 { font-size: var(--step-2); margin-bottom: 6px; }
.form { display: grid; gap: 18px; margin-top: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: 0.95rem; }
.field .hint { font-size: var(--step--1); color: var(--navy-soft); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--navy);
  background: var(--ivory); border: 1.5px solid color-mix(in srgb, var(--navy) 28%, var(--ivory)); border-radius: 10px; padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sage) 60%, transparent); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--rose); border-width: 2px; background: var(--rose-wash); }
.error-text { color: var(--navy); font-size: var(--step--1); font-weight: 700; display: flex; gap: 6px; align-items: baseline; }
.error-text::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); flex: none; transform: translateY(-1px); }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.95rem; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { background: var(--rose-wash); border: 2px solid var(--rose); color: var(--navy); border-radius: 10px; padding: 12px 14px; font-weight: 700; font-size: 0.95rem; }
.form .btn { width: 100%; }
.small-print { font-size: var(--step--1); color: var(--navy-soft); }
@media (max-width: 860px) { .join-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--ivory-soft); padding-block: 56px 28px; font-size: 0.95rem; }
.site-footer a { color: var(--ivory); text-decoration-color: var(--rose); }
.site-footer a:hover { color: var(--sage); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid h2 { font-family: var(--font-body); font-size: var(--step--1); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand { display: block; align-self: start; text-decoration: none; }
.footer-brand .logo-img { width: 230px; max-width: 100%; height: auto; display: block; }
.footer-grid--launch { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--ivory) 18%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--step--1); color: var(--ivory-soft); }
.disclaimer { max-width: 80ch; }
@media (max-width: 860px) { .footer-grid, .footer-grid--launch { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-lg { margin-top: clamp(28px, 4vw, 44px); }
.inline-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ig-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.ig-link svg { width: 20px; height: 20px; }

/* ---------- Learn more dropdown ---------- */
.has-menu { position: relative; }
.menu-btn {
  font: inherit; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; color: var(--navy);
  background: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.menu-btn .chev { width: 16px; height: 16px; transition: transform .2s ease; }
.menu-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.has-menu.is-current .menu-btn, .menu-btn:hover { border-bottom-color: var(--rose); }
.submenu {
  list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%); min-width: 320px; white-space: nowrap; background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius); box-shadow: 0 24px 48px -28px rgba(26,47,74,.5); display: none; z-index: 60;
}
.submenu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.has-menu.is-open .submenu { display: grid; gap: 2px; }
html:not(.js) .has-menu:hover .submenu, html:not(.js) .has-menu:focus-within .submenu { display: grid; }
.submenu a { display: block; padding: 11px 14px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 0.95rem; border: 0 !important; }
.submenu a:hover, .submenu a:focus-visible { background: var(--sage-wash); color: var(--navy); }
.submenu a[aria-current="page"] { background: var(--rose-wash); }
@media (max-width: 820px) {
  .menu-btn { display: flex; width: 100%; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--rule) !important; }
  .submenu { position: static; transform: none; min-width: 0; white-space: normal; box-shadow: none; border: 0; border-radius: 0; padding: 4px 0 8px 12px; background: transparent; }
  .submenu a { padding: 10px 8px; font-weight: 400; }
}

/* ---------- Topic cards (home + next subject) ---------- */
.topics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.topic-card { grid-column: span 2; }
.topic-card:nth-child(4), .topic-card:nth-child(5) { grid-column: span 3; }
.topic-card, .next-topic {
  display: grid; gap: 8px; align-content: start; text-decoration: none; color: var(--navy);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.topic-card:hover, .next-topic:hover { transform: translateY(-2px); border-color: var(--rose); box-shadow: 0 18px 40px -30px rgba(26,47,74,.6); color: var(--navy); }
.topic-num { font-family: var(--font-display); font-style: italic; color: var(--rose-ink); font-size: 1.1rem; }
.topic-title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.15; }
.topic-desc { color: var(--navy-soft); }
.topic-go { font-weight: 700; font-size: 0.95rem; color: var(--rose-ink); margin-top: 6px; }
@media (max-width: 900px) { .topics { grid-template-columns: 1fr 1fr; } .topic-card, .topic-card:nth-child(4), .topic-card:nth-child(5) { grid-column: auto; } }
@media (max-width: 560px) { .topics { grid-template-columns: 1fr; } }

.keep-reading { padding-block: 0 clamp(56px, 8vw, 96px); }
.keep-reading .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 24px; align-items: start; border-top: 1px solid var(--rule); padding-top: clamp(32px, 4vw, 48px); }
.next-topic { background: var(--sage-wash); border-color: transparent; }
.topic-index ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.topic-index a { font-weight: 700; text-decoration: none; }
.topic-index a:hover { text-decoration: underline; }
.topic-index a[aria-current="page"] { color: var(--rose-ink); }
@media (max-width: 760px) { .keep-reading .wrap { grid-template-columns: 1fr; } }

/* Headings that used to be h3 on the long home page keep their size as h2 */
.stage-h { font-style: italic; font-size: var(--step-2); }
.pillar-h { font-size: var(--step-2); }
.faq-q { font: inherit; display: inline; }

/* ---------- Symptom list ---------- */
.symptom-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 2px solid var(--navy); }
.symptom-list li { padding: 20px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 6px; }
.sym-h { font-size: var(--step-1); }
.symptom-list p { color: var(--navy-soft); }
@media (max-width: 760px) { .symptom-list { grid-template-columns: 1fr; } }

/* ---------- Offer cards (light) ---------- */
.offer-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.offer-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-content: start; grid-template-rows: auto auto 1fr auto; }
.offer-card .status { font-size: var(--step--1); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-ink); }
.offer-card p { color: var(--navy-soft); }
.offer-card .btn { justify-self: start; }
@media (max-width: 900px) { .offer-cards { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.legal-toc { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 20px; }
.legal-toc ol { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 0.95rem; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.prose h2[id] { scroll-margin-top: 110px; }
.table-scroll { overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.legal-table th { background: var(--sage-wash); font-weight: 700; }
.todo-mark { background: var(--rose-wash); padding: 0 6px; border-radius: 4px; font-weight: 700; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal-toc { position: static; } }

/* ---------- Waitlist form additions (Oct 2026) ---------- */
.join-hero { padding-bottom: clamp(56px, 8vw, 96px); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.field .hint { display: block; }
.field label .hint { display: inline; font-weight: 400; }
.field label.consent { font-weight: 400; }
.field label.consent strong { font-weight: 700; }
.consents { border: 0; border-top: 1px solid var(--rule); margin: 4px 0 0; padding: 16px 0 0; display: grid; gap: 14px; min-width: 0; }
.consents legend { font-family: var(--font-display); font-size: var(--step-1); padding: 0 10px 0 0; }

/* ==========================================================================
   Colour scheme (Oct 2026), from the Instagram strategy deck, slides 17-18:
   Deep Navy is the primary field (header, intro, footer read as one surface),
   Mint Sage is the card, Dusty Rose is the accent and call to action,
   Soft Ivory is the canvas for form fields and long reading (privacy notice).
   Text pairings: ivory on navy, navy on sage, navy on rose.
   ========================================================================== */

/* Top bar: a slim dusty-rose strip, the one rose band on the page */
.announce { background: var(--rose); color: var(--navy); font-size: 0.85rem; }
.announce .wrap { padding-block: 7px; }
.announce a { color: var(--navy); font-weight: 700; text-decoration-color: var(--navy); }

/* Header: navy, continuous with the navy intro below it */
.site-header { background: var(--navy); border-bottom: 0; backdrop-filter: none; }
.site-header .wrap { padding-block: 14px; }
.site-header .ig-link, .site-header .header-ig { color: var(--ivory); font-weight: 700; }
.site-header .ig-link:hover { color: var(--sage); }
.nav-toggle { color: var(--ivory); }
.nav a:not(.btn), .menu-btn { color: var(--ivory); }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--ivory); }
.nav .btn--primary { background: var(--rose); color: var(--navy); }
.nav .btn--primary:hover { background: color-mix(in srgb, var(--rose) 85%, var(--ivory)); color: var(--navy); }
.submenu a { color: var(--navy); }
@media (max-width: 820px) {
  .nav { background: var(--navy); border-bottom: 0; }
  .nav-list > li > a, .menu-btn { border-bottom-color: color-mix(in srgb, var(--ivory) 16%, transparent) !important; }
  .submenu a { color: var(--ivory); }
  .submenu a:hover, .submenu a:focus-visible { color: var(--navy); }
}

/* Navy bands */
.band-navy { background: var(--navy); color: var(--ivory); }
.band-navy h1, .band-navy h2 { color: var(--ivory); }
.band-navy .eyebrow { color: var(--sage); }
.band-navy .lede { color: var(--ivory-soft); }
.band-navy .page-meta, .band-navy .page-meta strong, .band-navy .breadcrumb, .band-navy .breadcrumb a { color: var(--ivory-soft); }
.band-navy a:not(.btn) { color: var(--ivory); }
.btn--ghost-light { border-color: color-mix(in srgb, var(--ivory) 60%, transparent); color: var(--ivory); background: transparent; }
.btn--ghost-light:hover { background: var(--ivory); color: var(--navy); }
.legal-hero { margin-bottom: clamp(32px, 5vw, 56px); }

/* Sage card with navy text */
.stage-card--sage { background: var(--sage); color: var(--navy); }
.stage-card--sage .eyebrow, .stage-card--sage h2, .stage-card--sage p { color: var(--navy); }

/* Waitlist: one navy field, copy on the left, sage form card on the right */
.split-hero { background: var(--navy); color: var(--ivory); padding-block: clamp(28px, 4vw, 56px) clamp(48px, 7vw, 88px); }
.split-hero .join-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(40px, 7vw, 112px); align-items: start; }
.split-hero .join-copy { gap: 24px; padding-top: 12px; }
.split-hero h1 { color: var(--ivory); font-size: clamp(2.4rem, 1.7rem + 3vw, 3.6rem); line-height: 1.08; }
.split-hero .eyebrow { color: var(--sage); }
.split-hero .lede { color: var(--ivory); max-width: 34ch; }
.split-hero .perks { gap: 18px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--ivory) 14%, transparent); max-width: 46ch; }
.split-hero .perks li { color: var(--ivory-soft); grid-template-columns: 22px minmax(0, 1fr); }
.split-hero .perks strong { color: var(--ivory); }
.split-hero .perks li::before { width: 10px; height: 10px; margin-top: 8px; background: var(--rose); box-shadow: none; }
.join-form-panel { min-width: 0; }
.split-hero .form-card { background: var(--sage); border: 0; border-radius: 18px; color: var(--navy); box-shadow: 0 32px 64px -36px rgba(0, 0, 0, .55); }
.split-hero .form-card h2 { font-size: var(--step-2); }
.split-hero .form-card .small-print, .split-hero .form-card .hint { color: var(--navy); }
.split-hero .form-card .field input[type="text"], .split-hero .form-card .field input[type="email"], .split-hero .form-card .field select { background: var(--ivory); border-color: color-mix(in srgb, var(--navy) 22%, var(--sage)); }
.split-hero .consents { border-top-color: color-mix(in srgb, var(--navy) 22%, transparent); }
.split-hero .field input[aria-invalid="true"], .split-hero .field select[aria-invalid="true"] { background: var(--ivory); border-color: var(--navy); }
.split-hero .error-text::before { background: var(--navy); }
.split-hero .form-card a { color: var(--navy); text-decoration-color: var(--navy); }
.btn--cta { background: var(--rose); color: var(--navy); border: 0; }
.btn--cta:hover { background: var(--navy); color: var(--ivory); }
@media (max-width: 860px) {
  .split-hero .join-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-hero .lede { max-width: none; }
}

/* Footer: same navy as the page above, separated only by a hairline */
.site-footer { background: var(--navy); color: var(--ivory-soft); padding-block: 0; border-top: 0; }
.site-footer .wrap { padding-block: 36px 28px; background: none; }
.site-footer a { color: var(--ivory); text-decoration-color: var(--rose); }
.site-footer a:hover { color: var(--sage); }
.site-footer h2 { color: var(--sage); margin-bottom: 10px; }
.footer-grid--launch { grid-template-columns: minmax(0, 1fr) auto auto; gap: clamp(32px, 6vw, 88px); align-items: start; }
.footer-brand .logo-img { width: 190px; }
.site-footer .footer-bottom { margin-top: 28px; padding-top: 0; border-top: 0; color: var(--ivory-soft); background: none; }
@media (max-width: 860px) {
  .footer-grid--launch { grid-template-columns: 1fr 1fr; }
  .footer-grid--launch .footer-brand { grid-column: 1 / -1; }
}

/* Larger header logo: tighten the bar around it */
.site-header .wrap { padding-block: 10px; }
@media (max-width: 480px) { .brand .logo-img { width: 190px; } }
.prose .plain-list { list-style: none; padding-left: 0; gap: 10px; }
.prose .address { display: inline-block; margin-top: 2px; }

/* ---------- Brevo waitlist form ---------- */
/* Brevo's script toggles these classes; we style them ourselves instead of loading Brevo's stylesheet */
.sib-form-message-panel { display: none; }
.sib-form-message-panel.sib-form-message-panel--active { display: block; }
.input--hidden { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.error-text:empty { display: none; }
.entry_errored input, .entry_errored select { border-color: var(--navy) !important; border-width: 2px !important; }
.sib-form-block__button .progress-indicator__icon { width: 18px; height: 18px; fill: currentColor; animation: hf-spin 0.9s linear infinite; }
.sib-form-block__button .sib-hide-loader-icon { display: none; }
.sib-form-block__button[disabled], .sib-form-block__button-disabled { opacity: .7; cursor: progress; }
@keyframes hf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sib-form-block__button .progress-indicator__icon { animation: none; } }

.hf-panel { color: var(--navy); }
.hf-panel .sib-form-message-panel__text { display: grid; gap: 14px; justify-items: start; }
.hf-panel h2 { font-size: var(--step-2); color: var(--navy); }
.hf-panel .eyebrow { color: var(--navy); }
.hf-panel--success { padding-block: 8px; }
.hf-panel--success:focus { outline: none; }
.hf-panel--error { background: var(--ivory); border: 2px solid var(--rose); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
.hf-panel__title { font-weight: 700; }
.hf-panel a:not(.btn) { color: var(--navy); }
.split-hero .form-card .small-print + .small-print { margin-top: -10px; }
