/*
  K-BIT official static website
  Visual direction: black-gold pixel arcade shell for homepage,
  restrained legal/support shell for high readability.
*/

:root {
  --bone-white: #f7efd9;
  --aged-paper: #ead7a6;
  --paper-glow: #fff5de;
  --deep-black: #070707;
  --panel-black: #0f0d0b;
  --soft-black: #171311;
  --gold: #e7c96f;
  --gold-strong: #ffdf85;
  --gold-dim: #a98b45;
  --gold-line: rgba(231, 201, 111, 0.55);
  --signal-red: #b2432f;
  --signal-blue: #39b7cf;
  --signal-green: #86ca35;
  --signal-yellow: #f5ba3b;
  --signal-clay: #d16d45;
  --text-light: rgba(247, 239, 217, 0.92);
  --text-soft: rgba(247, 239, 217, 0.7);
  --text-ink: #1d1710;
  --text-ink-soft: rgba(29, 23, 16, 0.78);

  --font-display: "Courier New", "IBM Plex Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  --font-body: "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Courier New", "IBM Plex Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;

  --border-gold: 2px solid var(--gold-line);
  --border-gold-strong: 3px solid var(--gold);
  --border-ink: 2px solid rgba(29, 23, 16, 0.18);
  --shadow-gold: 0 0 0 1px rgba(255, 223, 133, 0.12), 0 18px 40px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.28);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--deep-black);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-light);
  background:
    radial-gradient(circle at top, rgba(57, 183, 207, 0.12), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(181, 67, 47, 0.12), transparent 16%),
    linear-gradient(180deg, #0b0a08 0%, #050505 100%);
  text-rendering: geometricPrecision;
}

body::selection {
  background: var(--gold);
  color: var(--deep-black);
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

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

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 1200;
  padding: 0.8rem 1rem;
  border: var(--border-gold-strong);
  background: var(--gold);
  color: var(--deep-black);
  font-family: var(--font-mono);
  font-weight: 900;
  text-transform: uppercase;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(7, 7, 7, 0.9);
  border-bottom: 1px solid rgba(231, 201, 111, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 76px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.pixel-word strong {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--paper-glow);
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 223, 133, 0.18);
}

.brand-word small {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.8rem;
  border: 1px solid transparent;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--text-soft);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--gold-line);
  color: var(--paper-glow);
  background: rgba(231, 201, 111, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 223, 133, 0.12);
}

.nav-toggle {
  display: none;
  border: var(--border-gold);
  background: rgba(231, 201, 111, 0.08);
  color: var(--paper-glow);
  padding: 0.55rem 0.85rem;
  font-family: var(--font-mono);
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.36rem 0.72rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.08);
}

