:root {
  --mint: #3dff9a;
  --mint-bright: #8affc4;
  --mint-deep: #14c56e;
  --forest: #102018;
  --ink: #070a08;
  --panel: #0c140f;
  --line: #1b2c22;
  --paper: #f3efe2;
  --paper-dim: #cfc8b4;
  --gold: #e0a84a;
  --gold-deep: #c48928;
  --ember: #d4893a;
  --text: #eef6ef;
  --muted: #8ea394;
  --black: #000;
  --header-h: 64px;
  --pixel: 4px;
  --font-pixel: "Press Start 2P", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  --font-sans: system-ui, "Segoe UI", sans-serif;
  --ca: "7ifumMxSrY45Tqj1Wtdaz9XtADiXranKVbWwMgNTpump";
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--text);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(61, 255, 154, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 255, 154, 0.045) 1px, transparent 1px);
  background-size: 16px 16px;
}

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

img[src*="assets/"] {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

a {
  color: var(--mint);
  text-decoration: none;
}

a:hover {
  color: var(--mint-bright);
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  font-family: var(--font-pixel);
  font-size: 10px;
}

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

.scanlines,
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
}

.scanlines {
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(0, 0, 0, 0.12) 2px 3px
  );
  opacity: 0.28;
  mix-blend-mode: multiply;
}

.noise {
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: #070a08ee;
  border-bottom: 3px solid var(--mint);
  box-shadow: 0 4px 0 var(--black);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 0.5px;
}

.brand img {
  width: 40px;
  height: 40px;
  border: 2px solid var(--mint);
  background: var(--forest);
}

.brand:hover {
  color: var(--mint);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--text);
  letter-spacing: 0.4px;
}

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

.site-nav .btn-buy,
.site-nav .btn-buy:hover,
.site-nav .btn-buy:focus-visible {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 3px solid var(--mint);
  background: var(--panel);
  box-shadow: 3px 3px 0 var(--black);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 3px;
  margin: 4px auto;
  background: var(--mint);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 3px solid var(--black);
  font-family: var(--font-pixel);
  font-size: 10px;
  letter-spacing: 0.4px;
  color: var(--ink);
  background: var(--mint);
  box-shadow: 4px 4px 0 var(--black);
  cursor: pointer;
  transition: transform 0.08s steps(2), box-shadow 0.08s steps(2);
}

.btn:hover {
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--black);
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--black);
}

.btn-buy {
  background: var(--gold);
  min-width: 76px;
}

.btn-primary {
  background: var(--mint);
}

.btn-ghost {
  background: var(--panel);
  color: var(--mint);
  border-color: var(--mint);
}

.btn-ghost:hover {
  color: var(--mint-bright);
}

.btn-copy {
  min-height: 36px;
  font-size: 8px;
  background: var(--paper);
}

.btn-copy.is-copied {
  background: var(--gold);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 32px 24px;
  align-items: center;
}

.hud-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 10px;
  border: 2px solid var(--mint);
  background: var(--forest);
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--mint);
}

.hud-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  box-shadow: 8px 0 0 var(--mint);
  animation: blink 1.2s steps(2) infinite;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-pixel);
  font-size: clamp(1.5rem, 4.6vw, 3.15rem);
  line-height: 1.3;
  color: var(--mint);
  text-shadow: 4px 4px 0 var(--black);
}

.ticker {
  margin: 12px 0 0;
  font-family: var(--font-pixel);
  font-size: clamp(0.7rem, 1.6vw, 1rem);
  color: var(--gold);
}

.hero-lead {
  margin: 22px 0 0;
  font-family: var(--font-pixel);
  font-size: clamp(0.72rem, 1.7vw, 1.05rem);
  line-height: 1.7;
}

.hero-support {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px;
  background: var(--panel);
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 var(--black);
}

.ca-label {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--gold);
}

