/* Studio + vibrant Origin panels for Home + Lore */

:root {
  --bg: #0a1612;
  --bg-alt: #0f2219;
  --bg-soft: rgba(15, 34, 25, 0.94);
  --card: #15281c;
  --border: rgba(248, 210, 111, 0.15);
  --mw-theme-color: #0f2219;

  --mw-vibrant-green-1: #234331;
  --mw-vibrant-green-2: #15281c;
  --mw-vibrant-card: rgba(4, 27, 20, 0.88);

  --primary: #f6d365;
  --primary-soft: rgba(246, 211, 101, 0.16);
  --primary-light: #e8c04a;

  --mw-gold: #f6d365;
  --mw-gold-light: #f8e3a3;
  --mw-gold-warm: #f8d26f;

  --text: #f5f8fa;
  --text-muted: #cbd5e1;
  --text-soft: #94a3b8;

  --mw-accent-ink: #1a1500;
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(246, 211, 101, 0.12), transparent 42%),
    radial-gradient(circle at 85% 95%, rgba(34, 197, 94, 0.14), transparent 50%),
    linear-gradient(180deg, #0f2219 0%, #0a1612 100%) !important;
  color: var(--text);
}

/* Origin-style vibrant panel (matches homepage .cta-panel) */
.mw-vibrant-panel {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 2.1rem;
  background: linear-gradient(135deg, var(--mw-vibrant-green-1), var(--mw-vibrant-green-2));
  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.75),
    0 0 48px rgba(34, 197, 94, 0.22),
    0 0 32px rgba(246, 211, 101, 0.12);
  padding: 2.5rem 1.6rem 2.2rem;
  color: #f8fafc;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(248, 210, 111, 0.28);
}

.mw-vibrant-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(248, 250, 252, 0.14), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(34, 197, 94, 0.2), transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(246, 211, 101, 0.06), transparent 70%);
  opacity: 0.95;
  pointer-events: none;
}

.mw-vibrant-panel--wide {
  max-width: 1100px;
}

.mw-vibrant-panel--story {
  max-width: 52rem;
}

.mw-vibrant-panel__inner {
  position: relative;
  z-index: 1;
}

.mw-vibrant-panel .section-eyebrow {
  color: rgba(248, 210, 111, 0.75);
}

.mw-vibrant-panel .section-title {
  color: #f8fafc;
}

.mw-vibrant-panel .section-subtitle {
  color: rgba(226, 232, 240, 0.92);
}

.mw-vibrant-panel .section-prose,
.mw-vibrant-panel .section-prose p {
  color: rgba(226, 232, 240, 0.95);
}

.mw-vibrant-panel .founder-chat--lore {
  margin: 0 0 0.5rem;
}

.mw-vibrant-panel .founder-chat-ctas {
  margin-top: 1.5rem;
}

