@font-face {
  font-family: "Inter Variable";
  src: url("app/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0b0b0f;
  --soft: rgb(11 11 15 / .66);
  --page: #ffffff;
  --panel: #f5f5f7;
  --line: #e2e2e7;
  --muted: #6e6e73;
  --glass: rgb(255 255 255 / .55);
  --period: #e0234e;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Variable", "Segoe UI", Roboto, system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #ffffff;
    --soft: rgb(255 255 255 / .72);
    --page: #000000;
    --panel: #1c1c1e;
    --line: #2f2f32;
    --muted: #98989f;
    --glass: rgb(44 44 46 / .55);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1.0625rem/1.45 var(--font); letter-spacing: -.011em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--period); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--period); color: #fff; }

#planet { position: fixed; inset: 0; width: 100%; height: 100lvh; display: block; pointer-events: none; }

.top {
  position: fixed; z-index: 5; top: max(12px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 24px; width: min(calc(100% - 24px), 760px); min-height: 52px; padding: 6px 6px 6px 18px;
  border-radius: 26px; background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 8px 28px rgb(0 0 0 / .1), inset 0 .5px 0 rgb(255 255 255 / .35);
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: -.02em; }
.logo-mark { width: 26px; height: 26px; border-radius: 7px; }
.top nav { display: flex; gap: 22px; margin-left: auto; font-size: .875rem; font-weight: 500; color: var(--soft); }
.top nav a { transition: color 120ms; }
.top-cta { margin-left: 2px; display: grid; place-items: center; min-height: 40px; padding: 0 18px; border-radius: 20px; background: var(--ink); color: var(--page); font-size: .875rem; font-weight: 600; transition: transform 200ms var(--ease); }
.top-cta:active { transform: scale(.95); }

main { position: relative; z-index: 1; }

.story { height: 520svh; }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.scene { position: absolute; inset: 0; will-change: opacity, transform; }
.hero { display: grid; align-content: start; justify-items: center; gap: 18px; padding: 15vh 20px 0; text-align: center; }
.hero h1 { font-size: clamp(2.875rem, 9.4vw, 7.5rem); line-height: 1; font-weight: 700; letter-spacing: -.04em; text-wrap: balance; }
.hero p { max-width: 34em; font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); color: var(--soft); font-weight: 500; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; border-radius: 27px; font-weight: 600; transition: transform 240ms var(--ease), filter 120ms; }
.btn:active { transform: scale(.96); }
.btn small { font-size: .8125rem; font-weight: 500; opacity: .6; }
.btn-main { background: var(--ink); color: var(--page); }
.btn-glass { background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); }
.btn-quiet { background: var(--panel); }

.chapter { padding: 17vh clamp(20px, 7vw, 96px) 0; opacity: 0; visibility: hidden; }
.chapter > * { max-width: 640px; }
.chapter h2 { font-size: clamp(3.5rem, 12vw, 10rem); line-height: .95; font-weight: 700; letter-spacing: -.045em; }
.chapter p { margin-top: 16px; font-size: clamp(1.1875rem, 2vw, 1.625rem); line-height: 1.3; font-weight: 500; color: var(--soft); letter-spacing: -.02em; }
.level { display: flex; align-items: center; gap: 4px; margin-top: 20px; font-size: .9375rem; font-weight: 600; }
.level i { width: 26px; height: 9px; border-radius: 5px; background: rgb(127 127 135 / .3); }
.level i.on { background: currentColor; }
.level span { margin-left: 8px; }

.solid { position: relative; background: var(--page); border-radius: 36px 36px 0 0; }
.tryout { display: grid; gap: 40px; max-width: 1120px; margin-inline: auto; padding: clamp(64px, 11vw, 140px) 20px; }
.tryout h2, .install h2 { font-size: clamp(2.5rem, 6.4vw, 5rem); line-height: 1.02; font-weight: 700; letter-spacing: -.04em; text-wrap: balance; }
.tryout-text > p { margin-top: 16px; max-width: 30em; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--muted); letter-spacing: -.016em; }
.tryout ul { display: grid; margin-top: 32px; }
.tryout li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); }
.tryout li strong { display: block; color: var(--ink); font-weight: 600; }
.phone { --s: 1; position: relative; justify-self: center; width: calc(390px * var(--s) + 20px); height: calc(844px * var(--s) + 20px); padding: 10px; border-radius: calc(54px * var(--s) + 10px); background: #0b0b0f; box-shadow: 0 0 0 1.5px #2c2c2e, 0 40px 90px rgb(0 0 0 / .28); }
.phone iframe { display: block; width: 390px; height: 844px; border: 0; border-radius: 54px; transform: scale(var(--s)); transform-origin: 0 0; background: #000; }

.privacy { background: #000; color: #fff; padding: clamp(96px, 16vw, 200px) 20px; text-align: center; }
.privacy h2 { font-size: clamp(3rem, 10vw, 8.75rem); line-height: 1; font-weight: 700; letter-spacing: -.045em; }
.privacy p { margin: 28px auto 0; max-width: 30em; font-size: clamp(1.125rem, 1.8vw, 1.4375rem); color: #a1a1a6; letter-spacing: -.016em; }

.install { display: grid; justify-items: center; gap: 28px; max-width: 1000px; margin-inline: auto; padding: clamp(72px, 12vw, 150px) 20px; text-align: center; }
.install ol { display: grid; gap: 28px; width: 100%; counter-reset: step; text-align: left; }
.install li { counter-increment: step; display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.install li::before { content: counter(step); font-size: 2.25rem; font-weight: 700; letter-spacing: -.03em; color: var(--period); }
.install li strong { font-size: 1.25rem; font-weight: 600; letter-spacing: -.016em; }
.install li span { color: var(--muted); }
.note { max-width: 36em; font-size: .875rem; color: var(--muted); }
.install .note + .note { margin-top: -20px; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; max-width: 1120px; margin-inline: auto; padding: 24px 20px calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }

@media (hover: hover) {
  .top nav a:hover { color: var(--ink); }
  .btn:hover, .top-cta:hover { filter: brightness(.92); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .top, .btn-glass { background: var(--page); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (max-width: 680px) {
  .top nav { display: none; }
  .top-cta { margin-left: auto; }
  .hero { padding-top: 13vh; }
  .chapter { padding-top: 13vh; }
  .cta { width: 100%; max-width: 340px; }
  .btn { width: 100%; }
}

@media (min-width: 720px) {
  .install ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .tryout { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 80px; }
}
