:root {
  --red: #ed462d;
  --red-dark: #c73522;
  --ink: #0a0a0a;
  --ink-soft: #111111;
  --paper: #f0ede6;
  --paper-dim: rgba(240, 237, 230, 0.72);
  --paper-muted: rgba(240, 237, 230, 0.45);
  --paper-faint: rgba(240, 237, 230, 0.1);
  --border: rgba(240, 237, 230, 0.14);
  --border-ink: rgba(10, 10, 10, 0.18);
  --green: #65d77b;
  --blue: #5477ff;
  --chamfer: 14px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, "Instrument Sans", "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html,
body {
  max-width: 100%;
}

body,
button,
input {
  letter-spacing: 0;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.scanlines,
.noise,
.rgb-fringe {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.scanlines {
  z-index: 50;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0, 0, 0, 0.08) 2px 4px);
}

.noise {
  z-index: 49;
  opacity: 0.08;
  background-image:
    repeating-radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1px 3px),
    repeating-radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px 4px);
  background-size: 140px 140px, 180px 180px;
  mix-blend-mode: overlay;
}

.rgb-fringe {
  z-index: 51;
  opacity: 0.5;
  background: linear-gradient(90deg, rgba(237, 70, 45, 0.03), rgba(84, 119, 255, 0.025), rgba(237, 70, 45, 0.03));
  background-size: 4px 100%;
}

.wallet-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  max-width: min(420px, calc(100vw - 48px));
  padding: 14px 16px;
  color: var(--paper);
  background: rgba(10, 10, 10, 0.94);
  border: 1px solid rgba(237, 70, 45, 0.48);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.46);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", "PingFang SC", monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}

.wallet-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - 96px));
  margin: 0 auto;
  position: relative;
}

