:root {
  /* Lantern — warm dark + gold (matches the app's OKLCH palette) */
  --bg:        oklch(0.150 0.012 70);
  --bg-2:      oklch(0.120 0.012 68);
  --surface:   oklch(0.205 0.013 72);
  --ink:       oklch(0.965 0.010 85);
  --muted:     oklch(0.760 0.016 80);
  --faint:     oklch(0.620 0.016 78);
  --gold:      oklch(0.800 0.130 85);
  --gold-hi:   oklch(0.900 0.090 92);
  --on-gold:   oklch(0.190 0.030 75);
  --hairline:  color-mix(in oklch, white 8%, transparent);
  --line:      color-mix(in oklch, white 6%, transparent);
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --maxw:      1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hanken Grotesk", -apple-system, system-ui, sans-serif;
  background: var(--bg); color: var(--ink);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* warm ambient glow, fixed behind everything */
.ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(54vmax 44vmax at 82% -8%, oklch(0.55 0.13 85 / 0.16), transparent 60%),
    radial-gradient(48vmax 48vmax at 4% 104%, oklch(0.42 0.06 70 / 0.22), transparent 62%),
    var(--bg);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; font-weight: 600; font-size: 15px;
  padding: 10px 18px; transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap; cursor: pointer; border: 1px solid var(--hairline);
}
.btn-gold {
  background: var(--gold); color: var(--on-gold); border-color: transparent;
  box-shadow: 0 10px 30px oklch(0.8 0.13 85 / 0.22);
}
.btn-gold:hover { background: var(--gold-hi); transform: translateY(-1px); box-shadow: 0 14px 38px oklch(0.8 0.13 85 / 0.30); }
.btn-gold:active { transform: translateY(0) scale(.99); }
.btn-lg { font-size: 17px; padding: 15px 28px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px max(20px, 5vw);
  background: oklch(0.15 0.012 70 / 0.7);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand-mark { border-radius: 9px; box-shadow: 0 2px 10px oklch(0 0 0 / 0.4); }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); font-size: 15px; }
.nav-links a:not(.btn) { color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--ink); }
@media (max-width: 640px) { .nav-links a:not(.btn) { display: none; } }

main { max-width: var(--maxw); margin: 0 auto; padding: 0 max(20px, 5vw); }
section { padding: clamp(64px, 11vw, 132px) 0; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center;
  gap: clamp(28px, 5vw, 72px); padding-top: clamp(48px, 8vw, 96px);
}
.hero h1 {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 800;
  font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.03em;
  text-wrap: balance;
}
.lede { color: var(--muted); font-size: clamp(17px, 1.9vw, 20px); max-width: 46ch; margin-top: 22px; text-wrap: pretty; }
.cta { margin-top: 30px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-sub { color: var(--faint); font-size: 13.5px; }
.corridors { margin-top: 26px; color: var(--faint); font-size: 14.5px; letter-spacing: 0.06em; }

.hero-stage { display: flex; justify-content: center; position: relative; }
.hero-stage::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, oklch(0.8 0.13 85 / 0.28), transparent 65%);
  filter: blur(20px); z-index: 0;
}
.phone {
  position: relative; z-index: 1; width: min(300px, 78vw);
  border-radius: 38px; padding: 8px; background: oklch(0.1 0.01 70);
  border: 1px solid var(--hairline);
  box-shadow: 0 40px 90px oklch(0 0 0 / 0.55), inset 0 1px 0 oklch(1 0 0 / 0.06);
}
.phone img { display: block; width: 100%; border-radius: 31px; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .lede { margin-inline: auto; }
  .cta { justify-content: center; }
  .hero-stage { order: 2; }
}

/* ---------- features ---------- */
.section-title {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
  font-size: clamp(28px, 4.2vw, 44px); letter-spacing: -0.02em; line-height: 1.08;
  text-wrap: balance; max-width: 20ch; margin-bottom: clamp(36px, 6vw, 64px);
}
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 40px);
  align-items: start; padding: clamp(26px, 4vw, 40px) 0;
  border-top: 1px solid var(--line);
}
.feature:nth-child(odd of .feature) {} /* rhythm hook */
.feature-icon {
  width: 64px; height: 64px; flex: none; color: var(--gold);
  display: grid; place-items: center; border-radius: 18px;
  background: oklch(0.8 0.13 85 / 0.10); border: 1px solid oklch(0.8 0.13 85 / 0.22);
}
.feature-icon svg { width: 34px; height: 34px; }
.feature-body h3 {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
  font-size: clamp(21px, 2.6vw, 28px); letter-spacing: -0.01em; margin-bottom: 10px;
}
.feature-body p { color: var(--muted); font-size: clamp(15.5px, 1.7vw, 17.5px); max-width: 62ch; text-wrap: pretty; }
@media (max-width: 560px) {
  .feature { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- privacy ---------- */
.privacy {
  text-align: center; max-width: 760px; margin: 0 auto;
}
.privacy h2 {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
  font-size: clamp(26px, 3.8vw, 40px); letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance;
}
.privacy p { color: var(--muted); font-size: clamp(16px, 1.9vw, 19px); margin-top: 18px; max-width: 58ch; margin-inline: auto; text-wrap: pretty; }

/* ---------- waitlist ---------- */
.waitlist {
  text-align: center; max-width: 720px; margin: 0 auto;
  background:
    radial-gradient(70% 120% at 50% 0%, oklch(0.8 0.13 85 / 0.10), transparent 70%),
    var(--surface);
  border: 1px solid var(--hairline); border-radius: 28px;
  padding: clamp(40px, 7vw, 72px) clamp(24px, 5vw, 56px);
  margin-block: clamp(20px, 4vw, 40px);
}
.waitlist h2 {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 800;
  font-size: clamp(28px, 4.4vw, 48px); letter-spacing: -0.025em; line-height: 1.04; text-wrap: balance;
}
.waitlist p { color: var(--muted); font-size: clamp(16px, 1.9vw, 18px); margin-top: 14px; }
.waitlist .btn { margin-top: 28px; }
.waitlist .small { margin-top: 16px; font-size: 13.5px; color: var(--faint); }

/* ---------- footer ---------- */
.footer {
  max-width: var(--maxw); margin: 0 auto; padding: 40px max(20px, 5vw) 64px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--line); color: var(--faint); font-size: 14px;
}

/* ---------- motion ---------- */
.rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 1s); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* Only hide when JS is present (so the page is never blank without it). */
.js .reveal { opacity: 0; transform: translateY(16px); filter: blur(5px); }
.js .reveal.in { opacity: 1; transform: none; filter: blur(0); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .reveal, .reveal.in { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .btn { transition: none; }
}
