:root {
  color-scheme: dark;
  --field: #10110d;
  --field-deep: #080907;
  --panel: #171812;
  --paper: #f3ead9;
  --paper-dim: rgba(243, 234, 217, 0.68);
  --paper-faint: rgba(243, 234, 217, 0.12);
  --line: rgba(243, 234, 217, 0.18);
  --mint: #94d4bc;
  --sky: #8eb8d4;
  --ember: #e78358;
  --red: #cf584c;
  --shadow: rgba(0, 0, 0, 0.38);
  font-family: "Avenir Next", "Gill Sans", Verdana, sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--field-deep);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(243, 234, 217, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(243, 234, 217, 0.026) 1px, transparent 1px),
    linear-gradient(145deg, #11120d 0%, #0a0b08 54%, #18110f 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    repeating-linear-gradient(105deg, transparent 0 18px, rgba(148, 212, 188, 0.05) 18px 19px, transparent 19px 46px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 5px);
  opacity: 0.74;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.topbar,
.hero,
.slate,
.operating-note,
.footer,
.legal {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 84px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--field-deep);
  background: linear-gradient(135deg, var(--paper), #b8d8c9);
  box-shadow: 0 16px 38px var(--shadow);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 15px;
  line-height: 1.1;
}

.brand-copy span {
  color: var(--paper-dim);
  font-size: 13px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--paper-dim);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 168px);
  overflow: hidden;
  padding: 42px 0 78px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 56px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(243, 234, 217, 0.38), transparent);
}

.hero-art {
  position: absolute;
  right: -42px;
  bottom: -176px;
  z-index: 0;
  width: min(580px, 52%);
  min-width: 380px;
  opacity: 0.94;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.56));
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 28px 0 58px;
}

.kicker,
.line-label {
  margin-bottom: 14px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: 86px;
  line-height: 0.94;
}

.lede {
  max-width: 610px;
  color: var(--paper-dim);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 25px;
  line-height: 1.34;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--paper-dim);
  font-weight: 760;
  text-decoration: none;
}

.text-link::after {
  width: 36px;
  height: 1px;
  margin-left: 10px;
  content: "";
  background: currentColor;
  opacity: 0.55;
}

.text-link.strong {
  color: var(--paper);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--mint);
}

.studio-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 56px;
  border-top: 1px solid var(--line);
  color: var(--paper-dim);
  font-size: 13px;
}

.studio-strip span {
  display: grid;
  align-items: center;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.studio-strip span:last-child {
  border-right: 0;
}

.slate,
.operating-note {
  padding: 86px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2,
.operating-note h2,
.legal h1 {
  margin-bottom: 0;
  font-size: 54px;
  line-height: 1;
}

.game-line {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 40px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.game-line:last-child {
  border-bottom: 1px solid var(--line);
}

.game-line.featured {
  position: relative;
}

.game-line.featured::before {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: -24px;
  width: 4px;
  content: "";
  background: linear-gradient(var(--mint), var(--ember));
}

.game-line h3 {
  margin-bottom: 12px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
}

.game-line p,
.note-grid p,
.legal p,
.legal li {
  color: var(--paper-dim);
  font-size: 17px;
  line-height: 1.68;
}

.game-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  align-self: stretch;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.fact {
  display: grid;
  align-content: center;
  min-height: 112px;
  padding: 18px;
  background: rgba(23, 24, 18, 0.86);
}

.fact-label {
  margin-bottom: 8px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.fact-value {
  color: var(--paper);
  font-size: 16px;
  line-height: 1.3;
}

.operating-note {
  border-top: 1px solid var(--line);
}

.operating-note h2 {
  max-width: 660px;
  margin-bottom: 34px;
}

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

.note-grid p {
  margin-bottom: 0;
  padding-top: 18px;
  border-top: 2px solid var(--paper-faint);
}

.legal {
  max-width: 860px;
  padding: 74px 0 88px;
  border-top: 1px solid var(--line);
}

.legal h1 {
  margin-bottom: 28px;
}

.legal h2 {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 25px;
}

.legal ul {
  padding-left: 22px;
}

.muted {
  color: var(--paper-dim);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--paper-dim);
  font-size: 14px;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--paper);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art {
    animation: drift 9s ease-in-out infinite alternate;
  }

  @keyframes drift {
    from {
      transform: translate3d(0, 0, 0) rotate(-1deg);
    }

    to {
      transform: translate3d(0, -16px, 0) rotate(1deg);
    }
  }
}

@media (max-width: 900px) {
  .topbar,
  .hero,
  .slate,
  .operating-note,
  .footer,
  .legal {
    width: min(100% - 32px, 1160px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: calc(100svh - 132px);
    padding-top: 34px;
  }

  .hero-art {
    right: -124px;
    bottom: -158px;
    width: 440px;
    min-width: 0;
    opacity: 0.56;
  }

  .hero-copy {
    max-width: 620px;
  }

  h1 {
    font-size: 60px;
  }

  .lede {
    font-size: 22px;
  }

  .section-heading,
  .game-line,
  .note-grid {
    grid-template-columns: 1fr;
  }

  .game-line {
    gap: 24px;
  }

  .game-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar,
  .hero,
  .slate,
  .operating-note,
  .footer,
  .legal {
    width: min(100% - 24px, 1160px);
  }

  .brand-copy strong {
    font-size: 14px;
  }

  nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 620px;
    padding-bottom: 96px;
  }

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

  .hero-art {
    right: -158px;
    bottom: -100px;
    width: 380px;
    opacity: 0.42;
  }

  h1 {
    font-size: 48px;
  }

  .lede {
    font-size: 19px;
  }

  .studio-strip {
    grid-template-columns: 1fr;
  }

  .studio-strip span {
    min-height: 36px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .studio-strip span:last-child {
    border-bottom: 0;
  }

  .slate,
  .operating-note {
    padding: 58px 0;
  }

  .section-heading h2,
  .operating-note h2,
  .legal h1 {
    font-size: 39px;
  }

  .game-line h3 {
    font-size: 32px;
  }

  .footer {
    flex-direction: column;
  }
}