/* Diaries inside vibrant panel */
.mw-vibrant-panel .diary-card {
  background: var(--mw-vibrant-card);
  border-color: rgba(248, 210, 111, 0.22);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.mw-vibrant-panel .diary-card:hover {
  border-color: rgba(248, 210, 111, 0.55);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 28px rgba(248, 210, 111, 0.18);
  background: radial-gradient(circle at top left, rgba(248, 210, 111, 0.1), transparent 55%), var(--mw-vibrant-card);
}

.mw-vibrant-panel .diary-card--journal-2026 .diary-entry {
  color: rgba(244, 242, 233, 0.92) !important;
  border-left-color: rgba(248, 210, 111, 0.55) !important;
}

.mw-vibrant-panel .diary-card--journal-2026 .diary-context {
  color: rgba(244, 242, 233, 0.85) !important;
}

.mw-vibrant-panel .diary-card--journal-2026 .diary-title {
  color: var(--mw-gold-warm) !important;
}

.mw-vibrant-panel .diary-card--journal-2026 .diary-footnote {
  color: rgba(248, 210, 111, 0.75) !important;
}

.mw-vibrant-panel .diary-tag,
.mw-vibrant-panel .diary-date {
  color: rgba(248, 210, 111, 0.8) !important;
}

/* Founder chat (dark theme; lore layout uses founder-origin-fold overrides below) */
.founder-chat:not(.founder-chat--lore) .founder-chat__msg--you {
  background: rgba(4, 27, 20, 0.92) !important;
  border: 1px solid rgba(248, 210, 111, 0.35) !important;
  color: rgba(244, 242, 233, 0.95) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.founder-chat:not(.founder-chat--lore) .founder-chat__msg--counselor {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(248, 210, 111, 0.2) !important;
  color: rgba(226, 232, 240, 0.95) !important;
}

.founder-chat:not(.founder-chat--lore) .founder-chat__msg--counselor .founder-chat__who {
  color: rgba(248, 210, 111, 0.95) !important;
}

.founder-chat:not(.founder-chat--lore) .founder-chat__warning {
  color: rgba(226, 232, 240, 0.85) !important;
}

.founder-chat:not(.founder-chat--lore) .founder-chat__label {
  color: rgba(248, 210, 111, 0.9) !important;
}

.founder-chat:not(.founder-chat--lore) .founder-chat__transcript {
  background: rgba(4, 27, 20, 0.75) !important;
  border-color: rgba(248, 210, 111, 0.35) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.founder-chat:not(.founder-chat--lore) .founder-chat__footnote {
  color: rgba(203, 213, 225, 0.9) !important;
}

/* Mental health block (nested in story panel) */
.mw-vibrant-panel .mental-health-resources,
.mental-health-resources.mw-vibrant-inset {
  background: rgba(4, 27, 20, 0.82);
  border: 1px solid rgba(248, 210, 111, 0.32);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.mh-support-hub-wrap.mw-vibrant-inset,
.mw-vibrant-panel .mh-support-hub-wrap {
  background: linear-gradient(165deg, #f8f6f1 0%, #ece8df 100%) !important;
  border-color: rgba(248, 210, 111, 0.45) !important;
  color: #142820;
  box-shadow:
    0 14px 36px rgba(20, 40, 32, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

/* ===== Mental health support hub (readable warm paper + traffic-light triage) ===== */
.mh-support-hub {
  --mh-hub-text: #142820;
  --mh-hub-muted: #3a5248;
  --mh-cta: #9a3412;
  --mh-tier-crisis-rail: #e11d48;
  --mh-tier-crisis-wash: #fdf2f2;
  --mh-tier-crisis-ink: #991b1b;
  --mh-tier-urgent-rail: #d97706;
  --mh-tier-urgent-wash: #fff8eb;
  --mh-tier-steady-rail: #15803d;
  --mh-tier-steady-wash: #f3faf5;
  --mh-tier-chat-rail: #1d4ed8;
  --mh-tier-chat-wash: #f0f6ff;
  --mh-tier-ideas-rail: #4f46e5;
  --mh-tier-ideas-wash: #f5f3ff;
  --mh-card: #ffffff;
  --mh-card-shadow: 0 4px 14px rgba(20, 40, 32, 0.08);
  text-align: left;
  color: var(--mh-hub-text);
}

.mh-resources {
  text-align: left;
}

.mh-hub-intro {
  margin-bottom: 1.1rem;
  padding: 0 0 0.25rem;
}

.mh-hub-intro h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--mh-hub-text);
  margin: 0 0 0.45rem;
  font-weight: 700;
  line-height: 1.3;
}

.mh-hub-intro__lead {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--mh-hub-text);
  margin: 0 0 0.4rem;
}

.mh-hub-intro__disclaimer {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--mh-hub-muted);
  margin: 0;
}

.mh-tier-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
  margin: 0.75rem 0 0;
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  background: #ffffff;
  border: 1px solid rgba(20, 40, 32, 0.14);
  box-shadow: var(--mh-card-shadow);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mh-hub-text);
}

.mh-tier-legend__dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  margin-right: 0.25rem;
  vertical-align: middle;
}

.mh-tier-legend__dot--crisis { background: var(--mh-tier-crisis-rail); }
.mh-tier-legend__dot--urgent { background: var(--mh-tier-urgent-rail); }
.mh-tier-legend__dot--steady { background: var(--mh-tier-steady-rail); }
.mh-tier-legend__dot--chat { background: var(--mh-tier-chat-rail); }

.mh-tier {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(26, 46, 40, 0.08);
}

.mh-tier--crisis {
  background: var(--mh-tier-crisis-wash);
  border-left: 5px solid var(--mh-tier-crisis-rail);
  box-shadow: 0 4px 18px rgba(225, 29, 72, 0.08);
}

.mh-tier--urgent {
  background: var(--mh-tier-urgent-wash);
  border-left: 5px solid var(--mh-tier-urgent-rail);
}

