@font-face {
  font-family: "Silicon Display";
  src: local("Arial Black"), local("Helvetica Neue Bold");
  font-weight: 800 900;
  font-display: swap;
}

@font-face {
  font-family: "Circuit Mono";
  src: local("SFMono-Regular"), local("Menlo"), local("Consolas");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --acid: #c8ff00;
  --acid-hot: #dcff38;
  --ink: #080a08;
  --panel: #0d100d;
  --panel-soft: #121612;
  --white: #f4f7ec;
  --muted: #979d91;
  --line: rgba(200, 255, 0, 0.2);
  --line-white: rgba(255, 255, 255, 0.12);
  --display: "Silicon Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --mono: "Circuit Mono", "SFMono-Regular", Consolas, monospace;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100% - 48px));
  --ease: cubic-bezier(0.2, 0.75, 0.15, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--acid) var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: var(--acid);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  color: var(--ink);
  background: var(--acid);
  font: 700 0.75rem/1 var(--mono);
  text-transform: uppercase;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-meter {
  position: fixed;
  z-index: 1001;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
}

.scroll-meter span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--acid);
  box-shadow: 0 0 16px var(--acid);
}

.ambient-grid {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(200, 255, 0, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 0, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 80%, transparent);
}

.grain {
  position: fixed;
  z-index: 900;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 84px;
  padding: 0 34px;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, height 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  height: 70px;
  border-color: var(--line-white);
  background: rgba(8, 10, 8, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.brand-mark {
  position: relative;
  width: 42px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--acid);
  clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-type {
  display: grid;
  line-height: 1;
}

.brand-type strong {
  font-family: var(--display);
  font-size: 0.94rem;
  letter-spacing: 0.07em;
}

.brand-type small {
  margin-top: 7px;
  color: var(--acid);
  font: 0.62rem/1 var(--mono);
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
}

.site-nav a {
  position: relative;
  color: #d6d9d0;
  font: 600 0.7rem/1 var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--acid);
  transition: transform 0.25s var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--acid);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  justify-self: end;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--acid);
  font: 800 0.7rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 10px rgba(200, 255, 0, 0.5));
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 780px;
  align-items: end;
  padding: 130px 0 34px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-white);
}

.hero-media {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.hero-media::before,
.hero-media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
}

.hero-media::before {
  background:
    linear-gradient(90deg, rgba(5, 7, 5, 0.98) 0%, rgba(5, 7, 5, 0.88) 34%, rgba(5, 7, 5, 0.18) 70%, rgba(5, 7, 5, 0.55) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 40%);
}

.hero-media::after {
  opacity: 0.25;
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(0, 0, 0, 0.28) 6px);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.9) contrast(1.08) brightness(0.72);
  animation: hero-breathe 12s ease-in-out infinite alternate;
}

.hero-scan {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 55%;
  width: 1px;
  height: 100%;
  opacity: 0.4;
  background: linear-gradient(transparent, var(--acid), transparent);
  box-shadow: 0 0 32px var(--acid);
  animation: scanner 7s ease-in-out infinite;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
}

.hero-copy {
  max-width: 740px;
}

.kicker,
.index {
  margin: 0 0 22px;
  color: var(--acid);
  font: 700 0.72rem/1.2 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.kicker span {
  width: 30px;
  height: 1px;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 6.2vw, 5rem);
}

h1 em,
h2 em {
  color: var(--acid);
  font-style: normal;
  text-shadow: 0 0 28px rgba(200, 255, 0, 0.16);
}

.hero-lede {
  max-width: 590px;
  margin: 28px 0 0;
  color: #c7cbc0;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.75;
}

.hero-actions,
.pack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 18px;
  border: 1px solid var(--line-white);
  color: var(--white);
  background: rgba(8, 10, 8, 0.6);
  font: 700 0.73rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform 0.22s var(--ease), background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  border-color: var(--acid);
}

.button-primary {
  border-color: var(--acid);
  color: var(--ink);
  background: var(--acid);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--acid-hot);
  box-shadow: 0 0 28px rgba(200, 255, 0, 0.18);
}

