/* ─────────────────────────────────────────────────────────────
   LUMINA · LANDING PAGE
   Same tokens as the app (lumina/src/tokens/index.ts) — the
   "sunlit grove" palette: sand, plum/lavender, sage, gold.
───────────────────────────────────────────────────────────── */

:root {
  --sand: #F5F0E3;
  --sand-deep: #ECE4D2;
  --card: #FDFBF6;
  --violet: #6E4F70;
  --lavender: #5C3F5E;
  --gold: #A6832E;
  --gold-dark: #8B5F14;
  --sage: #7A9468;
  --sage-dim: #4F6339;
  --text: #3A3527;
  --muted: #79715D;
  --faint: rgba(58, 53, 39, 0.5);
  --border: rgba(79, 99, 57, 0.15);
  --border-hover: rgba(79, 99, 57, 0.3);
  --plum-deep: #3B2C40;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sage-dim); color: #fff; }
.btn-primary:hover { background: #435730; box-shadow: 0 6px 18px rgba(79, 99, 57, 0.25); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border-hover); }
.btn-outline:hover { border-color: var(--sage-dim); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); box-shadow: 0 6px 18px rgba(166, 131, 46, 0.3); }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }
.play-icon { width: 18px; height: 18px; color: var(--text); }

/* ── Divider ───────────────────────────────────────────────── */
.divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 16px 0 48px; }
.divider span { width: 56px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.divider-spark { width: 22px; height: 17px; object-fit: contain; }
.divider-dark span { background: linear-gradient(90deg, transparent, #D9B25C, transparent); }
/* the sparkle asset is gold-on-transparent; on the dark banner brighten it */
.divider-spark-gold { filter: brightness(1.5); }

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 240, 227, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 18px 40px;
  display: flex; align-items: center; gap: 40px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
/* mark:wordmark height ratio standardized to 1.7:1, matching the same
   canonical ratio applied in-app to BrandHeader/DesktopSidebar (2026-07-16)
   — was 40:25 = 1.6:1. */
.brand-mark { width: 42px; height: 43px; object-fit: contain; }
.brand-wordmark { width: 114px; height: 25px; object-fit: contain; }
.nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; color: var(--text); }
.nav-links a { opacity: 0.85; transition: opacity 0.15s ease; }
.nav-links a:hover { opacity: 1; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 1px; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.hero-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  min-height: 560px;
}
.hero-copy h1 {
  font-family: var(--font-serif); font-weight: 600; font-size: 56px; line-height: 1.12;
  color: var(--sage-dim); max-width: 9.5em;
}
.hero-italic {
  font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 26px;
  color: var(--gold); margin-top: 14px;
}
.hero-sub { font-size: 16px; color: var(--text); opacity: 0.85; line-height: 1.6; margin-top: 20px; max-width: 30em; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-art { position: relative; display: flex; align-items: center; justify-content: center; height: 460px; }
.hero-glow {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(166,131,46,0.28) 0%, rgba(166,131,46,0.10) 45%, transparent 72%);
  filter: blur(2px);
}
/* Real lumina-mark.png (was a hand-coded inline-SVG approximation that
   didn't match the actual brand mark) — native ratio 384:398 ≈ 0.965:1,
   so height is derived from width rather than forced square. */
.hero-mark { position: relative; width: 320px; height: 332px; object-fit: contain; }

/* Real watercolor botanicals framing the hero, per landing page 2.png */
.hero-botanical { position: absolute; pointer-events: none; }
.hero-botanical-tl {
  top: -30px; left: -20px; width: 95px; opacity: 0.8;
  transform: rotate(-14deg) scaleX(-1);
}
.hero-botanical-r {
  right: -30px; bottom: 60px; width: 230px; opacity: 0.55;
  transform: rotate(8deg);
}

/* The brand's own contour-wave texture along the hero base */
.hero-wave { position: absolute; bottom: -6px; width: 420px; opacity: 0.5; pointer-events: none; }
.hero-wave-l { left: -40px; transform: scaleX(-1); }
.hero-wave-r { right: -40px; }

/* ── Practices ─────────────────────────────────────────────── */
.practices { background: var(--sand-deep); padding: 96px 0; }
.section-title {
  font-family: var(--font-serif); font-weight: 600; font-size: 34px; color: var(--text);
  text-align: center;
}
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.practice-card {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 32px 28px; min-height: 260px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.practice-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(58,53,39,0.08); }
.practice-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  position: relative; z-index: 1;
}
.icon-img { width: 24px; height: 24px; object-fit: contain; }
/* Brand icon PNGs are dark sage — invert to white for the colored badges,
   matching the mockup (sleep stays natural on the cream badge). */
.icon-invert { filter: brightness(0) invert(1); }
.practice-icon-sage { background: var(--sage); }
.practice-icon-lavender { background: var(--violet); }
.practice-icon-sand { background: #E9D9B8; }

/* Watercolor sprig tucked in each card's corner, per the mockup */
.card-botanical {
  position: absolute; right: 14px; bottom: 12px;
  width: 74px; opacity: 0.5; pointer-events: none;
}
.practice-card h3 { font-family: var(--font-serif); font-weight: 600; font-size: 22px; color: var(--text); margin-bottom: 10px; }
.practice-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; max-width: 22em; }
.explore-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 18px; font-weight: 600; font-size: 14px;
}
.practice-card:nth-child(1) .explore-link { color: var(--sage-dim); }
.practice-card:nth-child(2) .explore-link { color: var(--violet); }
.practice-card:nth-child(3) .explore-link { color: var(--gold-dark); }
.explore-link span { transition: transform 0.15s ease; }
.explore-link:hover span { transform: translateX(3px); }