.mh-tier--steady {
  background: var(--mh-tier-steady-wash);
  border-left: 5px solid var(--mh-tier-steady-rail);
}

.mh-tier--chat {
  background: var(--mh-tier-chat-wash);
  border-left: 5px solid var(--mh-tier-chat-rail);
}

.mh-tier--ideas {
  background: var(--mh-tier-ideas-wash);
  border-left: 5px solid var(--mh-tier-ideas-rail);
}

.mh-tier__header {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.mh-tier__signal {
  flex-shrink: 0;
  width: 0.75rem;
  height: 0.75rem;
  margin-top: 0.35rem;
  border-radius: 50%;
}

.mh-tier__signal--crisis { background: var(--mh-tier-crisis-rail); box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.2); }
.mh-tier__signal--urgent { background: var(--mh-tier-urgent-rail); }
.mh-tier__signal--steady { background: var(--mh-tier-steady-rail); }
.mh-tier__signal--chat { background: var(--mh-tier-chat-rail); }
.mh-tier__signal--ideas { background: var(--mh-tier-ideas-rail); }

.mh-tier__label-wrap {
  flex: 1;
  min-width: 0;
}

.mh-tier__label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--mh-hub-text);
  line-height: 1.25;
  margin: 0;
}

.mh-tier--crisis .mh-tier__label {
  color: var(--mh-tier-crisis-ink);
}

.mh-tier__tagline {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--mh-hub-muted);
  margin-top: 0.2rem;
  line-height: 1.4;
}

.mh-tier__step {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mh-tier-crisis-ink);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(225, 29, 72, 0.35);
  background: #f0f7f2;
}

.mh-tier__summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  list-style: none;
  min-height: 3.25rem;
  padding: 0.75rem 0.85rem;
  margin: -0.35rem -0.5rem 0;
  border-radius: 0.65rem;
  transition: background 0.15s ease, outline 0.15s ease;
}

.mh-tier__summary::-webkit-details-marker {
  display: none;
}

.mh-tier__summary:hover {
  background: rgba(255, 255, 255, 0.72);
}

.mh-tier--urgent .mh-tier__summary:hover {
  outline: 2px solid rgba(217, 119, 6, 0.25);
}

.mh-tier--steady .mh-tier__summary:hover {
  outline: 2px solid rgba(22, 163, 74, 0.25);
}

.mh-tier--chat .mh-tier__summary:hover {
  outline: 2px solid rgba(37, 99, 235, 0.25);
}

.mh-tier--ideas .mh-tier__summary:hover {
  outline: 2px solid rgba(99, 102, 241, 0.25);
}

.mh-tier__chevron {
  flex-shrink: 0;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  margin-left: auto;
}

.mh-tier--urgent .mh-tier__chevron { color: var(--mh-tier-urgent-rail); }
.mh-tier--steady .mh-tier__chevron { color: var(--mh-tier-steady-rail); }
.mh-tier--chat .mh-tier__chevron { color: var(--mh-tier-chat-rail); }
.mh-tier--ideas .mh-tier__chevron { color: var(--mh-tier-ideas-rail); }

.mh-tier[open] > .mh-tier__summary .mh-tier__chevron {
  transform: rotate(45deg);
}

.mh-tier__body {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(26, 46, 40, 0.1);
}

.mh-tier[open] .mh-tier__body {
  background: rgba(255, 255, 255, 0.5);
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-bottom: 0.35rem;
  border-radius: 0 0 0.65rem 0.65rem;
}

.mh-tier__hint {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--mh-hub-muted);
  margin: 0 0 0.85rem;
}

.mh-subregion {
  margin-top: 1.25rem;
}

.mh-subregion:first-child {
  margin-top: 0;
}

.mh-nested-details {
  margin-top: 0.75rem;
}

.mh-nested-details summary {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mh-hub-text);
  cursor: pointer;
  list-style: none;
  padding: 0.35rem 0;
}

.mh-nested-details summary::-webkit-details-marker {
  display: none;
}

.mh-nested-details__body {
  padding-top: 0.5rem;
}

.mh-nested-details__links {
  font-size: 0.88rem;
  margin: 0.35rem 0 0;
}

.mh-nested-details__links a {
  color: var(--mh-cta);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mh-region-head--chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--mh-card);
  border: 1px solid rgba(26, 46, 40, 0.1);
  box-shadow: var(--mh-card-shadow);
}

