/* === BASE === */
:root {
  --bg: #FDF9F5;
  --bg-alt: #F5EDE2;
  --fg: #1A2D2A;
  --fg-muted: #4A635F;
  --accent: #C4704F;
  --accent-dark: #A85D3F;
  --green-deep: #1C3D3A;
  --green-mid: #2D5C57;
  --sage: #8A9E8C;
  --phase-menstrual: #D4827A;
  --phase-follicular: #E8A87C;
  --phase-ovulation: #C4704F;
  --phase-luteal: #7B8A9E;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
nav {
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid rgba(28, 61, 58, 0.08);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--green-deep);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-link {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 0.3rem;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--fg); }
.nav-link-accent {
  font-size: 0.85rem;
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--accent);
  border-radius: 0.3rem;
  transition: all 0.2s;
}
.nav-link-accent:hover { background: var(--accent); color: white; }

/* === HERO === */
.hero {
  padding: 6rem 2.5rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-eyebrow {
  margin-bottom: 2rem;
}
.eyebrow-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(196, 112, 79, 0.1);
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--green-deep);
  margin-bottom: 1.8rem;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 3.5rem;
  font-weight: 300;
}
.hero-stats {
  display: flex;
  gap: 0;
  align-items: center;
  border-top: 1px solid rgba(28, 61, 58, 0.1);
  padding-top: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--green-deep);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  max-width: 120px;
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 3rem;
  background: rgba(28, 61, 58, 0.12);
  margin: 0 2rem;
  align-self: center;
}

/* === WHY === */
.why {
  background: var(--bg-alt);
  padding: 6rem 2.5rem;
}
.why-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.why-header {
  margin-bottom: 3.5rem;
}
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.why-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  color: var(--green-deep);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(28, 61, 58, 0.06);
}
.why-icon {
  margin-bottom: 1.2rem;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--green-deep);
  margin-bottom: 0.8rem;
}
.why-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === CYCLEMAP === */
.cyclemap {
  padding: 6rem 2.5rem;
}
.cyclemap-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.cyclemap-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--green-deep);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.cyclemap-text p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.cyclemap-visual {
  background: var(--bg-alt);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid rgba(28, 61, 58, 0.07);
}
.phase-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
}
.phase-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg);
}
.phase-desc {
  font-size: 0.65rem;
  color: var(--fg-muted);
}
.phase-bar {
  height: 6px;
  width: 100%;
  border-radius: 3px;
  margin-top: 0.5rem;
}
.phase-menstrual .phase-bar { background: var(--phase-menstrual); }
.phase-follicular .phase-bar { background: var(--phase-follicular); }
.phase-ovulation .phase-bar { background: var(--phase-ovulation); }
.phase-luteal .phase-bar { background: var(--phase-luteal); }
.cycle-legend {
  display: flex;
  gap: 1.5rem;
  font-size: 0.7rem;
  color: var(--fg-muted);
  padding: 0.8rem 0;
  border-top: 1px solid rgba(28, 61, 58, 0.08);
  border-bottom: 1px solid rgba(28, 61, 58, 0.08);
  margin-bottom: 0.8rem;
}
.cycle-note {
  font-size: 0.78rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* === CONDITIONS === */
.conditions {
  background: var(--green-deep);
  padding: 6rem 2.5rem;
}
.conditions-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.conditions-header {
  margin-bottom: 3rem;
}
.conditions-header .section-eyebrow {
  color: var(--sage);
}
.conditions-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  color: var(--bg);
  letter-spacing: -0.02em;
}
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.condition-card {
  display: flex;
  background: rgba(255,255,255,0.05);
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.condition-accent {
  width: 4px;
  background: var(--accent);
  flex-shrink: 0;
}
.condition-content {
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
}
.condition-content h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--bg);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}
.condition-content p {
  font-size: 0.85rem;
  color: rgba(253,249,245,0.65);
  line-height: 1.65;
}

/* === MANIFESTO === */
.manifesto {
  padding: 5rem 2.5rem;
}
.manifesto-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-rule {
  width: 3rem;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 2.5rem;
}
blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--green-deep);
  line-height: 1.75;
  margin-bottom: 1.2rem;
  font-style: italic;
}
blockquote p:last-of-type {
  margin-bottom: 2.5rem;
}

/* === CLOSING === */
.closing {
  background: var(--bg-alt);
  padding: 6rem 2.5rem;
  text-align: center;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--green-deep);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === FOOTER === */
footer {
  border-top: 1px solid rgba(28, 61, 58, 0.08);
  padding: 2.5rem 2.5rem 1.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(28, 61, 58, 0.06);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-deep);
  display: block;
  margin-bottom: 0.6rem;
}
.footer-brand p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.footer-links span {
  font-size: 0.78rem;
  color: var(--fg-muted);
}
.footer-bottom {
  max-width: 1100px;
  margin: 1rem auto 0;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: var(--fg-muted);
}

/* === CTA BUTTON === */
.cta-btn-primary {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.9rem 2.2rem;
  border-radius: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}
.cta-btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 4rem 1.5rem 3.5rem; }
  .hero-headline { font-size: 2.8rem; }
  .hero-stats { flex-direction: column; gap: 1.2rem; }
  .stat-divider { display: none; }
  
  .why { padding: 4rem 1.5rem; }
  .why-grid { grid-template-columns: 1fr; }
  
  .cyclemap { padding: 4rem 1.5rem; }
  .cyclemap-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .cyclemap-visual { order: -1; }
  
  .conditions { padding: 4rem 1.5rem; }
  .conditions-grid { grid-template-columns: 1fr; }
  
  .manifesto { padding: 4rem 1.5rem; }
  
  .closing { padding: 4rem 1.5rem; }
  
  footer { padding: 2rem 1.5rem 1rem; }
  .footer-inner { flex-direction: column; }
  
  nav { padding: 1rem 1.5rem; }
}