:root {
  color-scheme: dark;
  --bg: #0a201d;
  --panel: #142f29;
  --edge: #385049;
  --cream: #fff9df;
  --muted: #bccbc1;
  --orange: #ff9e28;
  --lime: #bedb81;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 1rem/1.7 system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
a { color: var(--orange); text-underline-offset: .22em; }
a:hover { color: var(--cream); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 6px; }
.wrap { width: min(100% - 2.5rem, 62rem); margin-inline: auto; }
.topbar, .footer-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; }
.topbar { padding-block: 1.5rem; border-bottom: 1px solid var(--edge); font-size: .85rem; }
.topbar a { color: var(--muted); }
.brand { font-weight: 800; letter-spacing: .03em; text-decoration: none; }
main { padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero { display: grid; grid-template-columns: 1fr 16rem; align-items: center; gap: 2.5rem; }
.eyebrow { color: var(--lime); font-size: .75rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: .75rem 0 0; font-size: clamp(3.5rem, 10vw, 6.5rem); line-height: 1; font-weight: 900; letter-spacing: -.05em; }
.subtitle { color: var(--orange); margin: .4rem 0 1.5rem; font-size: 1.05rem; letter-spacing: .22em; font-weight: 750; text-transform: uppercase; }
.intro { max-width: 35rem; font-size: 1.15rem; }
p, li { color: var(--muted); }
p { margin: .75rem 0 1.25rem; }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: -.025em; line-height: 1.25; margin: 0 0 1rem; }
.app-icon { width: 100%; height: auto; border-radius: 22%; box-shadow: 0 1.5rem 3rem #0004; }
.gameplay { display: grid; grid-template-columns: 211px minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 4rem); margin-top: 4rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--edge); border-radius: 1.5rem; background: var(--panel); }
.gameplay img { display: block; width: 100%; height: auto; border-radius: 1rem; }
.availability { color: var(--muted); font-size: .85rem; margin-bottom: 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.25rem;
  border-radius: 1rem;
  background: var(--orange);
  color: var(--bg);
  font-weight: 750;
  text-decoration: none;
}
.button:hover { background: #ffb65d; color: var(--bg); }
.panel { margin-top: 3rem; padding: clamp(1.5rem, 4vw, 2.25rem); border: 1px solid var(--edge); border-radius: 1.5rem; background: var(--panel); }
.panel p { max-width: 45rem; }
.panel p:last-child { margin-bottom: 0; }
.quick-help { margin-top: 3rem; max-width: 48rem; }
details { border-top: 1px solid var(--edge); padding-block: 1.15rem; }
details:last-of-type { border-bottom: 1px solid var(--edge); }
summary { cursor: pointer; font-weight: 650; padding-right: .5rem; }
details p { margin-bottom: .25rem; padding-right: 1rem; }
.policy { max-width: 46rem; }
.policy h1 { font-size: clamp(2.5rem, 7vw, 4rem); margin-bottom: 1rem; }
.policy h2 { font-size: 1.25rem; margin-top: 2.25rem; }
.updated { font-size: .85rem; }
.summary { border-left: 3px solid var(--orange); padding-left: 1.25rem; margin-block: 2rem; }
.summary p { color: var(--cream); }
.footer { padding-block: 1.5rem 2rem; border-top: 1px solid var(--edge); font-size: .8rem; }
.footer p { margin: 0 0 .5rem; }
.footer-links { justify-content: flex-start; }
@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; gap: 1.75rem; }
  .gameplay { grid-template-columns: 1fr; }
  .gameplay img { width: min(100%, 211px); justify-self: center; }
  .app-icon { grid-row: 1; width: 6rem; }
  .hero h1 { font-size: clamp(3.5rem, 15vw, 5rem); }
  .subtitle { font-size: .9rem; }
  .panel, .quick-help { margin-top: 2.25rem; }
}
@media print {
  :root { color-scheme: light; --bg: white; --panel: white; --edge: #aaa; --cream: #111; --muted: #333; --orange: #111; --lime: #111; }
  body { font-size: 11pt; }
  .topbar, .footer { display: none; }
  main { padding-block: 0; }
}
