/* ==================================================================
   The Menopause Partner — landing page
   Simple, portable, no build step required.
   ================================================================== */

:root {
  --primary: #1F5DAA;
  --primary-dark: #164B8A;
  --support: #4D8BFF;
  --accent: #F4B6C2;
  --accent-dark: #EAA1AE;
  --bg: #F7FAFC;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --text: #1A202C;
  --text-secondary: #4A5568;
  --text-tertiary: #718096;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-card: 0 4px 24px rgba(31, 93, 170, 0.08);
  --shadow-button: 0 6px 16px rgba(31, 93, 170, 0.25);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Text", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 250, 252, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 40px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 15px;
}
.site-nav a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-button);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 60px 0 90px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: rgba(31, 93, 170, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-copy h1 {
  font-size: clamp(34px, 5.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  font-weight: 800;
  margin: 0 0 20px;
}
.accent { color: var(--primary); }
.lede {
  color: var(--text-secondary);
  font-size: 19px;
  line-height: 1.55;
  max-width: 550px;
  margin: 0 0 16px;
}
.lede-small {
  color: var(--text-tertiary);
  font-size: 15px;
  font-style: italic;
  max-width: 500px;
  margin: 0 0 32px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
}

/* ---------- Hero visual (fake phone) ---------- */
.hero-visual { display: flex; justify-content: center; }
.phone-frame {
  width: 300px;
  height: 610px;
  background: #0F172A;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(31, 93, 170, 0.25), 0 8px 24px rgba(15, 23, 42, 0.25);
  position: relative;
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 20px;
  background: #0F172A;
  border-radius: 12px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #ffffff 0%, #F0F5FF 100%);
  border-radius: 34px;
  padding: 60px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.phone-icon { width: 96px; height: 96px; margin-top: 12px; }
.phone-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 16px 0 4px;
  line-height: 1.15;
  letter-spacing: -0.4px;
}
.phone-tag {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 0 0 24px;
}
.phone-tip {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 18px 18px;
  border-radius: 18px;
  text-align: left;
  margin-top: auto;
  box-shadow: var(--shadow-card);
}
.phone-tip-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.phone-tip-text {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

/* ---------- Section headings ---------- */
.section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
  text-align: center;
}
.section-sub {
  color: var(--text-secondary);
  text-align: center;
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 48px;
}

/* ---------- Familiar (emotional connection) ---------- */
.familiar {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.familiar-inner { max-width: 780px; margin: 0 auto; }
.familiar-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 32px;
  display: grid;
  gap: 14px;
}
.familiar-list li {
  background: var(--bg);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 17px;
  color: var(--text);
  line-height: 1.45;
}
.familiar-message {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius-lg);
}
.familiar-message p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
}
.familiar-message p:last-child { color: var(--primary); font-weight: 600; margin: 0; }
.familiar-message strong { color: var(--primary); }

/* ---------- Partner Plus (Coming Soon) ---------- */
.partner-plus {
  padding: 90px 0;
  background: linear-gradient(180deg, #F0F5FF 0%, #FDF0F3 100%);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.plus-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.plus-list {
  list-style: none;
  padding: 0;
  max-width: 520px;
  margin: 0 auto 32px;
  display: grid;
  gap: 12px;
  text-align: left;
}
.plus-list li {
  background: #fff;
  padding: 14px 20px 14px 44px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  position: relative;
  box-shadow: var(--shadow-card);
}
.plus-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-weight: 800;
  font-size: 18px;
}
.plus-cta { display: inline-block; margin-top: 8px; }

/* ---------- Why ---------- */
.why { background: #fff; padding: 64px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.why-stat {
  text-align: center;
  padding: 20px 8px;
}
.why-stat strong {
  display: block;
  font-size: 44px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}
.why-stat span { color: var(--text-secondary); font-size: 14px; }
.why-quote {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  color: var(--text);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

/* ---------- Features ---------- */
.features { padding: 90px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.feature p { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.55; }

/* ---------- Curriculum ---------- */
.curriculum {
  padding: 90px 0;
  background: linear-gradient(180deg, #fff 0%, #F0F5FF 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mod {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.mod:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.mod-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--support);
  margin-bottom: 8px;
}
.mod h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.mod p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.5; }

/* ---------- Who it's for ---------- */
.who { padding: 90px 0; }
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.who-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: left;
}
.who-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.2px;
}
.who-card p { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.5; }

