/* Happy Health Helper — ocean slate + soft coral */
:root {
  --ink: #152033;
  --ink-soft: #2a3a52;
  --soft: #5c6b7e;
  --accent: #1e4a6e;
  --accent-mid: #2a5f8a;
  --accent-deep: #0f2438;
  --signal: #d97757;
  --signal-hover: #c46547;
  --glow: #e8f0f7;
  --paper: #eef3f8;
  --paper-wash: #e2ebf4;
  --bar-bg: rgba(238, 243, 248, .92);
  --line: #c8d5e3;
  --line-strong: #a8bcd0;
  --card: #ffffff;
  --input-bg: #e8eef5;
  --prose: #2c3a4d;
  --join-a: #163a58;
  --join-b: #1e4a6e;
  --join-c: #124060;
  --on-dark: #eef4fa;
  --on-dark-muted: #a8bdd0;
  --on-dark-faint: #7e96ad;
  --on-dark-link: #f0b49a;
  --mark-bar: #7eb3d9;
  --focus: rgba(217, 119, 87, .22);
  --shadow: 0 1px 2px rgba(21, 32, 51, .06), 0 14px 36px rgba(21, 32, 51, .08);
  --radius: 4px;
  --radius-lg: 2px;
  --display: "Fraunces", Georgia, serif;
  --sans: "Figtree", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(126, 179, 217, .18), transparent 50%),
    linear-gradient(180deg, var(--paper-wash) 0%, var(--paper) 220px),
    var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  letter-spacing: -.01em;
}

main { flex: 1 0 auto; }

.wrap {
  width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: 22px;
  padding-right: 22px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}
.skip:focus {
  left: 16px;
  background: #fff;
  padding: 8px 12px;
  border-radius: var(--radius);
  z-index: 100;
  border: 1px solid var(--line);
}

/* ——— Header: two-row, logo left + CTA, nav row below ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bar-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
}
.logo-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--accent);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-text strong {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.logo-text em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--signal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-nav-row {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
}

.site-nav {
  display: flex;
  gap: 0;
  justify-content: flex-start;
  overflow-x: auto;
}

.site-nav a {
  flex: 0 0 auto;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--soft);
  border-bottom: 2px solid transparent;
  letter-spacing: .01em;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}
.site-nav a.is-active {
  border-bottom-color: var(--signal);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  padding: 8px 12px;
}

/* ——— Buttons ——— */
.btn,
.btn-accent,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.1;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn {
  background: var(--accent);
  color: #fff;
}
.btn:hover {
  background: var(--accent-mid);
  color: #fff;
  transform: translateY(-1px);
}
.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 13px;
}
.btn-accent {
  background: var(--signal);
  color: #fff;
}
.btn-accent:hover {
  background: var(--signal-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline {
  background: #fff;
  color: var(--accent);
  border-color: rgba(30, 74, 110, .28);
}
.btn-outline:hover {
  background: var(--glow);
  border-color: var(--accent);
  color: var(--accent);
}
.btn-lg {
  min-height: 52px;
  padding: 14px 26px;
  font-size: 15px;
}
.btn-block { width: 100%; }

.btn-ghost-hero {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .55);
}
.btn-ghost-hero:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}

.page-cta-band .btn {
  background: #fff;
  color: var(--accent);
}
.page-cta-band .btn:hover {
  background: var(--glow);
  color: var(--accent);
}
.page-cta-band .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .48);
}
.page-cta-band .btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}

