@font-face {
  font-family: "SixteenEightMono";
  src: url("assets/16x8pxl-mono.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #030611;
  --void: #070b19;
  --panel: #10162a;
  --panel-2: #121e36;
  --line: #ffffff;
  --ton: #1da1f2;
  --ton-bright: #39c6ff;
  --gold: #ffc928;
  --gold-dark: #a96200;
  --pink: #ff5f95;
  --soft: #f8f7f1;
  --muted: #b8c9de;
  --shadow: #000000;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--soft);
  background:
    linear-gradient(rgba(57, 198, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 198, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(255, 201, 40, 0.18), transparent 22rem),
    radial-gradient(circle at 80% 4%, rgba(255, 95, 149, 0.16), transparent 20rem),
    var(--ink);
  background-size: 24px 24px, 24px 24px, auto, auto, auto;
  font-family: "SixteenEightMono", "Courier New", monospace;
  image-rendering: pixelated;
  text-rendering: geometricPrecision;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  min-height: 44px;
  border: 3px solid var(--line);
  color: var(--soft);
  background: var(--panel);
  box-shadow: 5px 5px 0 var(--shadow), inset -4px -4px 0 rgba(0, 0, 0, 0.32);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

button:hover,
button:focus-visible {
  transform: translate(-2px, -2px);
  background: #14284b;
  box-shadow: 7px 7px 0 var(--shadow), inset -4px -4px 0 rgba(0, 0, 0, 0.32);
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

button:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--shadow), inset -4px -4px 0 rgba(0, 0, 0, 0.32);
}

.site-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(3, 6, 17, 0.96), rgba(3, 6, 17, 0.78));
  backdrop-filter: blur(8px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-lockup img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 var(--ton);
}

.brand-name,
.brand-ticker {
  display: block;
  line-height: 1.1;
}

.brand-name {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  color: var(--line);
  text-shadow: 3px 3px 0 var(--ton);
}

.brand-ticker {
  margin-top: 4px;
  color: var(--gold);
  font-size: 0.9rem;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-actions button {
  padding: 8px 14px;
  font-size: 0.78rem;
}

.hero-section {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(30px, 6vw, 72px) 0 54px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--gold);
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 var(--gold-dark);
  text-transform: uppercase;
  line-height: 1.2;
}

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(4.5rem, 14vw, 10rem);
  line-height: 0.8;
  color: var(--line);
  text-shadow:
    6px 0 0 var(--ton),
    0 6px 0 #0a4c92,
    9px 9px 0 var(--shadow);
}

.hero-tagline {
  margin-bottom: 20px;
  color: var(--pink);
  font-size: clamp(1.35rem, 4vw, 2.5rem);
  line-height: 1.08;
  text-shadow: 3px 3px 0 var(--shadow);
}

.hero-text,
.launch-section p,
.story-grid p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 18px;
}

.hero-buttons button {
  min-width: 176px;
  padding: 14px 18px;
}

.primary-button {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 5px 5px 0 var(--gold-dark), inset -4px -4px 0 rgba(169, 98, 0, 0.35);
}

.primary-button:hover,
.primary-button:focus-visible {
  background: #ffe06d;
}

.status-ticker {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 10px;
  padding: 10px 12px;
  color: var(--ton-bright);
  background: rgba(7, 11, 25, 0.82);
  border: 3px solid var(--ton);
  box-shadow: 4px 4px 0 var(--shadow);
  line-height: 1.35;
}

.blink-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  background: var(--pink);
  box-shadow: 0 0 0 3px var(--line);
  animation: blink 900ms steps(2, end) infinite;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.hero-art::before,
.hero-art::after,
.pixel-orbit {
  content: "";
  position: absolute;
  image-rendering: pixelated;
}

.hero-art::before {
  inset: 7% 2% 2% 8%;
  border: 6px solid var(--ton);
  background: rgba(29, 161, 242, 0.08);
  box-shadow: 0 0 0 6px var(--shadow), inset 0 0 0 6px rgba(255, 255, 255, 0.08);
  transform: rotate(2deg);
}

.hero-art::after {
  width: 32px;
  height: 32px;
  right: 7%;
  top: 10%;
  background: var(--gold);
  box-shadow:
    -52px 48px 0 var(--ton-bright),
    38px 114px 0 var(--pink),
    -112px 178px 0 var(--line),
    72px 230px 0 var(--gold);
}

