/* Huescape — Warm Ivory & Sage Green */
:root {
  --bg: #F6F0E6;
  --fg: #2C3E2E;
  --accent: #A87B5D;
  --accent-warm: #C4956A;
  --sage: #3E5C47;
  --sage-light: #5E7A64;
  --muted: #8A9485;
  --border: rgba(62, 92, 71, 0.15);
  --card-bg: rgba(255, 255, 255, 0.55);
  --card-border: rgba(62, 92, 71, 0.1);
  --region-fill: #fff;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

@media (prefers-reduced-motion: no-preference) {
  body {
    transition: background-color 0.35s ease, color 0.35s ease;
  }
}

body.moonlight-no-transition,
body.moonlight-no-transition * {
  transition: none !important;
}

body.moonlight {
  --bg: #1E2126;
  --fg: #D8DDE3;
  --sage: #8FA1B0;
  --sage-light: #A8B6C1;
  --muted: #6B7480;
  --accent: #B89578;
  --border: rgba(180, 188, 200, 0.18);
  --card-bg: rgba(40, 46, 54, 0.65);
  --card-border: rgba(180, 188, 200, 0.12);
  --region-fill: #2A2F36;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  border-bottom: 1px solid var(--border);
}
.nav-wordmark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--sage);
}
.nav-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 300;
}

/* Hero */
.hero {
  padding: 6rem 4rem 0;
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-text {
  grid-column: 1;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-lede {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--sage-light);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-craft {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.craft-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.craft-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Hero Visual — Mandala */
.hero-visual {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mandala-wrap {
  position: relative;
  width: 340px;
  height: 340px;
}
.mandala-ring {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mandala-ring svg {
  width: 100%;
  height: 100%;
  color: var(--sage);
}
.mandala-ring--outer {
  animation: spin-slow 90s linear infinite;
}
.mandala-ring--mid {
  animation: spin-slow 60s linear infinite reverse;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Wave divider */
.hero-wave {
  margin-top: 4rem;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  height: 80px;
  color: var(--sage);
}

/* The Gap Section */
.thegap {
  padding: 8rem 4rem;
  background: var(--bg);
}
.thegap-inner {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
}
.thegap-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  padding-top: 0.5rem;
}
.thegap-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 2rem;
}
.thegap-headline em {
  font-style: italic;
  color: var(--sage);
}
.thegap-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-weight: 300;
}
.thegap-body em {
  color: var(--fg);
  font-style: italic;
}

/* Ritual Section */
.ritual {
  padding: 8rem 4rem;
  background: linear-gradient(180deg, var(--bg) 0%, #EDE8DF 100%);
}
.ritual-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ritual-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}
.ritual-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--fg);
  margin-bottom: 4rem;
}
.ritual-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.ritual-step {
  position: relative;
}
.step-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--sage);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.step-visual {
  margin-bottom: 1.25rem;
  display: flex;
}
.step-icon {
  width: 56px;
  height: 56px;
  color: var(--accent);
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.step-body {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}

/* How Section */
.how {
  padding: 8rem 4rem;
  background: #EDE8DF;
}
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.how-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.how-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.how-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(62, 92, 71, 0.08);
}
.how-icon-wrap {
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
}
.how-icon-wrap svg {
  width: 100%;
  height: 100%;
  color: var(--accent);
}
.how-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.85rem;
}
.how-body {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
}

/* Manifesto */
.manifesto {
  padding: 8rem 4rem;
  background: var(--sage);
  color: #E8EDE6;
}
.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.manifesto-decoration {
  width: 120px;
  margin: 0 auto 3rem;
  opacity: 0.6;
}
.manifesto-decoration svg {
  width: 100%;
  height: 100%;
  color: #fff;
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: #D4DDD0;
}

/* Footer */
.footer {
  padding: 4rem 4rem 3rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--sage);
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.footer-built {
  font-size: 0.7rem;
  color: var(--muted);
  opacity: 0.7;
}
.footer-built a {
  color: var(--accent);
  text-decoration: none;
}

/* Pricing Section */
.pricing {
  padding: 8rem 4rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.pricing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.pricing-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}
.pricing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--fg);
  margin-bottom: 3rem;
}

/* Toggle */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  user-select: none;
}
.toggle-label {
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}
.toggle-label--active {
  color: var(--fg);
  font-weight: 500;
}
.toggle-btn {
  width: 44px;
  height: 24px;
  background: var(--sage);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  padding: 0;
}
.toggle-btn.on {
  background: var(--accent-warm);
}
.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
}
.toggle-btn.on .toggle-knob {
  transform: translateX(20px);
}
.toggle-save {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  background: rgba(62, 92, 71, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-weight: 500;
}

/* Cards grid */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
}
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.3s ease;
}
.pricing-card:hover {
  box-shadow: 0 20px 60px rgba(62, 92, 71, 0.08);
}
.pricing-card--pro {
  border-color: var(--sage);
  border-width: 1.5px;
  position: relative;
}
.pricing-card--pro::before {
  content: 'Most popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sage);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.3rem 1rem;
  border-radius: 20px;
}

