:root {
  color-scheme: light dark;
  --page: #f7f6fb;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-soft: #eef2f8;
  --ink: #152033;
  --muted: #59677b;
  --line: rgba(21, 32, 51, 0.14);
  --brand: #0057c8;
  --brand-hover: #00439b;
  --focus: #0057c8;
  --hero-ink: #f7f8fc;
  --hero-muted: #c5cde0;
  --game-room: #080d18;
  --game-room-raised: #111827;
  --mine: #b60b15;
  --mine-bright: #ff4936;
  --mine-soft: #fff0ec;
  --dottie: #4c6ef5;
  --dottie-deep: #08083a;
  --dottie-yellow: #fff000;
  --dottie-peach: #ffb897;
  --tilly: #08775f;
  --tilly-deep: #102a23;
  --tilly-mint: #7be0b1;
  --tilly-lavender: #afa0d0;
  --shadow: 0 22px 64px rgba(40, 51, 78, 0.13);
  --shadow-soft: 0 12px 34px rgba(40, 51, 78, 0.09);
  --radius-large: 34px;
  --radius: 22px;
  --content-width: 1180px;
  --display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 73, 54, 0.08), transparent 24rem),
    radial-gradient(circle at 92% 42%, rgba(76, 110, 245, 0.1), transparent 30rem),
    radial-gradient(circle at 16% 80%, rgba(123, 224, 177, 0.09), transparent 26rem),
    var(--page);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--brand-hover);
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--surface) 82%, transparent);
  border-radius: 10px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  border-radius: 10px;
  color: #ffffff;
  background: #0057c8;
  font-weight: 800;
  transform: translateY(-170%);
}

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