.signal-red {
  background: var(--signal-red);
  color: var(--paper-glow);
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.home-page h1 {
  font-size: 8.2rem;
  line-height: 0.9;
  color: var(--paper-glow);
  text-shadow: 0 0 22px rgba(255, 223, 133, 0.12);
}

.home-page h2 {
  font-size: 3.8rem;
  line-height: 0.95;
  color: var(--deep-black);
}

.home-page h3 {
  font-size: 1.35rem;
  line-height: 1.05;
}

.body-copy,
.home-page p {
  margin: 0;
}

.body-copy {
  color: var(--text-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--gold-line);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active,
.nav-links a:active,
.subnav-row a:active {
  transform: scale(0.98);
}

.btn-paper {
  background: var(--paper-glow);
  color: var(--deep-black);
  border-color: var(--paper-glow);
}

.btn-paper:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.btn-outline,
.btn-outline-dark {
  background: transparent;
}

.btn-outline {
  color: var(--paper-glow);
}

.btn-outline:hover {
  background: rgba(231, 201, 111, 0.08);
}

.btn-outline-dark {
  color: var(--deep-black);
  border-color: rgba(29, 23, 16, 0.28);
}

.btn-outline-dark:hover {
  background: rgba(29, 23, 16, 0.08);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.arcade-hero {
  position: relative;
  padding: 0 0 var(--space-12);
}

.hero-shell {
  width: min(100% - 32px, 1480px);
  margin: clamp(1rem, 3vw, 2rem) auto 0;
  position: relative;
  min-height: min(790px, calc(100vh - 96px));
  border: var(--border-gold);
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.98) 0%, rgba(7, 7, 7, 0.94) 35%, rgba(7, 7, 7, 0.54) 58%, rgba(7, 7, 7, 0.86) 100%),
    linear-gradient(90deg, rgba(231, 201, 111, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(231, 201, 111, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(231, 201, 111, 0.06), transparent 14%),
    linear-gradient(180deg, #0d0c0a 0%, #060606 100%);
  background-size: auto, 48px 48px, 48px 48px, auto, auto;
  box-shadow: var(--shadow-gold);
  overflow: hidden;
  isolation: isolate;
}

.hero-shell::before,
.hero-shell::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-color: var(--gold);
  pointer-events: none;
}

.hero-shell::before {
  left: 10px;
  top: 10px;
  border-left: 2px solid;
  border-top: 2px solid;
}

.hero-shell::after {
  right: 10px;
  bottom: 10px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr);
  gap: 0;
  width: 100%;
  min-height: inherit;
  align-items: center;
}

.hero-copy-panel {
  position: relative;
  z-index: 6;
  min-height: inherit;
}

.hero-copy-panel {
  max-width: 690px;
  padding: clamp(2rem, 5vw, 4.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, rgba(7, 7, 7, 0.72), rgba(7, 7, 7, 0));
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.7), 0 0 24px rgba(255, 223, 133, 0.18);
}

.hero-stack {
  margin-top: var(--space-4);
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.18;
  text-transform: uppercase;
  color: var(--paper-glow);
}

.hero-body {
  margin-top: var(--space-6);
  max-width: 520px;
  font-size: 1.04rem;
}

.hero-actions {
  margin-top: var(--space-8);
}

.subnav-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.subnav-row a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--text-soft);
}

.subnav-row a:hover {
  color: var(--paper-glow);
}

.hero-stage-panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 66% 42%, rgba(57, 183, 207, 0.22), transparent 34%),
    radial-gradient(circle at 72% 74%, rgba(231, 201, 111, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(9, 12, 18, 0.92), rgba(3, 4, 5, 1));
  overflow: hidden;
}

.hero-stage-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, #070707 0%, rgba(7, 7, 7, 0.94) 26%, rgba(7, 7, 7, 0.14) 56%, rgba(7, 7, 7, 0.42) 100%),
    linear-gradient(0deg, rgba(7, 7, 7, 0.74) 0%, transparent 34%, rgba(7, 7, 7, 0.18) 100%);
  pointer-events: none;
}

