@font-face { font-family:"Mona Wide"; src:url("/fonts/mona-wide-black.woff2") format("woff2"); font-weight:900; font-display:swap; }
:root {
  --page:#EEF1F6; --card:#fff; --ink:#14161B; --muted:#5B6070; --line:#DDE1EA;
  --cobalt:#2B44E0; --cobalt-deep:#1E33C4; --door:#4F6EFF; --lime:#C6F36B; --peach:#FFC9B0;
  --display:"Mona Wide", "Arial Black", system-ui, sans-serif;
  --text:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r:32px;
}
* { box-sizing:border-box; }
/* Mobile: no pinch or double-tap zoom, no sideways drift (touch-action stops pinch where user-scalable is ignored). */
html { -webkit-text-size-adjust:100%; touch-action:pan-y; overflow-x:clip; }
body { overflow-x:clip; }
body { margin:0; background:var(--page); color:var(--ink); font:17px/1.6 var(--text); }
img { max-width:100%; display:block; }
a { color:var(--cobalt); }
.wrap { max-width:1160px; margin:0 auto; padding:0 16px; }

/* header */
.top { display:flex; align-items:center; gap:24px; padding:22px 0; position:relative; }
.brand { display:flex; align-items:center; gap:10px; white-space:nowrap; color:var(--ink); text-decoration:none; font:900 17px/1 var(--display); letter-spacing:-.01em; margin-right:auto; }
.brand img { width:34px; height:34px; border-radius:9px; }
.top nav { display:flex; gap:22px; }
.top nav a { color:var(--muted); text-decoration:none; font-weight:600; font-size:15px; }
.top nav a:hover, .top nav a[aria-current] { color:var(--ink); }
.menu-btn { display:none; }

/* type */
h1, h2, h3, .display { font-family:var(--display); font-weight:900; letter-spacing:-.02em; line-height:1.02; margin:0; }
.lead { color:var(--muted); font-size:19px; line-height:1.55; }