.button b {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.external-icon {
  position: relative;
  width: 12px;
  height: 12px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.external-icon::after {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 8px;
  height: 1px;
  content: "";
  transform: rotate(-45deg);
  transform-origin: right;
  background: currentColor;
}

.hero-terminal {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(200, 255, 0, 0.35);
  background: rgba(6, 8, 6, 0.72);
  box-shadow: inset 0 0 40px rgba(200, 255, 0, 0.035);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.hero-terminal::before,
.hero-terminal::after {
  position: absolute;
  content: "";
  background: var(--acid);
}

.hero-terminal::before {
  top: 0;
  right: 30px;
  width: 52px;
  height: 2px;
}

.hero-terminal::after {
  right: 0;
  bottom: 32px;
  width: 2px;
  height: 42px;
}

.terminal-top,
.hero-terminal dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.terminal-top {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-white);
  color: #d7dccf;
  font: 700 0.65rem/1 var(--mono);
  letter-spacing: 0.08em;
}

.status-pulse {
  color: var(--acid);
}

.status-pulse::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  content: "";
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
  animation: pulse 1.5s ease-in-out infinite;
}

.hero-terminal dl {
  margin: 8px 0 20px;
}

.hero-terminal dl div {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font: 0.65rem/1.3 var(--mono);
}

.hero-terminal dt {
  color: #737a6e;
}

.hero-terminal dd {
  margin: 0;
  color: #e1e5db;
  text-align: right;
}

.terminal-wave {
  display: flex;
  height: 38px;
  align-items: end;
  gap: 5px;
}

.terminal-wave i {
  width: 100%;
  height: 30%;
  background: var(--acid);
  box-shadow: 0 0 8px rgba(200, 255, 0, 0.42);
  animation: wave 1.4s ease-in-out infinite alternate;
}

.terminal-wave i:nth-child(2n) { animation-delay: -0.4s; }
.terminal-wave i:nth-child(3n) { animation-delay: -0.8s; }
.terminal-wave i:nth-child(4n) { animation-delay: -1.1s; }

.contract-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 58px;
  padding-top: 18px;
  border-top: 1px solid var(--line-white);
}

.contract-label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  font-family: var(--mono);
  letter-spacing: 0.08em;
}

.contract-label span {
  color: #737a6e;
  font-size: 0.64rem;
}

.contract-label strong {
  overflow: hidden;
  color: #e2e6db;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 10px 16px;
  border: 0;
  color: var(--acid);
  background: none;
  font: 700 0.68rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.copy-button svg {
  width: 16px;
  fill: currentColor;
}

.signal-strip {
  overflow: hidden;
  padding: 14px 0;
  border-bottom: 1px solid #99c400;
  color: var(--ink);
  background: var(--acid);
  font: 800 0.68rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-track {
  display: flex;
  width: max-content;
  animation: ticker 24s linear infinite;
}

.signal-track span {
  padding-right: 32px;
  white-space: nowrap;
}

.signal-track i {
  margin: 0 18px;
  font-style: normal;
}

.chapter {
  padding-top: clamp(100px, 12vw, 170px);
}

.chapter h2 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
}

.section-copy > p:not(.index),
.split-heading > p {
  max-width: 560px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

.origin .section-copy {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 16px clamp(30px, 8vw, 110px);
  align-items: end;
  margin-bottom: 48px;
}

.origin .index {
  grid-column: 1 / -1;
}

.origin .section-copy > p:not(.index) {
  margin-top: 0;
}

.micro-data {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.micro-data span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  color: var(--acid);
  font: 0.62rem/1 var(--mono);
  letter-spacing: 0.08em;
}

.art-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line-white);
  background: #0d100d;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.art-frame::before,
.art-frame::after {
  position: absolute;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.art-frame::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(200, 255, 0, 0.18), transparent 15%, transparent 85%, rgba(200, 255, 0, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.38), transparent 45%);
}

.art-frame::after {
  top: 18px;
  right: 18px;
  width: 24px;
  height: 24px;
  border-top: 1px solid var(--acid);
  border-right: 1px solid var(--acid);
}

.art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 0.9s var(--ease), filter 0.5s ease;
}

.art-frame:hover img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.art-frame figcaption {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 16px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  color: #e7ebdf;
  font: 700 0.62rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.art-frame figcaption b {
  color: var(--acid);
}

.art-wide {
  aspect-ratio: 3 / 1;
  min-height: 330px;
}

.core {
  position: relative;
  margin-top: clamp(100px, 12vw, 170px);
  padding-bottom: clamp(100px, 12vw, 170px);
  background: var(--panel);
  border-block: 1px solid var(--line-white);
}

.core::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.12;
  background: radial-gradient(circle at 25% 50%, var(--acid), transparent 25%);
}