.radar-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ring {
  position: absolute;
  left: 68%;
  top: 48%;
  border: 1px solid rgba(57, 183, 207, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 { width: 220px; height: 220px; }
.ring-2 { width: 340px; height: 340px; }
.ring-3 { width: 480px; height: 480px; }
.ring-4 { width: min(72vw, 620px); height: min(72vw, 620px); }

.crosshair {
  position: absolute;
  left: 68%;
  top: 48%;
  background: rgba(57, 183, 207, 0.18);
}

.crosshair.horizontal {
  width: min(72vw, 640px);
  height: 1px;
  transform: translate(-50%, -50%);
}

.crosshair.vertical {
  width: 1px;
  height: min(72vw, 640px);
  transform: translate(-50%, -50%);
}

.signal-tag {
  position: absolute;
  left: 55%;
  top: 42%;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.signal-blue {
  color: var(--signal-blue);
}

.pixel-blip {
  position: absolute;
  width: 18px;
  height: 18px;
  background: currentColor;
  box-shadow: 18px 0 currentColor, 0 18px currentColor, 18px 18px currentColor;
}

.blip-heart {
  top: 20%;
  left: 47%;
  color: #d64d57;
}

.blip-home {
  top: 28%;
  left: 54%;
  color: #db5d42;
}

.blip-bone {
  top: 18%;
  right: 18%;
  color: #c59a2b;
}

.blip-tree {
  top: 44%;
  right: 12%;
  color: #658d28;
}

.hero-product-shot {
  position: absolute;
  z-index: 4;
  right: clamp(0.8rem, 2vw, 2rem);
  top: 55%;
  width: min(56%, 860px);
  margin: 0;
  transform: translateY(-50%);
}

.hero-product-shot::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 20px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  filter: blur(14px);
  z-index: -1;
}

.hero-product-shot img {
  width: 100%;
  height: auto;
  max-height: 560px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 58% 52%;
  border: 0;
  filter: saturate(1.16) contrast(1.12) brightness(1.08);
  box-shadow: 0 36px 92px rgba(0, 0, 0, 0.68);
}

.hero-product-shot figcaption {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: -2rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--gold);
  text-align: right;
}

.hero-status-board {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 7;
  min-width: 230px;
  padding: var(--space-4);
  border: 1px solid rgba(134, 202, 53, 0.72);
  background: rgba(4, 12, 4, 0.78);
  color: var(--signal-green);
  box-shadow: 0 0 24px rgba(134, 202, 53, 0.08);
}

.hero-status-board span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-life-frame {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  top: clamp(1rem, 3vw, 2rem);
  z-index: 7;
  width: min(24%, 290px);
  border: 1px solid rgba(231, 201, 111, 0.4);
  background: rgba(7, 7, 7, 0.78);
  padding: var(--space-3);
}

@media (min-width: 1081px) {
  .hero-life-frame {
    display: none;
  }
}

.hero-life-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 46% 54%;
  border: 1px solid rgba(231, 201, 111, 0.2);
}

.hero-life-frame div {
  margin-top: var(--space-3);
}

.hero-life-frame strong,
.hero-life-frame span {
  display: block;
}

.hero-life-frame strong {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-life-frame span {
  margin-top: var(--space-1);
  font-size: 0.78rem;
  color: var(--text-soft);
}

.cream-band {
  position: relative;
  background: linear-gradient(180deg, var(--paper-glow) 0%, #ead7a6 100%);
  color: var(--text-ink);
  border-top: 1px solid rgba(231, 201, 111, 0.2);
  border-bottom: 1px solid rgba(29, 23, 16, 0.12);
}

.cream-band::before,
.cream-band::after {
  content: "";
  display: block;
  height: 8px;
  background:
    linear-gradient(45deg, rgba(7, 7, 7, 0.75) 25%, transparent 25%) 0 0/16px 16px,
    linear-gradient(-45deg, rgba(7, 7, 7, 0.75) 25%, transparent 25%) 0 0/16px 16px;
}

.cream-grid,
.architecture-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: var(--space-10);
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.cream-intro p,
.architecture-copy p,
.value-point p,
.flow-card p {
  color: var(--text-ink-soft);
}

.value-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: start;
}

.value-point {
  position: relative;
  padding-left: var(--space-6);
  border-left: 1px dashed rgba(29, 23, 16, 0.28);
}

.mini-icon,
.flow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 26px;
  padding: 0 0.4rem;
  border: 1px solid rgba(29, 23, 16, 0.2);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 900;
  color: var(--text-ink);
  background: rgba(255, 255, 255, 0.45);
}

.arcade-section {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 8, 0.98), rgba(3, 3, 3, 1));
}

.arcade-section-head {
  margin-bottom: var(--space-10);
}

.arcade-section .section-kicker,
.brand-world-section .section-kicker {
  color: var(--gold);
  border-color: rgba(231, 201, 111, 0.14);
  background: rgba(231, 201, 111, 0.06);
}

