:root {
  color-scheme: dark;
  --night: #111214;
  --night-2: #16181c;
  --card: #1c1e22;
  --card-2: #22252b;
  --line: #33363d;
  --text: #eceef2;
  --muted: #a3a8b2;
  --faint: #6b7280;
  --accent: #a9b9ce;
  --accent-ink: #111214;
  --warm: #f0a184;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  --w: 1080px;
}
* { box-sizing: border-box; }
html { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body {
  margin: 0; background: var(--night); color: var(--text);
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.page { position: relative; z-index: 1; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.1; font-variation-settings: "opsz" 96; }
h3 { font-size: 1.25rem; line-height: 1.25; font-variation-settings: "opsz" 48; }
p { margin: 0; }
.wrap { max-width: var(--w); margin: 0 auto; padding-inline: 20px; }
.eyebrow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.measure { max-width: 62ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- App Store banner (shown where Safari's native Smart App Banner is not) ---------- */
.store { background: var(--card-2); border-bottom: 1px solid var(--line); }
.store[hidden] { display: none; }
.store .wrap { display: flex; align-items: center; gap: 12px; padding-block: 9px; }
.store img { width: 40px; height: 40px; border-radius: 9px; flex: none; }
.store .t { flex: 1; min-width: 0; line-height: 1.25; }
.store .t b { display: block; font-size: 0.9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store .t span { display: block; font-size: 0.78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store .cta { padding: 7px 14px; font-size: 0.85rem; }
.store .x { background: none; border: 0; color: var(--faint); font-size: 22px; line-height: 1; padding: 4px; cursor: pointer; flex: none; }
.store .x:hover { color: var(--text); }

/* ---------- Nav ---------- */
nav.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: color-mix(in srgb, var(--night) 78%, transparent); border-bottom: 1px solid var(--line); }
nav.top .wrap { display: flex; align-items: center; gap: 18px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.05rem; color: var(--text); }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.tabs { display: flex; gap: 4px; margin-left: auto; }
.tabs a { color: var(--muted); padding: 6px 12px; border-radius: 999px; font-size: 0.92rem; font-weight: 500; }
.tabs a:hover { text-decoration: none; color: var(--text); }
.tabs a.on { color: var(--accent-ink); background: var(--accent); }
.cta { background: var(--accent); color: var(--accent-ink); font-weight: 600; padding: 9px 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.cta:hover { text-decoration: none; filter: brightness(1.06); }
.cta.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }

section { padding-block: 72px; }
section + section { border-top: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { padding-block: 72px 88px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; font-weight: 300; color: var(--accent); }
.hero .lede { font-size: 1.15rem; color: var(--muted); margin-top: 18px; }
.hero .actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; align-items: center; }
.phone { border-radius: 36px; border: 1px solid var(--line); box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 8px var(--night-2); overflow: hidden; background: var(--night-2); }

/* ---------- Peek card ---------- */
.peek { background: radial-gradient(120% 70% at 60% 105%, color-mix(in srgb, var(--accent) 12%, var(--card)) 0%, var(--card) 70%); border: 1px solid var(--line); border-radius: 22px; padding: 22px 22px 16px; width: 100%; max-width: 560px; justify-self: end; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.peek-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.peek-head .where { font-size: 0.85rem; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.peek-head select { font: inherit; font-size: 0.85rem; color: var(--accent); background: transparent; border: 0; border-bottom: 1px dashed var(--faint); padding: 0 2px; cursor: pointer; max-width: 200px; }
.peek-head button.link { font: inherit; font-size: 0.85rem; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; }
.peek-head button.link:hover { text-decoration: underline; }
.live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: .1em; color: var(--accent); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2.2s infinite; }
.live.off { color: var(--faint); }
.live.off i { background: var(--faint); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent);} 70% { box-shadow: 0 0 0 9px transparent;} 100% { box-shadow: 0 0 0 0 transparent;} }
.peek .when { font-family: var(--display); font-size: 2rem; line-height: 1.05; margin-top: 10px; }
.peek .when .mono { font-family: var(--mono); font-weight: 500; }
.peek .sat { font-size: 1.05rem; margin-top: 4px; }
.peek .sub { color: var(--muted); font-size: 0.95rem; font-family: var(--mono); }
.arc { width: 100%; height: auto; margin-top: 10px; display: block; }
.peek .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.peek .row div { font-size: 0.82rem; color: var(--muted); }
.peek .row b { display: block; font-family: var(--mono); font-weight: 500; font-size: 0.84rem; color: var(--text); white-space: nowrap; }
.peek .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--faint); flex-wrap: wrap; }
.peek .foot .up { display: flex; gap: 14px; flex-wrap: wrap; }
.peek .foot .up span b { color: var(--text); font-weight: 500; }
.peek .status { margin-top: 14px; color: var(--muted); font-size: 0.92rem; }
.chip { display: inline-block; font-family: var(--mono); font-size: 0.72rem; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); padding: 1px 7px; border-radius: 999px; }
.chip.warm { background: color-mix(in srgb, var(--warm) 18%, transparent); color: var(--warm); }
.peek.busy .foot { opacity: .35; }

/* ---------- Showcase: a pinned stage; vertical scrolling slides the phones sideways ---------- */
.showcase { height: 420vh; position: relative; padding: 0; }
.stage { position: sticky; top: env(safe-area-inset-top, 0px); height: 100vh; height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 10px; overflow: hidden; padding-block: 24px 28px; }
.stage-head { text-align: center; }
.stage-head h2 { margin-top: 8px; }
.track { position: relative; perspective: 1400px; min-height: 0; }
.slide { position: absolute; left: 50%; top: 50%; margin: 0; height: calc(100% - 16px); max-height: 560px; aspect-ratio: 1320 / 2868; transform: translate(-50%, -50%); will-change: transform, opacity; transition: filter .3s; }
.slide .phone { width: 100%; height: 100%; }
.slide .phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slide:not(.on) { filter: saturate(.7); }
.captions { position: relative; min-height: 7.5rem; text-align: center; }
.captions.wrap { width: 100%; }
.cap { position: absolute; top: 0; left: 0; right: 0; width: min(100%, 52ch); margin: 0 auto; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.cap.on { opacity: 1; transform: none; pointer-events: auto; }
.cap .k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.cap h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); margin-top: 8px; font-variation-settings: "opsz" 72; }
.cap p { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.chips button { font: inherit; font-size: 0.88rem; font-weight: 500; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: color .25s, background .25s, border-color .25s; }
.chips button:hover { color: var(--text); }
.chips button.on { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.progress { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); width: 120px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 25%; background: var(--accent); transform-origin: left; }

/* ---------- Hero motion ---------- */
.reveal { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.arc .trail { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s ease-out .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.arc .comet { filter: drop-shadow(0 0 6px var(--accent)); }

/* ---------- Stations ---------- */
.stations { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.station { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 8px; }
.station .k { font-family: var(--mono); font-size: 0.72rem; color: var(--faint); letter-spacing: .08em; }
.station .n { font-family: var(--display); font-size: 1.5rem; }
.station .cat { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }

/* ---------- Privacy glance ---------- */
.glance { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
td:first-child { color: var(--text); font-weight: 500; white-space: nowrap; }
td { color: var(--muted); }
.no { color: var(--accent); font-family: var(--mono); font-size: 0.8rem; }
.tbl { overflow-x: auto; }

/* ---------- Article (policy, support) ---------- */
.article { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding-block: 56px 96px; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); align-self: start; display: grid; gap: 6px; font-size: 0.9rem; }
.toc a { color: var(--muted); padding: 4px 0; }
.toc a:hover { color: var(--text); text-decoration: none; }
.toc .eyebrow { margin-bottom: 8px; }
.prose { max-width: 66ch; }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); }
.prose .meta { color: var(--faint); font-family: var(--mono); font-size: 0.8rem; margin-top: 12px; }
.prose h2 { font-size: 1.5rem; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.prose h3 { margin-top: 26px; }
.prose p { margin-top: 12px; color: var(--muted); }
.prose p strong { color: var(--text); font-weight: 500; }
.prose ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.prose li::marker { color: var(--faint); }
.callout { margin-top: 20px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 16px 18px; color: var(--muted); }
.callout b { color: var(--text); font-weight: 500; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 500; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-family: var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 62ch; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.contact div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.contact .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.contact .v { margin-top: 6px; font-weight: 500; overflow-wrap: anywhere; }
.contact .s { margin-top: 4px; color: var(--muted); font-size: 0.88rem; }
.copy { margin-top: 10px; font-family: var(--mono); font-size: 0.78rem; color: var(--accent); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; cursor: pointer; }

footer { border-top: 1px solid var(--line); padding-block: 32px; color: var(--faint); font-size: 0.85rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap, .glance, .article, .stations, .contact { grid-template-columns: 1fr; }
  .hero { padding-block: 44px 56px; }
  .peek { justify-self: stretch; max-width: none; padding: 18px 16px 14px; }
  .peek .when { font-size: 1.6rem; }
  .peek .sub { font-size: 0.85rem; }
  .peek .row { grid-template-columns: 1fr; gap: 6px; }
  .peek .row div { display: flex; justify-content: space-between; gap: 10px; }
  .peek .row b { display: inline; }
  .showcase { height: 360vh; }
  .stage { padding-block: 18px 16px; gap: 6px; }
  .slide { max-height: 440px; }
  .captions { min-height: 8.5rem; }
  .cap p { font-size: 0.9rem; }
  .chips button { padding: 6px 11px; font-size: 0.82rem; }
  .toc { position: static; }
  .tabs a { padding: 6px 9px; font-size: 0.85rem; }
  nav.top .cta { display: none; }
  .brand span { display: none; }
  section { padding-block: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .live i { animation: none; }
  .slide, .cap, .chips button { transition: none; }
  .reveal { animation: none; }
  .arc .trail { animation: none; stroke-dashoffset: 0; }
}