.card-header { margin-bottom: 2rem; }
.card-plan {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.card-price { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.75rem; }
.price-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--fg);
  line-height: 1;
}
.price-period { font-size: 0.85rem; color: var(--muted); }
.card-tagline { font-size: 0.8rem; color: var(--muted); font-weight: 300; }

/* Features list */
.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
  flex: 1;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--fg);
  line-height: 1.4;
  font-weight: 300;
}
.feature-item--muted { color: var(--muted); opacity: 0.6; }
.feature-item--pro { color: var(--fg); }
.feature-check {
  width: 16px;
  height: 16px;
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-item--pro .feature-check { color: var(--sage); }
.feature-x {
  width: 16px;
  height: 16px;
  color: var(--muted);
  flex-shrink: 0;
  margin-top: 1px;
}

/* CTAs */
.card-cta {
  display: block;
  text-align: center;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.card-cta--free {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--fg);
}
.card-cta--free:hover {
  border-color: var(--sage);
  transform: translateY(-1px);
}
.card-cta--pro {
  background: var(--sage);
  color: #fff;
}
.card-cta--pro:hover {
  background: var(--sage-light);
  transform: translateY(-1px);
}

/* Footnote */
.pricing-footnote {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.7;
}

/* Mobile */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    grid-column: 1;
    order: -1;
  }
  .mandala-wrap {
    width: 220px;
    height: 220px;
  }
  .nav {
    padding: 1.5rem 2rem;
  }
  .hero, .thegap, .ritual, .how, .manifesto, .pricing, .footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .thegap-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .ritual-steps {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .how-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
@media (max-width: 600px) {
  .hero {
    padding-top: 4rem;
  }
  .ritual-steps {
    grid-template-columns: 1fr;
  }
}

/* Email Capture */
.email-capture {
  padding: 5rem 4rem;
  background: var(--sage);
}
.email-capture-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.email-capture-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246,240,230,0.6);
  font-weight: 500;
  margin-bottom: 1rem;
}
.email-capture-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: #F6F0E6;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.email-capture-sub {
  font-size: 0.95rem;
  color: rgba(246,240,230,0.75);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}
.email-capture-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.email-capture-row {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 440px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.email-capture-input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  border: none;
  background: #F6F0E6;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}
.email-capture-input::placeholder {
  color: var(--muted);
}
.email-capture-btn {
  padding: 0.85rem 1.5rem;
  background: var(--accent);
  color: #F6F0E6;
  border: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s;
}
.email-capture-btn:hover:not(:disabled) {
  background: var(--accent-warm);
}
.email-capture-btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.email-capture-confirm {
  display: none;
  font-size: 0.88rem;
  min-height: 1.2em;
  margin-top: 0.25rem;
}
.email-capture-confirm--success {
  display: block;
  color: #B8D9B0;
  font-weight: 500;
  font-size: 1rem;
  margin-top: 0.75rem;
}
.email-capture-confirm--error {
  display: block;
  color: #F4A488;
}
@media (max-width: 768px) {
  .email-capture {
    padding: 4rem 2rem;
  }
}
@media (max-width: 480px) {
  .email-capture-row {
    flex-direction: column;
    border-radius: 4px;
    overflow: visible;
    box-shadow: none;
  }
  .email-capture-input {
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  }
  .email-capture-btn {
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  }
}

/* Press Play Tonight — first-visit mobile modal */
.press-play-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(30, 20, 10, 0.6);
  align-items: center;
  justify-content: center;
}
.press-play-modal-overlay.is-open {
  display: flex;
}

.press-play-modal-card {
  background: var(--bg);
  border: 1px solid rgba(62, 92, 71, 0.25);
  border-radius: 18px;
  padding: 1.75rem 1.75rem 1.5rem;
  max-width: 320px;
  width: 92%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(30, 20, 10, 0.28), 0 4px 16px rgba(62, 92, 71, 0.1);
}

.press-play-modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--fg);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.press-play-modal-body {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1.5rem;
  font-weight: 300;
}

.press-play-modal-play {
  display: block;
  padding: 0.95rem 1.25rem;
  background: var(--sage);
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 0.75rem;
}
.press-play-modal-play:hover {
  background: var(--sage-light);
  transform: translateY(-1px);
}

.press-play-modal-dismiss {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0.4rem 0.5rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.press-play-modal-dismiss:hover { color: var(--fg); }