@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/bebas-neue.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-600.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../assets/fonts/oswald.woff2") format("woff2");
}

:root {
  --red: #FF2A2A;
  --void: #0B0B0B;
  --ivory: #F3EFE4;
  --amber: #FFB300;
  --mint: #3DFF9A;
  --ink: #14110c;
  --plate: #121212;
  --steel: #1c1c1c;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--void);
  color: var(--ivory);
  font-family: "IBM Plex Mono", ui-monospace, "Liberation Mono", monospace;
  font-size: 15px;
  line-height: 1.55;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 0% 10%, rgba(255, 179, 0, 0.07), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(255, 42, 42, 0.08), transparent 50%),
    var(--void);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.grain, .vignette, .scan {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
}

.grain {
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.vignette {
  background: radial-gradient(ellipse at 35% 30%, transparent 40%, rgba(0,0,0,0.55) 100%);
}

.scan {
  opacity: 0.045;
  background: repeating-linear-gradient(
    to bottom,
    rgba(243, 239, 228, 0.35) 0px,
    rgba(243, 239, 228, 0.35) 1px,
    transparent 1px,
    transparent 3px
  );
}

.chassis {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 18px auto 28px;
  padding: 18px 22px 0;
  background:
    linear-gradient(90deg, rgba(255,179,0,0.06), transparent 18%),
    var(--plate);
  border: 2px solid #2a2a2a;
  box-shadow:
    0 0 0 1px #000,
    8px 12px 0 rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(243,239,228,0.05);
}

.rivet {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #6a6a6a, #2a2a2a 55%, #111 100%);
  box-shadow: inset 0 -1px 0 #000, 0 1px 0 rgba(243,239,228,0.15);
  z-index: 3;
}
.rivet-tl { top: 8px; left: 8px; }
.rivet-tr { top: 8px; right: 8px; }
.rivet-bl { bottom: 8px; left: 8px; }
.rivet-br { bottom: 8px; right: 8px; }

.rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 6px 14px;
  border-bottom: 1px solid #2c2c2c;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.rail-left, .rail-right {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.rail-tag {
  font-family: "Oswald", "Nimbus Sans", sans-serif;
  font-weight: 600;
  color: var(--mint);
}
.rail-tag.dim { color: #8a867c; }

.rail-tick {
  font-family: "Oswald", "Nimbus Sans", sans-serif;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: 0.18em;
}

.led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint), 0 0 18px rgba(61,255,154,0.45);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.86); }
}

.rail-mid {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hash {
  display: block;
  color: #5c584e;
  letter-spacing: 0.28em;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
}

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

.banner-strip {
  margin: 12px 4px 0;
  border: 2px solid #2a2a2a;
  background: #050505;
  overflow: hidden;
  max-height: 148px;
  box-shadow: inset 0 0 0 1px #000;
}
.banner-strip img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 28px 40px;
  align-items: center;
  padding: 28px 8px 22px;
}

.hero-object {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.logo-halo {
  position: relative;
  width: min(100%, 380px);
}
.logo-halo::before {
  content: "";
  position: absolute;
  inset: 8% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,42,42,0.22), transparent 68%);
  filter: blur(12px);
  z-index: 0;
}
.logo {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 2px solid #2a2a2a;
  background: #050505;
  box-shadow:
    -18px 0 40px rgba(255, 179, 0, 0.08),
    0 0 0 1px #000;
}

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

.switch-plate {
  position: relative;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, #ff5a5a, var(--red) 42%, #b10f0f 100%);
  border: 3px solid #3a0a0a;
  box-shadow:
    0 0 0 2px #1a1a1a,
    0 0 22px rgba(255, 42, 42, 0.25),
    inset 0 0 0 1px rgba(255,179,0,0.35);
}

.screw {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #d8d2c4, #6b665c);
  box-shadow: inset 0 -1px 0 #3a372f;
}
.screw::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 4px;
  height: 1px;
  background: #2a271f;
  transform: rotate(35deg);
}
.screw-1 { top: 10px; left: 50%; margin-left: -4px; }
.screw-2 { bottom: 10px; left: 50%; margin-left: -4px; }
.screw-3 { left: 10px; top: 50%; margin-top: -4px; }
.screw-4 { right: 10px; top: 50%; margin-top: -4px; }

.switch-led {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}

.rocker {
  position: absolute;
  top: 34px;
  left: 50%;
  width: 46px;
  height: 52px;
  margin-left: -23px;
  perspective: 200px;
}

.rocker-paddle {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #fff8ea 0%, var(--ivory) 40%, #cfc8b6 100%);
  border: 1px solid #8a8476;
  border-radius: 4px;
  transform: rotateX(28deg) translateY(6px);
  box-shadow:
    0 8px 0 #9c9584,
    0 10px 0 #2a271f,
    inset 0 1px 0 #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 0 4px;
  text-align: center;
}