.hero {
  min-height: 78vh;
  background: var(--red);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.site-header {
  position: relative;
  z-index: 5;
}

.site-nav {
  width: min(calc(var(--max) + 96px), 100%);
  margin: 0 auto;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Arial Black", Impact, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1.05rem;
}

.brand-mark {
  width: 26px;
  height: 26px;
  display: inline-block;
  background: currentColor;
  clip-path: polygon(0 0, 76% 0, 100% 24%, 100% 100%, 66% 100%, 66% 42%, 42% 42%, 42% 100%, 0 100%);
}

.brand-mark.big {
  width: 64px;
  height: 64px;
  color: var(--red);
  filter: drop-shadow(0 0 18px rgba(237, 70, 45, 0.55));
}

.brand-word {
  line-height: 1;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.75;
}

.nav-links a:hover {
  opacity: 1;
}

.contract-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(10, 10, 10, 0.06);
  border: 1px solid rgba(10, 10, 10, 0.28);
  cursor: pointer;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.contract-pill span {
  color: rgba(10, 10, 10, 0.58);
}

.contract-pill.copied {
  background: var(--green);
  border-color: rgba(10, 10, 10, 0.45);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 18px;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-transform: inherit;
  opacity: 1 !important;
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero-watermark {
  position: absolute;
  right: -4%;
  top: 50%;
  width: 52%;
  transform: translateY(-50%);
  fill: rgba(10, 10, 10, 0.09);
  animation: watermarkGlitch 6s linear infinite;
}

.hero-content {
  width: min(calc(var(--max) + 96px), 100%);
  margin: 0 auto;
  padding: 36px 48px 52px;
  flex: 1;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blink-dot {
  width: 7px;
  height: 7px;
  background: currentColor;
  display: inline-block;
  animation: blink 1.6s step-end infinite;
}

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

h1,
h2,
h3 {
  font-family: "Arial Black", Impact, Haettenschweiler, "PingFang SC", "Microsoft YaHei", "Segoe UI Black", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero h1 {
  font-size: 6.1rem;
  line-height: 0.88;
  max-width: 930px;
  margin-bottom: 28px;
}

.hero-sub {
  max-width: 560px;
  font-size: 1.12rem;
  line-height: 1.65;
  font-weight: 650;
  opacity: 0.82;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.bomb-meter {
  width: min(620px, 100%);
  margin-top: 26px;
  padding: 16px;
  background: rgba(10, 10, 10, 0.12);
  border: 1px solid rgba(10, 10, 10, 0.28);
  color: var(--ink);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
  backdrop-filter: blur(4px);
}

.bomb-meter-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.bomb-meter-head span,
.bomb-stats span {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0.68;
}

.bomb-meter-head strong {
  font-family: "Arial Black", Impact, "PingFang SC", sans-serif;
  font-size: 2.25rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  animation: timerPulse 1s step-end infinite;
}

.bomb-progress {
  height: 16px;
  background: rgba(10, 10, 10, 0.18);
  border: 1px solid rgba(10, 10, 10, 0.25);
  overflow: hidden;
  position: relative;
}

.bomb-progress span {
  display: block;
  width: var(--bomb-progress, 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--ink), rgba(10, 10, 10, 0.62));
  box-shadow: 0 0 22px rgba(10, 10, 10, 0.3);
  transition: width 0.35s linear;
}

.bomb-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(237, 70, 45, 0.22) 18px 20px);
  mix-blend-mode: multiply;
}

.bomb-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  border: 1px solid rgba(10, 10, 10, 0.22);
}

.bomb-stats div {
  display: grid;
  gap: 5px;
  padding: 11px 12px;
  background: rgba(237, 70, 45, 0.24);
}

.bomb-stats strong {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-dark {
  color: var(--paper);
  background: var(--ink);
}

.btn-dark:hover {
  box-shadow: 5px 5px 0 var(--blue);
}

.btn-outline-ink {
  color: var(--ink);
  background: rgba(10, 10, 10, 0.04);
  border: 2px solid rgba(10, 10, 10, 0.34);
}

.btn-outline-ink:hover {
  box-shadow: 5px 5px 0 rgba(10, 10, 10, 0.22);
}

.btn-cta {
  color: var(--ink);
  background: var(--red);
}

.btn-cta:hover {
  background: #ff563b;
  box-shadow: 5px 5px 0 var(--blue);
}

.wallet-connect.is-connected {
  color: var(--ink);
  background: var(--green);
}

.nav-cta.wallet-connect.is-connected {
  background: var(--green);
  color: var(--ink);
}

.btn-ghost {
  color: var(--paper);
  background: rgba(240, 237, 230, 0.08);
  border: 1px solid rgba(240, 237, 230, 0.18);
}

.btn-ghost:hover {
  background: rgba(240, 237, 230, 0.14);
  box-shadow: 5px 5px 0 rgba(237, 70, 45, 0.28);
}

.btn.large {
  min-height: 66px;
  padding: 0 42px;
  font-size: 1rem;
}

.ticker {
  border-top: 1px solid var(--border-ink);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  z-index: 4;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 42px;
  animation: ticker 24s linear infinite;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  opacity: 0.72;
  white-space: nowrap;
}

.content {
  background: var(--ink);
  position: relative;
}

.content-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.content-lines::before,
.content-lines::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.content-lines::before {
  left: max(48px, calc(50% - 600px));
}

.content-lines::after {
  right: max(48px, calc(50% - 600px));
}

section {
  position: relative;
  z-index: 2;
}

.problem,
.approach,
.offline,
.triptych,
.how,
.features,
.stats,
.terminal-section,
.early-access,
.wallet-section,
.faq {
  padding: 92px 0;
}

.panel-frame {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 42px;
}

.section-head.wide {
  padding: 46px 48px 38px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}

.section-head.center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2,
.faq h2,
.final-cta h2 {
  font-size: 4.15rem;
  line-height: 0.94;
  margin-bottom: 18px;
}

.section-head p:not(.badge),
.offline-copy > p,
.wallet-copy > p,
.access-box > p,
.faq details p,
.footer p {
  color: var(--paper-dim);
  line-height: 1.68;
}

.badge {
  display: inline-flex;
  width: fit-content;
  margin: 0 auto 22px;
  padding: 8px 13px;
  border: 1px solid rgba(237, 70, 45, 0.32);
  background: rgba(10, 10, 10, 0.82);
  color: var(--red);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.badge.left {
  margin-left: 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(210px, auto));
}

.eye-cell {
  grid-row: 1 / span 2;
  min-height: 460px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--border);
}

.watch-eye {
  width: min(82%, 380px);
  overflow: visible;
}

.eye-ring,
.eye-line,
.eye-scan {
  fill: none;
  stroke: rgba(240, 237, 230, 0.22);
  stroke-width: 2;
}

.eye-line {
  stroke: var(--red);
  stroke-width: 3;
}

.eye-iris {
  fill: rgba(237, 70, 45, 0.08);
  stroke: rgba(237, 70, 45, 0.55);
  stroke-width: 2;
}

.eye-pupil {
  fill: var(--red);
  filter: drop-shadow(0 0 18px rgba(237, 70, 45, 0.7));
}

.eye-scan {
  opacity: 0.34;
}

.problem-card {
  min-height: 210px;
  padding: 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-card:nth-child(3),
.problem-card:nth-child(5) {
  border-right: 0;
}

.problem-card:nth-child(4),
.problem-card:nth-child(5) {
  border-bottom: 0;
}

.card-number {
  display: block;
  color: var(--red);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.problem-card h3,
.triptych h3,
.feature-grid h3 {
  font-size: 1.5rem;
  line-height: 1.08;
  margin-bottom: 12px;
}

.problem-card p,
.triptych p,
.feature-grid p {
  color: var(--paper-dim);
  font-size: 0.92rem;
  line-height: 1.68;
  margin-bottom: 0;
}

.system-diagram {
  border: 1px solid var(--border);
  background:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px),
    rgba(240, 237, 230, 0.025);
  background-size: 80px 80px;
  min-height: 340px;
  display: grid;
  grid-template-columns: 1fr 70px 1fr 70px 1fr 70px 1fr;
  align-items: center;
  padding: 46px;
  overflow: hidden;
}

.node {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.82);
  display: flex;
  flex-direction: column;
  justify-content: center;
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}

.node span {
  color: var(--red);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.node strong {
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 1.38rem;
  line-height: 1.05;
  margin-bottom: 10px;
}

.node small {
  color: var(--paper-muted);
  line-height: 1.5;
}

.link-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  position: relative;
}

.link-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  background: var(--red);
  animation: blink 2s step-end infinite;
}

