@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("/assets/fonts/big-shoulders-display-latin.woff2?v=698f996092") format("woff2");
}

@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/work-sans-latin.woff2?v=1dd49afc07") format("woff2");
}

@font-face {
  font-family: "Fragment Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/fragment-mono-latin.woff2?v=44c4e39bff") format("woff2");
}

:root {
  color-scheme: dark;
  --ink: #f7fcff;
  --muted: #b5c2d0;
  --night: #0b0e19;
  --panel: rgba(22, 27, 46, 0.9);
  --cyan: #73f5ff;
  --cyan-deep: #00c8dc;
  --pink: #ff3f9d;
  --amber: #ffc75d;
  --product-blue: #00c3ff;
  --capital-green: #66ff43;
  --systems-violet: #b536ff;
  --mica-progress-gradient: linear-gradient(90deg, #b536ff, #ff2f92, #00c3ff);
  --line: rgba(115, 245, 255, 0.2);
  --surface: rgba(12, 15, 27, 0.86);
  --font-body: "Work Sans", "Segoe UI", sans-serif;
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-system: "Fragment Mono", "Cascadia Mono", monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --page: min(1180px, calc(100vw - 48px));
  font-family: var(--font-body);
  background: var(--night);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  overflow-x: clip;
  background: var(--night);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(circle at 82% 18%, rgba(21, 169, 190, 0.14), transparent 34rem),
    radial-gradient(circle at 18% 42%, rgba(157, 30, 119, 0.14), transparent 30rem),
    linear-gradient(180deg, #101525 0%, #161226 46%, #0b111c 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.08;
  background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(255, 255, 255, 0.035) 3px 4px);
  mix-blend-mode: soft-light;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #05070a;
  background: var(--cyan);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px max(32px, calc((100vw - 1220px) / 2));
  border-bottom: 0;
  background: transparent;
  isolation: isolate;
  transition: padding 240ms var(--ease-out);
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 1px solid rgba(115, 245, 255, 0.12);
  content: "";
  background:
    linear-gradient(
      180deg,
      transparent 0 4px,
      rgba(115, 245, 255, 0.013) 4px 5px,
      transparent 5px 12px,
      rgba(115, 245, 255, 0.007) 12px 13px,
      transparent 13px 22px,
      rgba(115, 245, 255, 0.016) 22px 23px,
      transparent 23px 35px,
      rgba(115, 245, 255, 0.009) 35px 36px,
      transparent 36px 47px
    ),
    linear-gradient(90deg, rgba(0, 195, 255, 0.025), rgba(255, 63, 157, 0.02) 52%, transparent 78%),
    #0d1020;
  background-repeat: repeat-y, no-repeat, no-repeat;
  background-size: 100% 47px, 100% 100%, 100% 100%;
  transform: translateY(0);
  transition: transform 320ms var(--ease-out);
}

.js .site-header .wordmark,
.js .site-header > nav {
  transition:
    opacity 220ms ease 60ms,
    transform 320ms var(--ease-out);
}

.js .site-header:not(.has-persistent-actions) .wordmark,
.js .site-header:not(.has-persistent-actions) > nav {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-100% - 24px));
}

.js .site-header:not(.has-persistent-actions) {
  pointer-events: none;
}

.js .site-header:not(.has-persistent-actions)::before {
  transform: translateY(-100%);
}

.site-header.is-scrolled {
  padding-top: 13px;
  padding-bottom: 13px;
  border-color: rgba(115, 245, 255, 0.12);
  backdrop-filter: none;
}

.scroll-progress {
  --scroll-progress-width: 0%;
  position: absolute;
  top: calc(100% - 2px);
  right: 0;
  left: 0;
  z-index: 2;
  height: 2px;
  background: var(--mica-progress-gradient);
  box-shadow: 0 0 10px rgba(255, 47, 146, 0.4), 0 0 16px rgba(0, 195, 255, 0.34);
  clip-path: inset(0 calc(100% - var(--scroll-progress-width)) 0 0);
  transition: top 320ms var(--ease-out);
  will-change: top, clip-path;
}

.js .site-header:not(.has-persistent-actions) .scroll-progress {
  top: 0;
}

.wordmark {
  position: relative;
  display: block;
  width: 164px;
  text-decoration: none;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition:
    opacity 220ms ease,
    transform 260ms var(--ease-out),
    visibility 220ms ease,
    filter 180ms ease;
}

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

.brand-supervised-hover {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 3px rgba(115, 245, 255, 0.22));
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.wordmark:hover .brand-supervised-hover,
.wordmark:focus-visible .brand-supervised-hover {
  opacity: 1;
}

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

.site-header nav a,
footer nav a {
  position: relative;
  color: #c3cbd6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav a:not(.nav-play)::after,
footer nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform 180ms var(--ease-out);
}

