:root {
  color-scheme: light;
  --ink: #11181d;
  --ink-soft: #26343d;
  --paper: #f5f3ee;
  --paper-bright: #fffdf8;
  --line: #c9cec9;
  --green: #153f39;
  --green-light: #d7e6df;
  --red: #a63e32;
  --gold: #d3a33b;
  --blue: #246b88;
  --focus: #f4c54f;
  --content: 1120px;
  --shadow: 0 18px 50px rgba(17, 24, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--paper-bright);
  color: var(--ink);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 68px;
  background: rgba(17, 24, 29, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

.nav {
  width: min(var(--content), calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.brand > span:last-child {
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--gold);
  border: 2px solid #f6d77f;
  border-radius: 6px;
  color: #172019;
  font-size: 14px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: #f5f3ee;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #f7ca5f;
}

.nav-toggle {
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.studio-hero {
  position: relative;
  min-height: min(720px, calc(100svh - 68px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0d1418;
  color: #fff;
}

.hero-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
}

.hero-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 0;
  filter: saturate(0.9) contrast(1.05);
}

.hero-mosaic::after,
.product-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 13, 0.58);
}

.studio-hero::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: rgba(5, 10, 13, 0.68);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 68px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 84px;
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-lead {
  max-width: 700px;
  margin: 0 0 30px;
  color: #f0eee9;
  font-size: 24px;
  line-height: 1.5;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.button::after {
  content: ">";
  margin-left: 10px;
}

.button:hover {
  background: var(--green);
}

.button--light {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.button--light:hover {
  background: #f4d06f;
}

.button--outline {
  border-color: currentColor;
  background: transparent;
}

.section {
  padding: 88px 0;
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

.section--green {
  background: var(--green);
  color: #fff;
}

.section--bright {
  background: var(--paper-bright);
}

.section-inner {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.section--dark .section-heading p:not(.eyebrow),
.section--green .section-heading p:not(.eyebrow) {
  color: #dce6e2;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.game-card {
  min-width: 0;
  overflow: hidden;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.game-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.game-card__body {
  padding: 24px;
}

.game-card__body p {
  margin: 0 0 22px;
  color: var(--ink-soft);
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 4px 9px;
  border: 1px solid #8b9b93;
  border-radius: 4px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.support-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.support-grid article,
.feature-grid article {
  min-width: 0;
  padding-top: 20px;
  border-top: 4px solid var(--gold);
}

.support-grid p,
.feature-grid p {
  margin-bottom: 18px;
}

.text-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  color: #0b5d4e;
  font-weight: 800;
  text-underline-offset: 4px;
}

.section--dark .text-link,
.section--green .text-link {
  color: #f6cf72;
}

.product-hero {
  position: relative;
  min-height: min(680px, calc(100svh - 68px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #10171b;
  color: #fff;
}

.product-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero--stircery > img {
  object-position: center 22%;
}

.product-hero--riverboat > img {
  object-position: center 35%;
}

.product-hero--cargo > img {
  object-position: center 25%;
}

.product-hero .hero-content {
  padding-bottom: 58px;
}

.product-hero h1 {
  font-size: 78px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0 0 26px;
  color: #ece8df;
  font-size: 15px;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 56px;
  align-items: start;
}

.split p:first-of-type {
  margin-top: 0;
}

.art-panel {
  position: sticky;
  top: 92px;
}

.art-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.fact-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.fact-list li {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list strong {
  color: var(--green);
}

.legal-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.legal-header {
  max-width: 780px;
  margin-bottom: 52px;
}

.legal-header h1 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 64px;
}

.legal-meta {
  color: #52616a;
  font-size: 15px;
  font-weight: 700;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 96px;
  padding: 18px 0;
  border-top: 4px solid var(--gold);
  border-bottom: 1px solid var(--line);
}

.legal-nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--green);
}

.legal-content {
  min-width: 0;
}

.legal-content section {
  margin-bottom: 48px;
  scroll-margin-top: 98px;
}

.legal-content h2 {
  margin-bottom: 14px;
  font-size: 34px;
}

.legal-content h3 {
  margin: 28px 0 8px;
  font-size: 20px;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content a {
  color: #075f50;
  font-weight: 700;
}

.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--gold);
  background: #ebe7dc;
}

.contact-block {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-bright);
}

.contact-block p:last-child {
  margin-bottom: 0;
}

.support-contact {
  margin-top: 48px;
}

.site-footer {
  background: #0f171b;
  color: #dfe5e2;
}

.footer-inner {
  width: min(var(--content), calc(100% - 32px));
  min-height: 170px;
  margin: 0 auto;
  padding: 36px 0;
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 19px;
}

.footer-brand p {
  margin: 0;
  color: #aebbb6;
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 8px 24px;
  align-content: start;
}

.footer-links a {
  min-height: 46px;
  display: flex;
  align-items: center;
  color: #e8ecea;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: #f6cf72;
}

.not-found {
  min-height: calc(100svh - 238px);
  display: grid;
  place-items: center;
  padding: 72px 16px;
  text-align: center;
}

.not-found h1 {
  margin-bottom: 14px;
  color: var(--ink);
}

@media (max-width: 840px) {
  h1 {
    font-size: 68px;
  }

  h2 {
    font-size: 44px;
  }

  .product-hero h1 {
    font-size: 64px;
  }

  .legal-header h1 {
    font-size: 54px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    padding: 10px 16px 18px;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-links[data-open="true"] {
    display: grid;
  }

  .nav-links a {
    padding: 0 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .game-grid,
  .support-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .art-panel {
    position: static;
    max-width: 520px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .nav {
    width: calc(100% - 24px);
    gap: 10px;
  }

  .brand {
    gap: 8px;
    font-size: 16px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero-mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .hero-mosaic img:nth-child(3) {
    display: none;
  }

  .studio-hero {
    min-height: 630px;
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 20px;
  }

  .product-hero h1 {
    font-size: 52px;
  }

  .legal-header h1 {
    font-size: 44px;
  }

  .hero-content {
    padding: 64px 0 44px;
  }

  .section {
    padding: 64px 0;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .product-hero {
    min-height: 590px;
  }

  .fact-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .legal-shell {
    padding: 50px 0 72px;
  }

  .legal-content h2 {
    font-size: 30px;
  }

  .footer-inner {
    display: grid;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
