/* Cồng Kềnh site: the game's palette (src/styles.css) on a plain reading page. */
:root {
  --bg: #fff7e0;
  --panel: #fffdf6;
  --text: #3b2414;
  --muted: #7a5a40;
  --accent: #ff6a0a;
  --gold: #ffbb2e;
  --line: #f0d9a6;
  --display: 'Baloo 2', system-ui, sans-serif;
  --body: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15141b;
    --panel: #201e28;
    --text: #f6ead0;
    --muted: #c4b293;
    --accent: #ff8a3d;
    --line: #3a3544;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 800 22px/1 var(--display); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.langs { display: flex; gap: 4px; font-size: 14px; }
.langs a, .langs span { padding: 4px 10px; border-radius: 999px; text-decoration: none; }
.langs span { background: var(--gold); color: #3b2414; font-weight: 600; }

/* home */
.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 144px; height: 144px; border-radius: 32px; box-shadow: 0 10px 30px rgba(120, 60, 0, 0.18); }
.hero h1 { font: 800 clamp(40px, 9vw, 64px)/1.05 var(--display); margin: 24px 0 8px; }
.hero h1 b { color: var(--accent); font-weight: 800; }
.tagline { font-size: 20px; color: var(--muted); margin: 0 auto 24px; max-width: 30em; }
.soon { display: inline-block; padding: 10px 20px; border-radius: 999px; background: var(--gold); color: #3b2414; font-weight: 700; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin-top: 32px; }
.card h2 { font: 800 24px/1.2 var(--display); margin: 0 0 8px; }
.card p { margin: 0 0 10px; }
.card p:last-child { margin-bottom: 0; }

/* policy */
.doc h1 { font: 800 clamp(30px, 6vw, 40px)/1.15 var(--display); margin: 0 0 4px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.doc h2 { font: 800 22px/1.25 var(--display); margin: 36px 0 8px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 4px 0; }

.foot { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