.offline {
  overflow: hidden;
}

.offline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--border);
}

.offline-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.offline-visual {
  min-height: 420px;
  position: relative;
  display: grid;
  place-items: center;
}

.local-core {
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  background: var(--ink);
  border: 1px solid rgba(237, 70, 45, 0.75);
  box-shadow: 0 0 38px rgba(237, 70, 45, 0.16), inset 0 0 40px rgba(237, 70, 45, 0.08);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
  position: relative;
  z-index: 2;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.local-core span {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--green);
  top: 24px;
  right: 24px;
  animation: blink 1.2s step-end infinite;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(240, 237, 230, 0.14);
  transform: rotate(45deg);
}

.orbit-one {
  width: 310px;
  height: 310px;
  animation: spin 22s linear infinite;
}

.orbit-two {
  width: 470px;
  height: 470px;
  animation: spinReverse 32s linear infinite;
}

.cut-wire {
  position: absolute;
  width: 44%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 237, 230, 0.36));
  opacity: 0.8;
}

.wire-left {
  left: -2%;
  transform: rotate(-18deg);
}

.wire-right {
  right: -2%;
  transform: rotate(18deg);
}

.cut-wire::after {
  content: "";
  position: absolute;
  right: 0;
  top: -8px;
  width: 17px;
  height: 17px;
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
  transform: rotate(45deg);
}

.offline-copy h2 {
  font-size: 3.35rem;
  line-height: 0.95;
  margin-bottom: 20px;
}

.offline-copy > p {
  max-width: 520px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--border);
  margin-top: 34px;
}

