:root {
  color-scheme: dark;
  --night: #08111d;
  --deep: #0e1b2a;
  --ink: #f2ecdf;
  --muted: #b2bac3;
  --cyan: #58d4d0;
  --gold: #efb64d;
  --line: rgba(230, 232, 225, .22);
  font-family: Inter, "Avenir Next", Avenir, "Segoe UI", sans-serif;
  background: var(--night);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--night); }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }

.site-header {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 clamp(22px, 5vw, 84px);
  color: var(--ink);
  background: rgba(5, 11, 19, .5);
}
.site-name, .footer-brand {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
.site-name span, .footer-brand span { color: var(--gold); }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a, .privacy-link {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.site-header nav a:hover, .privacy-link:hover, .support-line a:hover { color: var(--cyan); }

.hero { position: relative; overflow: hidden; background: #08111d; }
.hero-artwork { position: relative; width: min(100%, 182svh); aspect-ratio: 1870 / 841; margin-inline: auto; overflow: hidden; }
.title-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.subtitle-art {
  position: absolute;
  z-index: 1;
  top: 43.3%;
  left: 36%;
  width: 56%;
  height: auto;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .7));
}
.hero-status {
  position: absolute;
  z-index: 1;
  top: 68%;
  left: 55%;
  display: grid;
  grid-template-columns: 24px auto;
  align-items: center;
  gap: 6px 12px;
  max-width: 42%;
  text-shadow: 0 2px 8px #000;
}
.status-rule { width: 24px; height: 2px; background: var(--cyan); }
.hero-status h1 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3.3vw, 48px);
  font-weight: 600;
  line-height: 1.05;
}
.hero-status p {
  grid-column: 2;
  margin: 0;
  color: #e2e0d8;
  font-size: clamp(11px, 1.15vw, 16px);
  line-height: 1.45;
}
.discover-link {
  position: absolute;
  z-index: 1;
  right: clamp(22px, 5vw, 84px);
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}
.discover-link span { color: var(--cyan); font-size: 18px; }

.game-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  gap: clamp(36px, 8vw, 128px);
  align-items: end;
  padding: clamp(68px, 9vw, 132px) max(7vw, calc((100vw - 1320px) / 2));
  border-top: 1px solid rgba(239, 182, 77, .44);
  background: var(--deep);
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
  text-transform: uppercase;
}
.intro-heading h2 {
  max-width: 640px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(35px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.07;
}
.intro-copy p:first-child {
  max-width: 560px;
  margin: 0;
  color: #d3d5d3;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.75;
}
.platform-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.cyan-mark { width: 8px; height: 8px; background: var(--cyan); transform: rotate(45deg); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px max(5vw, calc((100vw - 1420px) / 2));
  color: var(--muted);
  background: #070d15;
}
.footer-brand { font-size: 16px; }
.support-line { margin: 0; font-size: 12px; }
.support-line a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.privacy-link { justify-self: end; }
.footer-links { display: flex; justify-self: end; align-items: center; gap: 24px; }
.site-footer small { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; }

.policy-page { min-height: 100vh; background: var(--night); }
.policy-header { position: relative; background: #080f19; border-bottom: 1px solid var(--line); }
.policy-main { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 96px; }
.back-link { display: inline-block; margin-bottom: 64px; color: var(--cyan); font-size: 13px; font-weight: 650; text-decoration: none; }
.policy-main .eyebrow { margin-bottom: 12px; }
.policy-main h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 7vw, 66px);
  font-weight: 500;
  line-height: 1.06;
}
.policy-date { margin: 14px 0 46px; color: var(--muted); font-size: 13px; }
.policy-main > p:not(.eyebrow):not(.policy-date):not(.policy-note) { color: #d5d9db; font-size: 16px; line-height: 1.75; }
.policy-main h2 {
  margin: 42px 0 10px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 500;
}
.policy-main h2 + p { margin-top: 0; color: #d5d9db; font-size: 15px; line-height: 1.75; }
.policy-main a:not(.back-link) { color: var(--cyan); text-underline-offset: 3px; }
.policy-footer { grid-template-columns: 1fr auto 1fr; }
.policy-footer small { grid-column: auto; justify-self: end; padding: 0; border: 0; }

@media (max-width: 700px) {
  .site-header { min-height: 62px; padding-inline: 20px; background: rgba(5, 11, 19, .82); }
  .site-name { font-size: 17px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 12px; }
  .hero-artwork { height: auto; margin-top: 62px; aspect-ratio: 1870 / 841; }
  .title-art { object-fit: contain; }
  .subtitle-art { top: 43.3%; left: 34%; width: 61%; }
  .hero-status {
    position: relative;
    top: auto;
    left: auto;
    display: block;
    max-width: none;
    padding: 28px 22px 18px;
    text-shadow: none;
  }
  .status-rule { display: block; margin-bottom: 12px; }
  .hero-status h1 { font-size: 34px; }
  .hero-status p { margin-top: 7px; color: var(--muted); font-size: 13px; }
  .discover-link { position: relative; right: auto; bottom: auto; margin: 0 22px 26px; font-size: 12px; }
  .game-intro { grid-template-columns: 1fr; gap: 30px; padding: 54px 24px 62px; }
  .intro-heading h2 { font-size: 42px; }
  .intro-copy p:first-child { font-size: 15px; }
  .site-footer { grid-template-columns: 1fr auto; gap: 18px; padding: 26px 22px; }
  .support-line { grid-column: 1 / -1; grid-row: 2; }
  .privacy-link { grid-column: 2; grid-row: 1; }
  .footer-links { grid-column: 2; grid-row: 1; gap: 16px; }
  .site-footer small { grid-column: 1 / -1; }
  .policy-header { margin-top: 0; }
  .policy-main { padding: 38px 0 70px; }
  .back-link { margin-bottom: 46px; }
  .policy-footer small { grid-column: 1 / -1; grid-row: 3; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
