:root {
  --bg: #14121e;
  --bg-deep: #0f0d18;
  --surface: #1c1a29;
  --surface-2: #221f31;
  --border: rgba(224,164,88,0.28);
  --border-soft: rgba(255,255,255,0.08);
  --gold: #e0a458;
  --gold-bright: #f0bc7a;
  --text: #f4efe6;
  --text-muted: #a9a3bd;
  --text-faint: #746f8c;
  --radius: 14px;
  --serif: 'Fraunces', serif;
  --sans: 'Inter', sans-serif;
  --accent: var(--gold);
  --accent-bright: var(--gold-bright);
  --accent-border: var(--border);
}

/* Each condition page tints its accent slightly — a different flame color for a different season of life. Brand gold (buttons, trust elements) stays constant everywhere. */
body[data-theme="pcos"] { --accent: #c9a6e0; --accent-bright: #dcc0f0; --accent-border: rgba(201,166,224,0.32); }
body[data-theme="diabetes"] { --accent: #e0834a; --accent-bright: #f0a06a; --accent-border: rgba(224,131,74,0.32); }
body[data-theme="thyroid"] { --accent: #6fb3a6; --accent-bright: #95d0c3; --accent-border: rgba(111,179,166,0.32); }
body[data-theme="postpartum"] { --accent: #e0a0a8; --accent-bright: #f2c2c7; --accent-border: rgba(224,160,168,0.32); }

* { box-sizing: border-box; margin: 0; padding: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, .area-card:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 6px; }

html { scrollbar-color: rgba(224,164,88,0.5) transparent; scrollbar-width: thin; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ''; position: fixed; top: -20%; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(224,164,88,0.10) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.site-header { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; gap: 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; }
.site-header .brand-mark ellipse { transform-box: fill-box; transform-origin: 50% 50%; animation: flicker 3400ms ease-in-out infinite; }
@keyframes flicker {
  0%, 100% { transform: scale(1); opacity: 1; }
  30% { transform: scale(1.04, 0.96); opacity: 0.9; }
  55% { transform: scale(0.97, 1.03); opacity: 1; }
  80% { transform: scale(1.02, 0.98); opacity: 0.95; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .brand-mark ellipse { animation: none; }
}
.brand-name { font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: 0.02em; color: var(--text); }
.site-nav { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.site-nav a { color: var(--text-muted); font-size: 14.5px; font-weight: 500; text-decoration: none; transition: color 0.2s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--gold-bright); }
.nav-cta { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--gold); background: transparent; border: 1px solid var(--border); padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: all 0.2s ease; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { background: rgba(224,164,88,0.08); border-color: var(--gold); }

.breadcrumb { font-size: 13px; color: var(--text-faint); padding: 4px 0 20px; }
.breadcrumb a { color: var(--text-faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

.hero { text-align: center; display: flex; flex-direction: column; align-items: center; padding: 40px 0 48px; gap: 22px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-bright); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid var(--accent-border); padding: 7px 16px; border-radius: 999px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 5vw, 50px); line-height: 1.15; letter-spacing: -0.01em; max-width: 760px; margin: 0 auto; }
.hero h1 em { font-style: italic; color: var(--accent-bright); }
.hero-sub { color: var(--text-muted); font-size: 16.5px; max-width: 540px; margin: 0 auto; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.chat-mock { max-width: 480px; width: 100%; margin: 8px auto 0; background: var(--surface-2); border: 1px solid var(--border); border-radius: 20px; padding: 20px; text-align: left; box-shadow: 0 20px 60px rgba(0,0,0,0.35); }
.chat-mock-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(224,164,88,0.15); }
.chat-bubble { max-width: 82%; width: fit-content; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; margin-bottom: 10px; }
.chat-bubble.them { background: var(--surface); border: 1px solid var(--border-soft); color: var(--text); border-bottom-left-radius: 4px; }
.chat-bubble.me { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #1a1420; margin-left: auto; border-bottom-right-radius: 4px; font-weight: 500; }
.chat-typing { display: flex; gap: 4px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: 16px; border-bottom-left-radius: 4px; width: fit-content; }
.chat-typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--text-faint); animation: typingBounce 1.2s ease-in-out infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-3px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chat-typing span { animation: none; opacity: 0.7; } }
.btn-primary { font-family: var(--sans); font-weight: 600; font-size: 15px; color: #1a1420; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); border: none; padding: 15px 30px; border-radius: 999px; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 8px 24px rgba(224,164,88,0.22); text-decoration: none; display: inline-flex; align-items: center; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(224,164,88,0.32); }
.btn-ghost { font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--text); background: transparent; border: 1px solid var(--border-soft); padding: 15px 30px; border-radius: 999px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: border-color 0.2s ease; }
.btn-ghost:hover { border-color: var(--border); }

.trust-strip { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 8px 0 24px; text-align: center; }
.trust-item { max-width: 190px; }
.trust-item .ico { font-size: 20px; color: var(--gold); margin-bottom: 10px; display: block; }
.trust-item strong { display: block; color: var(--text); font-size: 14.5px; margin-bottom: 4px; font-weight: 600; }
.trust-item p { font-size: 13.5px; color: var(--text-muted); }

section { padding: 56px 0; position: relative; }
.section-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3.4vw, 34px); max-width: 100%; margin-bottom: 16px; line-height: 1.22; }
.section-title.center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.section-sub { color: var(--text-muted); font-size: 15.5px; max-width: 100%; margin-bottom: 40px; }
.promise .section-sub { max-width: 480px; margin-left: auto; margin-right: auto; text-align: center; }

.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.area-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 22px 20px; text-decoration: none; display: block; transition: border-color 0.2s ease, transform 0.2s ease; }
.area-card:hover { border-color: var(--border); transform: translateY(-3px); }
.area-card .ico { font-size: 22px; margin-bottom: 12px; display: block; }
.area-card h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.area-card p { font-size: 13px; color: var(--text-faint); }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 999px; padding: 10px 18px; font-size: 13.5px; color: var(--text-muted); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 8px; }
.step { position: relative; padding-left: 44px; }
.step-num { position: absolute; left: 0; top: 0; width: 30px; height: 30px; border: 1px solid var(--accent-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 14px; color: var(--accent-bright); }
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); }
/* .benefits marks a parallel list of reasons rather than an ordered sequence — the numbered marker becomes a plain dot so it stops implying an order that isn't there. */
.benefits .step-num { font-size: 0; }
.benefits .step-num::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }

