/* Token theo design/tokens.md (Cinematic Edge-to-Edge). Amber chỉ dùng cho chỗ bấm được. */
:root {
  --ground: #1b1124;
  --raised: #2b1d36;
  --line: #3d2c4a;
  --muted: #a99bb5;
  --text: #f6f0f4;
  --action: #ffb23f;
  --action-pressed: #f29a1e;
  --display: 'Big Shoulders', 'Arial Narrow', system-ui, sans-serif;
  --ui: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 400 15px/1.5 var(--ui);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.brand img { display: block; height: 40px; width: auto; }

nav { display: flex; gap: 4px 16px; flex-wrap: wrap; font: 600 14px/1.4 var(--ui); }

a { color: var(--action); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--action-pressed); }
a:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
nav a[aria-current='page'] { color: var(--text); text-decoration: none; }

main { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }

h1 {
  margin: 8px 0 8px;
  font: 900 48px/0.9 var(--display);
  text-transform: uppercase;
}

h2 { margin: 36px 0 8px; font: 800 26px/1 var(--display); }

h3 { margin: 24px 0 4px; font: 700 17px/1.45 var(--ui); }

p, li { color: var(--text); }

.meta { color: var(--muted); font-size: 13px; margin: 0 0 24px; }

.draft {
  margin: 0 0 24px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--muted);
  background: var(--raised);
  color: var(--text);
  font: 600 14px/1.4 var(--ui);
}

.todo { color: var(--muted); font-style: italic; }

table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }

.table-wrap { overflow-x: auto; }

.choices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 24px; }
.choice { padding: 16px; background: var(--raised); border: 1px solid var(--line); }
.choice h2 { margin-top: 0; }
.choice ul { margin: 0; padding-left: 18px; }

.foot { border-top: 1px solid var(--line); border-bottom: 0; color: var(--muted); font-size: 13px; }

@media (max-width: 480px) {
  h1 { font-size: 40px; }
  .brand img { height: 32px; }
}