.site-header nav a:not(.nav-play):hover::after,
.site-header nav a:not(.nav-play):focus-visible::after,
footer nav a:hover::after,
footer nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: var(--cyan);
}

.site-header .nav-play {
  --chamfer-size: 10px;
  --cta-frame-color: #ffd23f;
  --cta-frame-mid: #aa7d00;
  --cta-frame-dark: #4a3600;
  --cta-frame-glow: rgba(255, 210, 63, 0.62);
  --cta-svg-stroke: 1px;
  --cta-svg-glow-stroke: 4px;
  --cta-svg-inner-inset: 3.5px;
  --cta-svg-outer-outset: 0px;
  min-width: 108px;
  padding: 12px 22px;
  border: 0;
  color: #ffd23f;
  font-size: 14px;
  text-align: center;
  background: linear-gradient(180deg, rgba(15, 10, 29, 0.96), rgba(7, 5, 17, 0.98));
  box-shadow:
    0 0 0 1px rgba(2, 1, 8, 0.92),
    0 0 10px rgba(255, 191, 0, 0.08);
}

.site-header .nav-play:hover,
.site-header .nav-play:focus-visible {
  --cta-frame-color: #ffe06b;
  --cta-frame-mid: #c89400;
  --cta-frame-glow: rgba(255, 224, 107, 0.9);
  color: #ffe06b;
  background: linear-gradient(180deg, rgba(19, 12, 34, 0.98), rgba(8, 5, 19, 0.99));
  box-shadow:
    0 0 0 1px rgba(2, 1, 8, 0.92),
    0 0 14px rgba(255, 210, 63, 0.16);
}

.site-header .nav-play .chamfer-frame [data-role="frame-glow"] {
  animation: nav-play-frame-pulse 2.8s ease-in-out infinite;
}

.site-header .nav-play .chamfer-frame [data-role="frame-stroke"] {
  animation: nav-play-stroke-pulse 2.8s ease-in-out infinite;
}

.site-header .nav-play:hover .chamfer-frame [data-role="frame-glow"],
.site-header .nav-play:focus-visible .chamfer-frame [data-role="frame-glow"],
.site-header .nav-play:hover .chamfer-frame [data-role="frame-stroke"],
.site-header .nav-play:focus-visible .chamfer-frame [data-role="frame-stroke"] {
  animation: none;
}

.site-header .nav-play:hover .chamfer-frame [data-role="frame-glow"],
.site-header .nav-play:focus-visible .chamfer-frame [data-role="frame-glow"] {
  opacity: 1;
  stroke-width: 4px;
}

.site-header .nav-play:hover .chamfer-frame [data-role="frame-stroke"],
.site-header .nav-play:focus-visible .chamfer-frame [data-role="frame-stroke"] {
  opacity: 1;
  stroke-width: 1.35px;
}

.hero {
  position: relative;
  display: grid;
  align-items: start;
  min-height: 100svh;
  overflow: clip;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 34%;
  pointer-events: none;
  content: "";
  opacity: 0.34;
  background:
    linear-gradient(rgba(115, 245, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 245, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(transparent, #000);
}

.hero-art,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-art {
  z-index: -3;
  background: url("/assets/hero-room.webp?v=38c770b8c1") center center / cover no-repeat;
  filter: saturate(1.04) contrast(1.02) brightness(1);
  transform: scale(1.015);
}

.hero-shade {
  z-index: -2;
  background:
    radial-gradient(ellipse at 20% 62%, rgba(5, 8, 17, 0.42) 0%, rgba(5, 8, 17, 0.18) 34%, transparent 58%),
    linear-gradient(90deg, rgba(7, 10, 20, 0.48) 0%, rgba(7, 10, 20, 0.22) 39%, rgba(6, 8, 17, 0.01) 72%, rgba(7, 9, 18, 0.04) 100%),
    linear-gradient(180deg, rgba(7, 9, 18, 0.03), transparent 25%, transparent 66%, rgba(13, 17, 32, 0.78) 100%);
}

.hero-content {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(110px, 15svh, 210px) 0 clamp(150px, 18svh, 220px);
}

.status,
.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-family: var(--font-system);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cyan);
  font-family: var(--font-system);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 1px;
  flex: 0 0 32px;
  content: "";
  background: var(--mica-progress-gradient);
  box-shadow: 0 0 8px rgba(255, 47, 146, 0.22), 0 0 10px rgba(0, 195, 255, 0.2);
}

.status {
  --chamfer-size: 8px;
  --chamfer-stroke: rgba(115, 245, 255, 0.25);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 7px 11px;
  border: 0;
  background: rgba(4, 12, 18, 0.72);
  box-shadow: inset 0 0 22px rgba(115, 245, 255, 0.035), 0 12px 35px rgba(0, 0, 0, 0.18);
}

.status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(115, 245, 255, 0.1), 0 0 14px var(--cyan);
  animation: status-pulse 2.2s ease-in-out infinite;
}

