/* Self-hosted fonts (Jost + Inter), latin + latin-ext. Replaces the Google Fonts CDN
   so no visitor IP is sent to Google. Do not re-add the Google Fonts CDN links. */
/* Inter italic latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter italic latin */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter normal latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter normal latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Jost italic latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/jost-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Jost italic latin */
@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/jost-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Jost normal latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/jost-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Jost normal latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/jost-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ayusha-web.css — shared design tokens (from the mobile app) + web/landing components */

:root {
  /* warm parchment base */
  --parchment:       oklch(0.953 0.016 80);
  --parchment-deep:  oklch(0.922 0.022 76);
  --surface:         oklch(0.987 0.010 86);
  --surface-warm:    oklch(0.968 0.016 74);

  /* espresso ink + buttons */
  --espresso:        oklch(0.305 0.034 48);
  --espresso-soft:   oklch(0.405 0.038 50);
  --ink:             oklch(0.305 0.030 52);
  --ink-soft:        oklch(0.475 0.026 55);
  --ink-faint:       oklch(0.620 0.020 60);

  /* cloud orange accent */
  --orange:          oklch(0.735 0.108 56);
  --orange-soft:     oklch(0.860 0.058 62);
  --orange-wash:     oklch(0.930 0.030 66);

  --line:            oklch(0.872 0.018 74);
  --line-soft:       oklch(0.912 0.014 76);

  /* doshas */
  --vata:            oklch(0.620 0.066 248);
  --vata-wash:       oklch(0.935 0.022 248);
  --pitta:           oklch(0.690 0.132 54);
  --pitta-wash:      oklch(0.935 0.034 60);
  --kapha:           oklch(0.560 0.078 150);
  --kapha-wash:      oklch(0.930 0.028 150);

  /* cinematic dark */
  --cine-bg: radial-gradient(135% 105% at 50% -8%, oklch(0.345 0.05 52) 0%, oklch(0.235 0.035 47) 52%, oklch(0.155 0.022 44) 100%);
  --cream: oklch(0.9 0.03 74);

  --serif: "Jost", Georgia, serif;
  --sans:  "Inter", -apple-system, system-ui, sans-serif;

  --shadow-card: 0 1px 2px rgba(60,40,25,0.04), 0 6px 18px rgba(60,40,25,0.06);
  --shadow-soft: 0 1px 2px rgba(60,40,25,0.03), 0 2px 8px rgba(60,40,25,0.045);
  --shadow-pop:  0 8px 30px rgba(50,32,20,0.16), 0 2px 8px rgba(50,32,20,0.10);

  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.serif { font-family: var(--serif); }

/* ── layout ─────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 104px 0; }
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 800;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--orange);
}
.eyebrow.on-dark { color: var(--orange-soft); }

/* ── glyph (CSS-masked PNG, recolourable) ───── */
.glyph {
  display: inline-block; flex-shrink: 0;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  background: var(--espresso);
}

/* ── buttons ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 800; font-size: 15px; letter-spacing: 0.2px;
  border: none; cursor: pointer; border-radius: 999px; padding: 16px 30px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s, color 0.2s;
}
.btn:active { transform: scale(0.97); }
/* The waitlist CTA reads in the display face (Jost) everywhere it appears. */
.btn.js-join { font-family: var(--serif); font-weight: 600; }
.btn-primary { background: var(--espresso); color: oklch(0.96 0.02 78); box-shadow: 0 10px 26px -10px rgba(48,30,18,0.55); }
.btn-primary:hover { background: var(--espresso-soft); }
.btn-orange { background: var(--orange-soft); color: var(--espresso); box-shadow: 0 10px 26px -10px oklch(0.735 0.108 56 / 0.6); }
.btn-orange:hover { background: oklch(0.89 0.06 64); }
.btn-ghost { background: transparent; color: var(--espresso); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--espresso); }
.btn-ghost.on-dark { color: var(--cream); border-color: oklch(1 0 0 / 0.28); }
.btn-ghost.on-dark:hover { border-color: var(--orange-soft); color: #fff; }

/* ── chips ──────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  background: var(--surface-warm); color: var(--ink-soft);
  border: 1px solid var(--line-soft);
}
.chip.on-dark { background: oklch(1 0 0 / 0.07); color: var(--cream); border-color: oklch(1 0 0 / 0.13); }

/* ── card ───────────────────────────────────── */
.card {
  background: var(--surface); border-radius: 24px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}

/* ── cinematic stars ────────────────────────── */
.cine { position: relative; background: var(--cine-bg); color: #fff; overflow: hidden; }
.cine .stars { position: absolute; inset: 0; pointer-events: none; }
.cine .star { position: absolute; width: 2px; height: 2px; border-radius: 99px; background: #fff; animation: tw 3.4s ease-in-out infinite; }
@keyframes tw { 0%,100% { opacity: 0.2; } 50% { opacity: 0.9; } }
.cine .halo {
  position: absolute; top: -38%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; pointer-events: none; opacity: 0.5;
  -webkit-mask: radial-gradient(closest-side, #000 0%, #000 38%, transparent 72%);
  mask: radial-gradient(closest-side, #000 0%, #000 38%, transparent 72%);
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(3px); transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1), filter 0.8s; }
.reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; } }

/* ── nav bar ────────────────────────────────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled { background: oklch(0.96 0.016 80 / 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line-soft); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.topbar .lockup { display: flex; align-items: center; gap: 11px; }
.topbar .nav-links { display: flex; align-items: center; gap: 34px; }
.topbar .nav-links a { font-family: var(--serif); font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color 0.2s; }
.topbar .nav-links a:hover { color: var(--espresso); }
.topbar.on-dark .nav-links a { color: var(--cream); }
.topbar.on-dark .nav-links a:hover { color: #fff; }
.topbar.on-dark.scrolled { background: oklch(0.2 0.03 46 / 0.7); border-bottom-color: oklch(1 0 0 / 0.08); }

/* ── phone frame (product preview) ──────────── */
.phone {
  position: relative; width: 300px; height: 650px; border-radius: 46px;
  background: #0b0a09; padding: 9px; flex-shrink: 0;
  box-shadow: 0 50px 90px -28px rgba(20,12,6,0.7), 0 0 0 2px rgba(0,0,0,0.6), inset 0 0 0 2px rgba(255,255,255,0.04);
}
.phone .scr { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: var(--parchment); }
.phone .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone .island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #000; border-radius: 20px; z-index: 5; }

/* ── footer ─────────────────────────────────── */
/* footer: espresso brown at the top fading to a darker brown at the bottom (owner 2026-07) */
.foot { background: linear-gradient(180deg, var(--espresso) 0%, oklch(0.165 0.024 45) 100%); color: var(--cream); }
.foot a { color: oklch(0.78 0.03 72); transition: color 0.2s; }
.foot a:hover { color: #fff; }

/* responsive */
@media (max-width: 860px) {
  .wrap { padding: 0 22px; }
  .section { padding: 76px 0; }
  .topbar .nav-links { display: none; }
}

/* ─────────────────────────────────────────────────────────────────────────
   HERO EMBLEM — hosts the app-splash animations (the golden-dust particles +
   the sun-ray burst) BEHIND the seed-of-life logo. The two <canvas> layers are
   centred on the logo and overflow it (pointer-events:none); the hero copy sits
   above them. See app.js heroDust()/heroRays() (ports of SplashDissolve + SunRays).
   ───────────────────────────────────────────────────────────────────────── */
.hero .hero-emblem {
  position: relative; z-index: 1; isolation: isolate;
  width: 196px; height: 196px; margin: 0 auto 30px;
  display: flex; align-items: center; justify-content: center;
}
.hero .hero-emblem .seed { margin: 0; position: relative; z-index: 3; }
.hero .hero-fx { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.hero #heroDust { z-index: 1; }
.hero #heroRays { z-index: 2; }
/* keep all hero copy above the dust/rays that overflow the emblem box */
.hero .wrap > :not(.hero-emblem) { position: relative; z-index: 2; }
@media (max-width: 860px) {
  .hero .hero-emblem { width: 148px; height: 148px; margin-bottom: 20px; }
}
