:root {
  --red: #e9381f;
  --red-dark: #be2515;
  --orange: #ff6a1a;
  --ink: #141414;
  --ink-soft: #2a2a2a;
  --paper: #f3f1ec;
  --white: #ffffff;
  --line: #d9d5cd;
  --muted: #64615b;
  --max-width: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(4.5rem, 9vw, 8rem);
  --shadow-offset: 8px 8px 0 var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

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

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

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

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

h1,
h2,
h3 {
  margin-bottom: 0;
  font-family: "Arial Narrow", "Aptos Display", Impact, sans-serif;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 7.4vw, 6.7rem);
}

h2 {
  font-size: clamp(2.35rem, 5vw, 4.6rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.08;
}

p {
  margin-bottom: 1rem;
}

ul,
ol {
  padding: 0;
}

address {
  font-style: normal;
}

[tabindex="-1"]:focus {
  outline: none;
}

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

.shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max-width));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.section--white {
  background: var(--white);
}

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

.section--ink {
  color: var(--white);
  background: var(--ink);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.75rem;
  height: 0.22rem;
  background: currentColor;
  content: "";
}

.lead {
  max-width: 47rem;
  margin-top: 1.75rem;
  color: #4e4c47;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.6;
}

.lead-small {
  max-width: 43rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.7fr);
  gap: 2rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.75rem, 6vw, 5rem);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -0.5rem;
}

.section-heading h2 {
  max-width: 53rem;
}

.section-heading__intro {
  max-width: 35rem;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading--light .eyebrow {
  color: var(--orange);
}

.section-heading--light .section-heading__intro {
  color: #c7c3bc;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 1.75rem;
  align-items: center;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border: 2px solid var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translate(-3px, -3px);
}

.button--primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 6px 6px 0 var(--ink);
}

.button--primary:hover {
  box-shadow: 9px 9px 0 var(--ink);
}

.button--light {
  color: var(--ink);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--orange);
}

.button--light:hover {
  box-shadow: 9px 9px 0 var(--orange);
}

.text-link {
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid var(--red);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.7;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}

.text-link:hover {
  color: var(--red);
  border-color: var(--orange);
}

.plain-list {
  margin: 1.5rem 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  border-top: 1px solid currentColor;
  color: var(--muted);
}

.plain-list li:last-child {
  border-bottom: 1px solid currentColor;
}

.plain-list li::before {
  position: absolute;
  top: 1.17rem;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  background: var(--red);
  content: "";
}

/* Header */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
}

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

.header-layout {
  display: flex;
  min-height: 6rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-layout--no-brand {
  justify-content: flex-end;
}

.brand-link {
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo__mark,
.brand-logo__image {
  width: 3.65rem;
  height: 3.65rem;
  object-fit: contain;
  flex: 0 0 3.65rem;
}

.brand-logo__image {
  border: 0;
  background: transparent;
}

.brand-logo__mark {
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  box-shadow: 4px 4px 0 var(--orange);
}

.brand-logo__name {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 900;
  letter-spacing: 0.045em;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.primary-navigation ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  margin: 0;
  list-style: none;
}

.primary-navigation a {
  position: relative;
  display: block;
  padding-block: 1.7rem;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.primary-navigation a::after {
  position: absolute;
  right: 0;
  bottom: 1.2rem;
  left: 0;
  height: 0.18rem;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-navigation a:hover::after,
.primary-navigation a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.locale-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 800;
}

.locale-switcher button {
  padding: 0.45rem 0.25rem;
  color: #88847d;
  background: transparent;
  cursor: pointer;
}

.locale-switcher button.active {
  color: var(--red);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem;
  background: transparent;
  cursor: pointer;
}

.menu-toggle__label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.menu-toggle__lines {
  display: grid;
  gap: 0.35rem;
}

.menu-toggle__lines i {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--ink);
}

/* Home */
.home-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
  background: var(--white);
}

.home-hero::after {
  position: absolute;
  z-index: 0;
  top: 8%;
  right: -9rem;
  width: 15rem;
  height: 15rem;
  border: 2rem solid var(--orange);
  content: "";
  transform: rotate(18deg);
}

.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.home-hero__copy h1 {
  max-width: 53rem;
}

.system-board {
  position: relative;
  color: var(--white);
  background: var(--ink);
  box-shadow: 12px 12px 0 var(--orange);
}

.system-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #4f4f4f;
  color: #aaa7a0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.system-board__head strong {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
}

