@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0b0a0a;
  --ink: #f3ead9;
  --muted: #a39b8d;
  --faint: #6f695f;
  --line: rgba(243, 234, 217, .12);
  --amber: #e9b566;
  /* San Francisco on Apple devices (the app's own font); Geist everywhere else. */
  --sans: -apple-system, BlinkMacSystemFont, system-ui, "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Geist Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .2em; text-decoration-color: var(--faint); }
a:hover { text-decoration-color: var(--amber); }
img { max-width: 100%; }

.wrap { width: min(1080px, 100% - 48px); margin-inline: auto; }

/* ── top bar ── */
.top { position: absolute; inset: 0 0 auto 0; z-index: 4; padding: 22px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 23%; display: block; }
.top nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--ink); }

/* ── hero ── */
.hero { min-height: 100svh; display: grid; align-items: center; padding: 84px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(32px, 7vw, 110px); }
.kicker { font: 600 11.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--amber); margin: 0 0 22px; }
h1 { font: 600 clamp(72px, 11.5vw, 140px)/.9 var(--sans); letter-spacing: -.04em; margin: 0 0 0 -.04em; }
.say { margin: 22px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; color: var(--muted);
  font: 400 13px/1.4 var(--mono); letter-spacing: .04em; }
.say b { font-weight: 500; font-size: 15px; color: var(--amber); }
.lede { font: 400 clamp(18px, 1.9vw, 21px)/1.55 var(--sans); letter-spacing: -.01em; margin: 26px 0 0; max-width: 31em; color: #cfc6b6; }
.lede em { font-style: normal; color: var(--ink); font-weight: 500; }
.cta { margin: 36px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 99px;
  background: var(--amber); color: #1a1408; font-weight: 600; font-size: 16px; text-decoration: none;
}
.pill.soon { background: none; color: var(--ink); border: 1px solid var(--line); font-weight: 500; }
.pill.soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.cta small { color: var(--faint); font-size: 14px; }

/* ── phone: Apple's bezel art with the screenshots behind it ── */
.phone { position: relative; height: min(78svh, 740px); aspect-ratio: 1350 / 2760; justify-self: center; }
.phone .bezel { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; display: block; }
.phone .screen {
  position: absolute; left: 5.333%; top: 2.5%; width: 89.333%; height: 95%;
  border-radius: 13.6% / 6.26%; overflow: hidden; background: #000; z-index: 1;
}
.phone .home { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.phone .appview { position: absolute; inset: 0; overflow: hidden; }
.phone .appview img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── sections ── */
.facts { border-top: 1px solid var(--line); padding: clamp(56px, 9vw, 110px) 0; }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 5vw, 64px); }
.facts h2 { font: 600 28px/1.15 var(--sans); letter-spacing: -.035em; margin: 0 0 12px; }
.facts p { margin: 0; color: var(--muted); }
.facts .n { font: 600 11px/1 var(--mono); letter-spacing: .2em; color: var(--amber); margin: 0 0 18px; }

footer { border-top: 1px solid var(--line); padding: 30px 0 44px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--ink); }
footer button { all: unset; cursor: pointer; color: var(--muted); }
footer button:hover { color: var(--ink); }

/* ── text pages ── */
.page { padding: 130px 0 90px; }
.page .wrap { width: min(700px, 100% - 48px); }
.page h1 { font-size: clamp(44px, 7vw, 64px); line-height: 1; letter-spacing: -.045em; margin: 0; }
.page .date { color: var(--faint); margin: 16px 0 34px; font: 13px/1.5 var(--mono); letter-spacing: .03em; }
.page h2 { font: 600 22px/1.25 var(--sans); letter-spacing: -.025em; margin: 46px 0 10px; }
.page p, .page li { color: #cfc6b6; }
.page ul { padding-left: 1.15em; }
.page li { margin: 8px 0; }
.page strong { color: var(--ink); font-weight: 600; }

/* ── intro (first visit) ── */
#intro-gl {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: 10; display: block;
  transform-origin: 50% 50%; will-change: transform, opacity; pointer-events: none;
}
#intro-skip {
  position: fixed; z-index: 11; right: 20px; bottom: max(20px, env(safe-area-inset-bottom));
  padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 99px; cursor: pointer;
  background: rgba(20, 20, 20, .6); color: rgba(255, 255, 255, .7); font: 13px var(--sans);
}
/* During the intro the page keeps its own background; intro.js moves the words in. */
html.intro, html.intro body { overflow: hidden; }
html.intro .top, html.intro .copy { opacity: 0; transition: none; will-change: opacity, transform; }
html.intro .phone { opacity: 0; will-change: transform, opacity; }
html.intro .appview { opacity: 0; }

@media (max-width: 820px) {
  .hero { padding: 76px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 34px; }
  .phone { order: -1; height: min(62svh, 560px); }
  .copy { text-align: center; }
  .say, .cta { justify-content: center; }
  .lede { margin-inline: auto; }
  .facts .wrap { grid-template-columns: 1fr; }
  .top nav { gap: 16px; }
}

/* ── footer ── */
footer.foot { border-top: 1px solid var(--line); padding: 54px 0 40px; color: var(--muted); font-size: 14px; }
footer.foot .wrap { display: block; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.foot-brand .brand { color: var(--ink); }
.foot-brand p { margin: 14px 0 0; line-height: 1.6; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col h3 { margin: 0 0 4px; font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
footer.foot a { color: var(--muted); text-decoration: none; }
footer.foot a:hover { color: var(--ink); }
.foot-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12.5px; line-height: 1.55; }
.foot-legal p { margin: 0 0 6px; }
@media (max-width: 820px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