.mh-region-head--chip .mh-region-head__title {
  margin: 0;
  font-size: 0.88rem;
}

.mh-support-hub .mh-call-card--crisis {
  border-color: rgba(225, 29, 72, 0.25);
  background: var(--mh-card);
  box-shadow: var(--mh-card-shadow);
  min-height: 5.5rem;
}

.mh-support-hub .mh-call-card--crisis .mh-call-card__number {
  color: var(--mh-tier-crisis-ink);
  font-size: clamp(1.35rem, 4vw, 1.6rem);
}

.mh-support-hub .mh-call-card--crisis .mh-call-card__org,
.mh-support-hub .mh-call-card--crisis .mh-call-card__note,
.mh-support-hub .mh-call-card--crisis .mh-call-card__alt {
  color: var(--mh-hub-muted);
}

.mh-helpline-grid--crisis {
  margin-top: 0.25rem;
}

.mh-support-hub .mh-region-head__title {
  color: var(--mh-hub-text);
}

.mh-support-hub .mh-region-head__hint {
  color: var(--mh-hub-muted);
}

.mh-support-hub .mh-link-card {
  border-color: rgba(26, 46, 40, 0.1);
  background: var(--mh-card);
  box-shadow: var(--mh-card-shadow);
}

.mh-support-hub .mh-link-card:hover {
  border-color: rgba(180, 83, 9, 0.35);
  box-shadow: 0 8px 20px rgba(26, 46, 40, 0.12);
}

.mh-support-hub .mh-link-card__name {
  color: var(--mh-hub-text);
}

.mh-support-hub .mh-link-card__cta {
  color: var(--mh-cta);
  font-weight: 700;
}

.mh-support-hub .mh-call-card {
  border-color: rgba(26, 46, 40, 0.1);
  background: var(--mh-card);
  box-shadow: var(--mh-card-shadow);
}

.mh-support-hub .mh-call-card:hover {
  border-color: rgba(180, 83, 9, 0.35);
  box-shadow: 0 8px 20px rgba(26, 46, 40, 0.12);
}

.mh-support-hub .mh-call-card__org,
.mh-support-hub .mh-call-card__note {
  color: var(--mh-hub-muted);
}

.mh-support-hub .mh-call-card__number {
  color: var(--mh-cta);
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  font-weight: 700;
}

.mh-support-hub .mh-call-card--emergency {
  border-color: rgba(225, 29, 72, 0.35);
  background: var(--mh-card);
}

.mh-support-hub .mh-call-card--emergency .mh-call-card__number {
  color: var(--mh-tier-crisis-ink);
}

.mh-support-hub .mh-more-links li {
  color: var(--mh-hub-text);
}

.mh-support-hub .mh-more-links a {
  color: var(--mh-cta);
  font-weight: 600;
}

.mh-support-hub .mh-partner-card {
  border-color: rgba(26, 46, 40, 0.1);
  background: var(--mh-card);
  box-shadow: var(--mh-card-shadow);
}

.mh-support-hub .mh-partner-card p {
  color: var(--mh-hub-muted);
}

.mh-support-hub .mh-partner-card__name a {
  color: var(--mh-cta);
  font-weight: 600;
}

.mh-support-hub .mh-chat-disclaimer,
.mh-support-hub .mh-chat-global-note {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--mh-hub-muted);
  margin: 0 0 0.65rem;
}

.mh-chat-picker {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 100%;
}

.mh-chat-picker-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

@media (min-width: 520px) {
  .mh-chat-picker-row {
    flex-direction: row;
    align-items: stretch;
  }

  .mh-chat-select {
    flex: 1;
  }

  .mh-chat-open-btn {
    align-self: stretch;
  }
}

.mh-chat-select-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mh-hub-text);
}

.mh-chat-select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 2.25rem 0.65rem 0.85rem;
  border-radius: 0.55rem;
  border: 2px solid rgba(77, 99, 89, 0.35);
  background: var(--mh-card)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231a2e28' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 0.85rem center;
  color: var(--mh-hub-text);
  font-size: 0.95rem;
  font-family: inherit;
  appearance: none;
  box-shadow: var(--mh-card-shadow);
}

.mh-chat-select:focus {
  outline: none;
  border-color: rgba(248, 210, 111, 0.85);
  box-shadow: 0 0 0 3px rgba(248, 210, 111, 0.35);
}