.mini-grid div {
  padding: 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mini-grid div:nth-child(2n) {
  border-right: 0;
}

.mini-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.mini-grid strong {
  display: block;
  color: var(--red);
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 2rem;
  margin-bottom: 4px;
}

.mini-grid span {
  color: var(--paper-muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.triptych {
  padding-top: 0;
}

.triptych-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.triptych article {
  padding: 34px;
  border-right: 1px solid var(--border);
}

.triptych article:last-child {
  border-right: 0;
}

.triptych .badge {
  margin-left: 0;
}

.stepper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border: 1px solid var(--border);
}

.steps {
  border-right: 1px solid var(--border);
}

.step {
  width: 100%;
  min-height: 128px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  row-gap: 8px;
  background: transparent;
  color: var(--paper);
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 24px;
  text-align: left;
  cursor: pointer;
}

.step:last-child {
  border-bottom: 0;
}

.step span {
  grid-row: 1 / span 2;
  color: var(--paper-muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 800;
}

.step strong {
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 1.35rem;
  line-height: 1.06;
  color: rgba(240, 237, 230, 0.48);
}

.step small {
  color: var(--paper-muted);
  line-height: 1.55;
}

.step.active {
  background: rgba(237, 70, 45, 0.07);
}

.step.active span,
.step.active strong {
  color: var(--red);
}

.step-panel {
  min-height: 520px;
  position: relative;
  display: grid;
  place-items: center;
  background: rgba(240, 237, 230, 0.025);
  overflow: hidden;
}

.shader-grid {
  position: absolute;
  inset: -40%;
  background-image:
    linear-gradient(rgba(237, 70, 45, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 70, 45, 0.16) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(600px) rotateX(58deg);
  transform-origin: 50% 55%;
  opacity: 0.45;
}

.step-panel pre {
  position: relative;
  width: min(82%, 420px);
  min-height: 210px;
  margin: 0;
  padding: 26px;
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(237, 70, 45, 0.6);
  color: var(--paper-dim);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  line-height: 1.8;
  white-space: pre-wrap;
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}

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

.feature-grid article {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--border);
  background: rgba(240, 237, 230, 0.035);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}

.feature-icon {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(237, 70, 45, 0.46);
  display: grid;
  place-items: center;
  color: var(--red);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 800;
  margin-bottom: 28px;
}

.stats {
  padding-top: 0;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-strip div {
  padding: 30px;
  border-right: 1px solid var(--border);
}

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

.stats-strip span,
.stats-strip small {
  display: block;
  color: var(--paper-muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.stats-strip strong {
  display: block;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 2.75rem;
  margin: 10px 0;
}

.terminal-artifact {
  width: min(720px, 100%);
  margin: 0 auto;
  position: relative;
}

.monitor {
  padding: 18px;
  background: linear-gradient(150deg, #1a1a1a, #0f0f0f);
  border: 1px solid rgba(240, 237, 230, 0.08);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.vents {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin-bottom: 12px;
}

.vents span {
  height: 3px;
  background: rgba(240, 237, 230, 0.08);
}

.screen {
  border: 2px solid rgba(240, 237, 230, 0.08);
  background: #050505;
  min-height: 420px;
}

.term-bar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(240, 237, 230, 0.08);
  padding: 0 20px;
}

.dots {
  display: flex;
  gap: 7px;
}

.dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(240, 237, 230, 0.22);
}

.term-bar p,
.monitor-foot,
.blueprint {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  color: var(--paper-muted);
  text-transform: uppercase;
}

.term-body {
  padding: 28px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.85;
}

.term-body p {
  margin: 0 0 10px;
}

.prompt,
.ok {
  color: var(--red);
}

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

.cursor {
  display: inline-block;
  width: 9px;
  height: 1.1em;
  background: var(--red);
  vertical-align: text-bottom;
  margin-left: 3px;
  animation: blink 1s step-end infinite;
}

.ascii {
  color: rgba(240, 237, 230, 0.35);
  margin: 26px 0 0;
  white-space: pre-wrap;
}

.monitor-foot {
  padding: 18px 4px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.monitor-foot b {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(237, 70, 45, 0.8);
}

.blueprint {
  position: absolute;
  top: 46%;
  display: flex;
  align-items: center;
  gap: 14px;
}

.blueprint i {
  display: block;
  width: 70px;
  height: 1px;
  background: var(--border);
}

.left-note {
  right: calc(100% + 28px);
}

.right-note {
  left: calc(100% + 28px);
}

.early-access {
  overflow: hidden;
}

.wallet-section {
  overflow: hidden;
}

.vortex-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.82;
}

.access-box {
  max-width: 560px;
  text-align: center;
  padding: 74px 0;
}

.access-box h2 {
  font-size: 3.55rem;
  line-height: 0.95;
  margin-bottom: 18px;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.waitlist-form input {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding: 0 17px;
  color: var(--paper);
  background: rgba(240, 237, 230, 0.06);
  border: 1px solid rgba(240, 237, 230, 0.2);
  outline: none;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.waitlist-form input:focus {
  border-color: var(--red);
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--green);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
}

.wallet-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  padding: 58px 0;
}

.wallet-copy h2 {
  font-size: 3.55rem;
  line-height: 0.95;
  margin-bottom: 20px;
}

.wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.wallet-note {
  margin: 18px 0 0;
  color: var(--paper-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.wallet-panel {
  border: 1px solid rgba(237, 70, 45, 0.36);
  background: rgba(10, 10, 10, 0.84);
  padding: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}

.wallet-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--paper);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  text-transform: uppercase;
}

.wallet-option {
  width: 100%;
  display: grid;
  gap: 6px;
  padding: 20px 10px;
  text-align: left;
  color: var(--paper);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.wallet-option:hover {
  background: rgba(237, 70, 45, 0.08);
}

.wallet-option span {
  font-family: "Arial Black", Impact, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1.25rem;
}

.wallet-option small,
.wallet-status small,
.wallet-env small {
  color: var(--paper-muted);
  line-height: 1.5;
}

.wallet-status,
.wallet-env {
  display: grid;
  gap: 8px;
  padding: 20px 10px 8px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.wallet-env {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.wallet-status span,
.wallet-env span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wallet-status strong {
  color: var(--paper);
  font-size: 1rem;
}

.faq {
  padding-top: 50px;
}

.faq h2 {
  text-align: center;
  margin-bottom: 42px;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.faq summary {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 1.2rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary span {
  color: var(--red);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.74rem;
}

.faq details p {
  max-width: 720px;
  margin: 0 0 24px 44px;
}

.final-cta {
  position: relative;
  z-index: 3;
  padding: 120px 0 150px;
  text-align: center;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.final-cta .container {
  display: grid;
  justify-items: center;
}

.final-cta h2 {
  max-width: 780px;
  margin: 34px auto 34px;
  font-size: 6rem;
}

.final-cta p {
  margin: 18px 0 0;
  color: var(--paper-muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.cta-mark {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 620px;
  fill: none;
  stroke: rgba(240, 237, 230, 0.05);
  stroke-width: 1;
}

.footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--border);
  padding: 60px 0 86px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer h3 {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: var(--paper-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  margin: 0 0 15px;
}

.footer a {
  display: block;
  width: fit-content;
  color: var(--paper-dim);
  text-decoration: none;
  margin-bottom: 10px;
}

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

.footer .brand {
  margin-bottom: 16px;
}

.footer p {
  max-width: 360px;
}

.social-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer .social-links a {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  margin: 0;
  color: var(--paper);
  background: rgba(240, 237, 230, 0.06);
  border: 1px solid var(--border);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.footer .social-links a:hover {
  color: var(--ink);
  background: var(--red);
  border-color: var(--red);
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer-bottom {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--paper-muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

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

@keyframes timerPulse {
  50% {
    opacity: 0.58;
  }
}

@keyframes spin {
  to {
    transform: rotate(405deg);
  }
}

@keyframes spinReverse {
  to {
    transform: rotate(-315deg);
  }
}

@keyframes watermarkGlitch {
  0%,
  12%,
  100% {
    transform: translateY(-50%);
    opacity: 1;
  }
  13% {
    transform: translateY(-50%) translate(8px, -2px);
    opacity: 0.7;
  }
  14% {
    transform: translateY(-50%) translate(-5px, 2px);
    opacity: 1;
  }
  56% {
    transform: translateY(-50%) skew(-2deg);
  }
  57% {
    transform: translateY(-50%);
  }
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: 5.4rem;
  }

  .section-head h2,
  .faq h2 {
    font-size: 3.4rem;
  }

  .system-diagram {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .link-line {
    width: 1px;
    height: 42px;
    justify-self: center;
    background: linear-gradient(180deg, transparent, var(--red), transparent);
  }

  .link-line::after {
    right: -3px;
    top: auto;
    bottom: 0;
  }

  .blueprint {
    display: none;
  }
}

@media (max-width: 860px) {
  .container {
    width: calc(100% - 40px);
  }

  .site-nav {
    padding: 18px 20px;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 20;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 15;
    background: var(--ink);
    color: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }

  .nav-links[data-open="true"] {
    transform: translateY(0);
  }

  .nav-links a,
  .nav-links button {
    font-size: 1.05rem;
    opacity: 1;
  }

  .nav-cta {
    color: var(--ink);
    background: var(--red);
  }

  .nav-toggle[aria-expanded="true"] span {
    background: var(--paper);
  }

  .hero {
    min-height: 76vh;
  }

  .hero-content {
    padding: 32px 20px 42px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero h1 {
    font-size: 4.25rem;
  }

  .hero-watermark {
    width: 84%;
    right: -24%;
  }

  .bomb-stats {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .offline-layout,
  .wallet-layout,
  .triptych-grid,
  .stepper,
  .feature-grid,
  .stats-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .eye-cell {
    grid-row: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    min-height: 320px;
  }

  .problem-card,
  .problem-card:nth-child(3),
  .problem-card:nth-child(4),
  .problem-card:nth-child(5),
  .triptych article,
  .stats-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .problem-card:last-child,
  .triptych article:last-child,
  .stats-strip div:last-child {
    border-bottom: 0;
  }

  .offline::before {
    display: none;
  }

  .steps {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .step-panel {
    min-height: 380px;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .wallet-layout {
    gap: 26px;
    padding: 28px 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .content-lines::before {
    left: 20px;
  }

  .content-lines::after {
    right: 20px;
  }

  .hero h1 {
    font-size: 3.3rem;
  }

  .hero-sub {
    font-size: 0.96rem;
    max-width: 330px;
    overflow-wrap: break-word;
  }

  .hero-actions {
    width: min(330px, calc(100vw - 48px));
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
  }

  .bomb-meter {
    width: min(330px, calc(100vw - 48px));
    padding: 14px;
  }

  .bomb-meter-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .bomb-meter-head strong {
    font-size: 2rem;
  }

  .section-head.wide {
    padding: 34px 22px 30px;
  }

  .section-head h2,
  .faq h2,
  .access-box h2,
  .wallet-copy h2,
  .offline-copy h2 {
    font-size: 2.35rem;
  }

  .final-cta h2 {
    font-size: 3.2rem;
  }

  .problem,
  .approach,
  .offline,
  .triptych,
  .how,
  .features,
  .stats,
  .terminal-section,
  .early-access,
  .wallet-section,
  .faq {
    padding: 62px 0;
  }

  .system-diagram,
  .problem-card,
  .triptych article,
  .feature-grid article,
  .stats-strip div,
  .wallet-panel,
  .term-body {
    padding: 22px;
  }

  .wallet-actions,
  .wallet-actions .btn {
    width: 100%;
  }

  .screen {
    min-height: 360px;
  }

  .wallet-toast {
    right: 14px;
    bottom: 14px;
    max-width: calc(100vw - 28px);
  }
}

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