/* ——— Full-bleed hero: image keeps natural width ratio, no vertical stretch ——— */
.hero-bleed {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--accent-deep);
}
.hero-media {
  grid-area: 1 / 1;
  line-height: 0;
}
.hero-media img {
  width: 100%;
  height: auto;
  animation: slow-zoom 18s ease-out both;
}
.hero-veil {
  grid-area: 1 / 1;
  background:
    linear-gradient(105deg, rgba(15, 36, 56, .88) 0%, rgba(15, 36, 56, .55) 48%, rgba(15, 36, 56, .28) 100%),
    linear-gradient(0deg, rgba(15, 36, 56, .55) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  align-self: end;
  padding-top: 80px;
  padding-bottom: clamp(36px, 6vw, 64px);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  width: min(1120px, 100%);
  padding-left: 22px;
  padding-right: 22px;
  animation: rise .7s ease both;
}
.brand-mark {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .25);
}
.hero-content h1 {
  font-family: var(--display);
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0 0 16px;
  max-width: 14ch;
  text-wrap: balance;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
  max-width: 40ch;
  margin-bottom: 28px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.kicker {
  font-weight: 700;
  color: var(--signal);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ——— Topic path strip (not white cards) ——— */
.path-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: -36px;
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.path-item {
  padding: 28px 24px 26px;
  border-right: 1px solid var(--line);
  transition: background .2s ease;
}
.path-item:last-child { border-right: 0; }
.path-item:hover { background: var(--glow); }
.path-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--signal);
  margin-bottom: 10px;
}
.path-item strong {
  display: block;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.02em;
}
.path-item p {
  color: var(--soft);
  font-size: 13px;
  margin-top: 6px;
  line-height: 1.4;
}

/* ——— Featured notes ——— */
.featured-band {
  padding: 64px 0 40px;
}
.related-band {
  padding-bottom: 72px;
  background: transparent;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.section-head h2,
.arts h3 {
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.text-link {
  font-size: 14px;
  font-weight: 650;
  color: var(--accent);
  white-space: nowrap;
}
.text-link:hover { color: var(--signal); }

.note-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.note {
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  transition: transform .2s ease;
}
.note:hover { transform: translateY(-3px); }
.note img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
.note div { padding: 14px 2px 4px; }
.note small {
  color: var(--signal);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.note p {
  margin-top: 6px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -.015em;
}

.note-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transform: none;
}
.note-row:hover { transform: none; background: transparent; }
.note-row:first-child { border-top: 1px solid var(--line); }
.note-row img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
.note-row div { padding: 0; }
.note-desc {
  display: block;
  margin-top: 8px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.5;
  max-width: 52ch;
  font-family: var(--sans);
  font-weight: 400;
}

.note-list {
  display: flex;
  flex-direction: column;
}

.topic-banner {
  max-width: 640px;
  margin-bottom: 36px;
}
.topic-banner h1 {
  font-family: var(--display);
  font-size: clamp(34px, 4.6vw, 48px);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 10px 0 14px;
  color: var(--ink);
  font-weight: 600;
}

/* ——— Join section: form LEFT, copy RIGHT ——— */
.join {
  --join-pad: clamp(48px, 7vw, 96px);
  width: 100%;
  margin: 24px 0 0;
  padding: var(--join-pad) 0;
  color: var(--on-dark);
  background:
    radial-gradient(800px 360px at 88% 10%, rgba(217, 119, 87, .16), transparent 55%),
    linear-gradient(200deg, var(--join-a) 0%, var(--join-b) 50%, var(--join-c) 100%);
}
.join-solo {
  margin-top: 0;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
}
.join-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.join-copy {
  position: sticky;
  top: 120px;
  padding-top: 8px;
}
.join-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-link);
  margin-bottom: 14px;
}
.join h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -.03em;
  line-height: 1.08;
  color: #fff;
  max-width: 14ch;
  font-weight: 600;
}
.join .lede {
  color: var(--on-dark-muted);
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.55;
  max-width: 34ch;
}
.join .disclaimer {
  color: var(--on-dark-faint);
  font-size: 12px;
  line-height: 1.55;
  margin-top: 22px;
  max-width: 42ch;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.join-panel {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 4px;
  padding: clamp(20px, 3vw, 28px);
}

.join-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 3px var(--focus);
}
textarea {
  height: 140px;
  padding: 14px;
  resize: vertical;
}
.wide { grid-column: 1 / -1; }
.hint {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--on-dark-faint);
  margin-top: -4px;
}
.check {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.45;
  color: var(--on-dark-muted);
}
.check input {
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--signal);
  width: 16px;
  height: 16px;
}
.check a { color: var(--on-dark-link); text-decoration: underline; }
.check-consent { margin-bottom: 8px; }
.check-title {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}
.consent-block {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}
.consent-fine {
  grid-column: 1 / -1;
  font-size: 11px;
  line-height: 1.5;
  color: var(--on-dark-faint);
  display: grid;
  gap: 8px;
}
.consent-fine a { color: var(--on-dark-link); text-decoration: underline; }