.mh-chat-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 10rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.1rem;
  border-radius: 0.55rem;
  border: 2px solid rgba(26, 46, 40, 0.12);
  background: #e8ece9;
  color: var(--mh-hub-muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  pointer-events: none;
}

.mh-chat-open-btn.is-ready {
  background: linear-gradient(90deg, #f6d365, #e8c04a);
  border-color: transparent;
  color: var(--mw-accent-ink, #1a1500);
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(246, 211, 101, 0.25);
}

.mh-chat-open-hint {
  font-size: 0.8rem;
  color: var(--mh-hub-muted);
  margin: 0;
}

.mh-idea-card {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(26, 46, 40, 0.08);
  border-left: 4px solid var(--mh-tier-ideas-rail);
  background: var(--mh-card);
  box-shadow: var(--mh-card-shadow);
}

.mh-idea-card:first-of-type {
  margin-top: 0.5rem;
}

.mh-idea-card__title {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--mh-hub-text);
}

.mh-idea-card__text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--mh-hub-muted);
  margin: 0 0 0.65rem;
}

.mh-idea-list {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--mh-hub-text);
}

.mh-waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mh-waitlist-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

@media (min-width: 520px) {
  .mh-waitlist-fields {
    grid-template-columns: 1fr 1fr;
  }

  .mh-waitlist-field--full {
    grid-column: 1 / -1;
  }
}

.mh-waitlist-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mh-hub-text);
  margin-bottom: 0.3rem;
}

.mh-waitlist-optional {
  font-weight: 500;
  color: var(--mh-hub-muted);
}

.mh-waitlist-input {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(77, 99, 89, 0.3);
  background: var(--mh-card);
  color: var(--mh-hub-text);
  font-size: 0.9rem;
  font-family: inherit;
  box-shadow: 0 1px 4px rgba(26, 46, 40, 0.05);
}

.mh-waitlist-input::placeholder {
  color: rgba(77, 99, 89, 0.55);
}

.mh-waitlist-input:focus {
  outline: none;
  border-color: rgba(248, 210, 111, 0.75);
  box-shadow: 0 0 0 3px rgba(248, 210, 111, 0.25);
}

.mh-waitlist-textarea {
  resize: vertical;
  min-height: 3rem;
}

.mh-waitlist-check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--mh-hub-muted);
  cursor: pointer;
}

.mh-waitlist-check input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--mw-gold);
}

.mh-waitlist-check a {
  color: var(--mh-cta);
  font-weight: 600;
}

.mh-waitlist-btn {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 0.55rem;
  border: none;
  background: linear-gradient(90deg, #f6d365, #e8c04a);
  color: var(--mw-accent-ink, #1a1500);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 22px rgba(246, 211, 101, 0.22);
}

@media (min-width: 520px) {
  .mh-waitlist-btn {
    width: auto;
    align-self: flex-start;
  }
}

.mh-waitlist-btn:hover {
  filter: brightness(1.06);
}

.mh-waitlist-msg {
  font-size: 0.85rem;
  margin: 0;
}

.mh-waitlist-msg.is-success {
  color: #15803d;
  font-weight: 600;
}

.mh-waitlist-msg.is-error {
  color: #b91c1c;
  font-weight: 600;
}

/* Founder origin (collapsed by default; same paper surface as MH hub) */
.founder-origin-fold {
  margin-top: 1.25rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(20, 40, 32, 0.14);
  background: linear-gradient(165deg, #f8f6f1 0%, #ece8df 100%);
  box-shadow: var(--mh-card-shadow, 0 4px 14px rgba(20, 40, 32, 0.08));
  color: #142820;
}

.founder-origin-fold__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  list-style: none;
  color: #142820;
}

.founder-origin-fold__summary::-webkit-details-marker {
  display: none;
}

.founder-origin-fold__summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-left: auto;
  border-right: 2px solid #9a3412;
  border-bottom: 2px solid #9a3412;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.founder-origin-fold[open] > .founder-origin-fold__summary::after {
  transform: rotate(45deg);
}

.founder-origin-fold__label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.founder-origin-fold__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3a5248;
  font-weight: 600;
}

.founder-origin-fold__title {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  color: #142820;
  line-height: 1.3;
}

.founder-origin-fold__hint {
  font-size: 0.82rem;
  color: #3a5248;
  font-weight: 500;
}

.founder-origin-fold__body {
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(20, 40, 32, 0.1);
  color: #142820;
}

