/* Everfall site. One night look, like the game's first world: deep indigo sky,
   starlight text, a warm gold for the things worth reaching for. */
@font-face { font-family: "Fredoka"; src: url("Fredoka.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
:root {
  color-scheme: dark;
  --night: #0b0a1d;
  --night-2: #15132e;
  --line: #2a2752;
  --star: #f3f0ff;
  --soft: #b4aed8;
  --gold: #ffe08a;
  --display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--night); }
body { margin: 0; background: var(--night); color: var(--star); font: 17px/1.6 var(--text); }
a { color: var(--gold); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: 980px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
header.top { position: absolute; inset: 0 0 auto; z-index: 2; padding-block: 18px; }
header.top .wrap, footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--star); text-decoration: none; font: 600 20px var(--display); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
nav { display: flex; gap: 20px; font-size: 15px; }
nav a { color: var(--star); text-decoration: none; opacity: .85; }
nav a:hover { opacity: 1; text-decoration: underline; }
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end;
  background: linear-gradient(to bottom, rgba(11,10,29,.25), rgba(11,10,29,.15) 45%, var(--night) 98%), url("hero.jpg") center 30% / cover no-repeat; }
.hero .wrap { padding-block: 120px 56px; width: 100%; }
h1 { font: 500 clamp(48px, 9vw, 96px)/1 var(--display); margin: 0 0 14px; letter-spacing: .5px; text-wrap: balance; }
.lede { font-size: clamp(18px, 2.4vw, 22px); color: var(--star); max-width: 34ch; margin: 0 0 28px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font: 500 18px var(--display); text-decoration: none; }
.btn.primary { background: var(--star); color: #2a2156; }
.btn.primary:hover { background: #fff; }
.btn.quiet { border: 1px solid var(--line); color: var(--soft); background: rgba(21,19,46,.6); }
section { padding-block: 56px; }
h2 { font: 500 30px/1.2 var(--display); margin: 0 0 18px; text-wrap: balance; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.three h3 { font: 500 20px var(--display); margin: 0 0 6px; color: var(--gold); }
.three p { margin: 0; color: var(--soft); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shots img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); display: block; }
footer { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--soft); font-size: 15px; }
footer a { color: var(--soft); }
/* the policy page */
.doc { max-width: 720px; padding-block: 110px 40px; }
.doc h1 { font-size: clamp(38px, 6vw, 54px); }
.doc h2 { font-size: 24px; margin-top: 40px; }
.doc p, .doc li { color: #dcd8f3; }
.doc .meta { color: var(--soft); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--gold); font-weight: 600; }
.tablewrap { overflow-x: auto; }
@media (max-width: 700px) {
  .three, .shots { grid-template-columns: 1fr; }
  .shots img { max-width: 320px; margin: 0 auto; }
  .hero { min-height: 520px; }
}
