:root {
  --ink: #10110f;
  --paper: #d8d0b3;
  --paper-light: #eee8d3;
  --acid: #b8ff38;
  --blue: #2c6cff;
  --red: #e83d2d;
  --line: rgba(16, 17, 15, 0.72);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.16;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,.08) 0, rgba(0,0,0,.08) 1px, transparent 1px, transparent 4px),
    radial-gradient(circle at 20% 30%, rgba(0,0,0,.12) 0 1px, transparent 1.5px);
  background-size: auto, 7px 7px;
  mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.ticker {
  overflow: hidden;
  background: var(--acid);
  border-bottom: 2px solid var(--ink);
  font: 900 12px/1 "Courier New", monospace;
  letter-spacing: .13em;
  white-space: nowrap;
}
.tickerTrack {
  display: flex;
  width: max-content;
  gap: 24px;
  padding: 11px 0;
  animation: crawl 22s linear infinite;
}
.tickerTrack i { font-style: normal; }
@keyframes crawl { to { transform: translateX(-50%); } }

.nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font: 900 26px/1 "Arial Black", Arial, sans-serif;
  letter-spacing: -.05em;
}
.blink { animation: blink 1s steps(1) infinite; color: var(--blue); }
@keyframes blink { 50% { opacity: 0; } }
.navLinks { display: flex; gap: 34px; font: 700 12px/1 "Courier New", monospace; letter-spacing: .08em; }
.navLinks a, .textLink { border-bottom: 1px solid transparent; }
.navLinks a:hover, .textLink:hover { border-color: currentColor; }
.miniButton {
  border: 1.5px solid var(--ink);
  padding: 11px 14px;
  font: 900 11px/1 "Courier New", monospace;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.miniButton:hover { transform: translate(3px, 3px); box-shadow: none; }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 64px;
  align-items: center;
  padding-block: 64px 78px;
}
.eyebrow {
  width: fit-content;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  padding: 9px 12px;
  font: 800 11px/1 "Courier New", monospace;
  letter-spacing: .07em;
  transform: rotate(-1deg);
}
.liveDot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; background: var(--red); border-radius: 50%; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.hero h1 {
  margin: 28px 0 22px;
  font: 900 clamp(60px, 7.4vw, 112px)/.79 "Arial Black", Impact, sans-serif;
  letter-spacing: -.075em;
}
.hero h1 span { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.intro { max-width: 620px; font-size: 18px; line-height: 1.55; }
.heroActions { display: flex; align-items: center; gap: 24px; margin-top: 34px; flex-wrap: wrap; }
.primaryButton {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--paper-light);
  font: 900 12px/1 "Courier New", monospace;
  letter-spacing: .05em;
  box-shadow: 5px 5px 0 var(--blue);
}
.primaryButton:not(.pending):hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--blue); }
.pending { cursor: default; }
.textLink { font: 800 12px/1.3 "Courier New", monospace; }

.heroVisual { position: relative; width: min(100%, 480px); margin-left: auto; transform: rotate(2deg); }
.photoFrame { background: #f3f0e5; padding: 14px 14px 46px; border: 1px solid #84806f; box-shadow: 15px 18px 0 rgba(16,17,15,.16); }
.photoFrame img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; filter: contrast(1.06) saturate(.9) sepia(.06); }
.tape { position: absolute; z-index: 2; width: 104px; height: 30px; background: rgba(215,199,151,.78); border: 1px solid rgba(70,60,40,.15); }
.tapeOne { top: -12px; left: 30px; transform: rotate(-7deg); }
.tapeTwo { right: -20px; bottom: 62px; transform: rotate(83deg); }
.scribble { position: absolute; bottom: 15px; left: 34px; font: italic 700 18px/1 Georgia, serif; transform: rotate(-2deg); }
.stamp { position: absolute; right: -20px; top: 34px; padding: 10px; border: 4px double var(--red); color: var(--red); font: 900 13px/1.05 "Courier New", monospace; text-align: center; transform: rotate(9deg); background: rgba(238,232,211,.84); }

.sectionIndex { padding-bottom: 13px; border-bottom: 1px solid var(--line); font: 700 11px/1 "Courier New", monospace; letter-spacing: .11em; }
.caSection { padding-bottom: 90px; }
.caBox { display: flex; align-items: stretch; justify-content: space-between; border: 2px solid var(--ink); margin-top: 18px; background: var(--paper-light); }
.caBox > div { min-width: 0; padding: 18px 22px; }
.caLabel { display: block; margin-bottom: 7px; font: 700 10px/1 "Courier New", monospace; letter-spacing: .09em; }
.caBox code { display: block; max-width: 880px; overflow: hidden; text-overflow: ellipsis; font: 900 clamp(16px, 2.4vw, 28px)/1 "Courier New", monospace; }
.caBox button { border: 0; border-left: 2px solid var(--ink); min-width: 142px; padding: 0 18px; background: var(--acid); font: 900 13px/1 "Courier New", monospace; cursor: pointer; }
.caBox button:disabled { background: #c6bea3; cursor: not-allowed; }
.microcopy { margin: 10px 0 0; font: 11px/1.5 "Courier New", monospace; opacity: .7; }

.about { padding-block: 85px 105px; }
.aboutGrid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 84px; padding-top: 45px; }
.kicker { margin: 0 0 16px; color: var(--blue); font: 900 12px/1 "Courier New", monospace; }
.about h2, .links h2 { margin: 0; font: 900 clamp(42px, 5.3vw, 76px)/.9 "Arial Black", Impact, sans-serif; letter-spacing: -.065em; }
.aboutBody { font-size: 19px; line-height: 1.55; }
.aboutBody p:first-child { margin-top: 0; }
.warningTape { margin-top: 34px; padding: 12px 16px; background: var(--acid); border: 1px solid var(--ink); font: 900 11px/1.35 "Courier New", monospace; transform: rotate(-1deg); }