/* hero */
.hero { background:var(--card); border-radius:var(--r); text-align:center; padding:56px 20px 0; position:relative; overflow:hidden; }
.badge { display:inline-flex; align-items:center; gap:8px; background:var(--lime); color:var(--ink); border-radius:99px; padding:7px 14px; font-size:13px; font-weight:700; letter-spacing:.02em; text-transform:uppercase; }
.hero h1 { font-size:clamp(40px, 7.4vw, 84px); max-width:900px; margin:22px auto 18px; }
.hero .lead { max-width:640px; margin:0 auto 28px; }
.store-badge { display:inline-block; padding:14px; line-height:0; } /* Apple: clear space = 1/4 badge height */
.store-badge img { height:54px; width:auto; }
.stage { position:relative; height:520px; max-width:760px; margin:48px auto 0; }
.stage .phone { position:absolute; left:50%; top:0; transform:translateX(-50%) rotate(-4deg); }
.chip { position:absolute; background:#fff; border-radius:20px; padding:12px 16px; box-shadow:0 18px 40px rgba(20,22,27,.14); text-align:left; font-size:13px; line-height:1.3; color:var(--muted); white-space:nowrap; }
.chip b { display:block; font:900 20px/1.1 var(--display); color:var(--ink); margin-top:2px; }
.chip.lime { background:var(--lime); color:var(--ink); }
.chip.c1 { left:0; top:120px; transform:rotate(-5deg); }
.chip.c2 { right:0; top:60px; transform:rotate(4deg); }
.chip.c3 { right:30px; top:300px; transform:rotate(-3deg); display:flex; align-items:center; gap:10px; }
.dot { width:12px; height:12px; border-radius:50%; background:var(--lime); flex:none; box-shadow:0 0 0 4px rgba(198,243,107,.35); }

/* phone frame */
.phone { width:290px; background:#0E0F12; border-radius:52px; padding:10px; box-shadow:0 40px 80px rgba(20,22,27,.22), inset 0 0 0 2px #2A2C33; }
.phone img { border-radius:43px; width:100%; height:auto; }

/* feature cards */
.features { display:grid; gap:24px; margin:72px 0; }
.feature { background:var(--card); border-radius:var(--r); display:grid; grid-template-columns:1fr 1fr; align-items:center; min-height:520px; overflow:hidden; }
.feature .copy { padding:56px 64px; }
.feature .copy .kicker { font-weight:700; font-size:14px; color:var(--cobalt); margin-bottom:12px; }
.feature h2 { font-size:clamp(30px, 3.6vw, 44px); margin-bottom:16px; }
.feature p { color:var(--muted); margin:0; max-width:430px; }
.feature .art { height:100%; min-height:520px; position:relative; display:flex; align-items:flex-start; justify-content:center; padding-top:64px; }
.feature .art .phone { width:270px; transform:rotate(5deg); }
.feature.flip .copy { order:2; }
.feature.flip .art .phone { transform:rotate(-5deg); }
.art.cobalt { background:var(--cobalt); }
.art.lime { background:var(--lime); }
.art.peach { background:var(--peach); }
.art.ink { background:var(--ink); }

/* small cards */
.trio { display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; margin-bottom:72px; }
.mini { background:var(--card); border-radius:var(--r); padding:32px; }
.mini h3 { font-size:22px; margin-bottom:10px; }
.mini p { color:var(--muted); margin:0; font-size:16px; }
.mini .ic { width:44px; height:44px; border-radius:14px; display:grid; place-items:center; margin-bottom:20px; }

/* plain pages */
.doc { background:var(--card); border-radius:var(--r); padding:48px 56px; max-width:820px; margin:8px auto 72px; }
.doc h1 { font-size:clamp(34px, 5vw, 52px); margin-bottom:16px; }
.doc h2 { font-size:22px; margin:36px 0 10px; }
.doc .card { border-top:1px solid var(--line); padding-top:4px; }
.doc .card h2 { margin-top:24px; }
.muted { color:var(--muted); font-size:15px; }
table { border-collapse:collapse; width:100%; font-size:15px; }
td, th { text-align:left; vertical-align:top; padding:10px 10px 10px 0; border-bottom:1px solid var(--line); }

/* footer */
.foot { background:var(--ink); color:#B9BDC8; border-radius:var(--r) var(--r) 0 0; padding:56px 0 40px; font-size:15px; }
.foot .brand { color:#fff; margin-bottom:18px; }
.foot a { color:#fff; }
.foot .links { display:flex; gap:22px; flex-wrap:wrap; margin:20px 0; }
.foot .links a { text-decoration:none; font-weight:600; }
.foot p { max-width:640px; margin:0 0 8px; }

@media (max-width:860px) {
  .feature { grid-template-columns:1fr; min-height:0; }
  .feature .copy, .feature.flip .copy { order:1; padding:36px 28px 8px; }
  .feature .art { order:2; min-height:0; height:440px; overflow:hidden; padding-top:40px; margin:24px 16px 16px; border-radius:24px; }
  .feature .art .phone { width:240px; }
  .trio { grid-template-columns:1fr; }
  .doc { padding:32px 22px; }
}
@media (max-width:350px) { .brand span { display:none; } }
@media (max-width:600px) {
  body { font-size:16px; }
  .menu-btn { display:flex; flex-direction:column; justify-content:center; gap:5px; width:44px; height:44px; margin-right:-10px; cursor:pointer; padding:0 11px; }
  .menu-btn span { display:block; height:2px; background:var(--ink); border-radius:2px; transition:transform .2s, opacity .2s; }
  .menu-toggle:checked + .menu-btn span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
  .menu-toggle:checked + .menu-btn span:nth-child(2) { opacity:0; }
  .menu-toggle:checked + .menu-btn span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
  .top nav { display:none; position:absolute; top:100%; right:0; left:0; z-index:10; flex-direction:column; gap:0; background:var(--card); border-radius:24px; padding:8px; box-shadow:0 12px 32px rgba(20,22,27,.12); }
  .menu-toggle:checked ~ nav { display:flex; }
  .top nav a { font-size:17px; padding:14px 16px; border-radius:16px; }
  .top nav a[aria-current] { background:var(--page); }
  .brand { font-size:15px; }
  .brand img { width:30px; height:30px; }
  .hero { padding:40px 16px 0; }
  .lead { font-size:17px; }
  .stage { height:430px; margin-top:36px; }
  .stage .phone { width:230px; border-radius:42px; padding:8px; }
  .stage .phone img { border-radius:35px; }
  .chip { padding:9px 12px; font-size:11px; border-radius:16px; }
  .chip b { font-size:16px; }
  .chip.c1 { left:-4px; top:290px; }
  .chip.c2 { right:-4px; top:30px; }
  .chip.c3 { display:none; }
  .features { margin:40px 0; gap:16px; }
  .trio { gap:16px; margin-bottom:40px; }
  .mini { padding:26px 22px; }
}
.doc .date { color:var(--muted); font-size:14px; margin:0 0 12px; }
.doc .card h2 a { color:inherit; text-decoration:none; }
.foot .langs { display:flex; flex-wrap:wrap; gap:6px 18px; margin-top:18px; font-size:14px; }
.foot .langs a { color:rgba(255,255,255,.6); text-decoration:none; }
.foot .langs a[aria-current] { color:#fff; font-weight:600; }
.doc .note { background:var(--page); border-radius:16px; padding:12px 16px; font-size:14px; color:var(--muted); }
/* Rules reference */
.rules h3 { font-size:19px; margin:18px 0 6px; }
.rules h3 a { color:inherit; text-decoration:none; }
.rules .facts { background:var(--page); border-radius:20px; padding:6px 20px; margin:20px 0; }
.rules .facts dl { margin:0; }
.rules .facts div { display:flex; justify-content:space-between; gap:16px; padding:12px 0; border-bottom:1px solid var(--line); }
.rules .facts div:last-child { border-bottom:0; }
.rules .facts dt { color:var(--muted); }
.rules .facts dd { margin:0; font-weight:700; text-align:right; }
.rules ul.sources, .rules ul.history { list-style:none; padding:0; margin:0; }
.rules ul.sources li, .rules ul.history li { padding:10px 0; border-bottom:1px solid var(--line); }
.rules ul.sources li span, .rules ul.history li span { display:block; color:var(--muted); font-size:14px; }
.rules ul.history li b { font-size:15px; }
.rules ul.history li span { color:var(--ink); font-size:15px; }
.rules .watch { border-left:4px solid var(--cobalt); padding:4px 0 4px 16px; margin:20px 0; }
@media (max-width:600px) { .rules .facts div { flex-direction:column; gap:2px; } .rules .facts dd { text-align:left; } }
