:root {
  color-scheme: dark;
  --bg: #000;
  --card: #111113;
  --line: #2a2a2e;
  --text: #f5f5f7;
  --dim: #a1a1a8;
  --y: #f5d600;
  --ink: #000;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.08; font-weight: 800; }
h1 { font-size: clamp(40px, 9vw, 72px); }
h2 { font-size: clamp(30px, 6vw, 48px); }
.y { color: var(--y); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.lead { color: var(--dim); font-size: clamp(17px, 3.6vw, 21px); margin-top: 16px; max-width: 34em; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.logo i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--y); }
.nav .link { color: var(--dim); font-size: 15px; }
.nav .link:hover { color: var(--text); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 9px 20px 9px 16px;
  border-radius: 12px;
  background: #fff;
  color: #000;
}
.badge svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.badge small { display: block; font-size: 11px; font-weight: 500; line-height: 1.1; }
.badge b { display: block; font-size: 22px; font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
.note { margin-top: 12px; color: var(--dim); font-size: 14px; }

/* iPhone 17, in points. Screen 402 x 874 with a 62 corner, from Apple's device data in Xcode; body 71.5 x 149.6 mm
   at 460 ppi leaves about 15 around the screen. Buttons sit where Apple's Simulator frame puts them. */
.phone {
  --pw: 280px;
  --u: calc(var(--pw) / 432);
  position: relative;
  flex: none;
  width: var(--pw);
  height: calc(var(--u) * 904);
  border-radius: calc(var(--u) * 77);
  background: linear-gradient(145deg, #e4e4e8 0%, #96969b 14%, #5f5f64 38%, #77777c 62%, #a3a3a8 86%, #dcdce0 100%);
  box-shadow: 0 calc(var(--u) * 30) calc(var(--u) * 70) rgba(245, 214, 0, .08);
}
.phone::before {
  content: "";
  position: absolute;
  inset: calc(var(--u) * 3);
  border-radius: calc(var(--u) * 74);
  background: #030304;
  box-shadow: inset 0 0 0 calc(var(--u) * 1) #2c2c2e;
}
.phone img {
  position: absolute;
  top: calc(var(--u) * 15);
  left: calc(var(--u) * 15);
  width: calc(var(--u) * 402);
  height: calc(var(--u) * 874);
  border-radius: calc(var(--u) * 62);
  background: #000;
}
.phone::after {
  content: "";
  position: absolute;
  top: calc(var(--u) * 29);
  left: 50%;
  width: calc(var(--u) * 126);
  height: calc(var(--u) * 37);
  border-radius: calc(var(--u) * 19);
  background: #000;
  transform: translateX(-50%);
}
/* The Home indicator every iPhone draws over the app; screenshots leave it out. */
.home-bar {
  position: absolute;
  top: calc(var(--u) * 876);
  left: calc(var(--u) * 146.5);
  width: calc(var(--u) * 139);
  height: calc(var(--u) * 5);
  border-radius: calc(var(--u) * 2.5);
  background: #fff;
}
.keys, .keys::before, .keys::after {
  position: absolute;
  width: calc(var(--u) * 3);
  border-radius: calc(var(--u) * 1.5);
  background: linear-gradient(90deg, #a9a9ae, #5f5f64);
}
.keys {
  top: calc(var(--u) * 221);
  left: calc(var(--u) * -2.5);
  height: calc(var(--u) * 64);
}
.keys::before {
  content: "";
  top: calc(var(--u) * 79);
  height: calc(var(--u) * 64);
}
.keys::after {
  content: "";
  top: calc(var(--u) * -61);
  height: calc(var(--u) * 34);
}
.keys i {
  position: absolute;
  top: calc(var(--u) * 41);
  left: calc(var(--u) * 433.5);
  width: calc(var(--u) * 3);
  height: calc(var(--u) * 101);
  border-radius: calc(var(--u) * 1.5);
  background: linear-gradient(90deg, #5f5f64, #a9a9ae);
}

.hero { padding: 24px 20px 20px; text-align: center; }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero .badge { margin-top: 26px; }

.story-row { padding: 30px 0; }
.story {
  display: grid;
  gap: 28px;
  align-items: center;
  justify-items: center;
  text-align: center;
}
.story .phone { --pw: min(72vw, 300px); }
.story p { max-width: 28em; margin-top: 14px; color: var(--dim); font-size: 19px; }
.num {
  margin-bottom: 10px;
  color: var(--y);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.band { margin-top: 50px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.band .wrap { padding-top: 64px; padding-bottom: 70px; text-align: center; }
.band .lead { margin-left: auto; margin-right: auto; }
.cols {
  --pw: 27vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 12px;
  margin-top: 28px;
}
.cols .phone { --pw: inherit; }

.pro { padding-top: 80px; padding-bottom: 20px; text-align: center; }
.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--y);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pro h2 { margin-top: 14px; }
.tick { display: grid; gap: 10px; max-width: 30em; margin: 28px auto 0; list-style: none; text-align: left; }
.tick li { position: relative; padding-left: 28px; }
.tick li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--y);
}

.final { padding-top: 60px; text-align: center; }
.final .badge { margin-top: 24px; }

footer { margin-top: 80px; padding: 32px 0 48px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a:hover { color: var(--text); }

/* Privacy, Terms and Support */
.doc { max-width: 640px; margin: 0 auto; padding: 32px 24px 0; }
.doc h1 { font-size: clamp(34px, 8vw, 48px); }
.doc .updated { margin-top: 10px; color: var(--dim); font-size: 14px; }
.doc .intro { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.doc h2 { margin-top: 40px; font-size: 24px; letter-spacing: -.01em; line-height: 1.2; }
.doc h3 { margin-top: 24px; font-size: 18px; letter-spacing: -.01em; line-height: 1.25; font-weight: 700; }
.doc p, .doc ul { margin-top: 12px; color: #c9c9ce; }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--text); }
.doc a { color: var(--y); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }

@media (min-width: 620px) and (max-width: 859px) {
  .cols { --pw: 15vw; flex-wrap: nowrap; gap: 10px; }
}

@media (min-width: 860px) {
  .story { grid-template-columns: 1fr 1fr; gap: 80px; justify-items: stretch; text-align: left; }
  .story .phone { --pw: 330px; margin: 0 auto; }
  .story.flip .t { order: 2; }
  .cols { --pw: 170px; flex-wrap: nowrap; gap: 14px; }
  .cols .phone:nth-child(odd) { transform: translateY(calc(var(--pw) * .1)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
