:root {
  --bg: #07060a;
  --bg-2: #10080d;
  --text: #f6f3f5;
  --muted: #b7b0b6;
  --red: #ff2a2e;
  --red-2: #ff5c60;
  --cyan: #7af6ff;
  --cyan-dim: rgba(122, 246, 255, 0.14);
  --line: rgba(255, 42, 46, 0.38);
  --nav: 74px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --display: Syne, "Arial Black", Impact, sans-serif;
  --stamp: Anton, Impact, Haettenschweiler, sans-serif;
  --ui: "Chakra Petch", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1000px 520px at 90% -10%, rgba(255, 30, 40, 0.18), transparent 55%),
    radial-gradient(800px 480px at -10% 10%, rgba(40, 90, 255, 0.14), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; }

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

::selection { background: var(--red); color: #1a0003; }

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

a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, p { margin: 0; }

h1, h2 { text-wrap: balance; }

p { text-wrap: pretty; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--red);
  color: #1a0003;
  padding: 8px 12px;
  font-family: var(--mono);
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.idx {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-2);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 42, 46, 0.7);
  animation: ping 1.8s ease-out infinite;
}

@keyframes ping {
  70% { box-shadow: 0 0 0 8px rgba(255, 42, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 42, 46, 0); }
}

#matrix {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

.grain,
.scanlines,
.pointer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.grain {
  z-index: 5;
  opacity: 0.11;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.85'/></svg>");
  mix-blend-mode: overlay;
}

.scanlines {
  z-index: 6;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18) 0 1px,
    transparent 1px 3px
  );
  opacity: 0.25;
  mix-blend-mode: multiply;
}

.pointer {
  z-index: 4;
  background: radial-gradient(circle at var(--mx, 70%) var(--my, 20%), rgba(255, 42, 46, 0.16), transparent 28%);
}

.spine {
  position: fixed;
  right: 14px;
  top: 50%;
  z-index: 8;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.38em;
  color: rgba(255, 42, 46, 0.72);
  pointer-events: none;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--red));
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-family: var(--ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-sm { min-height: 40px; padding: 0 14px; font-size: 13px; }

.btn-red {
  background: var(--red);
  color: #1a0003;
  box-shadow: 0 0 24px rgba(255, 42, 46, 0.32);
}

.btn-red:hover {
  background: #ff4448;
  box-shadow: 0 0 36px rgba(255, 42, 46, 0.5);
}

.btn-red::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 68%);
  transform: translateX(-130%);
}

.btn-red:hover::after { animation: sheen 0.7s var(--ease); }

@keyframes sheen {
  to { transform: translateX(130%); }
}

.btn-ghost {
  border-color: rgba(122, 246, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 42, 46, 0.18);
}

.btn-ghost:hover {
  background: rgba(122, 246, 255, 0.08);
  border-color: var(--cyan);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: var(--nav);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 22px;
  background: rgba(7, 6, 10, 0.78);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(122, 246, 255, 0.2);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--stamp);
  letter-spacing: 0.08em;
  font-size: 22px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 0 16px rgba(255, 42, 46, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 8px;
}

.nav-links a {
  position: relative;
  color: rgba(246, 243, 245, 0.78);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover { color: white; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.clock {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease;
}

.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 112px 0 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 6, 10, 0.96) 0%, rgba(7, 6, 10, 0.86) 38%, rgba(7, 6, 10, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 6, 10, 0.45), rgba(7, 6, 10, 0.18) 28%, rgba(7, 6, 10, 0.78)),
    url("banner.png") center right / cover no-repeat;
  transform: scale(1.02);
}

.floor {
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: -8%;
  height: 38%;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 42, 46, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 246, 255, 0.14) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(420px) rotateX(64deg);
  mask-image: linear-gradient(to top, #000 10%, transparent 78%);
  animation: floor 9s linear infinite;
  pointer-events: none;
}

@keyframes floor {
  to { background-position: 0 54px; }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.82fr);
  gap: 42px;
  align-items: center;
  padding-bottom: 36px;
}

.everyday {
  display: block;
  position: relative;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(52px, 7.4vw, 108px);
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.js .hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
}

body.ready .hero-copy > * {
  animation: rise 0.85s var(--ease) both;
}

body.ready .hero-copy > *:nth-child(1) { animation-delay: 0.02s; }
body.ready .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
body.ready .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
body.ready .hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
body.ready .hero-copy > *:nth-child(5) { animation-delay: 0.32s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.stamp-wrap {
  display: inline-block;
  margin-top: 12px;
  position: relative;
}

.stamp-wrap::before {
  content: "";
  position: absolute;
  inset: -8% -4%;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 20, 30, 0.45), transparent 42%),
    radial-gradient(circle at 82% 60%, rgba(255, 40, 40, 0.28), transparent 46%);
  filter: blur(8px);
}