.arcade-section h2,
.brand-world-section h2 {
  color: var(--paper-glow);
}

.arcade-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-4);
}

.arcade-card {
  min-height: 260px;
  padding: var(--space-5);
  border: var(--border-gold);
  background:
    linear-gradient(180deg, rgba(231, 201, 111, 0.03), transparent 35%),
    rgba(11, 10, 8, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 223, 133, 0.06);
  transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), border-color 180ms ease, background 180ms ease;
}

.arcade-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(231, 201, 111, 0.08), transparent 36%),
    rgba(14, 12, 9, 0.96);
}

.arcade-card h3 {
  margin-top: var(--space-5);
  color: var(--paper-glow);
  font-size: 1.16rem;
}

.arcade-card p {
  margin-top: var(--space-4);
  color: var(--text-soft);
  font-size: 0.95rem;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid currentColor;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
}

.card-icon.cyan { color: var(--signal-blue); }
.card-icon.red { color: #e36161; }
.card-icon.green { color: var(--signal-green); }
.card-icon.yellow { color: var(--signal-yellow); }
.card-icon.blue { color: #6ed5ff; }
.card-icon.clay { color: var(--signal-clay); }

.architecture-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
}

.architecture-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.flow-card {
  position: relative;
  min-height: 280px;
  padding: var(--space-5);
  border: 1px solid rgba(29, 23, 16, 0.2);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 8px 8px 0 rgba(29, 23, 16, 0.08);
}

.flow-card h3 {
  margin-top: var(--space-3);
  color: var(--text-ink);
}

.flow-card img {
  margin-top: var(--space-4);
  display: block;
  height: auto;
  max-height: 190px;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 54% 54%;
  width: 100%;
  border: 1px solid rgba(29, 23, 16, 0.16);
  background: rgba(7, 7, 7, 0.08);
}

.brand-world-section {
  padding-bottom: var(--space-12);
}

.brand-world-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-10);
  align-items: start;
}

.brand-world-grid,
.brand-world-copy,
.world-cards,
.world-card,
.terminal-banner {
  min-width: 0;
}

.brand-world-copy p {
  color: var(--text-soft);
  max-width: 460px;
}

.world-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.world-card {
  border: var(--border-gold);
  background: rgba(255, 255, 255, 0.02);
  padding: var(--space-4);
  transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), border-color 180ms ease;
}

.world-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.world-card img {
  display: block;
  height: auto;
  max-height: 260px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  width: 100%;
  border: 1px solid rgba(231, 201, 111, 0.18);
}

.world-card:first-child img {
  object-position: 42% 54%;
}

.world-card:nth-child(2) img {
  object-position: 56% 54%;
}

.world-card strong {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--gold-strong);
}

.world-card p {
  margin-top: var(--space-3);
  color: var(--text-soft);
}

.terminal-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-8);
  margin-top: var(--space-10);
  padding: var(--space-6);
  border: var(--border-gold);
  background: rgba(0, 0, 0, 0.42);
}

.terminal-banner strong,
.terminal-status span {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.terminal-banner strong {
  color: var(--paper-glow);
  font-size: 1.1rem;
}

.terminal-banner div:last-child {
  color: var(--signal-green);
  text-align: right;
  font-size: 0.86rem;
}

.site-footer {
  padding: var(--space-12) 0;
  background: #050505;
  border-top: 1px solid rgba(231, 201, 111, 0.16);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) auto;
  gap: var(--space-10);
  align-items: start;
}

.footer-tagline {
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.footer-columns strong {
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--gold);
}

.footer-columns a {
  display: block;
  margin-top: var(--space-2);
  color: var(--text-soft);
}

.footer-columns a:hover {
  color: var(--paper-glow);
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-align: right;
  color: var(--text-soft);
  text-transform: uppercase;
}

/* Legal and support pages */