.form-step {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form-step[hidden] { display: none !important; }
.step-label {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark-link);
  margin-bottom: 2px;
}
.step-confirm {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--on-dark-muted);
  margin-bottom: 4px;
}
.step-summary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 0 0 6px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
}
.step-summary div { min-width: 0; }
.step-summary dt {
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}
.step-summary dd {
  margin: 2px 0 0;
  font-size: 13px;
  color: #fff;
  word-break: break-word;
}
.step-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .28);
  background: transparent;
  color: #fff;
  font-weight: 650;
  font-size: 13px;
  cursor: pointer;
}
.btn-ghost-light:hover { border-color: #fff; }
.join-form .btn-accent {
  grid-column: 1 / -1;
  height: 50px;
}
.step-actions .btn-accent { grid-column: auto; }

.join.join-solo {
  color: var(--ink);
  background:
    radial-gradient(700px 300px at 10% 0%, rgba(126, 179, 217, .25), transparent 55%),
    var(--glow);
}
.join.join-solo .join-kicker { color: var(--signal); }
.join.join-solo h2 { color: var(--ink); }
.join.join-solo .lede { color: var(--soft); }
.join.join-solo .disclaimer {
  color: var(--soft);
  border-top-color: var(--line);
}
.join.join-solo .join-panel {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.join.join-solo .hint,
.join.join-solo .consent-fine,
.join.join-solo .step-confirm { color: var(--soft); }
.join.join-solo .check { color: var(--prose); }
.join.join-solo .check a,
.join.join-solo .consent-fine a { color: var(--accent); }
.join.join-solo .check-title { color: var(--ink); }
.join.join-solo .step-label { color: var(--signal); }
.join.join-solo .step-summary {
  background: var(--glow);
  border-color: var(--line);
}
.join.join-solo .step-summary dt { color: var(--soft); }
.join.join-solo .step-summary dd { color: var(--ink); }
.join.join-solo .btn-ghost-light {
  border-color: var(--line-strong);
  color: var(--accent);
  background: #fff;
}
.join.join-solo .btn-ghost-light:hover {
  border-color: var(--accent);
  background: var(--glow);
}
.join.join-solo .form-error {
  background: #f8e8e8;
  color: #8a2f2f;
}

.form-error {
  grid-column: 1 / -1;
  background: #3b1d1d;
  color: #ffd5d5;
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 13px;
}
.form-error-light {
  background: #f8e8e8;
  color: #7a1f1f;
  margin-bottom: 16px;
}

/* ——— Footer: stacked intro + 3 columns ——— */
.site-footer {
  background: var(--accent-deep);
  color: var(--on-dark);
  padding: 64px 0 32px;
  margin-top: auto;
}
.foot-intro {
  max-width: 420px;
  margin-bottom: 40px;
}
.logo-on-dark { color: #fff; margin-bottom: 14px; }
.logo-on-dark .logo-mark { color: var(--signal); }
.logo-on-dark .logo-text em { color: var(--on-dark-link); }
.foot-intro p {
  color: var(--on-dark-muted);
  font-size: 14px;
  line-height: 1.55;
}
.foot-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer h4 {
  color: #fff;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 700;
}
.site-footer ul { list-style: none; }
.site-footer li { margin: 0 0 10px; font-size: 14px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: #fff; }
.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 13px;
  color: var(--on-dark-faint);
}
.foot-base strong { color: #fff; font-weight: 650; }
.foot-disclaimer {
  margin-top: 18px;
  font-size: 12px;
  color: var(--on-dark-faint);
  max-width: 72ch;
  line-height: 1.5;
}

/* ——— Inner pages ——— */
.site-page {
  width: 100%;
  padding-bottom: 72px;
}
.page-hero {
  width: 100%;
  margin: 0 0 28px;
  padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px);
  background:
    linear-gradient(135deg, var(--glow) 0%, var(--paper) 60%),
    var(--paper);
  border-bottom: 3px solid var(--signal);
}
.page-hero-inner { max-width: 680px; }
.page-hero .kicker { margin-bottom: 10px; }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -.03em;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}
.page-hero .lead {
  margin: 16px 0 0;
  max-width: 58ch;
  color: var(--soft);
  font-size: 17px;
  line-height: 1.6;
}
.page-body {
  padding-top: 8px;
  padding-bottom: 24px;
}
.page-body-narrow { max-width: 560px; margin-left: auto; margin-right: auto; }
.page-body-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
  gap: 24px;
  align-items: start;
}
.page-body-split-flip {
  grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
}
.page-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow);
}
.page-aside {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 28px 24px;
}
.page-aside h2 {
  font-family: var(--display);
  font-size: 22px;
  margin: 0 0 10px;
  color: #fff;
}
.page-aside > p {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 18px;
}
.contact-list {
  list-style: none;
  display: grid;
  gap: 14px;
}
.contact-list li span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark-link);
  margin-bottom: 4px;
}
.contact-list a,
.contact-list address {
  color: #fff;
  font-style: normal;
  font-size: 15px;
  line-height: 1.45;
}
.contact-list a { text-decoration: underline; text-underline-offset: 2px; }