.ca-value {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.hero-press {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.press-arm {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  animation: press-hit 1.15s steps(4) 1;
}

.press-handle {
  width: 132px;
  height: 18px;
  background: #1a1f1c;
  border: 3px solid #3a4540;
  box-shadow: 4px 4px 0 var(--black);
}

.press-rod {
  width: 18px;
  height: 54px;
  background: #2a3330;
  border: 3px solid #111;
}

.press-plate {
  width: 168px;
  height: 22px;
  background: var(--mint);
  border: 3px solid var(--black);
  box-shadow: 0 6px 0 #0a3d24;
}

.hero-stage {
  position: relative;
  width: min(100%, 430px);
  margin-top: 70px;
}

.hero-mascot {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  animation: stamp-slam 0.7s steps(5) both;
}

.impact-shadow {
  width: 70%;
  height: 18px;
  margin: -8px auto 0;
  background: #03140c;
  box-shadow: 18px 0 0 #03140c, -18px 0 0 #03140c;
}

.debris {
  position: absolute;
  inset: 8% 4% 18%;
  pointer-events: none;
  z-index: 2;
}

.debris i {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--mint);
  box-shadow: 2px 2px 0 var(--black);
  animation: debris-pop 0.9s steps(4) both;
}

.debris i:nth-child(1) { top: 12%; left: 6%; width: 10px; height: 6px; animation-delay: 0.18s; }
.debris i:nth-child(2) { top: 22%; right: 8%; background: var(--gold); animation-delay: 0.22s; }
.debris i:nth-child(3) { top: 48%; left: 0; width: 6px; height: 12px; animation-delay: 0.26s; }
.debris i:nth-child(4) { top: 58%; right: 2%; background: var(--paper); animation-delay: 0.2s; }
.debris i:nth-child(5) { bottom: 18%; left: 12%; width: 12px; height: 8px; animation-delay: 0.3s; }
.debris i:nth-child(6) { bottom: 8%; right: 16%; background: var(--mint-deep); animation-delay: 0.24s; }
.debris i:nth-child(7) { top: 6%; left: 48%; width: 8px; height: 8px; background: var(--gold-deep); animation-delay: 0.16s; }
.debris i:nth-child(8) { top: 36%; right: 18%; animation-delay: 0.32s; }
.debris i:nth-child(9) { bottom: 28%; left: 28%; background: #fff; width: 6px; height: 6px; animation-delay: 0.28s; }

.sequence-tape {
  border-top: 3px solid var(--mint);
  border-bottom: 3px solid var(--mint);
  background: var(--forest);
  overflow: hidden;
  margin-top: 8px;
}

.sequence-track {
  display: flex;
  gap: 40px;
  width: max-content;
  padding: 10px 0;
  animation: tape 22s linear infinite;
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--mint);
  white-space: nowrap;
}

.banner-cabinet {
  width: min(1180px, calc(100% - 32px));
  margin: 36px auto 0;
  padding: 0;
  border: 4px solid var(--mint);
  box-shadow: 8px 8px 0 var(--black);
  background: var(--black);
}

.banner-cabinet img {
  width: 100%;
  height: auto;
}

.section-kicker {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--gold);
  letter-spacing: 1px;
}

.how,
.machine,
.narrative,
.receipt-section,
.chart,
.finale {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 12px;
}

.how h2,
.machine h2,
.narrative h2,
.receipt-section h2,
.chart h2 {
  margin: 12px 0 0;
  font-family: var(--font-pixel);
  font-size: clamp(0.95rem, 2.4vw, 1.45rem);
  line-height: 1.55;
}

.section-lede {
  max-width: 640px;
  color: var(--muted);
  font-family: var(--font-mono);
}

.line {
  position: relative;
  margin-top: 36px;
  padding: 28px 16px 52px;
  background:
    linear-gradient(var(--line), var(--line)) 0 18px / 100% 3px no-repeat,
    var(--panel);
  border: 4px solid var(--line);
  box-shadow: 8px 8px 0 var(--black);
}

.bays {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}

.bay {
  min-height: 210px;
  padding: 18px 16px 64px;
  border: 4px solid var(--black);
  position: relative;
  box-shadow: 5px 5px 0 var(--black);
}

.bay-pump {
  background: #0e2a1c;
  color: var(--mint);
}

.bay-burn {
  background: #1a140c;
  color: var(--ember);
}

.bay-stamp {
  background: #221c10;
  color: var(--gold);
}

.bay-index {
  font-family: var(--font-pixel);
  font-size: 10px;
  opacity: 0.75;
}

.bay h3 {
  margin: 14px 0 8px;
  font-family: var(--font-pixel);
  font-size: 18px;
}

.bay p {
  margin: 0;
  font-family: var(--font-mono);
  color: var(--text);
}

.bay-die {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border: 3px solid currentColor;
  box-shadow: inset 0 0 0 6px var(--ink), 3px 3px 0 var(--black);
}

.conveyor {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 34px;
}

.belt {
  height: 18px;
  margin-top: 16px;
  background: #151a16;
  border: 3px solid #2d3830;
  overflow: hidden;
}

.belt-teeth {
  height: 100%;
  width: 200%;
  background: repeating-linear-gradient(
    90deg,
    #3dff9a 0 10px,
    #151a16 10px 22px
  );
  animation: belt 1.1s linear infinite;
}

.capsule {
  position: absolute;
  top: 0;
  left: 6%;
  width: 34px;
  height: 18px;
  display: flex;
  animation: capsule-run 6.5s steps(24) infinite;
}

.cap-left,
.cap-right {
  width: 50%;
  height: 100%;
}