.manifesto { background: var(--ink); color: var(--paper-light); border-block: 8px solid var(--blue); padding-block: 70px; }
.manifestoSmall { color: var(--acid); font: 800 11px/1 "Courier New", monospace; letter-spacing: .12em; }
.manifestoLines { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 24px; }
.manifestoLines span { font: 900 clamp(36px, 6.7vw, 92px)/.88 "Arial Black", Impact, sans-serif; letter-spacing: -.06em; }
.manifestoLines span:nth-child(2) { color: var(--acid); transform: translateX(5vw); }
.manifestoLines span:nth-child(3) { color: transparent; -webkit-text-stroke: 1.5px var(--paper-light); }

.xaa { padding-block: 110px; }
.xaaCard { margin-top: 22px; border: 2px solid var(--ink); background: #bdb8a5; box-shadow: 12px 12px 0 var(--ink); }
.terminalTop { display: flex; justify-content: space-between; padding: 12px 16px; background: var(--ink); color: var(--paper-light); font: 700 11px/1 "Courier New", monospace; }
.terminalBody { display: grid; grid-template-columns: 1.2fr .8fr; }
.terminalCopy { padding: 45px; border-right: 2px solid var(--ink); }
.prompt { color: #173fbd; font: 900 11px/1 "Courier New", monospace; }
.terminalCopy h2 { margin: 15px 0; font: 900 clamp(42px, 5vw, 72px)/.85 "Arial Black", Impact, sans-serif; letter-spacing: -.07em; }
.terminalCopy > p:not(.prompt) { max-width: 620px; font-size: 17px; line-height: 1.55; }
.terminalCopy a { display: inline-block; margin-top: 18px; padding-bottom: 3px; border-bottom: 2px solid var(--ink); font: 900 12px/1 "Courier New", monospace; }
.terminalLog { padding: 45px 30px; background: #131813; color: #b8ff38; font: 13px/1.8 "Courier New", monospace; }
.terminalLog b { color: #7e8a7e; margin-right: 8px; }
.terminalReady { margin-top: 35px; color: #fff; }

.links { padding-block: 100px 120px; }
.links h2 { margin-top: 44px; }
.links h2 span { color: var(--blue); }
.linkList { margin-top: 54px; border-top: 2px solid var(--ink); }
.linkList a { display: grid; grid-template-columns: 60px 1fr 1fr 40px; align-items: center; gap: 16px; padding: 22px 6px; border-bottom: 1px solid var(--ink); transition: padding .18s, background .18s; }
.linkList a:hover { padding-inline: 16px; background: var(--acid); }
.linkNumber, .linkDetail { font: 12px/1 "Courier New", monospace; }
.linkName { font: 900 22px/1 "Arial Black", Arial, sans-serif; }
.linkDetail { opacity: .68; }
.linkArrow { font-size: 24px; text-align: right; }

footer { background: var(--ink); color: var(--paper-light); border-top: 8px solid var(--acid); }
.footerMain { min-height: 210px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footerMark { font: 900 clamp(50px, 8vw, 110px)/.8 "Arial Black", Impact, sans-serif; letter-spacing: -.08em; }
.footerMain p { margin: 15px 0 0; color: #a9aa9d; font: 12px/1 "Courier New", monospace; }
.footerLaunch { text-align: right; }
.footerLaunch span { display: block; color: var(--acid); font: 11px/1 "Courier New", monospace; }
.footerLaunch strong { display: block; margin-top: 8px; font: 900 18px/1 "Courier New", monospace; }
.disclaimer { display: flex; justify-content: space-between; gap: 40px; padding-block: 20px 30px; border-top: 1px solid #44483f; color: #888c82; font: 10px/1.5 "Courier New", monospace; }
.disclaimer p { max-width: 850px; margin: 0; }

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 650px); }
  .nav { height: 70px; }
  .navLinks { display: none; }
  .hero { grid-template-columns: 1fr; gap: 70px; padding-top: 55px; }
  .heroVisual { margin-inline: auto; width: min(90%, 470px); }
  .aboutGrid, .terminalBody { grid-template-columns: 1fr; }
  .aboutGrid { gap: 45px; }
  .terminalCopy { border-right: 0; border-bottom: 2px solid var(--ink); }
  .linkList a { grid-template-columns: 44px 1fr 30px; }
  .linkDetail { display: none; }
}

@media (max-width: 520px) {
  .miniButton { padding: 10px; font-size: 9px; }
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(52px, 17vw, 76px); }
  .intro { font-size: 16px; }
  .caBox { flex-direction: column; }
  .caBox button { border-left: 0; border-top: 2px solid var(--ink); min-height: 48px; }
  .about, .xaa, .links { padding-block: 72px; }
  .terminalCopy, .terminalLog { padding: 28px 20px; }
  .manifestoLines span:nth-child(2) { transform: none; }
  .footerMain { align-items: flex-start; flex-direction: column; justify-content: center; }
  .footerLaunch { text-align: left; }
  .disclaimer { flex-direction: column; gap: 14px; }
}

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