.system-board__head i {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--orange);
}

.system-board ol {
  margin: 0;
  list-style: none;
}

.system-board li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.15rem 1rem;
  padding: 1.25rem 1.2rem;
  border-bottom: 1px solid #3c3c3c;
}

.system-board__code {
  grid-row: 1 / 3;
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  font-weight: 800;
}

.system-board__name {
  font-size: 1rem;
  font-weight: 800;
}

.system-board small {
  color: #aaa7a0;
  font-size: 0.78rem;
}

.system-board__rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  padding: 1rem 1.2rem;
}

.system-board__rail i {
  height: 0.35rem;
  background: var(--red);
}

.system-board__rail i:nth-child(2),
.system-board__rail i:nth-child(4) {
  background: var(--orange);
}

.proof-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(4rem, 8vw, 7rem);
  border: 1px solid var(--ink);
  border-bottom: 0;
}

.proof-strip article {
  min-height: 8.5rem;
  padding: 1.5rem;
  border-right: 1px solid var(--ink);
}

.proof-strip article:last-child {
  border-right: 0;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 0.65rem;
  color: var(--red);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 1.65rem;
  line-height: 1;
}

.proof-strip span {
  max-width: 15rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-feature {
  position: relative;
  display: flex;
  min-height: 32rem;
  flex-direction: column;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid var(--ink);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-feature:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-offset);
}

.service-feature__index {
  margin-bottom: auto;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 800;
}

.service-feature h3 {
  max-width: 24rem;
  margin: 3rem 0 1.25rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.service-feature p {
  max-width: 33rem;
  color: var(--muted);
}

.service-feature .text-link {
  align-self: flex-start;
  margin-top: auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid #555;
  border-left: 1px solid #555;
  list-style: none;
}

.process-grid li {
  min-height: 19rem;
  padding: 1.6rem;
  border-right: 1px solid #555;
  border-bottom: 1px solid #555;
}

.process-grid span {
  display: block;
  margin-bottom: 4rem;
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
}

.process-grid h3 {
  margin-bottom: 1rem;
}

.process-grid p {
  margin-bottom: 0;
  color: #bbb7af;
  font-size: 0.94rem;
}

.principles-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.principles-layout .section-heading {
  display: block;
  margin: 0;
}

.principles-list {
  border-top: 1px solid var(--ink);
}

.principles-list article {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--ink);
}

.principles-list article > span {
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  font-weight: 800;
}

.principles-list h3 {
  margin-bottom: 0.75rem;
}

.principles-list p {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--muted);
}

/* Inner pages */
.inner-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 8rem);
  border-bottom: 1px solid var(--ink);
}

.inner-hero::after {
  position: absolute;
  right: -5rem;
  bottom: -8rem;
  width: 17rem;
  height: 17rem;
  border: 2.25rem solid var(--red);
  content: "";
  transform: rotate(24deg);
}

.inner-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12rem;
  gap: 4rem;
  align-items: end;
}

.inner-hero__copy {
  max-width: 62rem;
}

.inner-hero__copy h1 {
  font-size: clamp(3rem, 6.6vw, 6rem);
}

.inner-hero__marker {
  display: grid;
  gap: 1rem;
  align-items: end;
}

.inner-hero__marker span {
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.1rem;
  font-weight: 800;
  text-align: right;
}

.inner-hero__marker i {
  display: block;
  height: 7rem;
  border: 1px solid var(--ink);
  background: var(--orange);
}

.highlight-bar {
  color: var(--white);
  background: var(--red);
}

.highlight-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.highlight-bar article {
  padding: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
}

.highlight-bar article:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.highlight-bar span,
.highlight-bar strong {
  display: block;
}

