:root {
  --yellow: #ffeb3b;
  --ink: #111111;
  --paper: #ffffff;
  --muted: #6b6b6b;
  --rule: #e6e6e6;
  --blue: #0a7aff;
  --soft: #f4f4f6;
  --max: 720px;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #f2f2f2; --paper: #0e0e0e; --muted: #a0a0a0; --rule: #262626; --yellow: #fadb33; --blue: #3b8fff; --soft: #1a1a1c; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px; line-height: 1.5;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0 8px; }
header.top .brand img { height: 28px; width: auto; display: block; }
header.top nav a { color: var(--ink); margin-left: 18px; font-weight: 600; font-size: 15px; }
.mark { background: linear-gradient(transparent 55%, var(--yellow) 55%, var(--yellow) 92%, transparent 92%); padding: 0 3px; }
@media (prefers-color-scheme: dark) { .mark { color: #111; background: linear-gradient(transparent 12%, var(--yellow) 12%, var(--yellow) 92%, transparent 92%); } }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 12px; }
h1 { font-size: clamp(36px, 9vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 6vw, 34px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
p { margin: 0 0 14px; }
.lead { font-size: clamp(18px, 4.6vw, 22px); color: var(--muted); }

/* Hero: the ask first, the picture second */
.hero { padding: 22px 0 10px; text-align: center; }
.hero .lead { max-width: 560px; margin: 0 auto 22px; }
.stores { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-width: 160px; height: 54px; padding: 0 16px 0 12px;
  border-radius: 12px; background: var(--ink); color: var(--paper); text-align: left; line-height: 1.05;
}
.store svg { width: 24px; height: 24px; flex: none; fill: currentColor; }
.store small { display: block; font-size: 11px; font-weight: 500; opacity: 0.85; }
.store b { display: block; font-size: 17px; font-weight: 700; }
.store.soon { background: var(--soft); color: var(--muted); border: 1px solid var(--rule); cursor: default; }
.store.soon:hover { text-decoration: none; }
.stores-note { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
/* The Android waitlist opener: a real button in the badge's shape, the only live one before launch */
button.store.play { font: inherit; border: 0; cursor: pointer; background: var(--yellow); color: #111; box-shadow: 0 2px 10px rgba(0,0,0,0.18); }
button.store.play:hover { filter: brightness(0.96); }
button.store.play:active { transform: translateY(1px); }
button.store.play small { opacity: 0.75; }
/* iPhone waitlist, until the App Store badge replaces it: the ink pill, same shape as the Play button. */
button.store.apple { font: inherit; border: 0; cursor: pointer; background: var(--ink); color: var(--paper); box-shadow: 0 2px 10px rgba(0,0,0,0.18); }
button.store.apple:hover { filter: brightness(1.15); }
button.store.apple:active { transform: translateY(1px); }

/* Waitlist: the one thing a visitor can do before launch */
/* The Android waitlist is a dialog: nothing on the page but the button */
dialog.waitlist { width: min(480px, calc(100vw - 32px)); padding: 22px 20px 18px; border: 0; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,0.35); position: relative; }
dialog.waitlist::backdrop { background: rgba(0,0,0,0.5); }
dialog.waitlist h3 { font-size: 20px; font-weight: 800; margin: 0 0 12px; padding-right: 28px; }
dialog.waitlist .close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 16px; background: var(--soft); color: var(--ink); font-size: 20px; line-height: 32px; padding: 0; cursor: pointer; }
.waitlist form { display: flex; gap: 8px; }
.waitlist input {
  flex: 1; min-width: 0; height: 52px; padding: 0 14px; font-size: 17px; border-radius: 12px;
  border: 1.5px solid var(--rule); background: var(--paper); color: var(--ink);
}
.waitlist input:focus { outline: none; border-color: var(--ink); }
.waitlist form button {
  height: 52px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--yellow); color: #111;
  font-size: 16px; font-weight: 800; cursor: pointer; white-space: nowrap;
}
.waitlist form button:disabled { opacity: 0.6; cursor: default; }
.waitlist .why { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.waitlist .done { font-weight: 700; margin: 8px 0 0; }
.waitlist .err { color: #c62828; font-size: 14px; margin: 8px 0 0; }

/* A drawn phone around each screenshot: black bezel, thin edge highlight, the
   screenshot's own status bar and island inside it */
.device {
  display: block; width: min(300px, 78%); margin: 10px auto 0; padding: 11px;
  background: #0b0b0b; border-radius: 46px;
  box-shadow: 0 0 0 1.5px #3a3a3a, 0 0 0 3px #161616, 0 28px 56px rgba(0,0,0,0.28);
}
.device img { display: block; width: 100%; height: auto; border-radius: 36px; background: #000; }
.device.small { width: min(230px, 62%); }
/* Held sideways, the way a self-tape is filmed */
.device.wide { width: min(640px, 96%); padding: 11px; border-radius: 46px; }
.device.wide img { border-radius: 36px; }
.device.will-rise { opacity: 0; transform: translateY(28px) scale(0.985); transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.device.risen { opacity: 1; transform: none; }

section { padding: 38px 0; border-top: 1px solid var(--rule); }

/* Bands: the App Store screenshots' white / black / yellow, one benefit each */
.band { padding: 46px 0; border-top: 0; }
.band h2 { font-size: clamp(34px, 9vw, 52px); font-weight: 900; line-height: 1.02; letter-spacing: -0.02em; }
.band .lead { max-width: 560px; }
.band .device { margin-top: 30px; }
.band.black { background: #111; color: #fff; }
.band.black .lead, .band.black p { color: #cfcfcf; }
.band.black .founder p { color: #dcdcdc; }
.band.black .sign { color: #fff; }
.band.black .mark { color: #111; background: linear-gradient(transparent 12%, var(--yellow) 12%, var(--yellow) 92%, transparent 92%); }
.band.yellow { background: var(--yellow); color: #111; }
.band.yellow .lead, .band.yellow p { color: #3a3a1a; }
.band.yellow .mark.white { color: #111; background: linear-gradient(transparent 12%, #fff 12%, #fff 92%, transparent 92%); }
.band.yellow .phone { box-shadow: 0 24px 50px rgba(0,0,0,0.25); }
.band + .band { border-top: 0; }
/* Dark mode inverts both ways: the white bands go black above, and the black bands go light here */
@media (prefers-color-scheme: dark) {
  .band.black { background: #f2f2f2; color: #111; }
  .band.black .lead, .band.black p { color: #555; }
  .band.black .founder p { color: #333; }
  .band.black .sign { color: #111; }
}
.benefit { padding: 14px 0; }
.benefit + .benefit { border-top: 1px solid var(--rule); }
.benefit p { color: var(--muted); margin: 0; }
.quiet { color: var(--muted); }

/* The headshot: a rounded square, centred beside the paragraph */
.founder { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; }
.founder .disc { width: 96px; height: 96px; border-radius: 22px; background: var(--yellow); overflow: hidden; }
.founder .disc img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder .sign { font-weight: 700; margin-top: 6px; }
.founder .portrait { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.imdb { display: inline-block; background: var(--yellow); color: #111; font-weight: 900; font-size: 13px; letter-spacing: 0.02em; padding: 4px 9px; border-radius: 5px; line-height: 1.2; }
.imdb:hover { text-decoration: none; opacity: 0.9; }
.promise { background: var(--yellow); color: #111; border-radius: 18px; padding: 22px; font-size: clamp(19px, 5vw, 24px); font-weight: 800; line-height: 1.25; }

details { border-top: 1px solid var(--rule); padding: 14px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; color: var(--muted); margin-left: 12px; }
details[open] summary::after { content: "\2013"; }
details p { color: var(--muted); margin: 10px 0 0; }

.cta { text-align: center; }
footer { border-top: 1px solid var(--rule); padding: 26px 0 44px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-right: 16px; }
footer .made { margin-top: 8px; }
footer .social { display: flex; gap: 18px; margin: 16px 0 10px; }
footer .social a { margin: 0; display: inline-flex; color: var(--muted); }
footer .social a:hover { color: var(--ink); }
footer .social svg { width: 22px; height: 22px; fill: currentColor; }

.doc { max-width: 720px; padding: 10px 0 50px; }
.doc h1 { font-size: clamp(30px, 7vw, 42px); }
.doc h2 { font-size: 22px; margin-top: 32px; }
.doc p, .doc li { color: var(--ink); }
.doc .updated { color: var(--muted); font-size: 15px; }
.doc ul { padding-left: 22px; }

@media (min-width: 720px) {
  :root { --max: 960px; }
  .hero { padding-top: 34px; }
  .founder { grid-template-columns: 120px 1fr; gap: 24px; }
  .founder .disc { width: 120px; height: 120px; }
  /* Desktop: words on one side, the phone on the other, sides alternating band by band */
  .split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
  .split.flip { grid-template-columns: 0.85fr 1.15fr; }
  .split.flip .text { order: 2; }
  .split.flip .device { order: 1; }
  .split .device, .split .device.small { margin: 0 auto; width: min(280px, 100%); }
  .split .device.wide { width: min(700px, 100%); }
  .split:has(.device.wide), .split.flip:has(.device.wide) { grid-template-columns: 1.45fr 0.55fr; gap: 28px; }
  .band .device { margin-top: 0; }
  .hero.split { text-align: left; }
  .hero.split .lead { margin-left: 0; }
  .hero.split .stores { justify-content: flex-start; }
  .band .split .text h2 { font-size: clamp(38px, 5vw, 56px); }
}
