:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  --page: #111315;
  --panel: #191c1f;
  --ink: #efefea;
  --muted: #b3b6b8;
  --line: #363b3e;
  --accent: #b5da9c;
  --accent-hover: #c8e8b4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 12px; background: var(--page); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.bound { width: min(88rem, calc(100% - 6vw)); margin-inline: auto; }
.site-head { border-bottom: 1px solid var(--line); }
.head-inner, .foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.head-inner { min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand strong { display: block; line-height: 1.09; font-size: 1.22rem; letter-spacing: -.035em; }
.studio { display: block; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); font-size: .64rem; margin-top: .22rem; }
nav { display: flex; align-items: center; gap: clamp(.85rem, 3vw, 2rem); }
nav a, .foot-inner a { font-size: .9rem; text-decoration: none; color: var(--muted); }
nav a:hover, .foot-inner a:hover { color: var(--ink); }
nav .nav-cta { border: 1px solid #62675f; border-radius: 5px; padding: .54rem .8rem; color: var(--ink); }

.feature { position: relative; isolation: isolate; display: flex; align-items: end; min-height: clamp(28rem, 51vw, 43rem); margin-top: clamp(1rem, 2vw, 2rem); overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #17191b; }
.feature-art { position: absolute; inset: 0; z-index: -1; }
.feature-art img { width: 100%; height: 100%; object-fit: cover; object-position: 69% 47%; }
.feature-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #101213f2 2%, #101213d4 25%, #10121330 62%, transparent 90%), linear-gradient(0deg, #111315a5, transparent 44%); }
.feature-copy { max-width: 42rem; padding: clamp(1.4rem, 5vw, 4.4rem); }
.overline { color: var(--accent); font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; margin: 0 0 .85rem; }
h1, h2, h3, p { margin-block-start: 0; }
h1 { font-size: clamp(3.4rem, 7.8vw, 8.5rem); line-height: .91; letter-spacing: -.085em; margin-bottom: 1.45rem; }
.lead { max-width: 33ch; color: #e1e2dd; line-height: 1.55; font-size: clamp(1rem, 1.55vw, 1.25rem); margin-bottom: 1.45rem; }
.feature-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 47px; padding: .67rem .95rem; background: var(--accent); color: #182015; font-size: .92rem; font-weight: 750; text-decoration: none; border-radius: 5px; transition: background .18s; }
.button:hover { background: var(--accent-hover); }
.button span, .text-link span { font-size: 1.05rem; }
.text-link { color: #f0f1ed; font-weight: 650; text-underline-offset: .26rem; font-size: .9rem; }

.library { padding-block: clamp(2.9rem, 6vw, 5rem) 0; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.15rem; }
.section-title h2, .download h2 { font-size: clamp(1.85rem, 3.1vw, 3rem); letter-spacing: -.055em; margin: 0; }
.section-title p { margin: 0; color: var(--muted); font-size: .95rem; }
.game { display: grid; grid-template-columns: minmax(0, 1fr) minmax(13rem, .62fr); border-radius: 6px; border: 1px solid var(--line); background: var(--panel); gap: clamp(1.4rem, 5vw, 5rem); padding: clamp(1.35rem, 3.3vw, 2.85rem); }
.game h3 { font-size: clamp(1.9rem, 3vw, 3rem); letter-spacing: -.045em; margin-bottom: .5rem; }
.game-intro p:last-child, .download p:last-child { color: var(--muted); line-height: 1.55; margin-bottom: 0; max-width: 48ch; }
.game + .game { margin-top: 1rem; }
.release-version { color: var(--accent); font-weight: 650; }
.release-notes { color: var(--muted); line-height: 1.55; padding-left: 1.2rem; margin-bottom: 0; }
.release-status { color: var(--muted); line-height: 1.5; }
.game-details { align-self: center; margin: 0; }
.game-details div { display: grid; grid-template-columns: minmax(3.7rem, .5fr) 1fr; gap: .8rem; align-items: baseline; border-bottom: 1px solid var(--line); padding: .75rem 0; }
.game-details div:first-child { border-top: 1px solid var(--line); }
.game-details dt { font-weight: 650; font-size: .82rem; }
.game-details dd { margin: 0; color: var(--muted); font-size: .91rem; }

.download { margin-top: clamp(2.2rem, 5.5vw, 4.6rem); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.65rem; border-top: 1px solid #657663; border-bottom: 1px solid #414941; padding: clamp(1.5rem, 4vw, 3.4rem) clamp(0rem, 3.3vw, 2.8rem); background: linear-gradient(100deg, #1b221b, #171b18); }
.download h2 { margin-bottom: .7rem; }
.download-action { display: grid; gap: .6rem; justify-items: start; }
.download-action small { color: var(--muted); }
.site-foot { margin-top: clamp(2.3rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }
.foot-inner { min-height: 80px; color: var(--muted); }
.foot-inner strong { color: var(--ink); font-size: .88rem; }

@media (max-width: 650px) {
  .bound { width: calc(100% - 2rem); }
  .head-inner { min-height: 63px; }
  .feature { min-height: 34rem; }
  .feature-art img { height: 72%; object-position: 70% 20%; }
  .feature-art::after { background: linear-gradient(0deg, #111315 25%, #111315e6 41%, transparent 71%); }
  .feature-copy { padding: 1.3rem; }
  .feature-actions { gap: .85rem; }
  .game { grid-template-columns: 1fr; }
  .download { padding-inline: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