.paddle-now, .paddle-off {
  font-family: "Oswald", sans-serif;
  font-size: 9px;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.paddle-off { color: #8a867c; }
.paddle-now { color: var(--red); }

.switch-caption {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: #fff;
  text-shadow: 0 1px 0 #7a0c0c;
}

.switch-readout {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #6a665c;
}
.switch-readout .off { text-decoration: line-through; }
.switch-readout .on {
  color: var(--red);
  font-weight: 600;
}
.switch-readout .sep { padding: 0 6px; }

.hero-copy { min-width: 0; }

.eyebrow {
  margin: 0 0 8px;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--amber);
}

h1 {
  margin: 0 0 14px;
  line-height: 0.78;
}

.hit {
  display: block;
  font-family: "Bebas Neue", "Oswald", Impact, sans-serif;
  font-size: clamp(92px, 14vw, 168px);
  letter-spacing: 0.02em;
  color: var(--ivory);
}

.hit-now {
  color: var(--red);
  text-shadow:
    3px 3px 0 #3a0707,
    -1px 0 0 rgba(255,179,0,0.35);
}

.hit-mode {
  text-shadow: 3px 3px 0 #1a1a1a;
}

.sub {
  margin: 0 0 22px;
  max-width: 28ch;
  font-size: 16px;
  font-weight: 500;
  color: var(--ivory);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-buy {
  background: var(--red);
  color: var(--ivory);
  border-color: #8d1010;
  box-shadow:
    0 0 0 1px #000,
    4px 4px 0 var(--amber);
}
.btn-buy:hover, .btn-buy:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: 0 0 0 1px #000, 6px 6px 0 var(--amber);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: #4a4a4a;
  min-width: 86px;
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--ivory);
  color: var(--void);
  background: var(--ivory);
}

.tiny {
  margin: 14px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--amber);
}

.brief {
  position: relative;
  margin: 8px 4px 18px;
  padding: 22px 26px 20px;
  background: var(--ivory);
  color: var(--ink);
  box-shadow:
    6px 8px 0 rgba(0,0,0,0.35),
    inset 0 0 0 1px #d7d1c3;
  background-image:
    linear-gradient(90deg, rgba(255,42,42,0.07) 0, rgba(255,42,42,0.07) 8px, transparent 8px);
}

.brief-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 12px;
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #7a7568;
}

.origin {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 500;
  max-width: 72ch;
}

.lore {
  display: grid;
  gap: 10px;
  max-width: 78ch;
  color: #2a261e;
  font-size: 13.5px;
}
.lore p { margin: 0; }

.proof {
  display: inline-block;
  margin: 18px 0 8px;
  padding: 8px 12px 6px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2.4vw, 22px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  border: 3px solid var(--red);
  transform: rotate(-1.4deg);
  box-shadow: 3px 3px 0 rgba(255,42,42,0.18);
}

.leash {
  display: block;
  width: 180px;
  height: 24px;
  margin-top: 8px;
  opacity: 0.7;
}


.brief h2,
.board h2 {
  margin: 0 0 10px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.8vw, 28px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.goal-line {
  margin: 12px 0 0;
  max-width: 36ch;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--amber);
}

.board {
  position: relative;
  margin: 0 4px 22px;
  padding: 22px 26px 20px;
  background: var(--ivory);
  color: var(--ink);
  box-shadow:
    6px 8px 0 rgba(0,0,0,0.35),
    inset 0 0 0 1px #d7d1c3;
  background-image:
    linear-gradient(90deg, rgba(255,179,0,0.10) 0, rgba(255,179,0,0.10) 8px, transparent 8px);
}

.ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 18px;
}
.ledger-cell {
  padding: 12px 14px 12px;
  background: rgba(255,255,255,0.45);
  border: 1px solid #d7d1c3;
  min-width: 0;
}
.ledger-cell.next { border-color: #c9a227; }
.ledger-cell.gap { border-color: #e3b2b2; }
.lk {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a7568;
}
.lv {
  display: block;
  margin-top: 6px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.ls {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #5c584e;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  border-top: 1px solid #d7d1c3;
  padding-top: 14px;
}
.steps li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #e6e0d2;
}
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps .st {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7568;
}
.steps li.done .st { color: #1f7a4d; }
.steps li.now .st { color: #9a6d00; }
.steps .sn {
  font-size: 14px;
  color: var(--ink);
  min-width: 0;
}
.steps .sc {
  font-size: 12px;
  color: #5c584e;
  text-align: right;
  white-space: nowrap;
}

.links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px 16px;
  padding: 16px 8px 22px;
  border-top: 1px solid #2c2c2c;
}

.link-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.link-block .k {
  font-family: "Oswald", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #7a7568;
}

.link-block .v {
  font-size: 12px;
  font-weight: 500;
  color: var(--ivory);
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  line-height: 1.4;
}

.link-block .v a,
a.link-block .v,
.link-block a.v {
  text-decoration: none;
  border-bottom: 1px solid #3a3a3a;
}
.link-block a.v:hover,
.link-block .v a:hover {
  border-bottom-color: var(--amber);
  color: var(--amber);
}

.slash { color: #5c584e; }

@media (max-width: 860px) {
  .chassis {
    margin: 0;
    border-left: 0;
    border-right: 0;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }
  .hero-object { order: -1; }
  .logo-halo { width: min(72vw, 320px); }
  .hit { font-size: clamp(80px, 22vw, 128px); }
  .sub { max-width: none; }
  .rail-mid { display: none; }
  .brief,
  .board { padding: 18px 16px 16px; }
  .ledger { grid-template-columns: 1fr; }
  .steps li {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .steps .sc {
    grid-column: 2;
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .cta-row { width: 100%; }
  .btn-buy { flex: 1; }
  .switch { display: none; }
}
