/* ===== VARIABLES ===== */
:root {
  --navy: #0f1729;
  --navy-light: #1a2540;
  --navy-mid: #243356;
  --amber: #e8913a;
  --amber-light: #f4b76b;
  --amber-glow: rgba(232, 145, 58, 0.15);
  --teal: #2bb5a0;
  --teal-light: #3edbc2;
  --coral: #e05c4d;
  --off-white: #f5f2ed;
  --warm-gray: #e8e4dd;
  --text-primary: #f5f2ed;
  --text-secondary: #a8b2c4;
  --text-muted: #6b7a94;
  --green: #4caf7d;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-width: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
/* The blur lives on a pseudo-element: backdrop-filter on nav itself would make nav the
   containing block for the fixed mobile menu and squeeze it into the bar's height. */
nav::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: rgba(15, 23, 41, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-inner {
  max-width: calc(var(--max-width) + 4rem);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  position: relative; z-index: 101;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--amber);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--text-primary); font-weight: 300; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--amber); }

/* Resources dropdown: a <details> element, so it opens by click, tap or keyboard without JavaScript.
   js/nav.js closes it on an outside click or Escape. */
.nav-menu { position: relative; }
.nav-menu summary {
  list-style: none;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: '\25BE'; margin-left: 0.35rem; font-size: 0.75rem; }
.nav-menu summary:hover, .nav-menu[open] summary { color: var(--text-primary); }
.nav-menu-panel {
  position: absolute;
  top: calc(100% + 1rem);
  right: -1rem;
  min-width: 270px;
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
.nav-menu-panel a { padding: 0.45rem 0.75rem; border-radius: 8px; }
.nav-menu-panel a:hover { background: var(--amber-glow); color: var(--text-primary); }
.nav-menu-label {
  margin: 0.6rem 0.75rem 0.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative; z-index: 101;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}
.btn-primary {
  background: var(--amber);
  color: var(--navy);
}
.btn-primary:hover { background: var(--amber-light); transform: translateY(-1px); }
/* Keep button text readable where ancestor link rules recolor anchors */
.nav-links a.btn-primary, .legal-page a.btn-primary, .nav-links a.btn-primary:hover, .legal-page a.btn-primary:hover { color: var(--navy); text-decoration: none; }
.legal-page a.btn-secondary { text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }
.btn-small { padding: 0.5rem 1rem; font-size: 0.85rem; }
.price-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1rem 0;
}

/* ===== SECTIONS ===== */
section { padding: 4.5rem 2rem; }
.container { max-width: var(--max-width); margin: 0 auto; }

/* ===== HERO ===== */
.hero {
  padding: 10rem 2rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(232,145,58,0.08), transparent),
              radial-gradient(ellipse 40% 40% at 20% 60%, rgba(43,181,160,0.06), transparent);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
}
.hero .container { position: relative; z-index: 1; text-align: center; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin: 0 auto 1.5rem;
}
.hero h1 span {
  color: var(--amber);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.stat-row {
  display: flex; gap: 3rem; justify-content: center; text-align: center;
  margin: 0 auto 2.5rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--amber);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ===== PROBLEM ===== */
.problem { background: var(--navy); }
.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.problem h2 em { color: var(--coral); font-style: italic; }
.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.pain-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.35rem;
}
.pain-card .pain-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.pain-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.pain-card p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.6;
}
.pain-icon.red { background: rgba(224, 92, 77, 0.12); color: var(--coral); }
.pain-icon.amber { background: var(--amber-glow); color: var(--amber); }

/* ===== HOW IT WORKS (Two-Phase) ===== */
.how-it-works {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.how-it-works h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 2rem;
}

.stages-graph {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.pipe-stage {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 0;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}
.pipe-stage.visible {
  opacity: 1;
  transform: translateY(0);
}
.pipe-line-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
  flex-shrink: 0;
}
.pipe-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.pipe-dot.green { background: rgba(43, 181, 160, 0.15); color: var(--teal-light); border: 1.5px solid rgba(43,181,160,0.3); }
.pipe-dot.amber { background: var(--amber-glow); color: var(--amber); border: 1.5px solid rgba(232,145,58,0.3); }
.pipe-connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  flex-shrink: 0;
}
.pipe-content {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.5rem;
  flex: 1;
  transition: border-color 0.3s, background 0.3s;
}
.pipe-content:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
}
.pipe-content.highlight {
  border-color: rgba(232,145,58,0.3);
  background: rgba(232,145,58,0.05);
}
.pipe-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.pipe-content h3 .badge {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pipe-content p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}
/* ===== MEDIA BAR ===== */
.media-bar {
  padding: 2rem 0;
  background: rgba(255,255,255,0.015);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.media-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}
.media-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.media-logos a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.media-logos a:hover {
  color: var(--text-primary);
}

/* ===== PRICING ===== */
.pricing { background: var(--navy-light); }
.pricing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 0.75rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.price-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--amber);
  background: rgba(232,145,58,0.04);
  position: relative;
}
.price-card.featured::before {
  content: 'Special offer';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 14px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.price-amount small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}