body:not(.home-page) {
  background:
    radial-gradient(circle at top, rgba(57, 183, 207, 0.08), transparent 28%),
    linear-gradient(180deg, #0c0b09 0%, #050505 100%);
}

body:not(.home-page) .site-header {
  background: rgba(7, 7, 7, 0.94);
}

body:not(.home-page) .page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid rgba(231, 201, 111, 0.16);
  background:
    linear-gradient(180deg, rgba(231, 201, 111, 0.05), transparent 70%);
}

body:not(.home-page) .page-hero .eyebrow {
  background: rgba(231, 201, 111, 0.08);
  color: var(--gold);
  border-color: rgba(231, 201, 111, 0.14);
}

body:not(.home-page) h1,
body:not(.home-page) h2,
body:not(.home-page) h3,
body:not(.home-page) h4 {
  font-family: var(--font-display);
  letter-spacing: 0;
  text-transform: uppercase;
}

body:not(.home-page) .page-hero h1 {
  margin-top: var(--space-4);
  font-size: 5rem;
  line-height: 0.95;
  color: var(--paper-glow);
}

body:not(.home-page) .page-hero .lede {
  margin-top: var(--space-5);
  max-width: 760px;
  color: var(--text-soft);
}

body:not(.home-page) .section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

body:not(.home-page) .section-tight {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

body:not(.home-page) .legal-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: var(--space-8);
  align-items: start;
}

body:not(.home-page) .toc {
  position: sticky;
  top: 94px;
  border: var(--border-gold);
  background: rgba(12, 11, 9, 0.92);
  box-shadow: var(--shadow-gold);
  padding: var(--space-5);
}

body:not(.home-page) .toc strong {
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--gold);
}

body:not(.home-page) .toc a {
  display: block;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(231, 201, 111, 0.08);
  color: var(--text-soft);
  font-size: 0.95rem;
}

body:not(.home-page) .toc a:hover {
  color: var(--paper-glow);
}

body:not(.home-page) .legal-doc,
body:not(.home-page) .contact-card,
body:not(.home-page) .support-item,
body:not(.home-page) .faq details {
  border: var(--border-gold);
  box-shadow: var(--shadow-gold);
  background: linear-gradient(180deg, var(--paper-glow) 0%, #ecdcae 100%);
  color: var(--text-ink);
}

body:not(.home-page) .legal-doc {
  padding: clamp(1.4rem, 4vw, 3rem);
}

body:not(.home-page) .legal-doc h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  font-size: 2.3rem;
  color: var(--text-ink);
}

body:not(.home-page) .legal-doc h2:first-child {
  margin-top: 0;
}

body:not(.home-page) .legal-doc h3 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--text-ink);
}

body:not(.home-page) .legal-doc p,
body:not(.home-page) .legal-doc li,
body:not(.home-page) .support-item p,
body:not(.home-page) .faq details p,
body:not(.home-page) .contact-card p {
  color: var(--text-ink-soft);
}

body:not(.home-page) .legal-doc ul,
body:not(.home-page) .legal-doc ol {
  padding-left: 1.35rem;
}

body:not(.home-page) .support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
  gap: var(--space-6);
  align-items: start;
}

body:not(.home-page) .contact-card,
body:not(.home-page) .support-item {
  padding: var(--space-6);
}

body:not(.home-page) .contact-card .support-email {
  display: inline-flex;
  margin: var(--space-4) 0;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(29, 23, 16, 0.18);
  background: rgba(29, 23, 16, 0.06);
  font-family: var(--font-mono);
  font-weight: 900;
  color: var(--text-ink);
}

body:not(.home-page) .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

body:not(.home-page) .tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(29, 23, 16, 0.18);
  background: rgba(255, 255, 255, 0.46);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-ink);
}

body:not(.home-page) .support-list,
body:not(.home-page) .faq {
  display: grid;
  gap: var(--space-4);
}

body:not(.home-page) .support-item h3,
body:not(.home-page) .section-header h2 {
  color: var(--text-ink);
}