.cap-left {
  background: var(--mint-deep);
  border-radius: 9px 0 0 9px;
  border: 2px solid var(--black);
  border-right: 0;
}

.cap-right {
  background: var(--paper);
  border-radius: 0 9px 9px 0;
  border: 2px solid var(--black);
  border-left: 0;
}

.machine-frame {
  position: relative;
  padding: 36px 28px;
  background:
    linear-gradient(var(--gold), var(--gold)) 12px 12px / 10px 10px no-repeat,
    linear-gradient(var(--gold), var(--gold)) calc(100% - 12px) 12px / 10px 10px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 12px calc(100% - 12px) / 10px 10px no-repeat,
    linear-gradient(var(--gold), var(--gold)) calc(100% - 12px) calc(100% - 12px) / 10px 10px no-repeat,
    #0a110d;
  border: 5px solid #2a3a30;
  box-shadow:
    inset 0 0 0 4px #111,
    10px 10px 0 var(--black);
}

.machine h2 {
  color: var(--mint);
}

.flow {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 420px;
}

.flow-step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 10px 14px;
  border: 3px solid var(--black);
  font-family: var(--font-pixel);
  font-size: 10px;
  box-shadow: 4px 4px 0 var(--black);
}

.flow-pump { background: #123526; color: var(--mint); }
.flow-sol { background: #1b1610; color: var(--ember); }
.flow-mark { background: #2a2314; color: var(--gold); }

.flow-verb {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

.flow-arrow {
  text-align: center;
  font-size: 22px;
  color: var(--mint);
  line-height: 1.2;
  list-style: none;
}

.machine-foot {
  margin: 28px 0 0;
  max-width: 640px;
  font-family: var(--font-mono);
  color: var(--muted);
}

.dialogue {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 22px;
  margin-top: 28px;
}

.terminal {
  background: #07110c;
  border: 4px solid var(--mint-deep);
  box-shadow: 6px 6px 0 var(--black);
}

.terminal-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: 8px;
}

.terminal-body {
  padding: 18px 16px 22px;
  font-family: var(--font-mono);
  font-size: 15px;
}

.terminal-body p {
  margin: 0 0 8px;
}

.terminal-gap {
  margin-top: 16px !important;
}

.prompt {
  color: var(--mint);
  margin-right: 8px;
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 16px;
  background: var(--mint);
  vertical-align: -2px;
  animation: blink 1s steps(2) infinite;
}

.plates {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plate {
  margin: 0;
  padding: 18px 16px;
  border: 4px solid var(--black);
  box-shadow: 5px 5px 0 var(--black);
}

.plate p {
  margin: 0 0 8px;
  font-family: var(--font-pixel);
  font-size: 11px;
  line-height: 1.7;
}

.plate p:last-child {
  margin-bottom: 0;
}

.plate-factory {
  background: var(--mint);
  color: var(--ink);
}

.plate-rules {
  background: var(--paper);
  color: var(--ink);
}

.plate-note {
  margin: 0;
  font-family: var(--font-mono);
  color: var(--muted);
}

.receipt {
  position: relative;
  margin-top: 28px;
  padding: 36px 28px 28px;
  max-width: 560px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12px 12px, var(--ink) 7px, transparent 7.5px) 0 0 / 24px 24px,
    var(--paper);
  box-shadow: 10px 10px 0 var(--black);
  overflow: hidden;
}

.receipt-perf {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 0 18px, var(--ink) 8px, transparent 8.5px) left / 16px 36px repeat-y,
    radial-gradient(circle at 100% 18px, var(--ink) 8px, transparent 8.5px) right / 16px 36px repeat-y;
}

.receipt-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.receipt-head img {
  width: 72px;
  height: 72px;
  border: 3px solid var(--ink);
}

.receipt-brand {
  margin: 0;
  font-family: var(--font-pixel);
  font-size: 14px;
}

.receipt-sub {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
}

.receipt-rule {
  height: 4px;
  margin: 18px 0;
  background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 16px);
}

.receipt-rule.dashed {
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px);
}

.receipt-fields {
  margin: 0;
}

.receipt-fields div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 2px dotted #b7b09c;
  font-family: var(--font-mono);
}

.receipt-fields dt {
  color: #5d5748;
  font-size: 12px;
}

.receipt-fields dd {
  margin: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.receipt-blurb {
  font-family: var(--font-sans);
  font-size: 15px;
}

.receipt-stamp {
  position: absolute;
  right: 28px;
  bottom: 86px;
  padding: 8px 10px;
  border: 4px solid #b42318;
  color: #b42318;
  font-family: var(--font-pixel);
  font-size: 10px;
  transform: rotate(-12deg);
  opacity: 0.85;
}

.receipt-copy {
  margin-top: 8px;
}

.monitor {
  margin-top: 24px;
  border: 5px solid #24332b;
  background: #050805;
  box-shadow: 8px 8px 0 var(--black);
}

.monitor-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: #16231c;
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--mint);
}