.price-amount small.hl { font-size: 1.1rem; font-weight: 600; color: var(--coral); margin-left: 0.35rem; }
.price-amount + .price-features { margin-top: 1.5rem; }
.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.price-total {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.75rem;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  text-align: center;
  margin-bottom: 1.5rem;
}
.price-total strong { color: var(--text-primary); }
.price-features {
  list-style: none;
  margin-bottom: 1rem;
  flex: 1;
}
.price-features:last-child, .price-card .price-actions:last-child { margin-bottom: 0; }
.price-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.price-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65rem;
  width: 8px; height: 8px;
  border-radius: 50%;
}
.price-features.green li::before { background: var(--green); }
.price-features.amber li::before { background: var(--amber); }
.price-features.red li::before { background: var(--coral); }
.price-card .crossed {
  text-decoration: line-through;
  opacity: 0.5;
}
.price-period sup.fn, .price-total sup.fn, .price-features sup.fn {
  font-size: 0.7em;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 2px;
}
.pricing-notes {
  max-width: 1100px;
  margin: 1.5rem auto 0;
}
.pricing-notes p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.5rem;
}
.pain-card a, .pricing-notes a, .faq-a a {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-color: rgba(232,145,58,0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s;
}
.pain-card a:hover, .pricing-notes a:hover, .faq-a a:hover {
  text-decoration-color: var(--amber);
}

/* ===== TRUST ===== */
.trust h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.trust-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
}
.trust-icon {
  width: 40px; height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: rgba(43,181,160,0.12);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.trust-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.trust-item p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ===== FAQ ===== */
.faq { background: var(--navy-light); }
.faq h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 2rem;
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.guide-strip {
  max-width: 720px;
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.guide-strip-label { color: var(--text-secondary); font-size: 0.85rem; margin-right: 0.25rem; }
.guide-strip a {
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.guide-strip a:hover { border-color: var(--amber); color: var(--text-primary); }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  padding: 1.25rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q:hover { color: var(--amber); }
.faq-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: var(--text-muted);
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding-bottom: 1.25rem;
}
.faq-a p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, rgba(232,145,58,0.08), rgba(43,181,160,0.06));
  border-top: 1px solid rgba(232,145,58,0.12);
  padding: 3rem 2rem;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 1rem;
}
.cta-band p { color: var(--text-secondary); font-size: 0.95rem; margin: 0 auto 1.5rem; max-width: 640px; }
.cta-band .btn-row { display: flex; gap: 1rem; justify-content: center; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 2rem 1.5rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand .logo { font-size: 1.1rem; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  max-width: 260px;
}
.footer-links { display: flex; gap: 3rem; }
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; }
  .pipe-stage { opacity: 1; transform: none; }
}

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 440px;
  width: 90%;
  position: relative;
}
.modal h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.modal p { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 1.5rem; }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-close:hover { color: var(--text-primary); }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--amber);
}
.modal .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }
.modal-success { text-align: center; padding: 1rem 0; }
.modal-success .checkmark {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(76, 175, 125, 0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: var(--green);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 1025px) {
  section { padding: 5rem 3rem; }
  .hero { padding: 10rem 3rem 3rem; }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 100;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links.open a {
    font-size: 1.2rem;
    display: block;
  }
  .nav-menu { text-align: center; }
  .nav-links.open .nav-menu summary { font-size: 1.2rem; }
  .nav-menu-panel { position: static; margin-top: 0.75rem; min-width: 0; max-height: 50vh; overflow-y: auto; box-shadow: none; }
  .nav-links.open .nav-menu-panel a { font-size: 1rem; }
  .hero { padding: 6rem 1.5rem 3rem; }
  .hero h1 { margin: 0 auto 1rem; }
  .hero-sub { margin: 0 auto 1.5rem; }
  .stat-row { flex-direction: column; align-items: center; gap: 1rem; }
  .stat-num { font-size: 1.6rem; }
  .pain-cards { grid-template-columns: 1fr; }
  .pain-card { grid-column: auto; }
  .pain-card:nth-child(4),
  .pain-card:nth-child(5) { grid-column: auto; }
  .pricing-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .media-logos { gap: 1.25rem; }
  .media-logos a { font-size: 0.82rem; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
  section { padding: 3rem 1.5rem; }
  .cta-band { padding: 2.5rem 1.5rem; }
  .price-amount { font-size: 2rem; }
  .price-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 0.95rem; }
  .stat-num { font-size: 1.4rem; }
  .price-amount { font-size: 1.75rem; }
  .price-period { font-size: 0.8rem; }
  .cta-band h2 { font-size: 1.3rem; }
  .cta-band .btn-row { flex-direction: column; }
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding-top: 8rem;
  min-height: 100vh;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--amber);
}
.legal-page p, .legal-page li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.legal-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-page a {
  color: var(--amber);
  text-decoration: underline;
}
.legal-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.legal-page .updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ===== PURCHASE STATUS BANNER ===== */
.purchase-banner {
  position: relative;
  z-index: 200;
  padding: 14px 2rem;
  text-align: center;
  font-size: 0.95rem;
  animation: bannerSlide 0.3s ease;
}
.purchase-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.purchase-banner.success {
  background: #122a1e;
  color: var(--teal-light);
  border-bottom: 1px solid var(--teal);
}
.purchase-banner.cancelled {
  background: #2a1f0e;
  color: var(--amber-light);
  border-bottom: 1px solid var(--amber);
}
.purchase-banner button {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.7;
  flex-shrink: 0;
}
.purchase-banner button:hover { opacity: 1; }
@keyframes bannerSlide {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* ===== NOTICE CARD / BETA PAGE ===== */
.notice-card {
  background: var(--navy-light);
  border: 1px dashed var(--amber);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}
.notice-card h1 { margin-top: 0; }
.notice-card p { font-size: 1.05rem; line-height: 1.6; }
.notice-card .notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.25rem 0 0;
}
.inline-form { max-width: 680px; margin-top: 1rem; }
.inline-form .form-group select { appearance: auto; }
.inline-form .required { color: var(--amber); }