.founder-origin-fold__lead {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #142820;
  margin: 0.85rem 0 0.85rem;
}

/* Lore chat bubbles inside founder fold (high contrast on paper) */
.founder-origin-fold .founder-chat--lore .founder-chat__msg--you {
  align-self: flex-start;
  background: #1e3329 !important;
  border: 1px solid rgba(20, 40, 32, 0.25) !important;
  color: #f5f2eb !important;
  box-shadow: 0 2px 10px rgba(20, 40, 32, 0.12) !important;
}

.founder-origin-fold .founder-chat--lore .founder-chat__msg--counselor {
  align-self: flex-start;
  background: #ffffff !important;
  border: 1px solid rgba(20, 40, 32, 0.14) !important;
  color: #142820 !important;
  box-shadow: 0 2px 8px rgba(20, 40, 32, 0.06) !important;
}

.founder-origin-fold .founder-chat--lore .founder-chat__who {
  opacity: 1 !important;
  color: rgba(245, 242, 235, 0.9) !important;
}

.founder-origin-fold .founder-chat--lore .founder-chat__msg--counselor .founder-chat__who {
  color: #166534 !important;
}

.founder-origin-fold .founder-chat--lore .founder-chat__shot-caption {
  color: #3a5248 !important;
}

.founder-origin-more {
  margin-top: 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(20, 40, 32, 0.12);
  background: #ffffff;
}

.founder-origin-more__summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #142820;
  cursor: pointer;
  list-style: none;
}

.founder-origin-more__summary::-webkit-details-marker {
  display: none;
}

.founder-origin-more__summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-left: auto;
  border-right: 2px solid #9a3412;
  border-bottom: 2px solid #9a3412;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.founder-origin-more[open] > .founder-origin-more__summary::after {
  transform: rotate(45deg);
}

.founder-origin-more__body {
  padding: 0 0.9rem 0.9rem;
  border-top: 1px solid rgba(20, 40, 32, 0.08);
  color: #142820;
}

.founder-origin-transcript {
  margin-top: 0.85rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(20, 40, 32, 0.12);
  background: #f8f6f1;
}

.founder-origin-transcript summary {
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #142820;
  cursor: pointer;
  list-style: none;
}

.founder-origin-transcript summary::-webkit-details-marker {
  display: none;
}

.founder-origin-transcript .founder-chat__shots {
  padding: 0 0.85rem 0.85rem;
  background: #ffffff;
  border-radius: 0 0 0.5rem 0.5rem;
}

.mh-hero {
  margin-bottom: 1.1rem;
  padding: 1rem 1.05rem;
  border-left: 4px solid rgba(248, 210, 111, 0.75);
  border-radius: 0 0.5rem 0.5rem 0;
  background: rgba(248, 210, 111, 0.14);
}

.mh-hero h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: #f8fafc;
  margin: 0 0 0.45rem;
  font-weight: 600;
  line-height: 1.3;
}

.mh-hero-lead {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(244, 242, 233, 0.95);
  margin: 0 0 0.4rem;
}

.mh-hero-disclaimer {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(203, 213, 225, 0.92);
  margin: 0;
}

.mh-exam-details {
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
}

.mh-exam-details summary {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(203, 213, 225, 0.95);
  cursor: pointer;
  list-style: none;
}

.mh-exam-details summary::-webkit-details-marker {
  display: none;
}

.mh-exam-details[open] summary {
  margin-bottom: 0.45rem;
}

.mh-exam-details__links {
  font-size: 0.88rem;
  margin: 0;
}

.mh-exam-details__links a {
  color: var(--mw-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mh-region {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248, 210, 111, 0.22);
}

.mh-region--uk {
  margin-top: 1.25rem;
  padding-top: 0;
  border-top: none;
}

.mh-region-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.mh-region-flag {
  flex-shrink: 0;
  border-radius: 0.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.mh-region-head__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  line-height: 1.25;
}

.mh-region-head__hint {
  font-size: 0.82rem;
  color: rgba(248, 210, 111, 0.85);
  margin: 0.15rem 0 0;
}

.mh-link-collage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.mh-link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 5.5rem;
  padding: 1.1rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(248, 210, 111, 0.38);
  background: rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mh-link-card:hover {
  border-color: rgba(248, 210, 111, 0.65);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 16px rgba(248, 210, 111, 0.12);
}

.mh-link-card__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.35rem;
}

