/* Vebsana — static site styles. No external fonts, no trackers. */
:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #0071e3;
  --accent-text: #ffffff;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --radius: 18px;
  --max: 980px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #38383a;
    --accent: #2997ff;
    --accent-text: #000000;
    --shadow: none;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 24px; height: 24px; }
.nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.nav a { color: var(--text); opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: none; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang a, .lang span { padding: 2px 10px; font-size: 13px; }
.lang [aria-current="true"] { background: var(--text); color: var(--bg); opacity: 1; }

/* Hero */
.hero { text-align: center; padding: 88px 0 56px; }
.hero h1 { font-size: clamp(40px, 7vw, 64px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 14px; font-weight: 700; }
.hero p { font-size: clamp(19px, 2.4vw, 24px); color: var(--muted); max-width: 640px; margin: 0 auto; letter-spacing: -.01em; }

section { padding: 40px 0; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 20px; }
.lead { color: var(--muted); font-size: 19px; max-width: 680px; }

/* Game card */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 28px;
}
.game { display: grid; grid-template-columns: 128px 1fr; gap: 28px; align-items: center; }
.game img { width: 128px; height: 128px; border-radius: 28px; display: block; }
.game h3 { font-size: 28px; margin: 0 0 4px; letter-spacing: -.02em; }
.game .meta { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.game p { margin: 0 0 18px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  font-size: 16px; font-weight: 500;
  background: var(--accent); color: var(--accent-text);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.small { font-size: 14px; color: var(--muted); }
.game .small { margin: 14px 0 0; }

/* Contact / details */
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.details .card { padding: 22px; margin: 0; }
.details dt { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.details dd { margin: 0; font-size: 17px; }

/* Legal / prose pages */
.prose { max-width: 720px; padding: 56px 0 24px; }
.prose h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -.025em; line-height: 1.1; margin: 0 0 8px; }
.prose h2 { font-size: 24px; margin: 40px 0 10px; letter-spacing: -.01em; }
.prose h3 { font-size: 19px; margin: 24px 0 6px; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose .updated { color: var(--muted); margin: 0 0 24px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.summary ul { margin: 8px 0 0; }
.note { border-left: 4px solid var(--accent); background: var(--surface); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 16px 0; }
address { font-style: normal; }
.list-plain { list-style: none; padding: 0; }
.list-plain li { padding: 14px 0; border-bottom: 1px solid var(--line); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 56px; padding: 24px 0 40px; font-size: 13px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--muted); }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .nav .hide-sm { display: none; }
  .hero { padding: 56px 0 32px; }
  .game { grid-template-columns: 1fr; text-align: center; }
  .game img { margin: 0 auto; width: 112px; height: 112px; border-radius: 25px; }
  .game .btns { justify-content: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: filter .15s ease; }
}
