:root {
  color-scheme: dark;
  --ink: #03070b;
  --panel: #071018;
  --panel-2: #0a141d;
  --line: #294553;
  --line-soft: #142b36;
  --text: #d8e4e9;
  --muted: #78909b;
  --cyan: #45d9ef;
  --magenta: #f02271;
  --yellow: #ffd13d;
  --max: 1320px;
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--yellow);
  color: var(--ink);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(calc(100% - 48px), var(--max));
  height: 74px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  border-bottom: 1px solid rgba(69, 217, 239, 0.24);
}

.header-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--magenta);
  border: 1px solid rgba(240, 34, 113, 0.72);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.header-mark span {
  font-weight: 900;
  font-size: 12px;
}

nav {
  display: flex;
  gap: 34px;
}

nav a,
.language-switch button {
  border: 0;
  padding: 7px 0;
  color: #a9bbc3;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  cursor: pointer;
}

nav a:hover,
nav a:focus-visible,
.language-switch button[aria-pressed="true"] {
  color: var(--magenta);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(120, 144, 155, 0.42);
  padding: 2px 10px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.language-switch span {
  color: #465b65;
}

.hero {
  position: relative;
  min-height: 680px;
  max-height: 900px;
  height: 88svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(1, 5, 8, 0.18);
}

.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin: 0 auto;
  padding-top: clamp(140px, 17vh, 190px);
}

.hero h1 {
  width: min(720px, 55vw);
  margin: 0 0 42px;
}