/* ---------- Quote ---------- */
.quote-section {
  background: var(--primary);
  color: #fff;
  padding: 80px 0;
}
.quote-section blockquote {
  margin: 0;
  text-align: center;
}
.quote-section p {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.4px;
  max-width: 800px;
  margin: 0 auto 20px;
}
.quote-section cite {
  color: rgba(255, 255, 255, 0.75);
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* ---------- FAQ ---------- */
.faq { padding: 90px 0; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.faq summary {
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  padding-right: 30px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 500;
  font-size: 22px;
  color: var(--primary);
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 12px 0 0; color: var(--text-secondary); font-size: 16px; line-height: 1.55; }

/* ---------- Download / waitlist ---------- */
.download {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}
.download-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.download h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}
.download p { color: rgba(255, 255, 255, 0.9); font-size: 18px; margin: 0; max-width: 480px; }
.waitlist {
  display: flex;
  gap: 8px;
  background: #fff;
  padding: 6px;
  border-radius: var(--radius);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
.waitlist input {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: var(--radius-sm);
  outline: none;
  color: var(--text);
  min-width: 0;
}
.waitlist .btn { flex-shrink: 0; }
.waitlist-done {
  color: var(--text);
  font-weight: 600;
  padding: 12px 16px;
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-logo { height: 40px; width: auto; }
.footer-tag {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 8px 0 0;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
}
.footer-copy {
  color: var(--text-tertiary);
  font-size: 12px;
  max-width: 640px;
  margin: 0;
  line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero { padding: 40px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-badges { justify-content: center; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-stat strong { font-size: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .curriculum-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .download-inner { grid-template-columns: 1fr; text-align: center; }
  .download p { margin-left: auto; margin-right: auto; }
  .site-nav a:not(.btn) { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .brand-logo { height: 32px; }
  .curriculum-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .waitlist { flex-direction: column; padding: 12px; }
  .waitlist .btn { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ============================================================================
   PRICING CARDS
   ============================================================================ */
.pricing { padding: 80px 0; background: var(--surface); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.plan-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(31, 93, 170, 0.12); }
.plan-card-featured {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(31, 93, 170, 0.12);
  transform: scale(1.03);
}
.plan-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--surface-alt);
  color: var(--text-secondary);
}
.plan-badge-accent { background: var(--accent); color: var(--primary-dark); }
.plan-name { font-size: 20px; font-weight: 800; color: var(--text); margin: 0; }
.plan-price { font-size: 16px; color: var(--text-secondary); margin: 0; }
.plan-price strong { font-size: 40px; color: var(--text); letter-spacing: -1px; margin-right: 4px; }
.plan-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-secondary); }
.plan-features li { line-height: 1.4; }

.btn-block { display: block; width: 100%; text-align: center; }

/* ============================================================================
   SIGNUP FORM
   ============================================================================ */
.signup {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
}
.signup-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 720px) {
  .signup-inner { grid-template-columns: 1fr; gap: 32px; }
  .plan-card-featured { transform: none; }
}
.signup-copy h2 { font-size: 32px; letter-spacing: -0.5px; margin: 0 0 12px; color: var(--text); }
.signup-lede { color: var(--text-secondary); font-size: 16px; line-height: 1.55; margin: 0 0 24px; }
.signup-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; color: var(--text-secondary); font-size: 15px; }
.signup-form {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(31, 93, 170, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: 0.2px; }
.field input {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.15s ease;
}
.field input:focus { outline: none; border-color: var(--primary); }
.plan-toggle { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.plan-toggle legend { padding: 0; margin-bottom: 6px; }
.radio-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.radio-tile input { accent-color: var(--primary); }
.radio-tile:hover { border-color: var(--primary); }
.radio-tile:has(input:checked) { border-color: var(--primary); background: rgba(31, 93, 170, 0.06); }
.radio-tile span { display: flex; flex-direction: column; }
.radio-tile strong { font-size: 15px; color: var(--text); }
.radio-tile small { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.signup-error { color: #C53030; font-size: 14px; min-height: 20px; margin: 0; }
.signup-legal { font-size: 12px; color: var(--text-secondary); margin: 0; text-align: center; line-height: 1.5; }
.signup-legal a { color: var(--primary); text-decoration: underline; }
.signup-login { font-size: 13px; color: var(--text-secondary); margin: 0; text-align: center; }
.signup-login a { color: var(--primary); font-weight: 600; }

/* ============================================================================
   SUCCESS SECTION
   ============================================================================ */
.success { padding: 80px 0; background: linear-gradient(180deg, #F0F9FF 0%, #fff 100%); }
.success-inner { text-align: center; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #38A169;
  color: #fff;
  font-size: 40px;
  line-height: 72px;
  font-weight: 800;
  margin-bottom: 8px;
}
.success h2 { font-size: 32px; letter-spacing: -0.5px; margin: 0; color: var(--text); }
.success-lede { color: var(--text-secondary); font-size: 17px; line-height: 1.55; margin: 0; }
.success-hint { color: var(--text-secondary); font-size: 14px; margin: 8px 0 0; }