.chart-frame {
  display: block;
  width: 100%;
  height: min(620px, 72vw);
  border: 0;
  background: #0b0f0c;
}

.finale {
  text-align: center;
  padding-bottom: 80px;
}

.finale-press {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
}

.finale-handle {
  width: 120px;
  height: 16px;
  background: #1b211e;
  border: 3px solid #3a4540;
}

.finale-rod {
  width: 16px;
  height: 36px;
  background: #2a3330;
  border: 3px solid #111;
}

.finale-press img {
  width: 92px;
  height: 92px;
  border: 3px solid var(--mint);
  animation: press-bob 2.4s steps(4) infinite;
}

.finale h2 {
  margin: 8px 0 28px;
  font-family: var(--font-pixel);
  font-size: clamp(1.3rem, 4vw, 2.4rem);
  line-height: 1.45;
  color: var(--mint);
  text-shadow: 4px 4px 0 var(--black);
}

.finale-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
  border-top: 3px solid var(--line);
  display: grid;
  gap: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border: 2px solid var(--mint);
}

.footer-brand p,
.footer-line {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
}

.will-reveal {
  opacity: 0;
  transform: translateY(12px);
}

.will-reveal.is-in {
  animation: reveal 0.45s steps(4) forwards;
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes stamp-slam {
  0% { transform: translateY(-48px) scale(1.08); opacity: 0; }
  60% { transform: translateY(10px) scale(0.96, 1.05); opacity: 1; }
  80% { transform: translateY(-4px) scale(1.03, 0.97); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes press-hit {
  0% { transform: translate(-50%, -70px); }
  40% { transform: translate(-50%, 8px); }
  70% { transform: translate(-50%, -18px); }
  100% { transform: translate(-50%, 0); }
}

@keyframes debris-pop {
  0% { transform: scale(0) translate(0, 0); opacity: 0; }
  60% { transform: scale(1) translate(8px, -10px); opacity: 1; }
  100% { transform: scale(1) translate(14px, 6px); opacity: 1; }
}

@keyframes tape {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes belt {
  from { transform: translateX(0); }
  to { transform: translateX(-22px); }
}

@keyframes belt-v {
  from { transform: translateY(0); }
  to { transform: translateY(-22px); }
}

@keyframes capsule-run {
  0% { left: 6%; }
  28% { left: 18%; }
  36% { left: 46%; }
  62% { left: 46%; }
  70% { left: 82%; }
  92% { left: 82%; }
  100% { left: 6%; }
}

@keyframes capsule-drop {
  0% { top: 6%; }
  28% { top: 10%; }
  36% { top: 44%; }
  62% { top: 44%; }
  70% { top: 78%; }
  92% { top: 78%; }
  100% { top: 6%; }
}

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

@keyframes reveal {
  to { opacity: 1; transform: none; }
}

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

  .hero-press {
    order: -1;
    min-height: 0;
  }

  .hero-stage {
    margin-top: 56px;
    width: min(100%, 360px);
  }

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

  .flow-step {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 3px solid var(--mint);
    padding: 8px 16px 16px;
  }

  .site-nav.is-open {
    display: flex;
    z-index: 60;
  }

  .site-nav a {
    padding: 12px 4px;
    border-bottom: 2px solid var(--line);
  }

  .site-nav .btn-buy {
    margin-top: 10px;
    border-bottom: 3px solid var(--black);
  }

  .bays {
    grid-template-columns: 1fr;
    padding-left: 28px;
  }

  .line {
    padding: 20px 16px 20px 12px;
    background:
      linear-gradient(var(--line), var(--line)) 22px 0 / 3px 100% no-repeat,
      var(--panel);
  }

  .conveyor {
    left: 12px;
    right: auto;
    top: 24px;
    bottom: 24px;
    width: 22px;
    height: auto;
  }

  .belt {
    width: 14px;
    height: 100%;
    margin: 0;
  }

  .belt-teeth {
    width: 100%;
    height: 200%;
    background: repeating-linear-gradient(
      180deg,
      #3dff9a 0 10px,
      #151a16 10px 22px
    );
    animation: belt-v 1.1s linear infinite;
  }

  .capsule {
    left: -6px;
    animation-name: capsule-drop;
  }

  .receipt-fields div {
    grid-template-columns: 1fr;
  }

  .receipt-stamp {
    position: static;
    display: inline-block;
    margin: 8px 0 12px;
    transform: rotate(-6deg);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-mascot,
  .press-arm,
  .capsule,
  .finale-press img,
  .will-reveal {
    transform: none;
    opacity: 1;
  }

  .scanlines,
  .noise {
    display: none;
  }
}