.hero h1 {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0 0 26px;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.22));
}

.hero-brand-logo {
  display: block;
  width: clamp(390px, 43vw, 620px);
  max-width: 100%;
  height: auto;
}

.hero-hook {
  max-width: 590px;
  margin: 0;
  color: #f7fbff;
  font-family: var(--font-body);
  font-size: clamp(20px, 1.8vw, 27px);
  font-weight: 650;
  line-height: 1.38;
  letter-spacing: -0.018em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.hero .button-primary {
  min-width: 200px;
  min-height: 52px;
}

.button {
  --chamfer-size: 10px;
  --chamfer-stroke: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  font-family: var(--font-system);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 900;
  letter-spacing: 0.085em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 220ms ease,
    background 260ms ease,
    filter 220ms ease,
    transform 260ms var(--ease-out),
    box-shadow 260ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  --chamfer-size: 11px;
  --cta-frame-color: #ffd23f;
  --cta-frame-mid: #aa7d00;
  --cta-frame-dark: #4a3600;
  --cta-frame-glow: rgba(255, 210, 63, 0.2);
  --cta-svg-stroke: 1.15px;
  --cta-svg-glow-stroke: 3px;
  --cta-svg-inner-inset: 4px;
  --cta-svg-outer-outset: 0px;
  min-width: 220px;
  color: #ffd23f;
  background:
    linear-gradient(180deg, rgba(15, 10, 29, 0.96), rgba(7, 5, 17, 0.98));
  box-shadow:
    0 0 0 1px rgba(2, 1, 8, 0.92),
    0 0 14px rgba(255, 191, 0, 0.1),
    0 10px 24px rgba(0, 0, 0, 0.38),
    inset 0 0 18px rgba(255, 191, 0, 0.025);
}

.button-primary > span {
  position: relative;
  z-index: 3;
}

.button-primary:hover,
.button-primary:focus-visible {
  --cta-frame-color: #ffe06b;
  --cta-frame-mid: #c89400;
  --cta-frame-glow: rgba(255, 210, 63, 0.34);
  color: #ffe06b;
  background:
    linear-gradient(180deg, rgba(19, 12, 34, 0.98), rgba(8, 5, 19, 0.99));
  box-shadow:
    0 0 0 1px rgba(2, 1, 8, 0.92),
    0 0 20px rgba(255, 210, 63, 0.2),
    0 13px 28px rgba(0, 0, 0, 0.44),
    inset 0 0 22px rgba(255, 210, 63, 0.04);
  transform: translateY(-1px);
}

.button-primary:active {
  --cta-frame-color: #e9b900;
  --cta-frame-glow: rgba(255, 210, 63, 0.16);
  box-shadow:
    0 0 0 1px rgba(2, 1, 8, 0.92),
    0 4px 10px rgba(0, 0, 0, 0.5),
    inset 0 3px 12px rgba(0, 0, 0, 0.72);
  transform: translateY(2px);
}

.button-quiet {
  --chamfer-stroke: rgba(216, 226, 236, 0.28);
  color: #d8e2ec;
  background: rgba(8, 8, 15, 0.48);
}

.hero .button-quiet {
  padding-right: 20px;
  padding-left: 20px;
  font-size: 12px;
  letter-spacing: 0.065em;
}

.button-quiet:hover,
.button-quiet:focus-visible {
  --chamfer-stroke: rgba(115, 245, 255, 0.48);
  color: var(--cyan);
}

.chamfer-frame {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.chamfer-frame path:not([data-role]) {
  fill: none;
  stroke: var(--chamfer-stroke, rgba(115, 245, 255, 0.24));
  stroke-width: var(--chamfer-stroke-width, 1px);
  vector-effect: non-scaling-stroke;
  transition: stroke 220ms ease, stroke-width 220ms ease;
}

:is(.button-primary, .nav-play) .chamfer-frame path {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

:is(.button-primary, .nav-play) .chamfer-frame [data-role="frame-glow"] {
  stroke: var(--cta-frame-glow);
  stroke-width: var(--cta-svg-glow-stroke);
  opacity: 0.55;
}

:is(.button-primary, .nav-play) .chamfer-frame [data-role="frame-stroke"] {
  stroke-width: var(--cta-svg-stroke);
  opacity: 0.9;
}

:is(.button-primary, .nav-play) .chamfer-frame [data-role="frame-outer"] {
  stroke-width: 0.75px;
  opacity: 0.64;
}

:is(.button-primary, .nav-play) .chamfer-frame [data-role="frame-inner"] {
  stroke-width: 0.8px;
  opacity: 0.74;
}

.system-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  width: 100%;
  min-height: 68px;
  margin-top: -68px;
  padding: 16px max(24px, calc((100vw - 1180px) / 2));
  color: #93a5b5;
  border-top: 1px solid rgba(115, 245, 255, 0.08);
  background: linear-gradient(180deg, rgba(7, 12, 22, 0.12), rgba(7, 12, 22, 0.62));
  font-family: var(--font-system);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-strip > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 26px);
}

.system-strip .system-equation {
  flex-wrap: wrap;
  row-gap: 5px;
}

.system-equation-side {
  display: inline-flex;
  align-items: center;
  gap: clamp(7px, 1.4vw, 16px);
  white-space: nowrap;
}

.system-strip strong {
  color: #dbe8ee;
  font-size: 11px;
  font-weight: 700;
}

.system-strip div i {
  color: #f7fcff;
  font-style: normal;
}

.resource-word {
  font-weight: 700;
}

.resource-word.resource-power {
  color: var(--amber);
}

.resource-word.resource-products {
  color: var(--product-blue);
}

.resource-word.resource-capital {
  color: var(--capital-green);
}

.resource-word.resource-consequences {
  color: var(--pink);
}

.system-strip-label {
  color: rgba(115, 245, 255, 0.62);
}

.system-strip-state {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: rgba(115, 245, 255, 0.68);
}

.system-strip-state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.section.game-proof {
  position: relative;
  padding-top: 88px;
}

.game-proof::before {
  position: absolute;
  inset: 8% -18%;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: radial-gradient(ellipse at 72% 48%, rgba(115, 245, 255, 0.1), transparent 52%);
}

.game-proof-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.game-proof h2 {
  max-width: 820px;
  font-size: clamp(42px, 5.4vw, 68px);
}

.game-proof .game-deck {
  margin-top: 24px;
}

.game-deck {
  --deck-card-width: 375px;
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: min(100%, 680px);
  margin-top: clamp(44px, 6vw, 72px);
  margin-inline: auto;
}

.game-gallery {
  display: grid;
  width: 100%;
  padding: clamp(32px, 5vw, 58px) clamp(12px, 4.5vw, 54px) clamp(42px, 6vw, 70px);
  outline: none;
  touch-action: pan-y;
  user-select: none;
}

.game-deck.is-static-strip {
  --static-card-width: clamp(250px, 28vw, 330px);
  width: min(100%, 1180px);
}

.game-deck.is-static-strip .game-gallery {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  overflow-x: auto;
  padding: 20px max(8px, calc((100% - var(--static-card-width)) / 2)) 28px;
  scroll-padding-inline: max(8px, calc((100% - var(--static-card-width)) / 2));
  scroll-snap-type: x mandatory;
  touch-action: pan-x pan-y;
  user-select: auto;
  scrollbar-color: rgba(115, 245, 255, 0.4) rgba(7, 13, 22, 0.8);
  scrollbar-width: thin;
}

.game-deck.is-static-strip .game-window,
.js .game-deck.is-static-strip .game-window.reveal,
.js .game-deck.is-static-strip .game-window.reveal.is-visible {
  flex: 0 0 var(--static-card-width);
  width: var(--static-card-width);
  max-width: calc(100vw - 52px);
  scroll-snap-align: center;
  transform: none;
  transition: none;
  will-change: auto;
}

.game-deck.is-static-strip .game-window[data-deck-position="0"] {
  cursor: default;
}

.game-window {
  --chamfer-size: 18px;
  --chamfer-stroke: rgba(115, 245, 255, 0.22);
  --window-accent: var(--cyan);
  --caption-accent-strength: 9%;
  --deck-x: 0px;
  --deck-y: 0px;
  --deck-rotate: 0deg;
  --deck-scale: 1;
  --deck-z: 1;
  grid-area: 1 / 1;
  position: relative;
  z-index: var(--deck-z);
  container-type: inline-size;
  width: min(100%, var(--deck-card-width));
  justify-self: center;
  overflow: hidden;
  margin: 0;
  border: 0;
  background: #080a12;
  box-shadow:
    3px 8px 18px rgba(0, 0, 0, 0.34),
    0 18px 38px rgba(0, 0, 0, 0.24),
    0 0 32px color-mix(in srgb, var(--window-accent) 6%, transparent);
  transform: translate3d(var(--deck-x), var(--deck-y), 0) rotate(var(--deck-rotate)) scale(var(--deck-scale));
  transform-origin: 50% 105%;
  transition:
    transform 1100ms cubic-bezier(0.45, 0, 0.55, 1),
    box-shadow 720ms var(--ease-out),
    opacity 520ms ease;
  will-change: transform;
}

.game-window-operators {
  --chamfer-stroke: rgba(255, 63, 157, 0.28);
  --window-accent: var(--pink);
}

.game-window-systems {
  --chamfer-stroke: rgba(92, 255, 113, 0.25);
  --window-accent: #5cff71;
}

.game-window-progress {
  --chamfer-stroke: rgba(255, 196, 90, 0.26);
  --window-accent: #ffc45a;
}

.js .game-window.reveal,
.js .game-window.reveal.is-visible {
  transform: translate3d(var(--deck-x), var(--deck-y), 0) rotate(var(--deck-rotate)) scale(var(--deck-scale));
  transition:
    transform 1100ms cubic-bezier(0.45, 0, 0.55, 1),
    box-shadow 720ms var(--ease-out),
    opacity 520ms ease;
}

.game-window[data-deck-position="0"] {
  cursor: pointer;
}

.game-window.is-deck-exiting,
.js .game-window.reveal.is-visible.is-deck-exiting {
  z-index: 60;
  opacity: 0.94;
  transform: translate3d(-88%, 2%, 0) rotate(-7deg) scale(0.985);
  transition:
    transform 320ms cubic-bezier(0.45, 0, 0.55, 1),
    opacity 220ms ease;
}

.game-window.is-deck-entering,
.js .game-window.reveal.is-visible.is-deck-entering {
  z-index: var(--deck-z);
  opacity: 0.95;
  transform: translate3d(112%, 2%, 0) rotate(8deg) scale(0.985);
  transition:
    transform 280ms cubic-bezier(0.45, 0, 0.55, 1),
    opacity 220ms ease;
}

.game-window.is-deck-returning,
.js .game-window.reveal.is-visible.is-deck-returning {
  transition:
    transform 1000ms cubic-bezier(0.45, 0, 0.55, 1),
    box-shadow 720ms var(--ease-out),
    opacity 520ms ease;
}

.game-deck-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 4px;
}