.stamp {
  display: inline-block;
  padding: 0.06em 0.18em 0.02em;
  border: 5px solid var(--red);
  box-shadow:
    inset 0 0 0 2px rgba(255, 42, 46, 0.85),
    0 0 28px rgba(255, 42, 46, 0.28);
  color: var(--red);
  font-family: var(--stamp);
  font-size: clamp(40px, 7vw, 102px);
  font-weight: 400;
  letter-spacing: 0.045em;
  line-height: 0.92;
  transform: rotate(-3.5deg);
  text-shadow: 0 0 18px rgba(255, 30, 40, 0.45);
}

.dollar { font-size: 0.62em; margin-right: 0.04em; }

body.ready .stamp { animation: slam 0.7s var(--ease) both, neon 3.4s ease-in-out 0.7s infinite; }

@keyframes slam {
  0% { transform: rotate(-8deg) scale(1.45); opacity: 0; filter: blur(8px); }
  65% { transform: rotate(-2deg) scale(0.97); opacity: 1; filter: none; }
  100% { transform: rotate(-3.5deg) scale(1); }
}

@keyframes neon {
  50% { text-shadow: 0 0 18px rgba(255, 40, 40, 0.8), 0 0 42px rgba(255, 0, 30, 0.28); }
}

.everyday.glitching::before,
.everyday.glitching::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
}

.everyday.glitching::before {
  color: var(--cyan);
  transform: translate(-4px, 0);
  clip-path: inset(0 0 58% 0);
}

.everyday.glitching::after {
  color: var(--red);
  transform: translate(4px, 0);
  clip-path: inset(48% 0 0 0);
}

.lede {
  max-width: 38rem;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.ca-box {
  margin-top: 26px;
  max-width: 640px;
  padding: 14px 14px 12px;
  background: rgba(8, 6, 10, 0.72);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(122, 246, 255, 0.08);
}

.ca-top,
.ca-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ca-top {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.ca-ends b { color: var(--cyan); font-weight: 600; }

.ca {
  margin: 10px 0;
  font-family: var(--mono);
  font-size: clamp(12px, 1.45vw, 15px);
  line-height: 1.45;
  word-break: break-all;
  user-select: all;
}

.text-link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-wrap { position: relative; }

.monitor {
  margin: 0;
  background: #000;
  border: 1px solid rgba(255, 42, 46, 0.7);
  box-shadow:
    0 0 0 1px rgba(122, 246, 255, 0.16),
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(255, 20, 40, 0.22);
}

.monitor-bar,
.term-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 12px;
  background: #12080c;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.monitor-bar span:nth-child(2),
.term-bar span:nth-child(2) { margin-right: auto; }

.dots { display: inline-flex; gap: 5px; }
.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a2428;
  display: block;
}
.dots i:nth-child(1) { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }

.rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red-2);
}

.rec i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: ping 1.6s ease-out infinite;
}

.monitor img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.chips li {
  position: absolute;
  padding: 6px 10px;
  border: 1px solid rgba(255, 42, 46, 0.7);
  background: rgba(10, 4, 8, 0.82);
  color: var(--red-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: float 5.5s ease-in-out infinite;
}

.chips li:nth-child(1) { top: 12%; left: -18px; animation-delay: 0s; }
.chips li:nth-child(2) { top: 46%; right: -28px; border-color: rgba(122, 246, 255, 0.7); color: var(--cyan); animation-delay: -1.6s; }
.chips li:nth-child(3) { bottom: 14%; left: 8%; animation-delay: -3s; }

@keyframes float {
  50% { transform: translateY(-8px); }
}

.specs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--line);
  background: rgba(7, 6, 10, 0.55);
}

.specs div {
  padding: 16px 18px 18px;
  border-right: 1px solid rgba(255, 42, 46, 0.2);
}

.specs div:last-child { border-right: 0; }

.specs dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.specs dd {
  margin: 4px 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
}

.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #100208;
}

.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: tick 32s linear infinite;
}

.ticker span {
  padding: 12px 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-2);
}

.ticker span::before {
  content: "▸ ";
  color: var(--cyan);
}

@keyframes tick {
  to { transform: translateX(-50%); }
}

.section {
  position: relative;
  z-index: 1;
  padding: 96px 0;
  background: linear-gradient(180deg, rgba(7, 6, 10, 0.78), rgba(7, 6, 10, 0.9));
}

.section-tight { padding-top: 72px; }

