:root {
  --bg: #120c2a;
  --bg-2: #24143f;
  --bg-3: #3a1f5c;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-2: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f0ff;
  --muted: #b9aed6;
  --faint: #8d81ad;
  --gold: #f2c879;
  --gold-2: #e9b45a;
  --rose: #f29bb8;
  --blue: #7fa6ff;
  --serif: "Fraunces", "New York", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 24px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

/* Sky */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(140, 90, 210, 0.35), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(90, 60, 170, 0.28), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg-3) 100%);
}
.sky canvas { width: 100%; height: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(18, 12, 42, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--serif); font-size: 22px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-toggle a {
  font: 600 12px/1 var(--sans); letter-spacing: .06em; color: var(--muted);
  text-decoration: none; border-radius: 999px; padding: 7px 11px;
}
.lang-toggle a:hover { color: var(--text); }
.lang-toggle a[aria-current="page"] { background: var(--gold); color: #24143f; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 18px; border-radius: 16px;
  text-decoration: none; font-weight: 600; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-store { background: var(--text); color: #120c2a; box-shadow: 0 10px 30px -10px rgba(242, 200, 121, .5); }
.btn-store svg { width: 26px; height: 26px; }
.btn-store small { display: block; font-size: 11px; font-weight: 500; opacity: .7; line-height: 1.2; }
.btn-store span { display: block; font-size: 18px; line-height: 1.15; }
.btn-ghost { color: var(--text); border: 1px solid var(--line); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.hero h1.eyebrow { font-family: var(--sans); line-height: 1.4; margin: 0; }
.headline { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; font-size: clamp(42px, 6vw, 72px); margin: 18px 0 22px; }
.headline em { font-style: italic; color: var(--gold); }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 520px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 34px 0 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13px; color: var(--muted); padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}

.hero-visual { position: relative; display: flex; justify-content: center; }
.moon-glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 200, 121, .35), transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); filter: blur(10px);
}

/* Phone */
.phone {
  position: relative; width: 300px; aspect-ratio: 1206 / 2622;
  border-radius: 46px; padding: 10px;
  background: linear-gradient(145deg, #3d3060, #18102f);
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 40px 80px -20px rgba(0,0,0,.7), 0 0 60px -10px rgba(150, 100, 230, .45);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; }
.phone.sm { width: 260px; }

.float {
  position: absolute; z-index: 2;
  background: rgba(36, 22, 70, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,.6);
  animation: bob 6s ease-in-out infinite;
}
.float .k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.float .v { font-family: var(--serif); font-size: 22px; }
.float.f1 { left: -10px; top: 18%; }
.float.f2 { right: -16px; top: 42%; animation-delay: -2s; }
.float.f3 { left: 4px; bottom: 14%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Sections */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 52px); margin: 14px 0 16px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* Daily trio */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: background .3s, transform .3s;
}
.tile:hover { background: var(--surface-2); transform: translateY(-4px); }
.tile .icon { font-size: 28px; margin-bottom: 14px; }
.tile h3 { font-size: 24px; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 16px; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.feature.flip .feature-media { order: 2; }
.feature-media { display: flex; justify-content: center; position: relative; }
.feature-media::before {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, var(--halo, rgba(150, 100, 230, .4)), transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.feature h3 { font-size: clamp(30px, 3.6vw, 42px); margin: 14px 0 16px; }
.feature .desc { color: var(--muted); font-size: 18px; margin-bottom: 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before {
  content: "✦"; color: var(--gold); font-size: 13px; line-height: 1.6; margin-top: 2px; flex: none;
}

/* Moon band */
.band {
  background: var(--surface); border: 1px solid var(--line); border-radius: 32px;
  padding: 56px; display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center;
}
.moon {
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fbe7b8, var(--gold) 45%, #b9852f 100%);
  box-shadow: 0 0 80px rgba(242, 200, 121, .45), inset -30px -20px 50px rgba(80, 40, 10, .35);
  position: relative; overflow: hidden;
}
.moon::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #1c1236; transform: translateX(var(--shadow, 55%));
  transition: transform 1s ease;
}
.band h2 { font-size: clamp(30px, 3.6vw, 42px); margin: 12px 0 14px; }
.band p { color: var(--muted); }
.band .stats { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 26px; }
.stat .n { font-family: var(--serif); font-size: 30px; color: var(--gold); }
.stat .l { font-size: 14px; color: var(--faint); }

/* Privacy */
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.privacy-grid .tile { text-align: center; }
.privacy-grid .tile .icon { font-size: 34px; }

/* Languages */
.langs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto; }
.langs .tile { text-align: center; }
.langs .tile .big { font-family: var(--serif); font-size: 26px; }
.langs .tile .sm { color: var(--muted); font-style: italic; font-family: var(--serif); margin-top: 6px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; }

/* CTA */
.cta {
  text-align: center; padding: 72px 24px; border-radius: 32px;
  background: radial-gradient(600px 300px at 50% 0%, rgba(242, 200, 121, .2), transparent 70%), var(--surface);
  border: 1px solid var(--line);
}
.cta img { width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 22px; box-shadow: 0 0 50px rgba(242, 200, 121, .35); }
.cta h2 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 14px; }
.cta p { color: var(--muted); margin-bottom: 30px; }

/* Footer */
footer { padding: 48px 0 56px; color: var(--faint); font-size: 14px; }
footer .wrap { display: grid; gap: 18px; }
footer .row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .disclaimer { max-width: 760px; line-height: 1.55; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.intro { animation: intro 1s ease both; }
.hero-visual.intro { animation-delay: .15s; }
@keyframes intro { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .intro { animation: none; }
  html { scroll-behavior: auto; }
}

/* Document pages (privacy, support) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 12px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--faint); margin-bottom: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.doc h2 {
  font-family: var(--sans); color: var(--gold); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; margin: 40px 0 10px;
}
.doc p, .doc li { color: var(--text); }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 22px; }
.doc .muted { color: var(--muted); }
.doc .card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; margin: 20px 0; }
.doc .qa { margin-top: 22px; }
.doc .qa > strong { display: block; margin-bottom: 4px; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin: 0 auto; }
  .hero .ctas, .chips { justify-content: center; }
  .hero-visual { margin-top: 24px; }
  .feature { grid-template-columns: 1fr; gap: 40px; text-align: center; padding: 40px 0; }
  .feature.flip .feature-media { order: 0; }
  .ticks { text-align: left; max-width: 440px; margin: 0 auto; }
  .trio { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; text-align: center; padding: 40px 24px; }
  .band .moon { margin: 0 auto; }
  .band .stats { justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .lang-toggle { margin-left: auto; }
  .hero { padding: 40px 0 24px; }
  section { padding: 64px 0; }
  .phone { width: 250px; border-radius: 40px; }
  .phone img { border-radius: 31px; }
  .phone.sm { width: 230px; }
  .float { padding: 9px 12px; border-radius: 14px; }
  .float .v { font-size: 18px; }
  .float.f1 { left: -4px; }
  .float.f2 { right: -4px; }
  .privacy-grid, .langs { grid-template-columns: 1fr; }
  .feature-media::before { width: 280px; height: 280px; }
  .doc { padding: 40px 16px 64px; }
}
