/* Privacy and support pages: the game's candy look, without the game. Also served by the static site. */
@font-face {
  font-family: 'Bungee';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/bungee-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/rubik-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/rubik-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

:root {
  --ink: #fff4fb;
  --muted: #cdb0ec;
  --gold: #ffcf4a;
  --pink: #ff6fae;
  --line: #4a2580;
  color-scheme: dark;
}

body {
  margin: 0;
  padding: 32px 16px 48px;
  min-height: 100vh;
  box-sizing: border-box;
  background:
    radial-gradient(60% 40% at 8% 6%, rgba(230, 70, 190, 0.22), transparent),
    radial-gradient(60% 40% at 95% 90%, rgba(40, 170, 210, 0.18), transparent),
    linear-gradient(#170a36, #0a0620 55%, #05030f);
  background-attachment: fixed;
  color: var(--ink);
  font:
    16px/1.6 'Rubik',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 24px 36px;
  border-radius: 30px;
  background: linear-gradient(165deg, #34145e, #1a0a38);
  border: 2px solid #5b2d94;
  box-shadow: 0 8px 0 #0f0522;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 700;
}

a {
  color: var(--gold);
}

h1 {
  font-family: 'Bungee', 'Arial Black', sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 4px;
  color: var(--gold);
}

h2 {
  font-size: 18px;
  margin: 28px 0 8px;
  color: var(--pink);
}

p {
  margin: 0 0 8px;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

section + section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 2px dashed var(--line);
}

main.home {
  max-width: 360px;
  text-align: center;
}