.sec-head { max-width: 760px; margin-bottom: 32px; }

.sec-head h2,
.manual h3,
.manifesto h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.sec-head h2 { font-size: clamp(36px, 5vw, 64px); }

.sub {
  margin-top: 14px;
  max-width: 62ch;
  color: var(--muted);
}

.tickets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ticket {
  position: relative;
  min-height: 280px;
  padding: 22px 20px 18px;
  background: linear-gradient(180deg, rgba(22, 8, 12, 0.9), rgba(8, 6, 10, 0.92));
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
}

.ticket::before {
  top: 8px;
  left: 8px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
}

.ticket::after {
  right: 8px;
  bottom: 8px;
  border-right: 2px solid rgba(255, 42, 46, 0.8);
  border-bottom: 2px solid rgba(255, 42, 46, 0.8);
}

.ticket:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(255, 20, 40, 0.16);
}

.ticket header,
.ticket footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tid { color: var(--muted); }

.sev {
  background: var(--red);
  color: #1a0003;
  padding: 3px 8px;
  font-weight: 700;
}

.sev-perm {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
}

.ticket h3 {
  margin: 22px 0 10px;
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.ticket p { color: var(--muted); flex: 1; }

.ticket footer {
  margin-top: 22px;
  color: var(--red-2);
}

.ticket-cyan { border-left-color: var(--cyan); }
.ticket-cyan footer { color: var(--cyan); }

.chart-card {
  margin: 18px 0 0;
  padding: 16px 16px 8px;
  border: 1px solid var(--line);
  background: rgba(6, 4, 8, 0.72);
}

.chart-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.chart { width: 100%; height: auto; display: block; }

.chart .line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .chart:not(.in) .line { stroke-dashoffset: 1; }
.js .chart:not(.in) .fill { opacity: 0; }

.chart.in .line { animation: draw 2.2s var(--ease) forwards; }
.chart.in .fill { animation: fade 1.2s ease 0.6s both; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

.term-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.term {
  background: rgba(4, 6, 8, 0.92);
  border: 1px solid rgba(122, 246, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 42, 46, 0.18), 0 20px 60px rgba(0, 0, 0, 0.35);
}

.term-body {
  min-height: 280px;
  max-height: 380px;
  overflow: auto;
  padding: 16px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.55;
}

.term-body .t-cmd { color: var(--text); }
.term-body .t-out { color: #d5cfd4; }
.term-body .t-ok { color: var(--cyan); }
.term-body .t-err { color: var(--red-2); }
.term-body .t-sys { color: #ffb020; }
.term-body a { color: var(--cyan); }

.term-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(122, 246, 255, 0.2);
}

.prompt {
  font-family: var(--mono);
  color: var(--red-2);
  white-space: nowrap;
}

.term-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 16px;
  outline: none;
  caret-color: var(--cyan);
}

.term-form input:focus-visible { outline: none; }

.quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.quick button {
  border: 1px solid rgba(255, 42, 46, 0.4);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  cursor: pointer;
}

.quick button:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.hint {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

kbd {
  font-family: var(--mono);
  border: 1px solid rgba(255, 42, 46, 0.5);
  border-bottom-width: 2px;
  padding: 0 6px;
  color: var(--cyan);
}

.manual {
  padding: 22px 22px 8px;
  background: rgba(12, 8, 14, 0.8);
  border: 1px solid var(--line);
}

.manual h3 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 8px;
}

.manual ol {
  list-style: none;
  margin: 18px 0 10px;
  padding: 0;
}

.manual li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 42, 46, 0.2);
}

.manual li span {
  font-family: var(--mono);
  color: var(--red-2);
  letter-spacing: 0.08em;
}

.manual p { color: var(--muted); }
.manual strong { color: var(--text); font-weight: 600; }

.token-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
}

.file {
  position: relative;
  padding: 0 0 22px;
  background:
    linear-gradient(180deg, rgba(18, 8, 12, 0.92), rgba(8, 6, 10, 0.94));
  border: 1px solid var(--line);
  overflow: hidden;
}

.file::before {
  content: "UNPATCHED";
  position: absolute;
  right: -8px;
  bottom: -18px;
  font-family: var(--stamp);
  font-size: 88px;
  letter-spacing: 0.04em;
  color: rgba(255, 42, 46, 0.06);
  pointer-events: none;
}

.file-tab {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  background: #16080c;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--red-2);
}

.file-list {
  list-style: none;
  margin: 0;
  padding: 8px 18px 0;
}

.file-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 42, 46, 0.16);
  font-size: 15px;
}

.file-list span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.file .cta,
.ca-file { position: relative; padding-left: 18px; padding-right: 18px; }

