/* BRB Arcade site: same paper, sticky notes and navy ink as the extension.
   System fonts only, no external resources. Text colour pairs are 4.5:1 or more. */
:root {
  --paper: #fffdf6;
  --paper-2: #f4efe1;
  --ink: #1d2740;
  --ink-soft: #46506b;
  --navy: #1f3a68;
  --navy-dark: #152a4d;
  --sticky: #ffe680;
  --sticky-dark: #f5d24a;
  --mint: #cfeedd;
  --pink: #ffd6e0;
  --sky: #d5e8ff;
  --line: #d9d1bb;
  --focus: #0b57d0;
  --radius: 12px;
  --shadow: 0 2px 0 rgba(29, 39, 64, 0.15), 0 6px 18px rgba(29, 39, 64, 0.08);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  color: var(--ink);
  background: var(--paper-2);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.4em; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }

.site-head { background: var(--paper); border-bottom: 2px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.site-nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.95rem; }

.wrap { max-width: 860px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.page { padding-top: 28px; padding-bottom: 48px; }
.hero { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.hero h1 { font-size: 2rem; margin: 0; }
.lead { font-size: 1.15rem; max-width: 40em; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.9rem; }

.btn {
  display: inline-block; font: inherit; font-weight: 700; text-decoration: none;
  border-radius: 10px; border: 2px solid var(--navy); background: #fff; color: var(--navy);
  padding: 0.6em 1.1em; min-height: 44px; line-height: 1.4;
}
.btn:hover { background: var(--sky); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; }
.btn-soon, .btn-soon:hover { background: var(--paper); color: var(--ink-soft); border-style: dashed; border-color: var(--ink-soft); cursor: default; }
[hidden] { display: none !important; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0; }

.sheet { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 18px 0; box-shadow: var(--shadow); }
.sheet h2 { font-size: 1.25rem; }

.steps { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; counter-reset: s; }
.steps li { background: var(--sticky); border: 2px solid var(--sticky-dark); border-radius: 6px; padding: 16px; box-shadow: var(--shadow); counter-increment: s; }
.steps li:nth-child(2) { background: var(--mint); border-color: #7cc9a3; }
.steps li:nth-child(3) { background: var(--pink); border-color: #f08eaa; }
.steps li::before { content: counter(s); display: block; font-size: 1.8rem; font-weight: 900; }
.steps h3 { font-size: 1.1rem; }
.steps p { margin: 0; }

.games { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.games li { background: #fff; border: 2px solid var(--line); border-radius: 8px; padding: 8px 12px; font-weight: 600; }

main.policy { max-width: 860px; margin: 0 auto; padding-left: 20px; padding-right: 20px; background: var(--paper); }
.policy h2 { margin-top: 1.4em; font-size: 1.15rem; }
.center { text-align: center; }
.center .actions { justify-content: center; }

.site-foot { border-top: 2px solid var(--line); background: var(--paper); font-size: 0.9rem; }
.site-foot .wrap { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 20px; }

@media (max-width: 400px) {
  .wrap { padding-left: 12px; padding-right: 12px; }
  .hero h1 { font-size: 1.6rem; }
  .sheet { padding: 14px; }
}