.site-header,
main,
footer {
  width: min(calc(100% - 40px), var(--content-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: color-mix(in srgb, var(--page) 86%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img {
  border-radius: 11px;
  box-shadow: 0 6px 16px rgba(21, 32, 51, 0.13);
}

.site-header nav,
footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.site-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

h1 {
  margin-bottom: 12px;
  color: var(--hero-ink);
  font-size: clamp(68px, 8.6vw, 112px);
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(40px, 5.2vw, 62px);
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3.3vw, 40px);
}

.eyebrow,
.game-type {
  margin: 0 0 11px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
  padding: clamp(56px, 7vw, 88px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 78% 14%, rgba(76, 110, 245, 0.5), transparent 31%),
    radial-gradient(circle at 96% 88%, rgba(123, 224, 177, 0.18), transparent 27%),
    radial-gradient(circle at 6% 96%, rgba(255, 73, 54, 0.18), transparent 30%),
    linear-gradient(145deg, #121b3d 0%, #080d18 76%);
  box-shadow: 0 28px 84px rgba(8, 13, 24, 0.28);
  isolation: isolate;
}

.hero,
.games-section,
.game-card,
.collection-strip,
.launcher-teaser {
  scroll-margin-top: 96px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent, #000 58%, #000);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  color: #8fc2ff;
}

.hero-tagline {
  margin-bottom: 20px;
  color: var(--hero-ink);
  font-family: var(--display);
  font-size: clamp(27px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.hero-pitch {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--hero-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.hero-actions > span {
  color: #aeb8d1;
  font-size: 14px;
  font-weight: 700;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
}

.button-primary {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 7px 0 color-mix(in srgb, var(--brand) 72%, #001735);
}

.button-primary:hover {
  color: #ffffff;
  background: var(--brand-hover);
  box-shadow: 0 9px 0 color-mix(in srgb, var(--brand-hover) 72%, #001735);
  transform: translateY(-2px);
}

.hero .button-primary {
  color: #10182c;
  background: #ffffff;
  box-shadow: 0 7px 0 #5f7bff;
}

.hero .button-primary:hover {
  color: #10182c;
  background: #f2f5ff;
  box-shadow: 0 9px 0 #5f7bff;
}

.hero-showcase {
  position: relative;
  min-height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.11), transparent 52%),
    rgba(5, 10, 27, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 22px;
  opacity: 0.45;
  background:
    radial-gradient(circle, var(--dottie-peach) 0 2px, transparent 2.5px) 0 0 / 27px 27px;
  mask-image: linear-gradient(135deg, transparent 8%, #000 30%, #000 72%, transparent 95%);
}

.maze-trail {
  position: absolute;
  top: 54px;
  right: 48px;
  width: 38%;
  height: 34%;
  border-top: 4px solid rgba(76, 110, 245, 0.75);
  border-right: 4px solid rgba(76, 110, 245, 0.75);
  border-radius: 0 28px 0 0;
}

.maze-trail::before,
.maze-trail::after {
  content: "";
  position: absolute;
  border: 4px solid rgba(76, 110, 245, 0.75);
  border-top: 0;
}

.maze-trail::before {
  top: 48px;
  right: 48px;
  width: 68px;
  height: 70px;
  border-radius: 0 0 0 24px;
}

.maze-trail::after {
  top: 93px;
  right: 112px;
  width: 54px;
  height: 52px;
  border-right: 0;
  border-radius: 0 0 0 20px;
}

.hero-game {
  position: absolute;
  z-index: 2;
  min-width: 192px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  color: #111827;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.hero-game:hover {
  color: #111827;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.hero-game:active {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  transform: translateY(4px);
}

.hero-game img {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  border-radius: 22%;
  box-shadow: 0 10px 22px rgba(10, 16, 35, 0.24);
}

.hero-game span {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hero-game small {
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-game strong {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.08;
}

.hero-game-minesweeper {
  top: 42px;
  left: 28px;
  background: #fff3ee;
}

.hero-game-minesweeper small {
  color: var(--mine);
}

.hero-game-dottie {
  top: 178px;
  right: 48px;
  min-width: 214px;
  color: #ffffff;
  background: var(--dottie-deep);
}

.hero-game-dottie:hover {
  color: #ffffff;
}

.hero-game-dottie img {
  width: 104px;
  height: 104px;
}

.hero-game-dottie small {
  color: var(--dottie-yellow);
}

.hero-game-tilly {
  bottom: 38px;
  left: 62px;
  background: #eafff5;
}

.hero-game-tilly small {
  color: var(--tilly);
}

.games-section {
  padding: 122px 0 42px;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
}

.game-card {
  --game-accent: var(--brand);
  --game-accent-soft: #eaf1ff;
  --game-button: var(--game-accent);
  --game-button-ink: #ffffff;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(38px, 6.5vw, 80px);
  margin-bottom: 34px;
  padding: clamp(18px, 3.4vw, 38px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 6px solid var(--game-accent);
  border-radius: var(--radius-large);
  background: color-mix(in srgb, var(--surface) 93%, var(--game-accent-soft));
  box-shadow: var(--shadow-soft);
}

.game-card-reverse .game-media {
  order: 2;
}

.game-card-minesweeper {
  --game-accent: var(--mine);
  --game-accent-soft: var(--mine-soft);
}

.game-card-dottie {
  --game-accent: #3154dc;
  --game-accent-soft: #eef0ff;
}

.game-card-tilly {
  --game-accent: var(--tilly);
  --game-accent-soft: #e6f9f2;
}

.game-media {
  position: relative;
  min-width: 0;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
  border-radius: 26px;
  isolation: isolate;
}

.game-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
}

.game-card-minesweeper .game-media {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 73, 54, 0.34), transparent 25%),
    #343832;
}

.game-card-minesweeper .game-media::before {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(248, 245, 239, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 245, 239, 0.55) 1px, transparent 1px);
  background-size: 38px 38px;
}

.game-card-dottie .game-media {
  background:
    radial-gradient(circle at 24% 82%, rgba(255, 240, 0, 0.16), transparent 23%),
    var(--dottie-deep);
}

.game-card-dottie .game-media::before {
  opacity: 0.72;
  background:
    radial-gradient(circle, var(--dottie-peach) 0 2px, transparent 2.6px) 0 0 / 30px 30px;
  mask-image: linear-gradient(115deg, #000, transparent 46%, #000 84%);
}

.game-card-tilly .game-media {
  background:
    radial-gradient(circle at 76% 22%, rgba(175, 160, 208, 0.56), transparent 24%),
    var(--tilly-deep);
}

.game-card-tilly .game-media::before {
  inset: 22px;
  border-radius: 22px;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(123, 224, 177, 0.85) 2px, transparent 2px),
    linear-gradient(90deg, rgba(123, 224, 177, 0.85) 2px, transparent 2px);
  background-size: 68px 68px;
}

.window-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 640px);
  overflow: hidden;
  border: 1px solid rgba(12, 18, 35, 0.32);
  border-radius: 18px;
  background: #eceef2;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.36);
}

.window-bar {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(20, 28, 45, 0.18);
  color: #565d6b;
  background: linear-gradient(#fbfbfd, #e7e8ec);
  font-size: 11px;
  line-height: 1;
}

.window-bar span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.window-bar span:nth-child(2) {
  background: #febc2e;
}

.window-bar span:nth-child(3) {
  background: #28c840;
}

.window-bar strong {
  margin-left: 4px;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 720px;
  margin-inline: auto;
  object-fit: contain;
}

.game-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.game-title img {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 22%;
  box-shadow: 0 12px 28px rgba(21, 32, 51, 0.2);
}

.game-title h3,
.game-type {
  margin-bottom: 0;
}

.game-type {
  color: var(--game-accent);
}

.game-hook {
  margin-bottom: 16px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.17;
  text-wrap: balance;
}

.game-description {
  color: var(--muted);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 27px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid color-mix(in srgb, var(--game-accent) 24%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--ink) 88%, var(--game-accent));
  background: color-mix(in srgb, var(--game-accent-soft) 72%, var(--surface));
  font-size: 13px;
  font-weight: 750;
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 20px;
}

.game-card .button-primary {
  color: var(--game-button-ink);
  background: var(--game-button);
  box-shadow: 0 7px 0 color-mix(in srgb, var(--game-button) 68%, #080d18);
}

.game-card .button-primary:hover {
  color: var(--game-button-ink);
  background: color-mix(in srgb, var(--game-button) 84%, #000000);
  box-shadow: 0 9px 0 color-mix(in srgb, var(--game-button) 58%, #080d18);
}

.game-card .button-primary:active {
  box-shadow: 0 2px 0 color-mix(in srgb, var(--game-button) 58%, #080d18);
  transform: translateY(5px);
}

.requirements {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.collection-strip {
  position: relative;
  margin: 94px 0;
  padding: clamp(38px, 6vw, 68px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-large);
  color: #f7f8fc;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 73, 54, 0.2), transparent 23rem),
    radial-gradient(circle at 88% 84%, rgba(123, 224, 177, 0.17), transparent 22rem),
    linear-gradient(145deg, #131c3d, var(--game-room));
  box-shadow: 0 24px 70px rgba(8, 13, 24, 0.2);
}

.collection-strip .eyebrow {
  color: #8fc2ff;
}

.collection-strip .section-heading > p:last-child {
  color: #bac4da;
}

.section-heading-compact {
  margin-bottom: 40px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.collection-point {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.point-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 13px;
  color: #10182c;
  background: #8fc2ff;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
}

.point-mark-code {
  color: var(--dottie-deep);
  background: var(--dottie-yellow);
  font-size: 14px;
}

.point-mark-play {
  color: var(--tilly-deep);
  background: var(--tilly-mint);
}

.point-mark-update {
  color: #441218;
  background: #ff9185;
}

.collection-point h3 {
  margin-bottom: 11px;
  color: #f7f8fc;
  font-size: 21px;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

.collection-point p {
  margin-bottom: 0;
  color: #bac4da;
  font-size: 15px;
}

.launcher-teaser {
  display: grid;
  grid-template-columns: auto minmax(0, 720px);
  align-items: center;
  justify-content: center;
  gap: clamp(34px, 5vw, 62px);
  margin: 0 0 110px;
  padding: clamp(36px, 6vw, 70px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--brand) 32%, var(--line));
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 12% 50%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 17rem),
    color-mix(in srgb, var(--surface) 90%, #e8efff);
  box-shadow: var(--shadow-soft);
}

.launcher-visual {
  position: relative;
  width: 180px;
  min-height: 152px;
}

.launcher-mark {
  width: 112px;
  display: block;
}

.launcher-mark img {
  width: 112px;
  height: 112px;
  border-radius: 25%;
  box-shadow: 0 16px 34px rgba(21, 32, 51, 0.22);
}

.launcher-icons {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 6px;
}

.launcher-icons img {
  width: 44px;
  height: 44px;
  border: 2px solid var(--surface);
  border-radius: 22%;
  box-shadow: 0 8px 18px rgba(21, 32, 51, 0.22);
}

.launcher-teaser h2 {
  font-size: clamp(36px, 4.6vw, 54px);
}

.launcher-teaser p:not(.eyebrow) {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 19px;
}

.coming-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
  border-radius: 999px;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 9%, var(--surface));
  font-size: 13px;
  font-weight: 800;
}

footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 40px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer p {
  margin-bottom: 0;
}

.footer-copy {
  display: grid;
  gap: 3px;
}

.footer-signoff {
  color: var(--ink);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
}

footer nav a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

footer nav a:hover {
  color: var(--brand);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #080d18;
    --surface: #111827;
    --surface-raised: #151d31;
    --surface-soft: #182238;
    --ink: #f7f8fc;
    --muted: #b8c2d4;
    --line: rgba(225, 235, 247, 0.16);
    --brand: #78b7ff;
    --brand-hover: #a1ceff;
    --focus: #78b7ff;
    --mine-soft: #321a1c;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.28);
  }

  body {
    background:
      radial-gradient(circle at 8% 18%, rgba(255, 73, 54, 0.09), transparent 24rem),
      radial-gradient(circle at 92% 42%, rgba(76, 110, 245, 0.14), transparent 30rem),
      radial-gradient(circle at 16% 80%, rgba(123, 224, 177, 0.08), transparent 26rem),
      var(--page);
  }

  .site-header {
    background: color-mix(in srgb, var(--page) 84%, transparent);
  }

  .game-card-dottie {
    --game-accent: #8da5ff;
    --game-accent-soft: #191d47;
    --game-button: #fff000;
    --game-button-ink: var(--dottie-deep);
  }

  .game-card-tilly {
    --game-accent: #7be0b1;
    --game-accent-soft: #12372d;
    --game-button: #7be0b1;
    --game-button-ink: var(--tilly-deep);
  }

  .game-card-minesweeper {
    --game-accent: #ff7467;
    --game-button: #b60b15;
    --game-button-ink: #ffffff;
  }

  .feature-list li {
    color: var(--ink);
  }

  .launcher-icons img {
    border-color: var(--surface);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .hero-showcase {
    width: min(100%, 680px);
    min-height: 470px;
    margin-inline: auto;
  }

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

  .game-card-reverse .game-media {
    order: 0;
  }

  .game-media {
    min-height: 0;
  }

  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .site-header,
  main,
  footer {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .site-header {
    min-height: 74px;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    gap: 34px;
    padding: 48px 20px 24px;
    border-radius: 26px;
  }

  h1 {
    font-size: clamp(58px, 20vw, 82px);
  }

  .hero-tagline {
    font-size: 28px;
  }

  .hero-pitch {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions > span {
    text-align: center;
  }

  .hero-showcase {
    min-height: 396px;
    border-radius: 22px;
  }

  .maze-trail {
    display: none;
  }

  .hero-game {
    min-width: 0;
    padding: 10px 12px 10px 10px;
    border-radius: 17px;
  }

  .hero-game img,
  .hero-game-dottie img {
    width: 70px;
    height: 70px;
  }

  .hero-game strong {
    font-size: 15px;
  }

  .hero-game-minesweeper {
    top: 26px;
    left: 14px;
  }

  .hero-game-dottie {
    top: 147px;
    right: 14px;
  }

  .hero-game-tilly {
    bottom: 28px;
    left: 28px;
  }

  .games-section {
    padding-top: 86px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

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

  .game-card {
    gap: 30px;
    padding: 14px 14px 24px;
    border-radius: 27px;
  }

  .game-media {
    padding: 18px;
    border-radius: 20px;
  }

  .window-shell {
    border-radius: 13px;
  }

  .window-bar {
    min-height: 30px;
  }

  .game-media img {
    max-height: none;
  }

  .game-title {
    gap: 14px;
    margin-bottom: 18px;
  }

  .game-title img {
    width: 60px;
    height: 60px;
  }

  .game-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .collection-strip {
    margin: 72px 0;
    padding: 34px 16px 18px;
    border-radius: 27px;
  }

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

  .launcher-teaser {
    grid-template-columns: 1fr;
    justify-items: start;
    margin-bottom: 76px;
    padding: 30px 22px;
    border-radius: 27px;
  }

  .launcher-visual {
    width: 158px;
    min-height: 132px;
  }

  .launcher-mark,
  .launcher-mark img {
    width: 96px;
    height: 96px;
  }

  .launcher-icons img {
    width: 40px;
    height: 40px;
  }

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

@media (max-width: 380px) {
  .hero-game span {
    max-width: 92px;
  }

  .hero-game-dottie {
    right: 8px;
  }

  .hero-game-tilly {
    left: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .button:hover,
  .button:active,
  .hero-game:hover,
  .hero-game:active {
    transform: none;
  }
}
