:root {
  color-scheme: dark;
  --paper: #f2f2ea;
  --muted: #b2b7bc;
  --line: #363b42;
  --mint: #a1f7d1;
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--paper);
  background: #101318;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}
a:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}
a:hover {
  color: var(--mint);
}
.page-width {
  width: min(calc(100% - 8vw), 94rem);
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 1rem;
  z-index: 3;
  background: #151e26;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.topbar {
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  min-height: 4.9rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.36em;
  font-weight: 700;
  letter-spacing: -0.05em;
  font-size: 1.24rem;
}
.wordmark b {
  font-weight: 400;
  color: var(--muted);
}
.stamp {
  width: 1.76rem;
  height: 1.5rem;
  margin-right: 0.28rem;
  transform: skewX(-16deg);
  background: linear-gradient(
    90deg,
    var(--mint) 0 23%,
    transparent 23% 37%,
    var(--mint) 37% 60%,
    transparent 60% 74%,
    var(--mint) 74%
  );
  clip-path: polygon(
    0 25%,
    45% 25%,
    45% 0,
    100% 0,
    100% 75%,
    55% 75%,
    55% 100%,
    0 100%
  );
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2.8vw, 3rem);
  font-size: 0.95rem;
}
nav a {
  display: inline-flex;
  min-height: 44px;
  min-width: 44px;
  white-space: nowrap;
  align-items: center;
  text-decoration: none;
}
nav .profile {
  border: 1px solid #5a6469;
  border-radius: 2rem;
  padding-inline: 1.12rem;
}
.feature {
  margin-top: clamp(1.2rem, 2.8vw, 2.9rem);
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #364545;
  background: #102122;
  display: grid;
  grid-template-columns: minmax(17rem, 0.8fr) minmax(0, 1.2fr);
}
.feature-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 30%;
}
.feature-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-art::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(
    90deg,
    #102122,
    rgba(16, 33, 34, 0.81) 6%,
    rgba(16, 33, 34, 0.1) 28%,
    transparent 50%
  );
}
.feature-copy {
  padding: clamp(2rem, 4vw, 4.1rem);
  width: min(33rem, 100%);
}
.category {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--mint);
  font-weight: 600;
}
.feature-mark {
  width: 0.63rem;
  height: 0.63rem;
  transform: rotate(45deg);
  border: 1px solid currentColor;
}
h1 {
  margin: 1.25rem 0 1.15rem;
  font-size: clamp(3.9rem, 6.7vw, 6.8rem);
  font-weight: 600;
  line-height: 0.87;
  letter-spacing: -0.072em;
}
h1 em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
}
.feature-description {
  max-width: 27rem;
  font-size: clamp(1rem, 1.16vw, 1.18rem);
  line-height: 1.5;
  color: #d4ddd9;
}
.play-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 46px;
  margin-top: 1.55rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.38rem;
  background: var(--mint);
  color: #0b2520;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
}
.play-feature:hover {
  background: #c4ffe3;
  color: #132a23;
}
.play-glyph {
  display: inline-block;
  width: 0.75em;
  height: 0.84em;
  clip-path: polygon(6% 0, 100% 50%, 6% 100%);
  background: currentColor;
}
.library {
  padding-block: clamp(2.3rem, 4.3vw, 4.8rem);
}
.library-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.library-heading h2 {
  font-weight: 550;
  font-size: clamp(1.9rem, 3.1vw, 3rem);
  letter-spacing: -0.056em;
  line-height: 1.08;
}
.library-heading p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}
.games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.7vw, 1.8rem);
}
article {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cover {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  display: block;
  border: 1px solid #3a4149;
  border-radius: 0.67rem;
}
.game-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 0.06rem 0;
}
.game-copy h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.45em;
  row-gap: 0.18em;
  font-size: clamp(1.3rem, 1.85vw, 1.8rem);
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -0.045em;
}
h3 span {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.game-copy p {
  margin-block: 0.8rem 0.85rem;
  line-height: 1.55;
  font-size: 1rem;
  color: #bdc4c9;
}
.game-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  align-items: center;
  border-top: 1px solid var(--line);
}
.game-links a {
  display: inline-flex;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  font-size: 0.9rem;
}
.demo-link {
  gap: 0.44rem;
  font-weight: 650;
  text-decoration: none;
}
.demo-link .play-glyph {
  width: 0.6em;
  height: 0.72em;
  color: var(--mint);
}
@media (min-width: 1600px) {
  .feature-copy {
    padding-block: 4.1rem;
  }
}
@media (max-width: 900px) {
  .feature {
    grid-template-columns: 0.93fr 1.1fr;
  }
  .feature-art {
    left: 29%;
  }
  .feature-art::after {
    background: linear-gradient(
      90deg,
      #102122 1%,
      rgba(16, 33, 34, 0.86) 14%,
      rgba(16, 33, 34, 0.09) 38%,
      transparent 65%
    );
  }
  .games {
    gap: 1rem;
  }
}
@media (max-width: 680px) {
  .page-width {
    width: calc(100% - 2rem);
  }
  .header-row {
    min-height: 4rem;
    gap: 0.45rem;
  }
  nav {
    gap: 0.65rem;
    font-size: 0.87rem;
  }
  nav .profile {
    padding-inline: 0.69rem;
  }
  .wordmark {
    font-size: 1.02rem;
  }
  .stamp {
    width: 1.25rem;
    height: 1.16rem;
    margin-right: 0.1rem;
  }
  .feature {
    display: flex;
    flex-direction: column;
    padding-top: clamp(8.3rem, 44vw, 15rem);
  }
  .feature-art {
    inset: 0 0 auto;
    width: 100%;
    height: clamp(12rem, 59vw, 23rem);
  }
  .feature-art img {
    object-position: 50% 48%;
  }
  .feature-art::after {
    background: linear-gradient(
      0deg,
      #102122 5%,
      rgba(16, 33, 34, 0.82) 21%,
      transparent 48%
    );
  }
  .feature-copy {
    padding: 1.05rem 1.3rem 1.4rem;
    width: 100%;
  }
  h1 {
    font-size: clamp(2.9rem, 11vw, 4rem);
    margin: 0.6rem 0 0.7rem;
    line-height: 0.98;
  }
  h1 br {
    display: none;
  }
  h1 em {
    margin-inline-start: 0.15em;
  }
  .feature-description {
    max-width: 28rem;
  }
  .play-feature {
    margin-top: 1rem;
  }
  .library-heading {
    display: block;
  }
  .library-heading p {
    margin-top: 0.3rem;
  }
  .games {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .game-copy {
    padding: 1rem 0 0;
  }
}
@media (max-width: 355px) {
  nav {
    gap: 0.2rem;
  }
  nav .profile {
    border: 0;
    padding-inline: 0.2rem;
  }
  .wordmark b {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  a {
    transition:
      color 0.15s ease,
      background-color 0.15s ease;
  }
}

@media (min-width: 681px) and (max-width: 1000px) and (max-height: 460px) {
  .header-row {
    min-height: 3.4rem;
  }
  .feature {
    margin-top: 0.9rem;
  }
  .feature-copy {
    padding: 1.15rem 1.55rem;
  }
  h1 {
    margin: 0.65rem 0;
    font-size: 3.45rem;
  }
  .play-feature {
    margin-top: 0.85rem;
  }
}

footer.page-width {
  padding-block: 1.25rem 2.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.privacy-page {
  width: min(65ch, 90vw);
  margin: 3rem auto;
  line-height: 1.65;
}
.privacy-page h1 {
  margin-block: 1.5rem 1rem;
  font-size: clamp(2rem, 7vw, 3rem);
}
.privacy-page p {
  margin-block: 1rem;
}
.privacy-page button {
  min-height: 44px;
  padding: 0.65rem 1rem;
  color: #101318;
  background: var(--mint);
  border: none;
  border-radius: 0.55rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
