@font-face{font-family:Fredoka;src:url(/fonts/fredoka-latin-500-normal.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:Fredoka;src:url(/fonts/fredoka-latin-600-normal.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:Fredoka;src:url(/fonts/fredoka-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}

/* Same palette as the game (game/v4_art.css) */
:root{
  --bg:#1b1a38;--bg-top:#2f2c66;--bg-low:#12112a;
  --card:#2a2766;--card-top:#34317a;--line:#3d3a88;--edge:#23205c;
  --text:#fff;--soft:#e6e8f0;--muted:#c4cad7;--gold:#ffc93c;
  --btn1:#ffd866;--btn2:#ffad1f;--btn-text:#5a3300;--btn-edge:#c27800;
  color-scheme:dark;
}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;color:var(--text);font:500 17px/1.6 Fredoka,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  background:var(--bg) radial-gradient(120% 70% at 50% 0%,var(--bg-top) 0%,var(--bg) 60%,var(--bg-low) 100%) no-repeat}
a{color:var(--gold)}
a:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:6px}
img{max-width:100%;height:auto}
.wrap{max-width:960px;margin:0 auto;padding:0 16px}

.top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0}
.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:700;font-size:20px;white-space:nowrap}
.brand img{width:32px;height:32px}
.top nav{display:flex;gap:16px}
.top nav a{color:var(--muted);text-decoration:none;font-weight:600}
.top nav a:hover,.top nav a[aria-current]{color:#fff}

.hero{text-align:center;padding:32px 0 8px}
.hero h1{font-size:clamp(40px,10vw,68px);line-height:1.05;margin:0 0 12px;font-weight:700}
.hero .tag{font-size:clamp(19px,4.5vw,24px);color:var(--soft);margin:0 auto 8px;max-width:30ch}
.hero .sub{color:var(--muted);margin:0 auto 28px;max-width:44ch}
.badges{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}
.badge{display:inline-block;padding:12px 22px;border-radius:18px;font-weight:600;text-decoration:none;
  background:linear-gradient(180deg,var(--btn1),var(--btn2));color:var(--btn-text);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.6),0 5px 0 var(--btn-edge)}
.badge.ghost{background:var(--line);color:#fff;box-shadow:inset 0 2px 0 rgba(255,255,255,.15),0 5px 0 var(--edge)}

.shots{margin:44px 0;overflow:hidden;border-radius:20px}
.shots img{display:block;width:100%}
@media (max-width:600px){.shots img{width:200%;max-width:none}} /* phones: show 2 of the 4 levels, readable */

.features{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));list-style:none;padding:0;margin:0 0 56px}
.features li,.box{background:linear-gradient(180deg,var(--card-top),var(--card));border-radius:20px;padding:20px;box-shadow:inset 0 2px 0 rgba(255,255,255,.08)}
.features b{display:block;font-size:19px;font-weight:600;margin-bottom:4px}
.features span{color:var(--muted)}

.page{max-width:720px;margin:0 auto;padding:8px 0 56px}
.page h1{font-size:clamp(32px,8vw,46px);line-height:1.1;margin:16px 0 8px}
.page h2{font-size:23px;font-weight:600;margin:36px 0 8px}
.page h3{font-size:19px;font-weight:600;margin:24px 0 4px}
.page p,.page li,.page dd{color:var(--soft)}
.page .muted{color:var(--muted)}
.page dl{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;margin:0}
.page dt{color:var(--muted)}
.page dd{margin:0}
@media (max-width:480px){.page dl{grid-template-columns:1fr}.page dd{margin-bottom:8px}}
.table-scroll{overflow-x:auto}
.page table{border-collapse:collapse;width:100%;font-size:15px}
.page th,.page td{text-align:left;vertical-align:top;padding:10px 8px;border-bottom:1px solid var(--line)}
.page th{color:var(--muted);font-weight:600}
/* phones: the privacy table becomes one card per row */
@media (max-width:600px){
  .stack,.stack tbody,.stack tr,.stack td{display:block}
  .stack thead{display:none}
  .stack tr{padding:12px 0;border-bottom:1px solid var(--line)}
  .stack td{border:0;padding:4px 0}
  .stack td::before{display:block;color:var(--muted);font-size:13px;font-weight:600}
  .stack td:nth-child(1)::before{content:"Data"}
  .stack td:nth-child(2)::before{content:"Who handles it"}
  .stack td:nth-child(3)::before{content:"Why"}
  .stack td:nth-child(4)::before{content:"Legal basis (UK/EU)"}
}

.foot{border-top:1px solid var(--line);padding:24px 0 40px;color:var(--muted);font-size:15px;text-align:center}
.foot nav{display:flex;flex-wrap:wrap;gap:8px 18px;justify-content:center;margin-bottom:10px}
.foot a{color:var(--muted)}
.foot a:hover{color:#fff}