.core-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) 1.15fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.art-square {
  aspect-ratio: 1;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--line-white);
}

.spec-grid article {
  min-width: 0;
  padding: 20px 16px 4px 0;
  border-right: 1px solid var(--line-white);
}

.spec-grid article + article {
  padding-left: 16px;
}

.spec-grid article:last-child {
  border: 0;
}

.spec-grid span,
.spec-grid h3 {
  font-family: var(--mono);
}

.spec-grid span {
  color: var(--acid);
  font-size: 0.62rem;
}

.spec-grid h3 {
  margin: 14px 0 8px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.spec-grid p {
  margin: 0;
  color: #747b70;
  font-size: 0.78rem;
  line-height: 1.55;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.75fr;
  gap: clamp(40px, 10vw, 150px);
  align-items: end;
  margin-bottom: 48px;
}

.split-heading > p {
  margin-bottom: 2px;
}

.token .art-wide {
  min-height: 390px;
}

.token-console {
  display: grid;
  grid-template-columns: 1.1fr 0.65fr 0.8fr 1fr auto;
  align-items: stretch;
  border: 1px solid var(--line-white);
  border-top: 0;
}

.token-console > div {
  display: grid;
  align-content: center;
  min-height: 88px;
  padding: 16px 20px;
  border-right: 1px solid var(--line-white);
}

.token-console span {
  margin-bottom: 8px;
  color: #777d73;
  font: 0.58rem/1 var(--mono);
  letter-spacing: 0.1em;
}

.token-console strong {
  font: 700 0.76rem/1.2 var(--mono);
  text-transform: uppercase;
}

.token-console .button {
  min-width: 170px;
  border: 0;
  clip-path: none;
}

.roadmap {
  margin-top: clamp(100px, 12vw, 170px);
  padding-bottom: 0;
  background: #e7ebdf;
  color: var(--ink);
}

.roadmap-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 10vw, 150px);
  padding-bottom: 80px;
}

.roadmap .section-copy > p:not(.index) {
  color: #555b51;
}

.roadmap .index {
  color: #5e7900;
}

.roadmap-list {
  border-top: 1px solid rgba(8, 10, 8, 0.22);
}

.roadmap-step {
  display: grid;
  grid-template-columns: 82px 0.65fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(8, 10, 8, 0.22);
  transition: padding 0.25s var(--ease), color 0.25s ease;
}

.roadmap-step:hover {
  padding-left: 12px;
}

.roadmap-step span,
.roadmap-step strong {
  font-family: var(--mono);
}

.roadmap-step span {
  color: #71766d;
  font-size: 0.61rem;
}

.roadmap-step strong {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.roadmap-step p {
  margin: 0;
  color: #555b51;
  font-size: 0.86rem;
}

.roadmap-step.is-active strong {
  color: #5e7900;
}

.roadmap-step.is-active strong::after {
  content: "  [LIVE]";
  font-size: 0.55rem;
}

.art-panorama {
  width: 100%;
  aspect-ratio: 3 / 1;
  min-height: 320px;
  max-height: 540px;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  clip-path: none;
}

.pack {
  padding-bottom: clamp(70px, 8vw, 110px);
}

.pack-image {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--line-white);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}

.pack-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s var(--ease);
}

.pack-image:hover > img {
  transform: scale(1.03);
}

.pack-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 6, 4, 0.96) 0%, rgba(4, 6, 4, 0.76) 38%, rgba(4, 6, 4, 0.06) 72%);
}

.pack-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 540px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 540px;
  padding: clamp(32px, 7vw, 90px);
}