.highlight-bar span {
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.highlight-bar strong {
  font-size: 0.95rem;
  line-height: 1.45;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.capability-card {
  min-height: 19rem;
  padding: 1.6rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.capability-card > span,
.game-system-grid article > span,
.values-grid article > span {
  display: block;
  margin-bottom: 3.75rem;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 800;
}

.capability-card h3,
.game-system-grid h3,
.values-grid h3 {
  margin-bottom: 1rem;
}

.capability-card p,
.game-system-grid p,
.values-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.architecture-layout,
.runtime-layout,
.story-layout,
.model-layout,
.response-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.architecture-layout .section-heading,
.runtime-layout .section-heading,
.story-layout .section-heading,
.model-layout .section-heading,
.response-layout .section-heading {
  display: block;
  margin: 0;
}

.architecture-stack {
  margin: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.architecture-stack li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--ink);
}

.architecture-stack li > span {
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

.architecture-stack h3 {
  margin-bottom: 0.7rem;
}

.architecture-stack p {
  margin-bottom: 0;
  color: var(--muted);
}

.delivery-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  border-top: 1px solid #555;
  border-left: 1px solid #555;
  list-style: none;
}

.delivery-track li {
  min-height: 20rem;
  padding: 1.4rem;
  border-right: 1px solid #555;
  border-bottom: 1px solid #555;
}

.delivery-track span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  margin-bottom: 3.25rem;
  color: var(--ink);
  background: var(--orange);
  font-size: 0.75rem;
  font-weight: 900;
}

.delivery-track h3 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.delivery-track p {
  margin-bottom: 0;
  color: #bbb7af;
  font-size: 0.9rem;
}

.stack-layout,
.platform-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.stack-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.stack-groups article {
  padding: 1.4rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.stack-groups h3 {
  margin-bottom: 2rem;
  font-size: 1.35rem;
}

/* Game */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.genre-card {
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
}

.genre-card__label {
  display: inline-block;
  margin-bottom: 4rem;
  padding: 0.4rem 0.6rem;
  color: var(--white);
  background: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.genre-card h3 {
  max-width: 25rem;
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.genre-card > p {
  color: var(--muted);
}

.game-system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.game-system-grid article {
  min-height: 20rem;
  padding: 1.6rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.runtime-stack {
  display: flex;
  flex-direction: column;
  margin: 0;
  list-style: none;
}

.runtime-stack li {
  display: grid;
  grid-template-columns: 3rem 8rem 1fr;
  gap: 1.25rem;
  align-items: center;
  min-height: 4.4rem;
  padding: 0.85rem 1rem;
  border: 1px solid #555;
  border-bottom: 0;
}

.runtime-stack li:last-child {
  border-bottom: 1px solid #555;
}

.runtime-stack li:nth-child(2n) {
  background: var(--ink-soft);
}

.runtime-stack span {
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

.runtime-stack strong {
  font-size: 0.94rem;
}

.runtime-stack small {
  color: #bbb7af;
  font-size: 0.85rem;
}

/* Wallet and payments */
.development-strip {
  color: var(--white);
  background: var(--red);
}

.development-strip__grid {
  display: grid;
  grid-template-columns: minmax(10rem, 0.55fr) minmax(15rem, 0.8fr) minmax(0, 1.65fr);
  align-items: stretch;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
}

.development-strip__grid > div,
.development-strip__grid > p {
  margin: 0;
  padding: 1.35rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.45);
}

.development-strip__grid span,
.development-strip__grid strong {
  display: block;
}

.development-strip__grid span {
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.development-strip__grid strong {
  font-size: 1.05rem;
}

.development-strip__grid p {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  line-height: 1.5;
}

.payment-vision-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.integration-grid article,
.guardrail-grid article {
  min-height: 18rem;
  padding: 1.5rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.integration-grid article > span,
.guardrail-grid article > span {
  display: block;
  margin-bottom: 3.25rem;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 800;
}

.integration-grid h3,
.guardrail-grid h3 {
  margin-bottom: 0.9rem;
}

.integration-grid p,
.guardrail-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.payment-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid #555;
  border-left: 1px solid #555;
  list-style: none;
}

.payment-flow li {
  min-height: 18rem;
  padding: 1.5rem;
  border-right: 1px solid #555;
  border-bottom: 1px solid #555;
}

.payment-flow span {
  display: block;
  margin-bottom: 3.5rem;
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

.payment-flow h3 {
  margin-bottom: 0.9rem;
}

.payment-flow p {
  margin-bottom: 0;
  color: #bbb7af;
  font-size: 0.92rem;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.roadmap-grid > article {
  display: flex;
  min-height: 37rem;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 7px 7px 0 var(--ink);
}

.roadmap-card__head {
  display: flex;
  min-height: 6.5rem;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--ink);
}

.roadmap-card__head strong {
  color: var(--red);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 3rem;
  line-height: 1;
}

.roadmap-card__head span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roadmap-grid h3 {
  margin-bottom: 1rem;
}

.roadmap-grid > article > p {
  color: var(--muted);
  font-size: 0.94rem;
}

.roadmap-grid .plain-list {
  margin-top: auto;
}

.guardrail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.platform-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  list-style: none;
}

.platform-list li {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-weight: 800;
}

.platform-list li::after {
  width: 0.7rem;
  height: 0.7rem;
  background: var(--red);
  content: "";
}

/* About */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.mission-grid article {
  min-height: 22rem;
  padding: 1.7rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.mission-grid span {
  display: block;
  margin-bottom: 4.5rem;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

.mission-grid h3 {
  margin-bottom: 1rem;
}

.mission-grid p {
  color: var(--muted);
}

.story-copy {
  padding-top: 0.35rem;
  border-top: 1px solid var(--ink);
}

.story-copy p {
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
  color: #4e4c47;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.values-grid article {
  min-height: 20rem;
  padding: 1.7rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.model-list {
  border-top: 1px solid #555;
}

.model-list article {
  display: grid;
  grid-template-columns: minmax(10rem, 0.65fr) minmax(0, 1.35fr);
  gap: 2rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid #555;
}

.model-list h3 {
  font-size: 1.4rem;
}

.model-list p {
  margin-bottom: 0;
  color: #bbb7af;
}

/* Contact */
.contact-prep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  list-style: none;
}

.contact-prep-grid li {
  min-height: 19rem;
  padding: 1.6rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.contact-prep-grid span {
  display: block;
  margin-bottom: 4rem;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

.contact-prep-grid h3 {
  margin-bottom: 1rem;
}

.contact-prep-grid p {
  color: var(--muted);
}

.contact-list {
  border-top: 1px solid var(--ink);
}

.contact-list > div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--ink);
}

.contact-list span {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-list a,
.contact-list strong {
  overflow-wrap: anywhere;
  font-size: 1.08rem;
  font-weight: 750;
}

.response-steps {
  margin: 0;
  border-top: 1px solid #555;
  list-style: none;
}

.response-steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #555;
}

.response-steps span {
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

.response-steps p {
  margin-bottom: 0;
  color: #d0ccc5;
}

/* CTA and footer */
.cta-band {
  padding-block: clamp(4rem, 8vw, 7rem);
  color: var(--white);
  background: var(--red);
}

.cta-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.cta-band .eyebrow {
  color: var(--white);
}

.cta-band h2 {
  max-width: 52rem;
}

.cta-band__grid > div:last-child > p {
  margin-bottom: 1.75rem;
  font-size: 1.08rem;
}

.site-footer {
  padding-top: clamp(4rem, 7vw, 6rem);
  color: var(--white);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 1.3fr) minmax(10rem, 0.6fr) minmax(8rem, 0.4fr);
  gap: 3rem;
  padding-bottom: 4rem;
}

.site-footer .brand-logo__mark {
  border-color: var(--white);
}

.site-footer .brand-logo__image {
  width: 4.25rem;
  height: 4.25rem;
  flex-basis: 4.25rem;
}

.footer-brand p {
  max-width: 29rem;
  margin-top: 1.5rem;
  color: #aaa7a0;
}

.site-footer nav,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer nav a,
.footer-social a {
  align-self: flex-start;
  color: #d4d0c8;
  text-decoration: none;
}

.site-footer nav a:hover,
.footer-social a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid #444;
  color: #918e88;
  font-size: 0.78rem;
}

.route-fade-enter-active,
.route-fade-leave-active {
  transition: opacity 140ms ease, transform 140ms ease;
}

.route-fade-enter,
.route-fade-leave-to {
  opacity: 0;
  transform: translateY(6px);
}

@media (max-width: 1080px) {
  .primary-navigation {
    gap: 1.2rem;
  }

  .primary-navigation ul {
    gap: 1rem;
  }

  .primary-navigation a {
    font-size: 0.78rem;
  }

  .home-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(19rem, 0.95fr);
    gap: 3rem;
  }

  .service-feature-grid,
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roadmap-grid > article:last-child {
    grid-column: span 2;
    min-height: 28rem;
  }

  .process-grid,
  .delivery-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-grid,
  .game-system-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .delivery-track li:last-child {
    grid-column: span 2;
    min-height: 12rem;
  }
}

@media (max-width: 1060px) {
  :root {
    --section-space: clamp(4rem, 10vw, 6rem);
  }

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

  .primary-navigation {
    position: fixed;
    z-index: 49;
    inset: 6rem 0 auto 0;
    display: none;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--ink);
    color: var(--white);
    background: var(--ink);
  }

  .primary-navigation.open {
    display: flex;
  }

  .primary-navigation ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-navigation li {
    border-bottom: 1px solid #444;
  }

  .primary-navigation a {
    padding: 1rem 0;
    font-size: 1.2rem;
  }

  .primary-navigation a::after {
    right: auto;
    bottom: 0.6rem;
    width: 2rem;
  }

  .locale-switcher {
    padding: 0.75rem 0 0;
    border-left: 0;
  }

  .locale-switcher button {
    color: #aaa7a0;
  }

  .home-hero__grid,
  .inner-hero__grid,
  .section-heading,
  .principles-layout,
  .architecture-layout,
  .runtime-layout,
  .story-layout,
  .model-layout,
  .response-layout,
  .stack-layout,
  .platform-layout,
  .contact-layout,
  .payment-vision-layout,
  .cta-band__grid {
    grid-template-columns: 1fr;
  }

  .system-board {
    width: min(100%, 35rem);
  }

  .inner-hero__marker {
    display: none;
  }

  .section-heading {
    align-items: start;
  }

  .section-heading .eyebrow {
    margin-bottom: -0.4rem;
  }

  .service-feature {
    min-height: 29rem;
  }

  .stack-groups {
    grid-template-columns: 1fr;
  }

  .development-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .development-strip__grid > p {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
  }

  .payment-flow {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  .mission-grid article {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 1.15rem;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.15rem, 11vw, 3.5rem);
  }

  .home-hero::after,
  .inner-hero::after {
    opacity: 0.25;
  }

  .proof-strip,
  .service-feature-grid,
  .highlight-bar__grid,
  .genre-grid,
  .values-grid,
  .platform-list,
  .contact-prep-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .development-strip__grid,
  .integration-grid,
  .roadmap-grid,
  .guardrail-grid,
  .payment-flow {
    grid-template-columns: 1fr;
  }

  .development-strip__grid > p,
  .roadmap-grid > article:last-child {
    grid-column: auto;
  }

  .roadmap-grid > article,
  .roadmap-grid > article:last-child,
  .integration-grid article,
  .guardrail-grid article,
  .payment-flow li {
    min-height: auto;
  }

  .proof-strip article,
  .highlight-bar article,
  .highlight-bar article:first-child {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid currentColor;
    border-left: 0;
  }

  .service-feature {
    min-height: auto;
  }

  .service-feature__index,
  .service-feature .text-link {
    margin-top: 0;
  }

  .service-feature h3 {
    margin-top: 4rem;
  }

  .process-grid,
  .delivery-track,
  .capability-grid,
  .game-system-grid {
    grid-template-columns: 1fr;
  }

  .process-grid li,
  .delivery-track li,
  .capability-card,
  .game-system-grid article,
  .values-grid article,
  .contact-prep-grid li,
  .mission-grid article {
    min-height: auto;
  }

  .delivery-track li:last-child {
    grid-column: auto;
  }

  .process-grid span,
  .delivery-track span,
  .capability-card > span,
  .game-system-grid article > span,
  .values-grid article > span,
  .contact-prep-grid span,
  .mission-grid span {
    margin-bottom: 2.25rem;
  }

  .runtime-stack li {
    grid-template-columns: 2.4rem 1fr;
  }

  .runtime-stack small {
    grid-column: 2;
  }

  .model-list article,
  .contact-list > div {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .footer-grid,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .button-row .text-link {
    width: auto;
  }

  .header-layout {
    min-height: 5.75rem;
    gap: 0.85rem;
  }

  .brand-logo {
    gap: 0.65rem;
  }

  .brand-logo__mark,
  .brand-logo__image {
    width: 3.4rem;
    height: 3.4rem;
    flex-basis: 3.4rem;
  }

  .brand-logo__name {
    max-width: 11.5rem;
    overflow: hidden;
    font-size: 1.05rem;
    letter-spacing: 0.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

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

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

@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .menu-toggle {
    display: none !important;
  }

  body,
  .section--ink {
    color: #000;
    background: #fff;
  }
}