.game-deck-control {
  --chamfer-size: 10px;
  flex: 0 0 52px;
  width: 52px;
  min-width: 52px;
  min-height: 46px;
  padding: 0;
  color: var(--cyan);
  font-size: 22px;
}

.game-deck-status {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 6px;
  min-width: 270px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-system);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-deck-status strong {
  color: var(--pink);
  font-size: 15px;
}

.game-deck-status em {
  color: #e7f6fb;
  font-style: normal;
  font-weight: 700;
}

.game-deck-status small {
  grid-column: 1 / -1;
  color: #8799a7;
  font-size: 11px;
}

.game-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(115, 245, 255, 0.16);
  color: rgba(199, 224, 233, 0.72);
  background: rgba(13, 26, 39, 0.96);
  font-family: var(--font-system);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-window-bar span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--window-accent);
}

.game-window-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--window-accent);
  box-shadow: 0 0 10px var(--window-accent);
}

.game-window-media {
  position: relative;
  aspect-ratio: 375 / 812;
  overflow: hidden;
}

.game-window picture {
  display: block;
  width: 100%;
  height: 100%;
}

.game-window picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(1.1) contrast(1.06) saturate(1.05);
}

.game-window figcaption {
  position: relative;
  display: flex;
  align-items: center;
  height: 66px;
  min-height: 66px;
  padding: 14px 17px 15px;
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--window-accent) 42%, rgba(115, 245, 255, 0.12));
  color: #d5e2e8;
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--window-accent) var(--caption-accent-strength), #0b121e) 0%,
      #0b121e 48%,
      #080c16 100%
    );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.035),
    inset 0 8px 20px color-mix(in srgb, var(--window-accent) 5%, transparent);
  font-family: var(--font-system);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: 0.015em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.78);
}