.mh-link-card__note {
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(203, 213, 225, 0.85);
  margin: 0 0 0.65rem;
  flex: 1;
}

.mh-link-card__cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mw-gold);
  text-decoration: none;
}

.mh-link-card__cta:hover {
  text-decoration: underline;
}

.mh-call-primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  width: 100%;
  padding: 1rem 1.15rem;
  border-radius: 0.9rem;
  border: 2px solid rgba(248, 210, 111, 0.55);
  background: linear-gradient(135deg, rgba(248, 210, 111, 0.2), rgba(248, 210, 111, 0.08));
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mh-call-primary:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 210, 111, 0.85);
  box-shadow: 0 10px 28px rgba(246, 211, 101, 0.25);
}

.mh-call-primary__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(244, 242, 233, 0.9);
}

.mh-call-primary__number {
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  font-weight: 700;
  color: var(--mw-gold);
  letter-spacing: 0.02em;
}

.mh-call-primary__note {
  font-size: 0.8rem;
  color: rgba(203, 213, 225, 0.9);
}

.mh-helpline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.mh-helpline-grid--secondary {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.mh-call-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.15rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(248, 210, 111, 0.4);
  background: rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mh-call-card:hover {
  border-color: rgba(248, 210, 111, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), 0 0 14px rgba(248, 210, 111, 0.1);
}

.mh-call-card--emergency {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(127, 29, 29, 0.25);
}

.mh-call-card--emergency:hover {
  border-color: rgba(248, 113, 113, 0.7);
}

.mh-call-card__org {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(244, 242, 233, 0.92);
}

.mh-call-card__number {
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  font-weight: 700;
  color: var(--mw-gold);
  line-height: 1.2;
}

.mh-call-card__alt {
  font-size: 0.78rem;
  color: rgba(248, 210, 111, 0.8);
}

.mh-call-card__note {
  font-size: 0.8rem;
  color: rgba(203, 213, 225, 0.88);
  margin-top: 0.15rem;
}

.mh-call-card--compact {
  padding: 0.95rem 0.9rem;
}

.mh-more-india {
  margin-top: 0.5rem;
}

.mh-more-india summary {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(248, 210, 111, 0.9);
  cursor: pointer;
  list-style: none;
  padding: 0.65rem 0;
}

.mh-more-india summary::-webkit-details-marker {
  display: none;
}

.mh-more-india__body {
  padding-top: 0.5rem;
}

.mh-more-links {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.mh-more-links li {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.9);
  margin-bottom: 0.5rem;
  padding-left: 0;
}

.mh-more-links a {
  color: var(--mw-gold);
  font-weight: 600;
  text-decoration: none;
}

.mh-more-links a:hover {
  text-decoration: underline;
}

.mh-partner-card {
  margin-top: 0.5rem;
  padding: 1rem 1.05rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(248, 210, 111, 0.22);
  background: rgba(248, 210, 111, 0.08);
}

.mh-partner-card__name {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.mh-partner-card__name a {
  color: var(--mw-gold);
  text-decoration: none;
}

.mh-partner-card__name a:hover {
  text-decoration: underline;
}

.mh-partner-card p {
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(203, 213, 225, 0.9);
  margin: 0;
}

.mh-chat-disclaimer {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(203, 213, 225, 0.92);
  margin: 0 0 1rem;
}

.mh-link-collage--quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .mh-link-collage--quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .mh-link-collage:not(.mh-link-collage--quad) {
    grid-template-columns: 1fr;
  }

  .mh-helpline-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .mh-link-collage--quad {
    grid-template-columns: 1fr;
  }
}

/* Buttons */
.btn-primary,
.btn.btn-primary {
  background: linear-gradient(90deg, #f6d365, #e8c04a) !important;
  color: var(--mw-accent-ink, #1a1500) !important;
  border-color: transparent !important;
  box-shadow: 0 12px 36px rgba(246, 211, 101, 0.35) !important;
}

.btn-primary:hover,
.btn.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 16px 44px rgba(246, 211, 101, 0.45) !important;
}

.btn-outline {
  border-color: rgba(248, 210, 111, 0.65) !important;
  color: var(--mw-gold-warm) !important;
}

.btn-outline:hover {
  background: rgba(248, 210, 111, 0.12) !important;
}

.text-gradient {
  background: linear-gradient(135deg, #f8e3a3, #f6d365, #e8c04a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