.topic-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 20px 0 28px;
  border-top: 1px solid var(--line);
}
.topic-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.topic-row h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  color: var(--accent);
}
.topic-row p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.page-cta-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px !important;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.page-cta-line > span {
  width: 100%;
  color: var(--soft);
  font-size: 14px;
  margin-bottom: 2px;
}
.page-cta-band {
  width: 100%;
  margin-top: 40px;
  padding: clamp(36px, 5vw, 56px) 0;
  background:
    radial-gradient(600px 240px at 10% 100%, rgba(217, 119, 87, .2), transparent 55%),
    linear-gradient(160deg, var(--join-a) 0%, var(--join-b) 55%, var(--join-c) 100%);
  color: var(--on-dark);
}
.page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.page-cta-copy { max-width: 48ch; }
.page-cta-copy h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0 0 10px;
}
.page-cta-copy p {
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 15px;
  line-height: 1.55;
}
.page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-cta-actions-center {
  justify-content: center;
  margin-top: 24px;
}
.field-hint {
  color: var(--soft);
  margin-top: 8px;
  font-size: 12px;
}
.panel-title {
  font-family: var(--display);
  font-size: 26px;
  margin: 0 0 8px;
  color: var(--ink);
  text-align: center;
}
.panel-copy {
  text-align: center;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 22px;
}

.page {
  width: min(720px, calc(100% - 44px));
  margin: 0 auto;
  padding: 44px 0 64px;
}
.page-wide {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 44px 22px 80px;
}
.page h1 {
  font-family: var(--display);
  font-size: clamp(34px, 4.6vw, 46px);
  letter-spacing: -.02em;
  line-height: 1.12;
  margin: 10px 0 16px;
  color: var(--ink);
  font-weight: 600;
}
.lead { color: var(--soft); font-size: 17px; line-height: 1.6; margin-bottom: 28px; }