.game-window figcaption span {
  display: -webkit-box;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.game-window figcaption::before {
  display: inline-block;
  width: 16px;
  height: 2px;
  flex: 0 0 16px;
  margin-right: 9px;
  content: "";
  background: var(--window-accent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--window-accent) 58%, transparent);
}

@container (max-width: 260px) {
  .game-window figcaption {
    height: 66px;
    min-height: 66px;
    padding: 10px 12px;
    font-size: clamp(10px, 5cqw, 11.5px);
    line-height: 1.35;
  }

  .game-window figcaption span {
    -webkit-line-clamp: 3;
  }

  .game-window figcaption::before {
    display: none;
  }
}

@container (max-width: 160px) {
  .game-window figcaption {
    height: 72px;
    min-height: 72px;
    padding: 9px 10px;
  }

  .game-window figcaption span {
    -webkit-line-clamp: 4;
  }
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 64px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section h2 {
  margin: 15px 0 20px;
  color: #f4fbff;
  font-family: var(--font-display);
  font-size: clamp(44px, 5.8vw, 72px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0.005em;
  scroll-margin-top: 104px;
  text-wrap: balance;
}

.section-heading > p:last-child,
.progression-copy > p:not(.eyebrow),
.launch-copy > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.story {
  position: relative;
  isolation: isolate;
}

.story::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -2;
  width: 100vw;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 5% 60%, rgba(255, 63, 157, 0.08), transparent 24rem),
    radial-gradient(circle at 92% 20%, rgba(115, 245, 255, 0.07), transparent 22rem);
  transform: translateX(-50%);
}