.hero h1 img {
  display: block;
  width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-kicker,
.section-index {
  margin: 0 0 15px;
  color: var(--magenta);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-kicker {
  width: fit-content;
  padding: 9px 14px 8px;
  border-left: 3px solid var(--magenta);
  background: rgba(5, 11, 16, 0.82);
}

.hero-lead {
  max-width: 560px;
  margin: 0 0 28px;
  color: #d8e2e6;
  font-size: clamp(22px, 2.4vw, 38px);
  font-weight: 650;
  line-height: 1.15;
}

.download-button {
  position: relative;
  min-width: 310px;
  width: fit-content;
  min-height: 62px;
  padding: 0 18px 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--yellow);
  color: #120f04;
  border: 1px solid #fff0a4;
  box-shadow: 0 0 0 5px rgba(5, 9, 12, 0.72), 0 0 32px rgba(255, 209, 61, 0.2);
  clip-path: polygon(12px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 7px 100%, 0 calc(100% - 7px), 0 12px);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.download-button:hover,
.download-button:focus-visible {
  background: #ffe66c;
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.download-icon {
  font-size: 27px;
  line-height: 1;
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 22px 0 0;
  color: #9db0b8;
  font-size: 12px;
  text-transform: uppercase;
}

.release-meta span {
  padding: 0 13px;
  border-right: 1px solid #405762;
}

.release-meta span:first-child {
  padding-left: 0;
}

.release-meta span:last-child {
  border: 0;
}

.download-note {
  margin: 10px 0 0;
  color: #5f7b87;
  font-size: 11px;
}

.hero-next {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 5px;
  transform: translateX(-50%);
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-next b {
  font-size: 22px;
  line-height: 1;
}

.gameplay-section,
.demo-section,
.requirements-section {
  padding: 96px 24px;
}

.gameplay-section {
  background: #050a0e;
}

.demo-section {
  background: var(--panel);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-heading {
  width: min(100%, var(--max));
  margin: 0 auto 42px;
}

.section-heading h2 {
  max-width: 820px;
  margin: 0;
  color: #dbe7eb;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.03;
  text-transform: uppercase;
}

.section-heading > p:last-child {
  max-width: 710px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.gameplay-frame {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 9px;
  background: #020609;
  border: 1px solid var(--line);
  clip-path: polygon(18px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 10px 100%, 0 calc(100% - 10px), 0 18px);
}

.gameplay-frame::before,
.gameplay-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 82px;
  height: 3px;
  background: var(--magenta);
}

.gameplay-frame::before {
  top: 0;
  left: 26px;
}

.gameplay-frame::after {
  right: 26px;
  bottom: 0;
  background: var(--cyan);
}

.gameplay-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 690px;
  object-fit: cover;
  border: 1px solid #122832;
}

.gameplay-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 5px 3px;
  color: #66818d;
  font-size: 10px;
  text-transform: uppercase;
}

.gameplay-frame figcaption b {
  color: var(--cyan);
}

.feature-rail {
  width: min(100%, var(--max));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.feature-rail article {
  min-height: 166px;
  padding: 25px 24px;
  border-right: 1px solid var(--line-soft);
}

.feature-rail article:last-child {
  border-right: 0;
}

.feature-rail article > span {
  color: var(--magenta);
  font-size: 11px;
  font-weight: 900;
}

.feature-rail h3 {
  margin: 19px 0 9px;
  font-size: 16px;
  text-transform: uppercase;
}

.feature-rail p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.class-line {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.class-line article {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: #040a0f;
  border: 1px solid #213a46;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.class-line article:nth-child(2) {
  border-color: #684f1f;
}

.class-line article:nth-child(3) {
  border-color: #6b2340;
}

.class-line img {
  position: absolute;
  top: -36px;
  right: -20px;
  width: 86%;
  height: auto;
  opacity: 0.76;
}

.class-line article > div {
  position: relative;
  z-index: 2;
  padding: 10px 13px;
  background: rgba(3, 8, 12, 0.88);
  border-left: 2px solid var(--cyan);
}

.class-line article:nth-child(2) > div {
  border-left-color: var(--yellow);
}

.class-line article:nth-child(3) > div {
  border-left-color: var(--magenta);
}

.class-line span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.class-line h3 {
  margin: 4px 0 0;
  font-size: 22px;
  text-transform: uppercase;
}

.demo-metrics {
  width: min(100%, var(--max));
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-soft);
  background: #050c11;
}

.demo-metrics div {
  min-height: 126px;
  display: grid;
  place-content: center;
  justify-items: center;
  border-right: 1px solid var(--line-soft);
}

.demo-metrics div:last-child {
  border-right: 0;
}

.demo-metrics strong {
  color: var(--magenta);
  font-size: 34px;
}

.demo-metrics span {
  margin-top: 5px;
  color: #8ca0a9;
  font-size: 11px;
  text-transform: uppercase;
}

.requirements-section {
  background: #04090d;
}

.requirements-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
}

.requirements-inner .section-heading {
  margin: 0;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.requirements-grid > div {
  padding: 28px;
  border-right: 1px solid var(--line-soft);
}

.requirements-grid > div:last-child {
  border-right: 0;
}

.requirements-grid h3 {
  margin: 0 0 19px;
  color: var(--cyan);
  font-size: 14px;
  text-transform: uppercase;
}

.requirements-grid dl,
.requirements-grid dd {
  margin: 0;
}

.requirements-grid dl > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #10212a;
  font-size: 12px;
}

.requirements-grid dt {
  color: #607985;
  text-transform: uppercase;
}

.requirements-grid dd {
  color: #aebdc3;
}

.final-cta {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  border-top: 1px solid var(--line);
  isolation: isolate;
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(1, 5, 8, 0.56);
}

.final-cta > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta > div {
  width: min(calc(100% - 40px), 760px);
}

.final-cta h2 {
  margin: 0 0 32px;
  color: #eef6f7;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
  text-transform: uppercase;
}

.final-cta .download-button {
  margin: 0 auto;
}

.final-cta > div > p:last-child {
  color: #8297a0;
  font-size: 11px;
  text-transform: uppercase;
}

footer {
  min-height: 92px;
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  color: #5e747e;
  background: #020508;
  border-top: 1px solid #11232b;
  font-size: 11px;
  text-transform: uppercase;
}

footer p {
  text-align: center;
}

footer a {
  justify-self: end;
  color: #8ca4ae;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 28px);
    grid-template-columns: 44px 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 700px;
    max-height: 820px;
    height: 92svh;
  }

  .hero-art {
    object-position: 62% center;
    opacity: 0.68;
  }

  .hero-copy {
    width: calc(100% - 36px);
    padding-top: 135px;
  }

  .hero h1 {
    width: min(600px, 88vw);
    margin-bottom: 38px;
  }

  .feature-rail,
  .demo-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-rail article:nth-child(2),
  .demo-metrics div:nth-child(2) {
    border-right: 0;
  }

  .feature-rail article:nth-child(-n + 2),
  .demo-metrics div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .requirements-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 64px;
  }

  .hero {
    min-height: 700px;
    max-height: 780px;
    height: 92svh;
  }

  .hero-art {
    object-position: 67% center;
    opacity: 0.54;
  }

  .hero-copy {
    padding-top: 128px;
  }

  .hero h1 {
    width: 100%;
    margin-bottom: 62px;
  }

  .hero-kicker {
    font-size: 11px;
  }

  .hero-lead {
    max-width: 330px;
    font-size: 25px;
  }

  .download-button {
    width: min(100%, 340px);
    min-width: 0;
    font-size: 14px;
  }

  .release-meta {
    max-width: 340px;
    row-gap: 8px;
  }

  .release-meta span {
    padding: 0 8px;
  }

  .hero-next {
    bottom: 17px;
  }

  .gameplay-section,
  .demo-section,
  .requirements-section {
    padding: 72px 16px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .section-heading > p:last-child {
    font-size: 15px;
  }

  .gameplay-frame {
    padding: 5px;
  }

  .gameplay-frame img {
    min-height: 300px;
    object-fit: cover;
    object-position: 58% center;
  }

  .gameplay-frame figcaption {
    display: grid;
  }

  .feature-rail {
    grid-template-columns: 1fr;
  }

  .feature-rail article,
  .feature-rail article:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .feature-rail article:last-child {
    border-bottom: 0;
  }

  .class-line {
    grid-template-columns: 1fr;
  }

  .class-line article {
    min-height: 240px;
  }

  .class-line img {
    width: 76%;
    top: -54px;
  }

  .demo-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .demo-metrics div {
    padding: 10px;
    text-align: center;
  }

  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .requirements-grid > div,
  .requirements-grid > div:last-child {
    border-right: 0;
  }

  .requirements-grid > div:first-child {
    border-bottom: 1px solid var(--line);
  }

  .requirements-grid dl > div {
    grid-template-columns: 68px 1fr;
  }

  .final-cta {
    min-height: 500px;
  }

  footer {
    padding: 28px 20px;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
  }

  footer p {
    margin: 0;
    text-align: left;
  }

  footer a {
    justify-self: start;
  }
}

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