.pack-content p:not(.index) {
  margin: 24px 0 0;
  color: #b8bdb2;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 36px;
  align-items: center;
  padding-block: 30px;
  border-top: 1px solid var(--line-white);
  color: #737a6f;
  font: 0.6rem/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.footer-brand div {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  color: #e6e9e1;
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.site-footer p {
  margin: 0;
}

.site-footer > a {
  color: var(--acid);
}

.toast {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  display: flex;
  min-width: 280px;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  transform: translateY(140%);
  border: 1px solid var(--line);
  opacity: 0;
  background: rgba(10, 13, 10, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  font: 0.7rem/1.4 var(--mono);
  letter-spacing: 0.04em;
  transition: transform 0.35s var(--ease), opacity 0.35s ease;
}

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

.toast p {
  margin: 0;
}

.toast-light {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
}

.reveal {
  transform: translateY(26px);
  opacity: 0;
  transition: transform 0.9s var(--ease), opacity 0.7s ease;
}

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

@keyframes pulse {
  50% { opacity: 0.35; box-shadow: 0 0 2px var(--acid); }
}

@keyframes wave {
  to { height: 95%; }
}

@keyframes scanner {
  0%, 100% { transform: translateX(-16vw); opacity: 0; }
  15%, 85% { opacity: 0.45; }
  50% { transform: translateX(24vw); }
}

@keyframes hero-breathe {
  to { transform: scale(1.025); }
}

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

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }

  .site-header {
    grid-template-columns: 1fr auto;
    height: 72px;
    padding: 0 18px;
  }

  .nav-cta { display: none; }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border: 0;
    color: var(--acid);
    background: none;
    font: 700 0.66rem/1 var(--mono);
    letter-spacing: 0.1em;
  }

  .menu-toggle i,
  .menu-toggle i::before {
    display: block;
    width: 20px;
    height: 1px;
    content: "";
    background: currentColor;
    transition: transform 0.25s ease;
  }

  .menu-toggle i::before { transform: translateY(6px); }

  .menu-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::before { transform: rotate(-90deg); }

  .site-nav {
    position: fixed;
    z-index: -1;
    inset: 0 0 auto;
    display: flex;
    width: 100vw;
    height: 100dvh;
    min-height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 100px 28px 40px;
    transform: translateY(-100%);
    background: rgba(8, 10, 8, 0.98);
    transition: transform 0.5s var(--ease);
  }

  .site-nav.is-open { transform: translateY(0); }

  .site-nav a {
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid var(--line-white);
    font: 900 clamp(1.8rem, 9vw, 3.4rem)/1 var(--display);
    letter-spacing: -0.03em;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-terminal {
    width: min(100%, 460px);
  }

  .origin .section-copy,
  .split-heading,
  .roadmap-layout {
    grid-template-columns: 1fr;
  }

  .origin .section-copy > p:not(.index),
  .micro-data {
    grid-column: auto;
  }

  .core-layout {
    grid-template-columns: minmax(280px, 0.8fr) 1.2fr;
    gap: 36px;
  }

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

  .spec-grid article,
  .spec-grid article + article {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-white);
  }

  .token-console {
    grid-template-columns: repeat(2, 1fr);
  }

  .token-console > div {
    border-bottom: 1px solid var(--line-white);
  }

  .token-console .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  :root { --shell: calc(100% - 28px); }

  .brand-type small { display: none; }

  .hero {
    min-height: auto;
    padding-top: 160px;
  }

  .hero-media::before {
    background:
      linear-gradient(0deg, var(--ink) 0%, rgba(5, 7, 5, 0.7) 52%, rgba(5, 7, 5, 0.15) 100%),
      linear-gradient(90deg, rgba(5, 7, 5, 0.5), transparent);
  }

  .hero-media img {
    object-position: 65% center;
  }

  h1 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
  .chapter h2 { font-size: clamp(2.45rem, 12vw, 3.6rem); }

  .hero-actions,
  .pack-actions {
    display: grid;
  }

  .button { width: 100%; }

  .contract-bar {
    align-items: flex-end;
  }

  .contract-label {
    display: grid;
    gap: 7px;
  }

  .contract-label strong {
    max-width: 190px;
  }

  .copy-button span { display: none; }

  .core-layout {
    grid-template-columns: 1fr;
  }

  .art-square {
    max-height: 520px;
  }

  .art-wide,
  .token .art-wide,
  .art-panorama {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .art-wide img,
  .art-panorama img {
    object-position: 66% center;
  }

  .token-console {
    grid-template-columns: 1fr;
  }

  .token-console > div {
    min-height: 74px;
    border-right: 0;
  }

  .roadmap-step {
    grid-template-columns: 72px 1fr;
  }

  .roadmap-step p {
    grid-column: 2;
  }

  .pack-image,
  .pack-content {
    min-height: 620px;
  }

  .pack-image > img { object-position: 62% center; }

  .pack-overlay {
    background: linear-gradient(0deg, rgba(4, 6, 4, 0.96) 0%, rgba(4, 6, 4, 0.72) 55%, rgba(4, 6, 4, 0.06) 100%);
  }

  .pack-content {
    justify-content: flex-end;
    padding: 28px 24px 42px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .toast {
    right: 14px;
    bottom: 14px;
    left: 14px;
    min-width: 0;
  }
}

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