:root {
  --ink: #161414;
  --night: #10151f;
  --paper: #faf3df;
  --cream: #efe0b3;
  --red: #c94a38;
  --blue: #244f91;
  --green: #2f7c61;
  --yellow: #d9a53c;
  --line: #161414;
  --muted: #625f58;
  --brass: #b88935;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 28px;
  color: var(--paper);
  background: rgba(16, 21, 31, 0.86);
  border-bottom: 1px solid rgba(239, 224, 179, 0.24);
  backdrop-filter: blur(12px);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
  font-size: 14px;
}

.brand-mark {
  width: 24px;
  height: 24px;
  display: inline-block;
  background:
    linear-gradient(var(--red) 0 0) 0 0 / 11px 11px no-repeat,
    linear-gradient(var(--blue) 0 0) 13px 0 / 11px 11px no-repeat,
    linear-gradient(var(--yellow) 0 0) 0 13px / 11px 11px no-repeat,
    linear-gradient(var(--green) 0 0) 13px 13px / 11px 11px no-repeat;
  border: 1px solid rgba(250, 243, 223, 0.48);
  image-rendering: pixelated;
}

nav a {
  color: var(--cream);
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  color: var(--paper);
  background: var(--night);
  border-bottom: 1px solid rgba(22, 20, 20, 0.8);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 46%, rgba(217, 165, 60, 0.12), transparent 30%),
    linear-gradient(90deg, rgba(16, 21, 31, 0.96) 0%, rgba(16, 21, 31, 0.76) 42%, rgba(16, 21, 31, 0.22) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 5px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(820px, calc(100% - 36px));
  padding: 138px 0 96px;
  margin-left: clamp(18px, 7vw, 96px);
}

.kicker,
.section-label {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 7.4vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 3px 3px 0 rgba(201, 74, 56, 0.92), 6px 6px 0 rgba(36, 79, 145, 0.78);
}

h2 {
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  color: #f6e9c5;
  font-size: clamp(15px, 1.55vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  max-width: 620px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--line);
  box-shadow: 4px 4px 0 var(--line);
  text-decoration: none;
  font-weight: 900;
  text-align: center;
  line-height: 1.15;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--line);
}

.button.primary {
  background: var(--yellow);
}

.button.secondary {
  color: var(--paper);
  background: var(--blue);
}

.button.big {
  min-width: min(100%, 360px);
}

.hero-status {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 8px;
}

.hero-status span {
  padding: 7px 9px;
  color: var(--cream);
  background: rgba(16, 21, 31, 0.62);
  border: 1px solid rgba(239, 224, 179, 0.42);
  font-size: 12px;
  font-weight: 900;
}

section {
  padding: clamp(56px, 9vw, 116px) clamp(18px, 6vw, 88px);
}

.logo-cloud {
  padding-top: 26px;
  padding-bottom: 26px;
  color: rgba(250, 243, 223, 0.7);
  background: #111722;
  border-top: 1px solid rgba(239, 224, 179, 0.16);
  border-bottom: 1px solid rgba(239, 224, 179, 0.16);
}

.logo-cloud p {
  max-width: 1180px;
  margin: 0 auto 18px;
  color: rgba(250, 243, 223, 0.48);
  font-size: 12px;
  text-align: center;
  text-transform: uppercase;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  opacity: 0.72;
}

.logo-wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid rgba(239, 224, 179, 0.14);
  background: rgba(250, 243, 223, 0.025);
  opacity: 0.55;
  transition: opacity 180ms ease, background 180ms ease, transform 180ms ease;
}

.logo-wordmark:hover {
  opacity: 0.86;
  background: rgba(250, 243, 223, 0.045);
  transform: translateY(-1px);
}

.logo-wordmark img {
  display: block;
  max-width: 116px;
  max-height: 26px;
  width: auto;
  height: auto;
  filter: grayscale(1);
}

.logo-wordmark:nth-child(2) img {
  max-height: 31px;
}

.logo-wordmark:nth-child(6) img {
  max-width: 96px;
}

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

.intro-grid,
.pricing-head,
.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: start;
}

.intro-grid p,
.pricing-head p,
.contact p,
.vault-copy p {
  color: var(--muted);
  font-size: 18px;
}

.mode-strip {
  margin-top: 52px;
  border-top: 1px solid rgba(22, 20, 20, 0.25);
  border-bottom: 1px solid rgba(22, 20, 20, 0.25);
}

.mode-strip > div {
  display: grid;
  grid-template-columns: 64px minmax(180px, 260px) 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid rgba(22, 20, 20, 0.18);
}

.mode-strip > div:last-child {
  border-bottom: 0;
}

.mode-strip span,
.process li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--paper);
  background: var(--blue);
  border: 2px solid var(--line);
  font-weight: 900;
}