body:not(.home-page) .section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: var(--space-8);
  align-items: end;
  margin-bottom: var(--space-10);
}

body:not(.home-page) .section-header .section-kicker {
  background: rgba(231, 201, 111, 0.12);
  border-color: rgba(29, 23, 16, 0.12);
  color: var(--text-ink);
}

body:not(.home-page) .faq details {
  padding: 0;
}

body:not(.home-page) .faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-5);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-ink);
}

body:not(.home-page) .faq summary::-webkit-details-marker {
  display: none;
}

body:not(.home-page) .faq summary::after {
  content: "+";
  float: right;
}

body:not(.home-page) .faq details[open] summary::after {
  content: "-";
}

body:not(.home-page) .faq details p {
  margin: 0;
  padding: 0 var(--space-5) var(--space-5);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1080px) {
  .cream-grid,
  .architecture-shell,
  .brand-world-grid,
  .footer-grid,
  body:not(.home-page) .support-grid,
  body:not(.home-page) .legal-shell,
  body:not(.home-page) .section-header {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
  }

  .hero-inner {
    display: block;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy-panel {
    min-height: auto;
    padding-block: var(--space-8);
    background: linear-gradient(180deg, rgba(7, 7, 7, 0.96), rgba(7, 7, 7, 0.82));
    border-bottom: 1px solid rgba(231, 201, 111, 0.28);
  }

  .hero-stage-panel {
    position: relative;
    inset: auto;
    height: auto;
    min-height: 0;
    padding: var(--space-5);
  }

  .hero-stage-panel::after {
    display: none;
  }

  .hero-product-shot {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    z-index: 2;
    width: 100%;
    transform: none;
  }

  .hero-product-shot img {
    max-height: 360px;
    object-position: 50% 54%;
  }

  .hero-product-shot figcaption {
    position: static;
    margin-top: var(--space-3);
    text-align: left;
  }

  .hero-status-board,
  .hero-life-frame {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    margin-top: var(--space-4);
  }

  .hero-life-frame img {
    min-height: 98px;
    max-height: 128px;
  }

  .hero-life-frame {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: var(--space-3);
    align-items: center;
  }

  .hero-life-frame div {
    margin-top: 0;
  }

  .radar-rings {
    display: none;
  }

  .arcade-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .value-points,
  .architecture-flow,
  .world-cards,
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .terminal-banner {
    grid-template-columns: 1fr;
  }

  .terminal-banner div:last-child,
  .footer-meta {
    text-align: left;
  }

  body:not(.home-page) .toc {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 68px;
  }

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

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 12px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(12, 11, 9, 0.98);
    border: var(--border-gold);
    padding: var(--space-3);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    justify-content: space-between;
  }

  .hero-shell {
    min-height: auto;
  }

  .home-page h1 {
    font-size: 3.3rem;
  }

  .home-page h2 {
    font-size: 2.25rem;
    line-height: 1;
  }

  .hero-stack {
    max-width: 100%;
    font-size: 1.1rem;
  }

  .hero-body {
    margin-top: var(--space-4);
  }

  .hero-actions {
    margin-top: var(--space-5);
  }

  .subnav-row {
    margin-top: var(--space-6);
  }

  .arcade-card-grid,
  .value-points,
  .architecture-flow,
  .world-cards,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .cta-row .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .pixel-word strong {
    font-size: 1.5rem;
  }

  .hero-shell {
    width: min(100% - 20px, 1480px);
  }

  .hero-copy-panel {
    padding-inline: 1.2rem;
    padding-block: var(--space-6);
  }

  .home-page h2 {
    font-size: 1.85rem;
  }

  .hero-life-frame {
    grid-template-columns: 1fr;
  }

  .hero-life-frame img {
    min-height: 170px;
    max-height: 220px;
  }

  .flow-card img,
  .world-card img {
    max-height: 220px;
  }

  .subnav-row {
    gap: var(--space-3);
  }
}