.story .section-heading {
  max-width: 720px;
}

.story h2 {
  font-size: clamp(42px, 5.2vw, 66px);
}

.story::before {
  position: absolute;
  top: 5%;
  right: -20%;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  content: "";
  background: rgba(255, 63, 157, 0.09);
  filter: blur(80px);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
}

.terminal-card {
  --chamfer-size: 13px;
  --chamfer-stroke: rgba(255, 199, 93, 0.28);
  position: relative;
  overflow: hidden;
  border: 0;
  background:
    linear-gradient(rgba(255, 199, 93, 0.025) 1px, transparent 1px),
    #18140f;
  background-size: 100% 4px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44), 0 0 65px rgba(255, 172, 57, 0.06);
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 199, 93, 0.22);
  color: var(--amber);
  font-family: var(--font-system);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.terminal-signals {
  display: inline-flex;
  gap: 5px;
}

.terminal-signals i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 199, 93, 0.3);
}

.terminal-signals i:first-child {
  background: var(--pink);
  box-shadow: 0 0 8px rgba(255, 63, 157, 0.65);
}

.terminal-copy {
  min-height: 360px;
  padding: clamp(28px, 5vw, 54px);
  font-family: var(--font-system);
  font-size: clamp(14px, 1.45vw, 18px);
  line-height: 1.55;
}

.terminal-copy p {
  --terminal-speaker-color: #ff9f18;
  min-height: 1.55em;
  margin: 0 0 12px;
  color: var(--terminal-speaker-color);
  text-shadow: 0 0 10px color-mix(in srgb, var(--terminal-speaker-color) 28%, transparent);
}

.terminal-copy p[data-terminal-speaker="you"] {
  --terminal-speaker-color: #ffe08a;
}

.terminal-copy strong {
  margin-right: 0.55em;
  color: inherit;
}

.cursor {
  display: inline-block;
  width: 9px;
  height: 1.1em;
  margin-left: 4px;
  vertical-align: -0.2em;
  background: currentColor;
  box-shadow: 0 0 10px color-mix(in srgb, currentColor 64%, transparent);
  animation: cursor-blink 1s steps(1, end) infinite;
}

.story-accent {
  font-weight: 700;
}

.story-accent-control {
  color: var(--pink);
}