/* ── Quote banner ──────────────────────────────────────────── */
.quote-banner {
  position: relative; overflow: hidden;
  background: var(--plum-deep);
  padding: 88px 40px;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 25% 70%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 92% 60%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 60% 85%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 45% 10%, rgba(255,255,255,0.3), transparent);
}
.quote-inner { max-width: 720px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
/* Lavender botanicals flanking the banner — tinted into the plum, per mockup */
.quote-botanical { position: absolute; width: 190px; opacity: 0.35; pointer-events: none; top: 50%; }
.quote-botanical-l { left: 2%; transform: translateY(-50%) rotate(-24deg) scaleX(-1); }
.quote-botanical-r { right: 2%; transform: translateY(-50%) rotate(24deg); }
.quote-text {
  font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 32px;
  color: #F5EFE3; line-height: 1.35;
}
.quote-attr { font-family: var(--font-serif); font-size: 17px; color: #D9B25C; margin-top: 4px; }

/* ── Pricing ───────────────────────────────────────────────── */
.pricing { position: relative; overflow: hidden; padding: 96px 0 110px; }
.pricing-botanical { position: absolute; width: 150px; opacity: 0.55; pointer-events: none; top: 50%; }
.pricing-botanical-l { left: 3%; transform: translateY(-50%) rotate(-12deg) scaleX(-1); }
.pricing-botanical-r { right: 3%; transform: translateY(-50%) rotate(10deg); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 620px; margin: 0 auto; }
.price-card {
  position: relative;
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 32px 28px; text-align: left;
}
.price-card-featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.best-value {
  position: absolute; top: -13px; left: 28px;
  background: var(--gold); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; letter-spacing: 0.3px;
}
.price-plan { font-family: var(--font-serif); font-size: 21px; color: var(--text); margin-bottom: 6px; }
.price-value { font-family: var(--font-serif); font-size: 42px; color: var(--text); margin-bottom: 22px; }
.price-value span { font-family: var(--font-sans); font-size: 15px; color: var(--muted); font-weight: 500; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { background: var(--sand-deep); border-top: 1px solid var(--border); padding: 28px 0; }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
/* Same 1.7:1 ratio as .brand above — was 27:17 = 1.59:1. */
.brand-sm .brand-mark { width: 28px; height: 29px; }
.brand-sm .brand-wordmark { width: 78px; height: 17px; }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--text); text-decoration: underline; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; min-height: unset; padding-top: 8px; }
  /* Text-first on mobile — no mobile mockup exists to justify the previous
     mark-before-headline order, and reading the value prop before the
     decorative art is the more standard pattern. */
  .hero-copy { text-align: center; }
  .hero-copy h1 { max-width: none; font-size: 42px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { height: 320px; }
  .hero-mark { width: 220px; height: 228px; }
  .hero-glow { width: 260px; height: 260px; }
  .hero-botanical, .hero-wave { display: none; }
  .quote-botanical, .pricing-botanical { display: none; }
  .practice-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .section-title { font-size: 28px; }
}
@media (max-width: 900px) {
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--sand); border-bottom: 1px solid var(--border);
    padding: 16px 40px 20px;
  }
  .nav.open .nav-links a { padding: 10px 0; }
}
@media (max-width: 560px) {
  .nav-inner { padding: 16px 20px; gap: 16px; }
  .section-inner { padding: 0 20px; }
  .hero-inner { padding: 0 20px; }
  .hero-copy h1 { font-size: 34px; }
  .hero-italic { font-size: 21px; }
  .btn-sm { display: none; }
  .quote-banner { padding: 64px 24px; }
  .quote-text { font-size: 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
