@font-face {
  font-family: Outfit;
  src: url('/assets/fonts/outfit-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --page: #071623;
  --text: #fff3de;
  --secondary: #b8c8d3;
  --teal: #79ded7;
  --rule: #c5e4e32b;
  --button: #f6c58b;
  --button-text: #142532;
  --status: #a6e4b7;
  --status-bg: #19372f;
  --fv-browser-color: var(--page);
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--page);
}
html[data-appearance='light'] {
  color-scheme: light;
  --page: #f6f4ec;
  --text: #142e3c;
  --secondary: #4b626b;
  --teal: #166e72;
  --rule: #173e4829;
  --button: #164e5b;
  --button-text: #fff7e9;
  --status: #235f42;
  --status-bg: #e0eddc;
  --fv-browser-color: var(--page);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  background: radial-gradient(ellipse at 82% 27%, #1a67751a, transparent 48%), var(--page);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
.page-shell { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.skip-link {
  position: fixed; top: 12px; left: 16px; z-index: 10;
  transform: translateY(-180%); padding: 12px 18px;
  color: var(--button-text); background: var(--button); border-radius: 8px;
}
.skip-link:focus { transform: none; }
.launch-intro {
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.4fr);
  align-items: center; gap: clamp(30px, 4vw, 64px); padding: 68px 0 58px;
}
.intro-copy { min-width: 0; }
.coming-soon {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 24px; padding: 7px 12px; background: var(--status-bg);
  color: var(--status); font-size: 12px; font-weight: 650; letter-spacing: .02em;
}
.coming-soon > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.game-name {
  margin: 25px 0 12px; color: var(--secondary);
  font-size: 12px; font-weight: 650; line-height: 1.5; letter-spacing: .075em; text-transform: uppercase;
}
h1 {
  margin: 0; font: 650 clamp(40px, 4.5vw, 64px)/1.04 Outfit, sans-serif;
  letter-spacing: -.045em; text-wrap: balance;
}
h1 span { color: var(--teal); }
.story, .mission { font-size: 16px; line-height: 1.65; max-width: 38ch; color: var(--secondary); }
.story { margin: 24px 0 0; }
.story strong { color: var(--text); font-weight: 650; }
.mission { margin: 12px 0 27px; }
.follow-button {
  display: inline-flex; justify-content: center; align-items: center; gap: 12px;
  min-height: 52px; padding: 14px 20px; border-radius: 30px;
  color: var(--button-text); background: var(--button);
  font-size: 14px; font-weight: 700; transition: transform .2s, box-shadow .2s;
}
.follow-button svg { width: 17px; height: 17px; fill: currentColor; flex: none; }
.button-arrow { margin-left: 9px; font-size: 20px; line-height: 1; }
.follow-note { margin: 11px 0 0; color: var(--secondary); font-size: 12px; line-height: 1.5; }
.hero-art { margin: 0; min-width: 0; }
.hero-art img {
  width: 100%; height: auto; aspect-ratio: 1280 / 853; object-fit: contain;
  border-radius: 22px; box-shadow: 0 24px 70px #0002;
}
.hero-art figcaption {
  display: flex; justify-content: center; align-items: center; gap: 18px;
  margin-top: 21px; color: var(--secondary); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
}
.route-line { color: var(--teal); font-size: 18px; }
.mission-flow { padding: 30px 0; border-block: 1px solid var(--rule); }
.mission-flow ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.mission-flow li { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 5px 20px; }
.mission-flow li + li { border-left: 1px solid var(--rule); }
.mission-flow svg { width: 34px; height: 34px; color: var(--teal); flex: none; }
.mission-flow h2 { margin: 0; font: 550 24px/1.2 Outfit, sans-serif; letter-spacing: -.02em; }
.mission-flow p { margin: 5px 0 0; font-size: 12px; line-height: 1.5; color: var(--secondary); }
.page-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px; color: var(--secondary); font-size: 12px; }
.page-footer p { margin: 0; }
.page-footer a { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; }
.page-footer a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) {
  .follow-button:hover { transform: translateY(-2px); box-shadow: 0 8px 28px #0002; }
}
@media (min-width: 1000px) and (min-height: 850px) {
  .launch-intro { padding-block: 100px 80px; }
}
@media (max-width: 900px) {
  .page-shell { width: calc(100% - 48px); }
  .launch-intro { grid-template-columns: 1fr; gap: 30px; padding: 32px 0 36px; }
  .hero-art { grid-row: 1; max-width: 680px; justify-self: center; }
  .hero-art img { border-radius: 16px; }
  .hero-art figcaption { margin-top: 14px; }
  .intro-copy { width: 100%; max-width: 600px; justify-self: center; text-align: center; }
  .game-name { margin-top: 17px; }
  h1 { font-size: clamp(38px, 6.5vw, 54px); }
  .story, .mission { max-width: 47ch; margin-inline: auto; }
  .story { margin-top: 18px; }
  .mission { margin-bottom: 22px; }
  .mission-flow li { padding-inline: 12px; gap: 12px; }
  .mission-flow svg { width: 28px; height: 28px; }
}
@media (max-width: 560px) {
  .page-shell { width: calc(100% - 32px); }
  .launch-intro { padding-top: 22px; gap: 24px; }
  .hero-art figcaption { font-size: 10px; gap: 15px; }
  .game-name { font-size: 10px; letter-spacing: .06em; }
  h1 { font-size: clamp(34px, 9.5vw, 46px); }
  .story, .mission { font-size: 15px; }
  .mission-flow { padding-block: 8px; }
  .mission-flow ol { grid-template-columns: 1fr; }
  .mission-flow li { justify-content: flex-start; padding: 18px 14px; gap: 20px; }
  .mission-flow li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .mission-flow h2 { font-size: 22px; }
  .mission-flow p { font-size: 13px; }
  .page-footer { flex-wrap: wrap; gap: 0; padding-block: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Shared game-information links remain reachable at phone widths. */
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
@media (max-width: 650px) { .page-footer { flex-direction: column; align-items: flex-start; gap: 8px; } .footer-links { gap: 2px 20px; } }