.story-copy > p {
  margin-top: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

blockquote {
  margin: 42px 0 0;
  padding: 22px 0 22px 26px;
  border-left: 2px solid var(--pink);
  color: #ffb8db;
  font-family: var(--font-system);
  font-size: 17px;
  line-height: 1.5;
}

blockquote cite {
  display: block;
  margin-top: 8px;
  color: #75808c;
  font-size: 12px;
  font-style: normal;
  text-transform: uppercase;
}

.progression {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(42px, 5vw, 72px);
  position: relative;
}

.progression h2 {
  font-size: clamp(44px, 4.9vw, 66px);
}

.progression::before {
  position: absolute;
  inset: 7% -18%;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: radial-gradient(ellipse at 68% 50%, rgba(115, 245, 255, 0.09), transparent 54%);
}

.progression-copy ul {
  display: grid;
  gap: 0;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.progression-copy li {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(115, 245, 255, 0.12);
  color: #d8e1e9;
  font-family: var(--font-system);
  text-transform: uppercase;
}

.progression-copy li:last-child {
  border-bottom: 1px solid rgba(115, 245, 255, 0.12);
}

.progression-copy li span {
  color: var(--pink);
}

.facility-stack {
  position: relative;
  min-height: 560px;
  perspective: 1200px;
}

.facility {
  position: absolute;
  width: min(100%, 720px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(115, 245, 255, 0.22);
  background: #111827;
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.68),
    0 34px 68px rgba(0, 0, 0, 0.56),
    0 0 30px rgba(40, 145, 180, 0.06);
  transform-origin: center;
  transition: border-color 240ms ease, filter 240ms ease;
}

.facility-stack:hover .facility {
  border-color: rgba(115, 245, 255, 0.36);
  filter: brightness(1.06);
}

.facility img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: brightness(0.9) saturate(1.02);
}

.facility figcaption {
  display: flex;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(115, 245, 255, 0.12);
  color: var(--cyan);
  font-family: var(--font-system);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facility figcaption span {
  color: #737f8d;
}

.facility-one {
  top: 0;
  left: 0;
  z-index: 1;
  transform: rotate(-4deg) scale(0.88);
}

.facility-two {
  top: 128px;
  right: -14px;
  z-index: 2;
  transform: rotate(3deg) scale(0.94);
}

.facility-three {
  bottom: 0;
  left: 15px;
  z-index: 3;
  transform: rotate(-1.2deg);
}

.launch {
  position: relative;
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: none;
  overflow: hidden;
  padding-right: 24px;
  padding-left: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(0, 200, 220, 0.24), transparent 23rem),
    radial-gradient(circle at 50% 72%, rgba(255, 63, 157, 0.1), transparent 24rem),
    linear-gradient(180deg, rgba(18, 25, 42, 0.2), rgba(13, 30, 43, 0.88));
}

.launch-orbit {
  position: absolute;
  top: 100px;
  left: 50%;
  width: min(70vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(115, 245, 255, 0.12);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: orbit-breathe 7s ease-in-out infinite;
}

.launch-orbit::before,
.launch-orbit::after {
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(255, 63, 157, 0.12);
  border-radius: inherit;
  content: "";
}

.launch-orbit::after {
  inset: 29%;
  border-color: rgba(255, 199, 93, 0.13);
}

.launch-mica {
  position: relative;
  width: 152px;
  height: 152px;
  margin-bottom: 34px;
  border: 1px solid rgba(115, 245, 255, 0.42);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 12px rgba(115, 245, 255, 0.035), 0 0 60px rgba(115, 245, 255, 0.18);
  animation: mica-float 5s ease-in-out infinite;
  transition: border-color 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

[data-mica-avatar].is-evil {
  border-color: rgba(255, 67, 73, 0.82);
  filter: saturate(1.15) contrast(1.1);
  box-shadow: 0 0 0 8px rgba(255, 34, 42, 0.06), 0 0 44px rgba(255, 34, 42, 0.34);
  animation: mica-signal-break 1320ms steps(1, end) both;
}

.launch-copy {
  position: relative;
  max-width: 850px;
}

.launch .status {
  margin-bottom: 22px;
}

.launch h2 {
  font-size: clamp(50px, 7vw, 90px);
  letter-spacing: 0.012em;
  text-transform: uppercase;
}

.launch-copy > p {
  max-width: 660px;
  margin-right: auto;
  margin-left: auto;
}

.centered-actions {
  justify-content: center;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: var(--page);
  margin: 0 auto;
  padding: 36px 0 48px;
  border-top: 1px solid rgba(115, 245, 255, 0.1);
  color: #96a4b2;
  font-size: 12px;
}

.footer-mark {
  width: 146px;
}

footer > p {
  margin: 0;
  text-align: center;
}

footer > p a {
  color: #aab5c0;
}

.footer-copyright {
  display: block;
  margin-top: 4px;
  font-size: 10px;
}

footer nav {
  justify-content: flex-end;
  gap: 18px;
}

footer nav a {
  font-size: 11px;
}

.js .reveal {
  opacity: 0;
  transition: opacity 360ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
}

@keyframes orbit-breathe {
  0%, 100% { opacity: 0.65; transform: translateX(-50%) scale(0.98); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.03); }
}

@keyframes mica-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes mica-signal-break {
  0%, 100% { transform: translate(0); }
  28% { transform: translate(-2px, 1px); }
  42% { transform: translate(3px, -1px); }
  58% { transform: translate(-1px, 2px); }
  72% { transform: translate(2px, 0); }
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.65; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes nav-play-frame-pulse {
  0%, 100% {
    opacity: 0.32;
    stroke-width: 2px;
  }
  50% {
    opacity: 0.78;
    stroke-width: 3.5px;
  }
}

@keyframes nav-play-stroke-pulse {
  0%, 100% {
    opacity: 0.78;
    stroke-width: 1px;
  }
  50% {
    opacity: 0.96;
    stroke-width: 1.3px;
  }
}

@keyframes cursor-blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@media (max-width: 900px) {
  :root {
    --page: min(100% - 36px, 720px);
  }

  .site-header nav a:not(.nav-play) {
    display: none;
  }

  .system-strip {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 18px;
    text-align: center;
  }

  .system-strip-label,
  .system-strip-state {
    display: none;
  }

  .hero-art {
    background-position: 58% center;
  }

  .hero-shade {
    background:
      radial-gradient(ellipse at 20% 58%, rgba(5, 8, 17, 0.34), transparent 62%),
      linear-gradient(90deg, rgba(8, 11, 21, 0.48), rgba(8, 11, 21, 0.06) 85%),
      linear-gradient(180deg, rgba(7, 9, 18, 0.06), transparent 26%, rgba(13, 17, 32, 0.82) 100%);
  }

  .story-grid,
  .progression {
    grid-template-columns: 1fr;
  }

  .story-copy {
    max-width: 650px;
  }

  .game-proof-copy {
    max-width: 650px;
  }

  .facility-stack {
    width: min(100%, 700px);
    margin: -66px auto 0;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  footer nav {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  :root {
    --page: calc(100vw - 28px);
  }

  .site-header {
    padding: 10px 14px;
  }

  .site-header.is-scrolled {
    padding: 10px 14px;
  }

  .wordmark {
    width: 138px;
  }

  .site-header .nav-play {
    min-width: 86px;
    padding: 10px 16px;
    font-size: 12px;
  }

  .hero {
    min-height: 740px;
  }

  .hero-art {
    background-position: 64% center;
  }

  .hero-shade {
    background:
      radial-gradient(ellipse at 24% 58%, rgba(5, 8, 17, 0.34), transparent 66%),
      linear-gradient(90deg, rgba(8, 11, 21, 0.5), rgba(8, 11, 21, 0.08)),
      linear-gradient(180deg, rgba(7, 9, 18, 0.04), transparent 20%, rgba(11, 15, 27, 0.03) 58%, rgba(13, 17, 32, 0.82) 100%);
  }

  .hero-content {
    padding-top: 112px;
    padding-bottom: 90px;
  }

  .status {
    margin-bottom: 24px;
    font-size: 10px;
  }

  .hero h1 {
    width: max-content;
    max-width: 100%;
    margin-bottom: 28px;
  }

  .hero-brand-logo {
    width: min(100%, 470px);
  }

  .hero-hook {
    max-width: 94%;
    font-size: 20px;
  }

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

  .system-strip > div {
    gap: 7px;
    width: 100%;
    font-size: 11px;
    letter-spacing: 0.05em;
  }

  .system-strip strong {
    font-size: 11px;
  }

  .button {
    width: 100%;
  }

  .button-primary {
    width: max-content;
    max-width: 100%;
    justify-self: start;
  }

  .centered-actions .button-primary {
    justify-self: center;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

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

  .section h2 {
    font-size: clamp(36px, 10.5vw, 50px);
  }

  .game-proof h2 {
    font-size: clamp(36px, 10.8vw, 50px);
  }

  .story h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .progression h2 {
    font-size: clamp(38px, 10.5vw, 50px);
  }

  .launch h2 {
    font-size: clamp(44px, 12vw, 62px);
  }

  .terminal-copy {
    min-height: 0;
    padding: 26px 20px;
    font-size: 13px;
  }

  .section.game-proof {
    gap: 36px;
    padding-top: 62px;
  }

  .game-proof-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .game-gallery {
    padding: 28px 10px 38px;
  }

  .game-window {
    width: min(calc(100% - 42px), var(--deck-card-width));
  }

  .game-deck-controls {
    gap: 12px;
  }

  .game-deck-control {
    width: 46px;
    min-width: 46px;
    min-height: 42px;
  }

  .game-deck-status {
    min-width: 0;
    font-size: 11px;
  }

  .game-window-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
  }

  .game-window img {
    object-position: top center;
  }

  .facility-stack {
    min-height: 450px;
    margin-top: -44px;
  }

  .facility {
    width: calc(100% - 32px);
  }

  .facility-one {
    left: 16px;
  }

  .facility-two {
    right: 16px;
  }

  .facility-three {
    left: 16px;
  }

  .facility img {
    height: 150px;
  }

  .facility figcaption span {
    display: none;
  }

  .facility-two {
    top: 105px;
  }

  .launch-mica {
    width: 120px;
    height: 120px;
  }

}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .site-header .nav-play .chamfer-frame [data-role="frame-glow"],
  .site-header .nav-play .chamfer-frame [data-role="frame-stroke"] {
    animation-duration: 2.8s !important;
    animation-iteration-count: infinite !important;
  }

  .site-header .nav-play:hover .chamfer-frame [data-role="frame-glow"],
  .site-header .nav-play:focus-visible .chamfer-frame [data-role="frame-glow"],
  .site-header .nav-play:hover .chamfer-frame [data-role="frame-stroke"],
  .site-header .nav-play:focus-visible .chamfer-frame [data-role="frame-stroke"] {
    animation: none !important;
  }

  .site-header::before,
  .site-header .wordmark,
  .site-header > nav,
  .scroll-progress {
    transition-duration: 320ms !important;
  }
}
