/* Як у Linktree: суцільний колір на весь екран, велика картинка, прості значки, світлі кнопки з товстим контуром і тінню знизу. Колір — наш сливовий */
:root{--bg:#4a2d49;--ink:#fbeee6;--cream:#fff4ea;--dark:#1a0d1a;--edge:#0d060c;--mute:#e0c6d8;--sun:#ffd24a;--sky:#7fb2ff;--mint:#6fd8b4;--peach:#ff9f7a;--lilac:#bfa6ff}
*{box-sizing:border-box;min-width:0}
html{color-scheme:dark}
body{margin:0;min-height:100vh;background:var(--bg);color:var(--ink);font:17px/1.5 Nunito,ui-rounded,"SF Pro Rounded",system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit}
:is(a,button):focus-visible{outline:3px solid var(--sun);outline-offset:3px}
.page{max-width:560px;margin:0 auto;padding:22px 18px 40px;text-align:center}
.hero{border-radius:32px;background:#5d3a5c;padding:34px 20px 26px;margin-bottom:22px;position:relative;overflow:hidden}
.logo{width:min(230px,62vw);aspect-ratio:1;border-radius:26%;display:block;margin:0 auto 22px;border:4px solid var(--edge);box-shadow:0 8px 0 var(--edge)}
h1{font-size:clamp(34px,9vw,46px);line-height:1.05;margin:0 0 8px;font-weight:900;letter-spacing:-.015em}
.lead{margin:0 auto;color:var(--ink);max-width:30ch;font-size:18px;font-weight:600;text-wrap:balance}
.socials{display:flex;justify-content:center;gap:22px;margin:22px 0 0}
.soc{width:44px;height:44px;display:grid;place-items:center;color:var(--ink);transition:transform .15s}
.soc svg{width:34px;height:34px;fill:currentColor}
.soc:hover{transform:translateY(-3px) scale(1.08)}
.stores{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}
.badge,.row{border:3px solid var(--edge);box-shadow:0 6px 0 var(--edge);transition:transform .08s,box-shadow .08s;text-decoration:none}
.badge:active,.row:active{transform:translateY(5px);box-shadow:0 1px 0 var(--edge)}
.badge{display:flex;align-items:center;gap:10px;height:66px;padding:0 14px;border-radius:20px;color:#fff;text-align:left}
.badge svg{width:32px;height:32px;flex:none}
.badge .t{display:block;line-height:1.05}
.badge small{display:block;font-size:12px;font-weight:700;opacity:.92}
.badge b{display:block;font-size:21px;font-weight:800}
.badge.ios{background:#1f7cf0}
.badge.gp{background:#0f8a5f}
.badge.soon{pointer-events:none}
.links{display:grid;gap:16px;text-align:left}
.row{display:flex;align-items:center;gap:14px;padding:10px 16px 10px 10px;min-height:72px;border-radius:22px;background:var(--cream);color:var(--dark)}
.ico{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;flex:none;background:var(--c);border:3px solid var(--edge)}
.ico svg{width:24px;height:24px;fill:none;stroke:var(--edge);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.row .tx{flex:1}
.row b{display:block;font-weight:900;font-size:18px;line-height:1.2}
.row span.d{display:block;font-size:14px;color:#5a3d57;font-weight:600;line-height:1.3}
.chev{width:22px;height:22px;stroke:var(--dark);fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;flex:none}
.foot{margin-top:30px;color:var(--mute);font-size:14px;font-weight:600}
@media(max-width:420px){.stores{grid-template-columns:1fr}}
/* Сторінки з текстом */
.doc{max-width:700px;margin:0 auto;padding:22px 18px 64px}
.back{display:inline-flex;align-items:center;gap:6px;min-height:46px;padding:0 18px 0 12px;border-radius:16px;background:var(--cream);color:var(--dark);border:3px solid var(--edge);box-shadow:0 5px 0 var(--edge);text-decoration:none;font-weight:800;margin-bottom:26px}
.back:active{transform:translateY(4px);box-shadow:0 1px 0 var(--edge)}
.back svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.doc h1{font-size:clamp(30px,6vw,40px);text-align:left}
.doc h2{font-size:21px;margin:30px 0 4px;color:var(--sun)}
.doc p,.doc li{color:#f4e3da}
.doc ul{padding-left:22px}
.doc .note{background:#5d3a5c;border:3px solid var(--edge);box-shadow:0 5px 0 var(--edge);border-radius:18px;padding:12px 16px;margin:18px 0}
.todo{background:#ffd24a44;border-radius:6px;padding:0 5px}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Перемикач мови й компактна шапка */
.lang{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:14px;background:var(--cream);color:var(--dark);border:3px solid var(--edge);box-shadow:0 4px 0 var(--edge);font-weight:800;font-size:14px;text-decoration:none}
.lang:active{transform:translateY(3px);box-shadow:0 1px 0 var(--edge)}
.hero .lang{position:absolute;top:14px;right:14px}
.bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:26px}
.bar .back{margin-bottom:0}
.hero{padding:20px 18px 18px;margin-bottom:16px}
.logo{width:92px;border-width:3px;box-shadow:0 5px 0 var(--edge);margin-bottom:12px}
h1{font-size:clamp(30px,8vw,38px);margin-bottom:6px}
.lead{font-size:16px;max-width:34ch}
.socials{margin-top:14px;gap:20px}
.soc{width:40px;height:40px}.soc svg{width:30px;height:30px}
.stores{margin-bottom:14px}
.links{gap:14px}
.doc .toc{background:#00000026;border-radius:18px;padding:14px 18px;margin:18px 0 8px}
.doc .toc ol{margin:6px 0 0;padding-left:24px;columns:2 240px;column-gap:28px}
.doc .toc li{margin:2px 0;break-inside:avoid}
.doc .toc a,.doc p a,.doc li a{color:var(--sky)}
.doc ol{padding-left:24px}
.doc li{margin:4px 0}
.doc h2{scroll-margin-top:16px}