.prose a, .legal a, .lead a, .page-hero .lead a {
  color: var(--accent);
  text-decoration: underline;
}
.prose a.btn,
.prose a.btn-accent,
.legal a.btn,
.legal a.btn-accent {
  color: #fff;
  text-decoration: none;
}
.prose a.btn-outline,
.legal a.btn-outline {
  color: var(--accent);
  text-decoration: none;
}
.prose p, .legal p { color: var(--prose); font-size: 17px; line-height: 1.7; margin: 0 0 16px; }
.prose h2, .legal h2 {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -.02em;
  margin: 32px 0 12px;
  color: var(--ink);
}
.page-panel.legal h2:first-child,
.page-panel.prose > h2:first-child { margin-top: 8px; }
.prose h3, .legal h3 {
  font-size: 17px;
  margin: 24px 0 10px;
  color: var(--ink);
}
.prose ul, .legal ul { margin: 0 0 16px 20px; color: var(--prose); }
.prose li, .legal li { margin: 0 0 8px; line-height: 1.6; font-size: 17px; }
.legal li { font-size: 16px; }
.legal h2 {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.crumb { font-size: 13px; color: var(--soft); margin-bottom: 8px; }
.crumb a { text-decoration: underline; }
.article-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 8px 0 28px;
  background: var(--glow);
  border: 0;
  line-height: 0;
}
.article-hero img {
  width: 100%;
  height: auto;
}
.byline { color: var(--soft); font-size: 14px; margin-bottom: 18px; }
.health-note {
  background: var(--glow);
  border: 0;
  border-left: 4px solid var(--signal);
  border-radius: 0;
  padding: 18px 20px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 32px;
}

.safe {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 24px 72px;
}
.card {
  width: min(460px, 100%);
  background: #fff;
  border-radius: 4px;
  padding: 40px 36px 36px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.card h1 {
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: -.02em;
  text-align: center;
  margin-bottom: 10px;
  color: var(--ink);
}
.card > p, .card .intro {
  text-align: center;
  color: var(--soft);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.45;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin: 0 0 8px;
}
.card input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--line);
}
.card .btn-accent { width: 100%; height: 52px; margin-top: 8px; }
.confirm-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--glow);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 16px;
  border: 1px solid var(--line);
}

.contact-form { display: grid; gap: 12px; max-width: none; }
.contact-form .btn-accent { height: 50px; }

/* Cookie: corner panel instead of bottom bar */
.cookie[hidden] { display: none !important; }
.cookie {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: auto;
  transform: none;
  width: min(360px, calc(100% - 40px));
  z-index: 50;
  background: var(--accent-deep);
  color: var(--on-dark);
  border-radius: 4px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow);
  animation: rise .45s ease both;
}
.cookie p { font-size: 13px; line-height: 1.5; max-width: none; }
.cookie a { color: var(--on-dark-link); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; }
.cookie .btn {
  background: #fff;
  color: var(--ink);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
}
.cookie .btn-ghost:hover { border-color: #fff; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slow-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@media (max-width: 1100px) {
  .note-rail { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .page-body-split,
  .page-body-split-flip,
  .topic-row {
    grid-template-columns: 1fr;
  }
  .page-cta-inner { display: block; }
  .page-cta-actions { margin-top: 20px; }
  .page-cta-actions .btn,
  .page-cta-actions .btn-outline { width: 100%; }

  .menu-toggle { display: block; }
  .header-nav-row { border-top: 0; background: transparent; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 8px 0 12px;
    box-shadow: var(--shadow);
    z-index: 30;
  }
  .site-nav a {
    padding: 12px 22px;
    border-bottom: 0;
  }
  .site-nav a.is-active {
    background: var(--glow);
    border-bottom: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-header { position: relative; }

  .path-strip {
    display: block;
    margin-top: 0;
  }
  .path-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .path-item:last-child { border-bottom: 0; }

  .hero-content h1 { max-width: none; }

  .note-rail { grid-template-columns: 1fr; }
  .note-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .join { padding: 40px 0; }
  .join-shell { display: block; }
  .join-copy {
    position: static;
    margin-top: 28px;
  }
  .join h2 { max-width: none; }
  .form-step,
  .step-summary,
  .step-actions { grid-template-columns: 1fr; }
  .step-actions .btn-ghost-light,
  .step-actions .btn-accent { width: 100%; }

  .foot-links { grid-template-columns: 1fr; gap: 24px; }
  .foot-base { display: block; }
  .logo-text strong { font-size: 15px; }
}
