@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #f7f0e3;
  --paper-deep: #efe4d0;
  --ink: #1c2236;
  --ink-soft: #4a4f63;
  --line: #ddd0b9;
  --tray: #1c2236;
  --tray-ink: #f7f0e3;
  --tray-soft: #c9c4b8;
  --accent: #c73b2f;
  --accent-ink: #fff8f0;
  --shadow: 74 52 28;
  --tile-red: #ef4b45;
  --tile-teal: #1fb7c1;
  --tile-yellow: #f6c31f;
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 40px);
  --sans: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', 'Noto Sans', 'Hiragino Sans', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-optical-sizing: auto;
}
::selection { background: var(--tile-yellow); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10; }

/* header */
.site-head { padding-block: 22px; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-size: 1.25rem; letter-spacing: -0.02em; }
.mark svg { width: 34px; height: 34px; flex: none; }
.mark span { font-weight: 400; color: var(--ink-soft); }
.site-nav { display: flex; gap: clamp(14px, 3vw, 28px); font-weight: 560; font-size: 0.98rem; }
.site-nav a { text-decoration: none; padding-block: 6px; }
.site-nav a:hover { text-decoration: underline; }

/* hero */
.hero { padding-block: clamp(40px, 9vw, 110px) clamp(40px, 7vw, 80px); }
.hero h1 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(2.7rem, 8.4vw, 5.6rem);
  line-height: 0.98;
  font-weight: 760;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero p { margin: clamp(20px, 3vw, 32px) 0 0; max-width: 46ch; font-size: clamp(1.1rem, 1.9vw, 1.3rem); color: var(--ink-soft); }
.tiles { display: inline-flex; gap: 0.12em; vertical-align: 0.06em; margin-left: 0.18em; }
.tiles i { width: 0.36em; height: 0.36em; border-radius: 0.09em; box-shadow: 0 0.05em 0 rgb(var(--shadow) / 0.35); }
.tiles i:nth-child(1) { background: var(--tile-red); }
.tiles i:nth-child(2) { background: var(--tile-teal); }
.tiles i:nth-child(3) { background: var(--tile-yellow); }

/* game */
.game { padding-block: clamp(24px, 5vw, 56px) clamp(56px, 9vw, 110px); }
.game-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 880px) { .game-grid { grid-template-columns: 1.15fr 1fr; } }
.window { position: relative; margin: 0 0 34px; }
.window > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 22px 44px -22px rgb(var(--shadow) / 0.75);
}
.window .icon {
  position: absolute;
  left: clamp(14px, 3vw, 26px);
  bottom: -30px;
  width: clamp(84px, 14vw, 116px);
  border-radius: 24%;
  border: 4px solid var(--paper);
  box-shadow: 0 12px 24px -12px rgb(var(--shadow) / 0.8);
  animation: drop 900ms cubic-bezier(0.16, 1, 0.3, 1) 150ms both;
}
@keyframes drop { from { transform: translateY(-18px) rotate(-6deg); opacity: 0; } }
.game-copy .logo { width: min(300px, 78%); margin: 0 0 18px -6px; }
.game-copy h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.game-copy > p { margin: 0 0 22px; font-size: 1.12rem; max-width: 44ch; }
.facts { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1.5px solid var(--line); }
.facts li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1.5px solid var(--line); }
.facts b { min-width: 2.4ch; font-size: 1.5rem; font-weight: 760; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.facts span { color: var(--ink-soft); }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 620; }
.status::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--tile-teal); box-shadow: 0 0 0 4px rgb(31 183 193 / 0.22); }
.status-note { margin: 8px 0 0; font-size: 0.95rem; color: var(--ink-soft); }

/* worlds */
.worlds { padding-block: 0 clamp(64px, 10vw, 120px); }
.worlds h2, .support h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 740; text-wrap: balance; }
.worlds .lead { margin: 0 0 26px; color: var(--ink-soft); max-width: 52ch; }
.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 30vw, 300px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 22px;
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-color: var(--line) transparent;
}
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; box-shadow: 0 12px 24px -16px rgb(var(--shadow) / 0.7); }
.strip figcaption { margin-top: 10px; font-weight: 620; }

/* support (inverse) */
.support { background: var(--tray); color: var(--tray-ink); padding-block: clamp(56px, 9vw, 104px); }
.support p { margin: 12px 0 28px; max-width: 50ch; color: var(--tray-soft); font-size: 1.1rem; }
.support ::selection { background: var(--tile-yellow); color: var(--ink); }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 680; text-decoration: none;
  box-shadow: 0 10px 22px -12px rgb(0 0 0 / 0.5);
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), background-color 160ms;
}
.button:hover { background: #b03226; transform: translateY(-1px); }
.button svg { width: 20px; height: 20px; }
.support :focus-visible { outline-color: var(--tile-yellow); }

/* footer */
.site-foot { padding-block: 40px 56px; font-size: 0.95rem; color: var(--ink-soft); }
.site-foot .wrap { display: grid; gap: 18px; }
.langs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; }
.langs a { text-decoration: none; }
.langs a:hover, .langs a[aria-current] { text-decoration: underline; color: var(--ink); }

/* policy pages */
.doc { padding-block: clamp(28px, 6vw, 64px) clamp(56px, 9vw, 96px); }
.doc .wrap { max-width: calc(70ch + var(--gutter) * 2); }
.lang-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(28px, 5vw, 48px); padding: 0; list-style: none; }
.lang-pick a { display: inline-block; padding: 6px 13px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 0.92rem; font-weight: 560; }
.lang-pick a:hover { border-color: var(--ink-soft); }
@media (max-width: 640px) {
  /* one swipeable row on phones, so the policy starts on the first screen */
  .lang-pick { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; scrollbar-width: none; }
  .lang-pick a { white-space: nowrap; }
}
.lang-pick a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.doc h1 { margin: 0 0 6px; font-size: clamp(2.1rem, 5.5vw, 3.2rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 760; text-wrap: balance; }
.doc h2 { margin: 2.4em 0 0.5em; font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.015em; font-weight: 720; }
.doc h3 { margin: 1.8em 0 0.4em; font-size: 1.15rem; font-weight: 680; }
.doc p, .doc li { overflow-wrap: anywhere; }
.doc p { margin: 0 0 1em; }
.doc ul, .doc ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.doc li { margin-bottom: 0.4em; }
.doc li::marker { color: var(--accent); }
.doc .effective { color: var(--ink-soft); margin-bottom: 2em; }
.table { overflow-x: auto; margin: 0 0 1.4em; }
.doc table { border-collapse: collapse; width: 100%; font-size: 0.97rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1.5px solid var(--line); }
.doc th { background: var(--paper-deep); font-weight: 680; }
.doc a { overflow-wrap: anywhere; }
.doc .lang-pick a { overflow-wrap: normal; }

/* small pages */
.center { min-height: 60vh; display: grid; place-content: center; text-align: center; padding: 40px var(--gutter); }
.center h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); margin: 0 0 12px; letter-spacing: -0.03em; }
.center p { color: var(--ink-soft); margin: 0 0 22px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
