:root {
  --night: #10141a;
  --panel: #171d26;
  --bone: #ede8de;
  --gray: #8a93a0;
  --amber: #e0a83c;
  --line: #2a3340;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--night);
  color: var(--bone);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.mark {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
}
.mark span { color: var(--amber); }
nav a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 1.25rem;
}
nav a:hover, nav a:focus-visible { color: var(--amber); }

/* Hero */
.hero {
  padding: 5.5rem 0 0;
  text-align: left;
  position: relative;
}
.hero h1 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero p {
  margin-top: 1.25rem;
  color: var(--gray);
  max-width: 34ch;
}
.horizon {
  display: block;
  width: 100%;
  height: 90px;
  margin-top: 2.5rem;
}

/* Sections */
section { padding: 3rem 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: none; }
h2 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}
.game {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
}
.game h3 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.game .status {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--amber);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
}
.game p { margin-top: 0.75rem; color: var(--gray); }

a { color: var(--amber); }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--gray);
  font-size: 0.9rem;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
footer a { color: var(--gray); }
footer a:hover { color: var(--amber); }

/* Legal pages */
.legal { padding: 3.5rem 0; }
.legal h1 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.legal .updated { color: var(--gray); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal h2 { margin-top: 2.5rem; }
.legal p, .legal ul { margin-top: 0.9rem; color: var(--bone); }
.legal ul { padding-left: 1.4rem; }
.legal li { margin-top: 0.4rem; }

/* Glide animation on the falcon */
.falcon { animation: glide 9s ease-in-out infinite alternate; }
@keyframes glide {
  from { transform: translate(0, 0); }
  to   { transform: translate(26px, -10px); }
}
@media (prefers-reduced-motion: reduce) {
  .falcon { animation: none; }
  html { scroll-behavior: auto; }
}
