:root {
  --bg: #F6F6F4; --surface: #FFFFFF; --sunken: #F2F2F0; --ink: #151515; --muted: #666666; --faint: #6E6E6E;
  --hairline: #ECECEA; --accent: #FFDB3D; --on-accent: #151515; --mint: #CDEBD4; --shadow: rgba(21,21,21,.06);
  --radius: 24px; --max: 1100px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0E0E0E; --surface: #1A1A1A; --sunken: #252525; --ink: #F4F4F2; --muted: #A3A3A3; --faint: #8E8E8E;
    --hairline: #333333; --shadow: rgba(0,0,0,.35); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font: 400 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(circle at 12% 75%, rgba(255,219,61,.16), transparent 55%); }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 21px; letter-spacing: -.6px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; background: #fff; box-shadow: 0 4px 20px var(--shadow); }
nav.top { display: flex; align-items: center; gap: 18px; font-size: 15px; }
nav.top a.link { text-decoration: none; color: var(--muted); }
nav.top a.link:hover { color: var(--ink); }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hairline); }
.lang a, .lang span { min-width: 38px; text-align: center; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 500; text-decoration: none; color: var(--muted); }
.lang span { background: var(--accent); color: var(--on-accent); }
h1, h2, h3 { letter-spacing: -.03em; line-height: 1.12; margin: 0; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 40px 0 72px; }
.hero h1 { font-weight: 400; font-size: clamp(44px, 7vw, 76px); letter-spacing: -.045em; }
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 470px; margin: 20px 0 32px; }
/* Same design box as the app's welcome collage (393×330), scaled with container units. */
.collage { position: relative; width: 100%; aspect-ratio: 393 / 345; container-type: inline-size; }
.collage > * { position: absolute; box-shadow: 0 2.5cqw 10cqw var(--shadow); }
.card { border-radius: 6.1cqw; padding: 4.1cqw; }
.card small { display: block; font-size: 2.8cqw; opacity: .6; margin-top: 3.6cqw; }
.card b { display: block; font-size: 6.6cqw; line-height: 1.2; font-weight: 500; letter-spacing: -.25cqw; margin-top: .5cqw; }
.card .pill { display: inline-flex; align-items: center; gap: 1.3cqw; padding: 1cqw 2.6cqw 1cqw 1cqw; border-radius: 99cqw; font-size: 2.8cqw; font-weight: 500; }
.card .pill i { width: 4.6cqw; height: 4.6cqw; border-radius: 50%; background: #FFDB3D; color: #151515; font-style: normal; font-size: 2.5cqw; display: grid; place-items: center; }
.card .foot { position: absolute; left: 4.1cqw; right: 4.1cqw; bottom: 4.1cqw; display: flex; justify-content: space-between; align-items: flex-end; font-size: 2.8cqw; }
.card .foot span { opacity: .6; }
.c-white { background: #fff; color: #151515; left: 59cqw; top: 2cqw; width: 50.9cqw; height: 42.7cqw; transform: rotate(4deg); }
.c-white .pill { background: #F2F2F0; }
.c-black { background: #151515; color: #fff; left: -11.7cqw; top: 21cqw; width: 54.5cqw; height: 38.2cqw; transform: rotate(-8deg); border: 1px solid rgba(255,255,255,.12); }
.c-black .pill { background: rgba(255,255,255,.14); }
.c-mint { background: #CDEBD4; color: #151515; left: 26.5cqw; top: 31cqw; width: 60cqw; height: 43.8cqw; transform: rotate(-2deg); }
.c-mint .pill { background: rgba(255,255,255,.7); }
.chip { background: #fff; color: #151515; border-radius: 99cqw; padding: 2.8cqw 4.1cqw; font-size: 3.6cqw; white-space: nowrap; }
.chip.a { left: 32cqw; top: 6cqw; transform: rotate(-14deg); }
.chip.b { left: 56.5cqw; top: 73cqw; transform: rotate(14deg); }
.plus { left: 47.3cqw; top: 21.4cqw; width: 13.2cqw; height: 13.2cqw; border-radius: 50%; background: #FFDB3D; color: #151515; display: grid; place-items: center; font-size: 8cqw; font-weight: 300; line-height: 1; }
.available { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.platforms { font-weight: 500; letter-spacing: -.2px; margin-bottom: 18px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-width: 168px; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; line-height: 1.2; }
.store small { font-size: 11px; opacity: .7; }
.store strong { font-size: 17px; font-weight: 500; }
.badge { display: inline-block; margin-top: 18px; padding: 6px 14px; border-radius: 999px; background: var(--mint); color: #151515; font-size: 13px; font-weight: 500; }
section.block { padding: 56px 0; }
section.block > h2 { font-weight: 400; font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.tile { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: 0 4px 20px var(--shadow); }
.tile h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.tile p, .tile li { color: var(--muted); margin: 0; }
.tile ul { margin: 0; padding-left: 18px; }
.notes { margin-top: 16px; }
.doc { max-width: 760px; padding: 24px 0 72px; }
.doc h1 { font-weight: 400; font-size: clamp(38px, 6vw, 56px); letter-spacing: -.04em; }
.doc .meta { color: var(--muted); margin: 12px 0 28px; }
.doc .intro { font-size: 18px; margin-bottom: 8px; }
.doc section { background: var(--surface); border-radius: var(--radius); padding: 24px 26px; margin-top: 14px; box-shadow: 0 4px 20px var(--shadow); }
.doc h2 { font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.doc p, .doc li { color: var(--muted); }
.doc p { margin: 0 0 10px; } .doc p:last-child { margin-bottom: 0; }
.doc ul, .doc ol { margin: 0; padding-left: 20px; } .doc li { margin: 4px 0; }
.doc strong { color: var(--ink); font-weight: 500; }
details { background: var(--surface); border-radius: var(--radius); margin-top: 12px; box-shadow: 0 4px 20px var(--shadow); }
details summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 500; font-size: 17px; position: relative; letter-spacing: -.2px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--sunken); display: grid; place-items: center; font-weight: 400; }
details[open] summary::after { content: "–"; background: var(--accent); color: #151515; }
details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
footer { border-top: 1px solid var(--hairline); padding: 28px 0 40px; margin-top: 24px; }
footer .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
footer nav a { color: var(--muted); text-decoration: none; } footer nav a:hover { color: var(--ink); }
footer .small { color: var(--muted); font-size: 13px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 16px; }
  /* Bleeds to the screen edges like the app; the page clips anything past them. */
  .collage { order: -1; width: calc(100% + 48px); margin: 0 -24px; }
  nav.top a.link { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .collage .card, .collage .chip, .collage .plus { animation: rise .7s ease-out both; }
  .collage > :nth-child(2) { animation-delay: .06s; } .collage > :nth-child(3) { animation-delay: .12s; }
  @keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
}