.faq-item { border-bottom: 1px solid var(--border-soft); padding: 18px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: var(--text-muted); }

.promise { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 44px 36px; text-align: center; }
.promise-list { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-top: 24px; text-align: left; }
.promise-list div { display: flex; gap: 10px; align-items: flex-start; max-width: 230px; }
.promise-list .check { color: var(--gold); font-size: 15px; margin-top: 1px; }
.promise-list p { font-size: 13.5px; color: var(--text-muted); }

.signup { text-align: center; }
.signup-box { max-width: 440px; margin: 0 auto; background: var(--surface-2); border: 1px solid var(--border); border-radius: 20px; padding: 36px 30px; }
.signup-box h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin-bottom: 8px; }
.signup-box p { color: var(--text-muted); font-size: 14px; margin-bottom: 22px; }
.field { width: 100%; background: var(--bg-deep); border: 1px solid var(--border-soft); border-radius: 10px; padding: 13px 16px; color: var(--text); font-family: var(--sans); font-size: 14.5px; margin-bottom: 12px; outline: none; transition: border-color 0.2s ease; }
.field::placeholder { color: var(--text-faint); }
.field:focus { border-color: var(--gold); }
.signup-box .btn-primary { width: 100%; justify-content: center; margin-top: 4px; }
.success-msg { display: none; background: rgba(224,164,88,0.09); border: 1px solid var(--border); border-radius: 10px; padding: 14px; font-size: 13.5px; color: var(--gold-bright); margin-top: 12px; }

.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 28px 0 10px; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 10px; max-width: 100%; }
.prose ul { margin: 10px 0 10px 20px; color: var(--text-muted); font-size: 14.5px; max-width: 100%; }
.prose li { margin-bottom: 6px; }

.site-footer { text-align: center; padding: 44px 0 40px; color: var(--text-faint); font-size: 13px; }
.foot-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 4px 0 14px; }
.foot-links a { color: var(--text-faint); font-size: 13px; text-decoration: none; }
.foot-links a:hover { color: var(--gold); }

@media (max-width: 640px) {
  .promise { padding: 32px 20px; }
  .site-header { justify-content: center; text-align: center; }
}