.ca-file { margin-top: 16px; color: var(--cyan); }

.steps {
  list-style: none;
  margin: 0;
  padding: 8px 8px 8px 0;
  display: grid;
  gap: 0;
}

.steps li {
  position: relative;
  padding: 0 0 26px 72px;
}

.steps li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--red), rgba(122, 246, 255, 0.4));
}

.steps li:last-child::before { display: none; }

.steps li > span {
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--red);
  background: rgba(255, 42, 46, 0.08);
  font-family: var(--mono);
  color: var(--red-2);
}

.steps h3 {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

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

.manifesto {
  position: relative;
  z-index: 1;
  min-height: 82vh;
  display: grid;
  align-items: end;
  padding: 100px 0 72px;
  overflow: hidden;
}

.manifesto-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 6, 10, 0.2), rgba(7, 6, 10, 0.82)),
    linear-gradient(90deg, rgba(70, 0, 12, 0.42), rgba(7, 6, 10, 0.28)),
    url("banner.png") 72% center / cover no-repeat;
  transform: scale(1.05);
}

.manifesto-copy { position: relative; z-index: 1; }

.manifesto h2 {
  font-family: var(--stamp);
  font-weight: 400;
  font-size: clamp(72px, 13vw, 176px);
  letter-spacing: 0.01em;
  line-height: 0.82;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}

.manifesto h2 span {
  color: var(--red);
  text-shadow: 0 0 24px rgba(255, 30, 40, 0.45), 0 10px 40px rgba(0, 0, 0, 0.55);
}

.manifesto-sub {
  max-width: 36rem;
  margin-top: 18px;
  font-size: 20px;
  color: #efe8ec;
}

.footer {
  position: relative;
  z-index: 1;
  padding-top: 42px;
  background: #07060a;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
}

.footer-note { margin-top: 12px; color: var(--muted); font-size: 14px; }

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-block;
  margin: 4px 0;
  color: var(--text);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 13px;
}

.footer-links a:hover { color: var(--cyan); }

.statusbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 10px 22px;
  border-top: 1px solid rgba(255, 42, 46, 0.22);
  background: #050308;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  transform: translateX(-50%) translateY(12px);
  padding: 12px 16px;
  background: #12080c;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  background: #050308;
  padding: 24px;
}

.boot[hidden] { display: none !important; }

.boot.is-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.boot-crt {
  width: min(680px, 100%);
  animation: crt 0.45s var(--ease) both;
}

@keyframes crt {
  0% { transform: scaleY(0.02) scaleX(0.5); filter: brightness(2.4); }
  50% { transform: scaleY(1) scaleX(1); filter: brightness(1.4); }
  100% { transform: none; filter: none; }
}

.boot-kicker {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.boot-kicker span { color: var(--muted); }

.boot-log {
  min-height: 210px;
  margin: 18px 0 22px;
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.7;
}

.boot-log div { color: #d9d3d8; }
.boot-log .warn { color: var(--red-2); }
.boot-log .ok { color: var(--cyan); }

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}

.js .reveal.in {
  animation: rise 0.8s var(--ease) both;
}

@media (max-width: 980px) {
  .hero-grid,
  .tickets,
  .term-grid,
  .token-grid,
  .footer-grid,
  .specs { grid-template-columns: 1fr; }

  .spine,
  .chips,
  .clock { display: none; }

  .specs div { border-right: 0; border-bottom: 1px solid rgba(255, 42, 46, 0.2); }
  .logo-wrap { max-width: 460px; }
  .manual { order: 2; }
}

@media (max-width: 860px) {
  .burger { display: inline-flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: calc(var(--nav) + 8px);
    left: 16px;
    right: 16px;
    margin: 0;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(8, 6, 12, 0.97);
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  }

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

  .nav-links a {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 42, 46, 0.16);
  }

  .nav-links a::after { display: none; }
}

@media (max-width: 640px) {
  .wrap { width: min(1180px, calc(100% - 28px)); }
  .lede { font-size: 16px; }
  .stamp { border-width: 3px; letter-spacing: 0.03em; }
  .section { padding: 72px 0; }
  .manifesto h2 { font-size: clamp(64px, 18vw, 120px); }
  .boot-kicker span { display: none; }
}

@media (max-width: 420px) {
  .brand span { display: none; }
  .nav { padding: 0 12px; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .boot { display: none !important; }
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .floor, .ticker-track, .pulse, .rec i { animation: none !important; }
  .js .hero-copy > *,
  .js .reveal,
  .js .chart:not(.in) .line,
  .js .chart:not(.in) .fill {
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
  }
}
