:root {
  --black: #080808;
  --black-soft: #0e0e0f;
  --surface: #141416;
  --white: #f1f0ed;
  --page-bg: oklch(98.2% 0.006 290);
  --page-ink: oklch(19% 0.012 290);
  --muted: oklch(42% 0.015 290);
  --quiet: oklch(46% 0.012 290);
  --line: oklch(88% 0.009 290);
  --violet: oklch(58% 0.2 290);
  --signal: #dff05e;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --page: min(1180px, calc(100% - 40px));
  --gutter: max(20px, calc((100vw - 1180px) / 2));
  --section-space: clamp(120px, 18vw, 280px);
  --z-menu: 20;
  --z-header: 30;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; background: var(--page-bg); }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--page-ink);
  background: var(--page-bg);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
body::before {
  position: fixed;
  z-index: -1;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(82% 0.055 290 / .28), oklch(98.2% 0.006 290 / 0) 68%);
  content: "";
  inset: 22vh auto auto 48vw;
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -.035em; text-wrap: balance; }
p { text-wrap: pretty; }

.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 11px 14px; color: var(--page-bg); background: var(--page-ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

header {
  position: fixed;
  z-index: var(--z-header);
  top: 0;
  display: flex;
  width: 100%;
  min-height: calc(72px + env(safe-area-inset-top));
  align-items: center;
  justify-content: space-between;
  padding: env(safe-area-inset-top) max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
  background: linear-gradient(to bottom, oklch(98.2% 0.006 290 / .94), oklch(98.2% 0.006 290 / 0));
}
.brand { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; font-size: .82rem; letter-spacing: .01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
header nav { position: fixed; z-index: var(--z-menu); inset: 0; display: grid; place-content: center; gap: 24px; background: var(--page-bg); opacity: 0; pointer-events: none; text-align: center; transform: translateY(-12px); transition: opacity .35s var(--ease), transform .5s var(--ease); }
header nav.open { opacity: 1; pointer-events: auto; transform: none; }
header nav a { padding: 8px; color: var(--muted); font-size: 1.5rem; font-weight: 300; }
header nav a:hover { color: var(--page-ink); }
header nav .nav-cta { color: var(--page-ink); }
.menu { position: relative; z-index: calc(var(--z-menu) + 1); width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.menu span { position: absolute; left: 12px; width: 20px; height: 1px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu span:first-child { top: 18px; }
.menu span:last-child { top: 25px; }
.menu[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.chapter { position: relative; width: var(--page); min-height: 100svh; margin-inline: auto; padding-block: var(--section-space); }
.chapter-copy { position: relative; z-index: 2; max-width: 520px; }
.chapter-copy > p:first-child, .whisper { margin: 0 0 32px; color: var(--quiet); font-size: .76rem; letter-spacing: .08em; }
.chapter-copy h2, .manifesto h2, .closing h2 { font-size: clamp(2.7rem, 7vw, 5.7rem); line-height: .98; }
.chapter-copy > p:not(:first-child), .manifesto-copy > p:last-child { max-width: 48ch; margin: 30px 0 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.8; }

.hero { display: grid; min-height: 100svh; grid-template-rows: 1fr auto; align-items: center; padding-block: 110px 34px; }
.hero-mark { position: absolute; top: 50%; left: 50%; width: clamp(72px, 9vw, 116px); opacity: .34; filter: saturate(.7); transform: translate(-50%, -150%); }
.hero-mark img { border-radius: 24%; }
.hero-copy { position: relative; z-index: 2; max-width: 760px; margin: 9vh auto 0; text-align: center; }
.hero h1 { font-size: clamp(3rem, 7.5vw, 5.8rem); line-height: .96; }
.hero-copy p { max-width: 560px; margin: 30px auto 0; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.75; }
.hero-foot { z-index: 2; display: flex; align-items: center; justify-content: space-between; color: var(--quiet); font-size: .67rem; letter-spacing: .06em; }
.hero-foot a { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; color: var(--page-ink); }
.sound-field { position: absolute; top: 50%; left: 50%; width: min(78vw, 860px); aspect-ratio: 1; opacity: .5; transform: translate(-50%, -50%); }
.sound-field::before { position: absolute; border-radius: 50%; background: radial-gradient(circle, oklch(78% 0.07 290 / .22), oklch(98.2% 0.006 290 / 0) 64%); content: ""; inset: 12%; filter: blur(28px); animation: breathe 8s ease-in-out infinite alternate; }
.sound-field i { position: absolute; border: 1px solid var(--line); border-radius: 50%; inset: 8%; }
.sound-field i:nth-child(2) { inset: 19%; }
.sound-field i:nth-child(3) { inset: 30%; }
.sound-field i:nth-child(4) { inset: 41%; border-color: oklch(84% 0.12 120); }
@keyframes breathe { to { opacity: .55; transform: scale(.88); } }

.manifesto { display: flex; min-height: 120svh; flex-direction: column; justify-content: center; }
.manifesto-copy { max-width: 940px; }
.manifesto h2 { max-width: 12ch; }
.source-line { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(70px, 12vw, 150px); padding-top: 20px; border-top: 1px solid var(--line); color: var(--quiet); font-size: .76rem; }

.capture, .browser-save, .share, .remember, .privacy { display: grid; gap: clamp(70px, 10vw, 150px); align-items: center; }
.screen-stage {
  position: relative;
  width: min(82%, 430px);
  margin-inline: auto;
  isolation: isolate;
}
.screen-stage::before {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(78% 0.07 290 / .23), transparent 69%);
  content: "";
  filter: blur(24px);
  inset: 9% -34%;
}
.screen-echo {
  position: absolute;
  z-index: -1;
  width: 100%;
  border-radius: 39px;
  filter: blur(34px) saturate(.75);
  inset: 7% auto auto 10%;
  opacity: .1;
  transform: scale(.94);
}
.device-frame {
  position: relative;
  z-index: 1;
  padding: 3px;
  overflow: hidden;
  border-radius: 39px;
  background: oklch(15% 0.012 290);
  box-shadow: 0 42px 68px -42px oklch(26% 0.05 290 / .32);
}
.device-frame img { display: block; width: 100%; height: auto; border-radius: 36px; image-rendering: auto; }
.screen-stage figcaption { display: flex; justify-content: space-between; gap: 18px; margin-top: 34px; color: var(--quiet); font-size: .65rem; line-height: 1.5; }
.screen-stage figcaption span { color: var(--page-ink); }
.inbox-stage::before { background: radial-gradient(circle, oklch(84% 0.08 55 / .22), transparent 69%); }
.quiet-stage::before { background: radial-gradient(circle at 60% 55%, oklch(77% 0.09 290 / .22), oklch(85% 0.09 165 / .1) 35%, transparent 70%); }
.browser-stage::before { background: radial-gradient(circle, oklch(84% 0.08 85 / .2), transparent 69%); }
.highlight-stage::before { background: radial-gradient(circle at 45% 52%, oklch(80% 0.07 290 / .2), oklch(88% 0.05 230 / .1) 38%, transparent 70%); }

.browser-save { min-height: 115svh; }

.remember { min-height: 120svh; }

.privacy { min-height: 110svh; }
.privacy-orbit { position: relative; width: min(70vw, 520px); aspect-ratio: 1; margin-inline: auto; border: 1px solid var(--line); border-radius: 50%; }
.privacy-orbit i { position: absolute; border: 1px solid var(--line); border-radius: 50%; inset: 17%; }
.privacy-orbit i:nth-child(2) { inset: 34%; }
.privacy-orbit span { position: absolute; inset: 0; display: grid; place-items: center; color: var(--violet); font-size: .65rem; letter-spacing: .16em; }
.privacy .chapter-copy a { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; margin-top: 27px; border-bottom: 1px solid var(--line); font-size: .78rem; }

.closing { display: flex; min-height: 115svh; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.closing > img { width: clamp(76px, 9vw, 108px); margin-bottom: 50px; border-radius: 24%; box-shadow: 0 28px 70px oklch(58% 0.2 290 / .16); }
.closing h2 { line-height: .96; }
.closing > p { margin: 35px 0 12px; color: var(--muted); }
.beta-state { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: var(--page-ink); font-size: .78rem; border-bottom: 1px solid var(--line); }

footer { display: grid; width: var(--page); gap: 30px; margin-inline: auto; padding-block: 45px calc(45px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--quiet); font-size: .72rem; }
footer p { margin: 0; }
footer > div { display: flex; gap: 24px; }
footer a:hover { color: var(--page-ink); }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }

@media (min-width: 760px) {
  :root { --page: min(1180px, calc(100% - 96px)); }
  header { padding-inline: 48px; }
  header nav { position: static; display: flex; align-items: center; gap: 28px; background: none; opacity: 1; pointer-events: auto; transform: none; }
  header nav a { min-height: 44px; padding: 0; font-size: .68rem; letter-spacing: .06em; }
  header nav .nav-cta { margin-left: 18px; border-bottom: 1px solid var(--line); }
  .menu { display: none; }
  .capture, .browser-save, .share, .remember, .privacy { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .share .chapter-copy { align-self: end; padding-bottom: 8vh; }
  .remember .chapter-copy { grid-column: 2; }
  .highlight-stage { grid-row: 1; grid-column: 1; }
  .privacy .chapter-copy { grid-column: 2; }
  .privacy-orbit { grid-row: 1; grid-column: 1; }
  footer { grid-template-columns: 1fr 1fr auto; align-items: center; }
  footer > div { justify-content: flex-end; }
}

@media (max-width: 759px) {
  .hero-foot span { max-width: 140px; line-height: 1.5; }
  .screen-stage { width: min(82vw, 390px); }
  .device-frame { padding: 3px; border-radius: 36px; }
  .device-frame img { border-radius: 33px; }
  .screen-echo { border-radius: 36px; }
  .screen-stage figcaption { margin-top: 25px; }
  .remember .chapter-copy { order: -1; }
  .privacy .chapter-copy { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
