:root {
  --bg:#ffffff; --surface:#f6f6f7; --text:#18181b; --muted:#62626b; --line:#e4e4e7;
  --ink:#18181b; --on-ink:#ffffff; --accent:#2f5fd0; --warn:#b4412b;
  --radius:12px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:#0f0f11; --surface:#17171a; --text:#ededf0; --muted:#9a9aa3; --line:#27272c;
    --ink:#ededf0; --on-ink:#0f0f11; --accent:#8fa9f0; --warn:#e0735c;
  }
}
:root[data-theme="dark"] {
  --bg:#0f0f11; --surface:#17171a; --text:#ededf0; --muted:#9a9aa3; --line:#27272c;
  --ink:#ededf0; --on-ink:#0f0f11; --accent:#8fa9f0; --warn:#e0735c;
}
:root[data-theme="light"] { color-scheme:light; }
:root[data-theme="dark"] { color-scheme:dark; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--bg); color:var(--text); font:16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing:antialiased; }
a { color:var(--accent); text-underline-offset:3px; }
img { max-width:100%; }
.wrap { max-width:960px; margin:0 auto; padding:0 20px; }

/* Header */
.site-header { border-bottom:1px solid var(--line); background:var(--bg); }
.site-header .wrap { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:16px; padding-bottom:16px; flex-wrap:wrap; }
.brand { display:flex; align-items:center; gap:10px; color:var(--text); text-decoration:none; font-weight:650; font-size:1.05rem; letter-spacing:-.1px; }
.brand-mark { width:28px; height:28px; border-radius:7px; background:var(--ink); color:var(--on-ink); display:grid; place-items:center; font-weight:700; font-size:.95rem; }
.site-nav { display:flex; gap:22px; flex-wrap:wrap; align-items:center; }
.theme-toggle { appearance:none; background:transparent; border:1px solid var(--line); color:var(--text); width:34px; height:34px; border-radius:8px; font-size:1rem; line-height:1; cursor:pointer; display:grid; place-items:center; font-family:inherit; }
.theme-toggle:hover { border-color:var(--muted); }
.site-nav a { color:var(--muted); text-decoration:none; font-weight:500; font-size:.95rem; padding:4px 0; border-bottom:1.5px solid transparent; }
.site-nav a:hover { color:var(--text); }
.site-nav a[aria-current="page"] { color:var(--text); border-bottom-color:var(--text); }

/* Hero */
.hero { padding:72px 0 56px; border-bottom:1px solid var(--line); }
.hero h1 { font-size:clamp(2rem, 5vw, 2.9rem); line-height:1.12; margin:0 0 14px; letter-spacing:-.8px; font-weight:700; }
.hero p { color:var(--muted); font-size:1.12rem; max-width:600px; margin:0 0 28px; }
.eyebrow { text-transform:uppercase; letter-spacing:1.6px; font-size:.75rem; font-weight:600; color:var(--muted); margin-bottom:14px; }
.suits { display:none; }

.btn { display:inline-block; padding:11px 20px; border-radius:8px; background:var(--ink); color:var(--on-ink); font-weight:600; font-size:.95rem; text-decoration:none; border:1px solid var(--ink); cursor:pointer; font-family:inherit; }
.btn:hover { opacity:.88; }
.btn.ghost { background:transparent; color:var(--text); border-color:var(--line); margin-left:8px; }
.btn.ghost:hover { border-color:var(--muted); opacity:1; }
.btn.outline { background:transparent; color:var(--text); border-color:var(--line); }
.btn.outline:hover { border-color:var(--muted); opacity:1; }
.btn.small { padding:8px 14px; font-size:.9rem; }

/* Sections */
section.block { padding:56px 0 0; }
h2.section-title { font-size:1.35rem; margin:0 0 6px; letter-spacing:-.3px; font-weight:650; }
.section-sub { color:var(--muted); margin:0 0 24px; max-width:620px; }

.grid { display:grid; gap:16px; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); }
.card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:22px; }
.card h3 { margin:0 0 6px; font-size:1.02rem; font-weight:650; }
.card h3 a { color:var(--text); }
.card p { margin:0; color:var(--muted); font-size:.96rem; }
.icon { width:36px; height:36px; border-radius:9px; background:var(--bg); border:1px solid var(--line); color:var(--text); display:grid; place-items:center; font-size:1.05rem; margin-bottom:14px; }

.game-card { display:flex; gap:20px; align-items:center; flex-wrap:wrap; }
.game-card .art { width:72px; height:72px; border-radius:16px; flex:none; display:block; }
.app-icon { width:96px; height:96px; border-radius:22px; display:block; margin-bottom:22px; box-shadow:0 1px 3px rgba(0,0,0,.12); }
.game-card .body { flex:1; min-width:220px; }
.game-card h3 { margin:0 0 4px; font-size:1.15rem; }
.game-card p { margin:0 0 12px; color:var(--muted); }
.tag { display:inline-block; font-size:.76rem; font-weight:600; padding:3px 10px; border-radius:999px; background:var(--bg); border:1px solid var(--line); color:var(--muted); margin-right:6px; }

.pill-list { display:flex; flex-wrap:wrap; gap:8px; padding:0; margin:12px 0 0; list-style:none; }
.pill-list li { margin:0; padding:5px 12px; border-radius:999px; background:var(--surface); border:1px solid var(--line); font-size:.9rem; }

/* Notice */
.notice { margin:56px 0 0; background:var(--surface); border:1px solid var(--line); border-left:3px solid var(--warn); border-radius:var(--radius); padding:20px 22px; }
.notice h2 { margin:0 0 6px; font-size:1.05rem; font-weight:650; }
.notice p { margin:0 0 8px; color:var(--muted); font-size:.96rem; }
.notice p:last-child { margin-bottom:0; }

/* Facts / About */
.facts { display:grid; gap:0; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.facts div { padding:16px 20px; border-bottom:1px solid var(--line); }
.facts dt { font-size:.74rem; text-transform:uppercase; letter-spacing:1px; color:var(--muted); margin:0 0 2px; }
.facts dd { margin:0; font-weight:550; word-break:break-word; }
dl.facts { margin:0; }

/* Contact */
.contact-box { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:26px; }
.mail-line { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin:10px 0 4px; }
.mail-line code { font-size:1.05rem; font-weight:600; background:var(--bg); border:1px solid var(--line); padding:8px 14px; border-radius:8px; }
.copied { color:var(--muted); font-weight:500; min-height:1.4em; margin:4px 0 0; font-size:.92rem; }
.steps { padding-left:1.2rem; color:var(--muted); }
.steps li { margin:.35rem 0; }

/* Footer */
.site-footer { margin-top:80px; border-top:1px solid var(--line); background:var(--bg); color:var(--muted); padding:36px 0 28px; font-size:.92rem; }
.site-footer a { color:var(--text); text-decoration:none; }
.site-footer a:hover { text-decoration:underline; }
.footer-cols { display:grid; gap:24px; grid-template-columns:repeat(auto-fit, minmax(210px, 1fr)); }
.footer-cols h4 { margin:0 0 8px; color:var(--text); font-size:.9rem; font-weight:650; }
.footer-cols p, .footer-cols ul { margin:0; padding:0; list-style:none; }
.footer-cols li { margin:.25rem 0; }
.copy { margin-top:24px; padding-top:16px; border-top:1px solid var(--line); }

@media (max-width:560px) {
  .hero { padding:48px 0 40px; }
  .btn.ghost { margin-left:0; margin-top:10px; }
  .site-nav { gap:16px; }
}
