/* Base: reset, layout wrappers, header, footer, shared buttons. Used on every page. */
:root { --fg:#000; --bg:#fff; --mute:#6b6b6b; --line:#e6e6e6; --soft:#f4f4f4; }
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { background:#fff; color:#000; font:16px/1.7 system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; }
a { color:inherit; }
.wrap { max-width:1000px; margin:0 auto; padding-left:22px; padding-right:22px; }
.narrow { max-width:760px; }
img.sq { border-radius:0 !important; }

/* HEADER (rendered by assets/js/main.js) */
header { position:sticky; top:0; z-index:10; background:rgba(255,255,255,.94); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); }
.bar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 20px; min-height:64px; padding-top:8px; padding-bottom:8px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:700; text-decoration:none; }
.brand img { width:32px; height:32px; border-radius:8px; }
nav { display:flex; align-items:center; flex-wrap:wrap; gap:4px 22px; margin-left:auto; }
nav a { text-decoration:none; color:var(--mute); font-size:.95rem; white-space:nowrap; }
nav a:hover, nav a.is-active { color:var(--fg); }
.back { color:var(--mute); text-decoration:none; font-size:.95rem; } .back:hover { color:#000; }
@media (max-width:480px) {
  .bar { gap:4px 8px; padding-left:12px; padding-right:12px; }
  .bar .brand { gap:6px; font-size:.9rem; }
  .bar nav { gap:4px 8px; }
  nav a { font-size:.85rem; }
}

/* SECTIONS */
section { padding:64px 0; }
h2 { font-size:clamp(1.6rem,4vw,2.2rem); letter-spacing:-.02em; line-height:1.2; margin-bottom:16px; }
@media (max-width:760px) { section { padding:48px 0; } }

/* FOOTER (rendered by assets/js/main.js) */
.light footer { padding:28px 0 40px; color:var(--mute); font-size:.88rem; border-top:1px solid var(--line); }
.foot { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; }
.foot div:last-child { display:flex; flex-wrap:wrap; gap:6px 18px; }
.light footer a { text-decoration:none; } .light footer a:hover { color:#000; }

/* STORE BUTTON (Google Play / Chrome Web Store) */
.play { display:inline-flex; align-items:center; gap:12px; margin-top:32px; background:#000; color:#fff; text-decoration:none; padding:12px 28px 12px 22px; border-radius:14px; border:1px solid #000; font:inherit; transition:background .2s,color .2s; }
.play:hover { background:#fff; color:#000; }
.play svg, .play .chrome-mark { width:26px; height:26px; flex:0 0 auto; }
.play svg { fill:currentColor; }
.play small { display:block; font-size:.66rem; letter-spacing:.12em; text-transform:uppercase; line-height:1.1; opacity:.8; text-align:left; }
.play b { display:block; font-size:1.2rem; line-height:1.15; text-align:left; }
.play.is-disabled { opacity:1; cursor:not-allowed; }
.play.is-disabled:hover { background:#000; color:#fff; }
.chrome-mark { display:inline-grid; place-items:center; border-radius:50%; background:conic-gradient(#ef4444 0 33%,#facc15 0 66%,#22c55e 0); }
.chrome-mark::after { content:""; width:38%; height:38%; border:2px solid #fff; border-radius:50%; background:#4285f4; }
.store-note { color:var(--mute); font-size:.9rem; margin-top:12px; }