.mode-strip b,
.lane b,
.process b,
.cart b {
  font-size: 20px;
}

.mode-strip p,
.lane p,
.process p,
.cart small {
  margin: 0;
  color: var(--muted);
}

.vault {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(300px, 1fr);
  gap: clamp(26px, 6vw, 80px);
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 24%, rgba(217, 165, 60, 0.12), transparent 34%),
    linear-gradient(90deg, rgba(16, 21, 31, 0.98), rgba(16, 21, 31, 0.93)),
    repeating-linear-gradient(90deg, #202a3c 0 18px, #17202f 18px 36px);
  border-top: 1px solid rgba(22, 20, 20, 0.8);
  border-bottom: 1px solid rgba(22, 20, 20, 0.8);
}

.vault-copy p {
  color: #dacd9b;
}

.cartridge-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 14px;
}

.cart {
  min-height: 168px;
  padding: 16px;
  text-align: left;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--line);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.38);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
  font: inherit;
}

.cart:nth-child(2) {
  background: #d8e8ff;
}

.cart:nth-child(3) {
  background: #dff3ce;
}

.cart:nth-child(4) {
  background: #ffe0cf;
}

.cart:hover,
.cart.active {
  transform: translateY(-4px);
  background: var(--yellow);
}

.cart-top {
  display: block;
  width: 54px;
  height: 16px;
  margin-bottom: 20px;
  background: var(--ink);
  box-shadow: 66px 0 0 var(--red), 132px 0 0 var(--blue);
}

.cart b,
.cart small {
  display: block;
}

.screen {
  grid-column: 2;
  align-self: end;
  margin-top: 16px;
  padding: 18px;
  min-height: 92px;
  color: #9dffb2;
  background: #07130b;
  border: 2px solid #405045;
  box-shadow: inset 0 0 0 4px #0f2616;
}

.screen span {
  display: block;
  margin-bottom: 6px;
  color: var(--yellow);
}

.screen p {
  margin: 0;
}

.pricing {
  background: #f4ecd6;
}

.price-lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.lane {
  padding: 22px;
  min-height: 190px;
  background: var(--paper);
  border: 2px solid rgba(22, 20, 20, 0.82);
}

.lane.featured {
  color: var(--paper);
  background: var(--blue);
  transform: translateY(-8px);
}

.lane.featured p {
  color: #dbe7ff;
}

.lane span {
  display: block;
  margin-bottom: 16px;
  color: var(--red);
  font-weight: 900;
}

.lane.featured span {
  color: var(--yellow);
}

.lane b {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 38px);
}

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

.process ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.process li {
  border-top: 2px solid var(--line);
  padding-top: 18px;
}

.process li > span {
  margin-bottom: 18px;
  background: var(--green);
}

.contact {
  color: var(--paper);
  background:
    linear-gradient(rgba(16, 21, 31, 0.94), rgba(16, 21, 31, 0.94)),
    repeating-linear-gradient(45deg, #24314a 0 10px, #182235 10px 20px);
  border-top: 1px solid rgba(22, 20, 20, 0.8);
  align-items: center;
}

.contact p {
  color: #e4d8ad;
}

footer {
  padding: 22px;
  color: var(--cream);
  background: var(--ink);
  border-top: 1px solid var(--red);
}

footer p {
  margin: 0;
  font-size: 12px;
}

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

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

@media (max-width: 900px) {
  .site-header {
    padding: 12px 14px;
  }

  nav {
    gap: 9px;
  }

  nav a {
    font-size: 12px;
  }

  .hero {
    min-height: 96svh;
  }

  .hero-copy {
    width: calc(100% - 28px);
    margin-left: 14px;
    padding-top: 116px;
  }

  .hero-actions {
    max-width: 300px;
  }

  .button {
    min-height: 48px;
    padding: 0 14px;
    font-size: 13px;
  }

  h1 {
    text-shadow: 3px 3px 0 var(--red), 6px 6px 0 var(--blue);
  }

  .hero-status {
    left: 14px;
    right: auto;
    grid-template-columns: repeat(2, auto);
  }

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

  .logo-wordmark {
    min-height: 52px;
    padding: 0 14px;
  }

  .logo-wordmark img {
    max-width: 96px;
    max-height: 24px;
  }

  .intro-grid,
  .pricing-head,
  .contact,
  .vault {
    grid-template-columns: 1fr;
  }

  .mode-strip > div {
    grid-template-columns: 52px 1fr;
  }

  .mode-strip p {
    grid-column: 2;
  }

  .cartridge-wall,
  .price-lanes,
  .process ol {
    grid-template-columns: 1fr;
  }

  .screen {
    grid-column: auto;
  }

  .lane.featured {
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
