:root {
  --bg: #1A1816; --bar: #0E0D10;
  --ink: #FFFAF0; --soft: rgba(255,250,240,0.68); --faint: rgba(255,250,240,0.55);
  --cyan: #9FD4EA;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--ink); overflow-x: hidden;   /* no body background: it would paint over the z-index -1 canvas */
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
a:hover { color: #7FC0DC; }

/* the live grain + light, fixed behind everything (grain.js) */
#grain { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: -1; background: var(--bg); }

/* floating menu bar: grainy black from the header still */
.nav { position: absolute; top: 20px; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; padding: 0 16px; }
.bar { display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 14px; border-radius: 999px;
  background: var(--bar) url(assets/grain-bar.jpg) center / 900px auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,250,240,0.06); }
.home { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 6px 10px 6px 0; }
.home img { display: block; width: 38px; height: 38px; margin: -4px -2px -4px -6px; }
.home span { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; }
.links { display: flex; gap: 2px; }
.links a { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; padding: 10px 12px; color: rgba(255,250,240,0.72); }
.links a[aria-current] { color: var(--ink); }
.get { font-size: 13px; font-weight: 600; text-decoration: none; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); }
.get:hover { color: var(--bg); background: #fff; }
@media (max-width: 720px) { .links { display: none; } }

/* home */
.hero { display: flex; flex-direction: column; align-items: center; padding: 116px 16px 0; text-align: center; }
.phone { position: relative; height: min(840px, 190vw); aspect-ratio: 527 / 1348;
  filter: drop-shadow(0 50px 70px rgba(0,0,0,0.6)) drop-shadow(0 16px 24px rgba(0,0,0,0.4)); }
.phone video { position: absolute; left: 3.2258%; top: 1.1869%; width: 85.0095%; height: 96.8843%; object-fit: fill;
  clip-path: polygon(2.881% 5.079%, 3.547% 4.773%, 4.97% 4.283%, 99.313% 0.136%, 99.741% 99.903%, 3.337% 98.911%, 2.193% 98.518%, 1.526% 98.212%, 1.082% 97.982%, 0.423% 97.604%, 0.907% 6.21%, 1.55% 5.767%); }
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.split { width: 100%; max-width: 1180px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px 64px; }
.copy { flex: 1 1 420px; max-width: 640px; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
.split .phone { flex: 0 0 auto; }
@media (max-width: 900px) { .copy { text-align: center; align-items: center; } }
.eyebrow { margin: 0; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); }
.soon .eyebrow { margin-top: 28px; }
.hero h1 { margin: 18px 0 0; font-size: clamp(40px, 4.4vw, 68px); line-height: 0.9; font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; }
.soon h1 { font-size: clamp(48px, 8.4vw, 116px); }
.lede { margin: 24px 0 0; max-width: 520px; font-size: 19px; line-height: 1.45; color: var(--soft); }
.store { margin-top: 32px; display: inline-flex; padding: 15px 26px; border-radius: 999px; background: var(--ink); color: var(--bg);
  text-decoration: none; font-size: 16px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.store:hover { color: var(--bg); background: #fff; }
.promise { margin: 120px 0 0; max-width: 760px; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.4; font-weight: 500; color: var(--faint); }
.promise span { color: var(--ink); }

/* coming soon */
.soon { min-height: calc(100vh - 140px); justify-content: center; padding-top: 120px; }
.soon-ring { width: 180px; height: 180px; display: block; }

/* support + privacy */
.title { height: 360px; display: flex; align-items: flex-end; justify-content: center; padding: 0 16px 48px; }
.title > div { width: 100%; max-width: 720px; }
.title h1 { margin: 0; font-size: clamp(44px, 7vw, 80px); line-height: 0.95; font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; }
.title p { margin: 14px 0 0; font-size: 15px; color: rgba(255,250,240,0.6); }
.doc { display: flex; justify-content: center; padding: 40px 16px 96px; }
.doc > div { width: 100%; max-width: 720px; display: flex; flex-direction: column; gap: 40px; }
.glass { border-radius: 28px; padding: 28px;
  background: linear-gradient(160deg, rgba(255,250,240,0.10), rgba(255,250,240,0.03));
  -webkit-backdrop-filter: blur(30px) saturate(1.6); backdrop-filter: blur(30px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), inset 0 0 0 1px rgba(255,250,240,0.06), inset 0 -10px 24px rgba(255,250,240,0.03), 0 24px 60px rgba(0,0,0,0.28); }
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.contact p { margin: 0; font-size: 18px; line-height: 1.45; color: rgba(255,250,240,0.75); }
.contact a { font-size: 15px; font-weight: 600; text-decoration: none; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); }
.doc h2 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.glass > h2:first-child { margin-bottom: 12px; font-size: 26px; letter-spacing: -0.01em; }
.doc h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.doc p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--soft); }
.steps p { padding: 14px 0; box-shadow: 0 1px 0 rgba(255,250,240,0.07); }
.steps p:last-child { box-shadow: none; }
.steps b { color: var(--ink); font-weight: 600; }
.stack { display: flex; flex-direction: column; gap: 26px; }
.summary { margin: 0; font-size: 20px !important; line-height: 1.45 !important; font-weight: 500; color: var(--ink) !important; }

footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 96px 16px 48px; font-size: 14px; color: var(--faint); }
footer a { color: rgba(255,250,240,0.75); }
.doc + footer { padding-top: 32px; }