.pixel-orbit {
  width: 88%;
  aspect-ratio: 1;
  border: 6px dashed rgba(57, 198, 255, 0.75);
  transform: rotate(-5deg);
}

.hero-art img {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 6px solid var(--line);
  box-shadow: 12px 12px 0 var(--ton), 22px 22px 0 var(--shadow);
}

.marquee-band {
  overflow: hidden;
  border-block: 4px solid var(--line);
  background: var(--ton);
  box-shadow: 0 8px 0 var(--shadow), 0 -8px 0 var(--shadow);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee-track span {
  padding: 16px 28px;
  color: var(--ink);
  font-size: 1.12rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.story-section,
.values-section,
.faq-section,
.launch-section {
  padding: clamp(58px, 8vw, 96px) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2.2rem, 6vw, 4.9rem);
  line-height: 0.95;
  color: var(--line);
  text-shadow: 4px 4px 0 var(--ton), 8px 8px 0 var(--shadow);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-grid article {
  min-height: 300px;
  padding: 24px;
  border: 4px solid var(--line);
  background:
    linear-gradient(135deg, rgba(29, 161, 242, 0.2), transparent 45%),
    var(--panel);
  box-shadow: 8px 8px 0 var(--shadow);
}

.card-number {
  display: inline-block;
  margin-bottom: 24px;
  padding: 8px;
  color: var(--ink);
  background: var(--pink);
  border: 3px solid var(--line);
}

h3 {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.05;
}

.value-list {
  display: grid;
  gap: 12px;
}

.value-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  min-height: 74px;
  border: 4px solid var(--line);
  background: var(--panel-2);
  box-shadow: 7px 7px 0 var(--shadow);
}

.value-item span {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--ink);
  background: var(--ton-bright);
  border-right: 4px solid var(--line);
}

.value-item strong {
  padding: 14px 18px;
  color: var(--soft);
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.launch-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 28px;
  align-items: start;
}

.console-panel {
  border: 4px solid var(--line);
  background: #071020;
  box-shadow: 9px 9px 0 var(--ton), 17px 17px 0 var(--shadow);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 4px solid var(--line);
  background: var(--panel);
  box-shadow: 7px 7px 0 var(--shadow);
}

.faq-list summary {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 16px 52px 16px 18px;
  color: var(--gold);
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.15;
  font-size: clamp(1.05rem, 2.5vw, 1.55rem);
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--ton-bright);
  border: 3px solid var(--line);
  transform: translateY(-50%);
}

.faq-list details[open] summary {
  border-bottom: 3px solid var(--line);
}

.faq-list details[open] summary::after {
  content: "-";
  background: var(--pink);
}

.faq-list p {
  margin: 0;
  padding: 18px;
  color: var(--muted);
  line-height: 1.55;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
}

.console-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 64px;
  border-bottom: 3px solid var(--line);
}

.console-row:last-child {
  border-bottom: 0;
}

.console-row span,
.console-row strong {
  display: flex;
  align-items: center;
  padding: 12px;
  line-height: 1.15;
}

.console-row span {
  color: var(--ink);
  background: var(--gold);
  border-right: 3px solid var(--line);
}

.console-row strong {
  color: var(--ton-bright);
  overflow-wrap: anywhere;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 36px;
  color: var(--muted);
  border-top: 3px solid rgba(255, 255, 255, 0.3);
}

@keyframes blink {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0.18;
  }
}

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

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

@media (max-width: 900px) {
  .topbar,
  .launch-section {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar {
    position: relative;
  }

  .nav-actions {
    justify-content: flex-start;
  }

  .hero-section,
  .launch-section {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
    min-height: auto;
  }

  .hero-art img {
    width: min(88vw, 480px);
  }

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

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 22px, 1220px);
  }

  .brand-lockup img {
    width: 48px;
    height: 48px;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .nav-actions button {
    min-width: 0;
    padding-inline: 6px;
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(3.7rem, 20vw, 5.4rem);
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-buttons button {
    width: 100%;
  }

  .hero-art::before,
  .pixel-orbit {
    display: none;
  }

  .hero-art img {
    border-width: 4px;
    box-shadow: 7px 7px 0 var(--ton), 13px 13px 0 var(--shadow);
  }

  .value-item,
  .console-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  footer {
    flex-direction: column;
  }
}
