@font-face {
  font-family: "Onit Display";
  src: local("Arial Black"), local("Arial-BoldMT");
  font-weight: 800 900;
  font-display: swap;
}

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

:root {
  --ink: #f6f7ff;
  --muted: #aeb7de;
  --night: #070a18;
  --panel: #111833;
  --panel-2: #17214a;
  --eth-blue: #6275ff;
  --eth-violet: #9b6dff;
  --eth-glow: #8c8cff;
  --line: rgba(192, 202, 255, 0.22);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 8%, rgba(98, 117, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(155, 109, 255, 0.15), transparent 25rem),
    var(--night);
  font-family: "Onit Mono", ui-monospace, monospace;
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .04;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 10px 12px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(9, 13, 31, .76);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 10;
}

.brand { display: flex; align-items: center; gap: 10px; font-family: "Onit Display", sans-serif; letter-spacing: -.04em; }
.brand img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.brand span { font-size: 1.05rem; }
nav { display: flex; justify-content: center; gap: clamp(16px, 4vw, 42px); }
nav a { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .05em; transition: color .2s ease; }
nav a:hover { color: var(--ink); }

.header-buy, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border-radius: 12px;
  font-family: "Onit Display", sans-serif;
  font-size: .8rem;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.header-buy, .button-primary { color: #111425; background: var(--eth-glow); box-shadow: 0 8px 30px rgba(140,140,255,.24); }
.header-buy:hover, .button:hover { transform: translateY(-2px); }

.ticker {
  width: 100%;
  margin-top: 18px;
  overflow: hidden;
  border-block: 1px solid rgba(140,140,255,.42);
  color: #0b0d19;
  background: var(--eth-glow);
  transform: rotate(-.35deg);
}
.ticker-track {
  width: max-content;
  display: flex;
  animation: ticker 26s linear infinite;
}
.ticker span {
  padding: 8px 0;
  font-family: "Onit Display", sans-serif;
  font-size: .76rem;
  letter-spacing: .06em;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(54px, 8vw, 100px) auto 72px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.eyebrow { color: var(--eth-glow); font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.pulse { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: var(--eth-glow); box-shadow: 0 0 0 0 rgba(140,140,255,.62); animation: pulse 2s infinite; }
h1 {
  margin: 20px 0 22px;
  font-family: "Onit Display", sans-serif;
  font-size: clamp(3rem, 5.5vw, 5.25rem);
  line-height: .92;
  letter-spacing: -.07em;
}
h1 em { color: var(--eth-violet); font-style: normal; text-shadow: 3px 3px 0 rgba(98,117,255,.35); }
.hero-lede { max-width: 36rem; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 14px; }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.button-secondary:hover { background: rgba(255,255,255,.09); }

.ca-card {
  width: min(100%, 590px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  color: var(--ink);
  border: 1px dashed rgba(155,109,255,.7);
  border-radius: 12px;
  background: rgba(98,117,255,.08);
  cursor: pointer;
  text-align: left;
}
.ca-card span { color: var(--eth-violet); font-family: "Onit Display", sans-serif; }
.ca-card code { overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.ca-card strong { color: var(--eth-glow); font-family: "Onit Display", sans-serif; font-size: .72rem; }

.hero-visual {
  margin: 0;
  position: relative;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(98,117,255,.28), rgba(155,109,255,.06));
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}
.hero-visual::before { content: "LIVE RESPONSE FEED"; position: absolute; z-index: 2; top: 22px; left: 22px; padding: 8px 10px; color: #111425; background: var(--eth-glow); border-radius: 7px; font-size: .68rem; font-weight: 900; }
.hero-visual img { min-height: 385px; width: 100%; object-fit: cover; object-position: center; border-radius: 17px; filter: saturate(.94) contrast(1.05); }
.hero-visual figcaption { position: absolute; left: 30px; right: 30px; bottom: -24px; display: grid; grid-template-columns: auto auto auto auto; align-items: center; gap: 9px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 13px; background: #111833; box-shadow: 0 18px 45px rgba(0,0,0,.4); }
.hero-visual figcaption span { color: var(--muted); font-size: .65rem; }
.hero-visual figcaption b { color: var(--eth-glow); font-size: 1.3rem; }

main { overflow: hidden; }

.story-section,
.tokenomics-section,
.contract-section {
  width: min(1120px, calc(100% - 32px));
  margin: clamp(95px, 13vw, 170px) auto;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.story-section-reverse .section-media { order: 2; }
.story-section-reverse .section-copy { order: 1; }

.section-media {
  position: relative;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(98,117,255,.18), rgba(255,255,255,.025));
  box-shadow: var(--shadow);
  overflow: visible;
}
.section-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 15px;
  filter: contrast(1.04) saturate(.93);
  transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .55s ease;
}
.section-media:hover img { transform: scale(1.018); filter: contrast(1.08) saturate(1.04); }
.media-tag {
  position: absolute;
  right: -13px;
  bottom: -15px;
  padding: 10px 13px;
  color: #101324;
  background: var(--eth-glow);
  border: 2px solid #101324;
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--eth-violet);
  font-family: "Onit Display", sans-serif;
  font-size: .7rem;
  letter-spacing: .05em;
  transform: rotate(-2deg);
}
.story-section-reverse .media-tag { right: auto; left: -13px; transform: rotate(2deg); }

.section-kicker {
  margin: 0 0 18px;
  color: var(--eth-violet);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
}
h2 {
  margin: 0 0 24px;
  font-family: "Onit Display", sans-serif;
  font-size: clamp(2.3rem, 4.6vw, 4.4rem);
  line-height: .95;
  letter-spacing: -.065em;
}
.section-copy > p:not(.section-kicker, .fine-print, .asterisk),
.tokenomics-copy > p:not(.section-kicker, .fine-print),
.contract-copy > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}
blockquote {
  width: fit-content;
  margin: 25px 0 12px;
  padding: 12px 18px;
  color: #111425;
  background: var(--ink);
  border-radius: 16px 16px 16px 3px;
  font-family: "Onit Display", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-style: normal;
  transform: rotate(-1deg);
  box-shadow: 7px 7px 0 var(--eth-blue);
}
.fine-print, .asterisk { color: var(--muted); font-size: .75rem; line-height: 1.6; }
.text-link { display: inline-flex; gap: 9px; align-items: center; margin-top: 25px; color: var(--eth-glow); font-family: "Onit Display", sans-serif; font-size: .78rem; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -3px); }

.bot-console {
  margin-top: 28px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0c1127;
  box-shadow: inset 0 0 35px rgba(98,117,255,.08);
}
.console-log { min-height: 116px; padding: 10px 12px; }
.console-log p { margin: 8px 0; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.console-log p span { display: inline-block; min-width: 52px; color: var(--eth-violet); font-weight: 900; }
.console-log .bot-line { color: var(--ink); }
.console-log .bot-line span { color: var(--eth-glow); }
.console-log .is-typing { animation: flicker .25s steps(2) infinite; }
.console-controls { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.console-controls input {
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: rgba(255,255,255,.035);
  font: inherit;
}
.console-controls input:focus { border-color: var(--eth-blue); box-shadow: 0 0 0 3px rgba(98,117,255,.12); }
.console-controls button {
  padding: 0 18px;
  color: #111425;
  border: 0;
  border-radius: 10px;
  background: var(--eth-glow);
  font-family: "Onit Display", sans-serif;
  cursor: pointer;
}
.console-controls button:disabled { opacity: .5; cursor: wait; }

.queue-section {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(110px, 14vw, 185px) auto;
  padding: clamp(26px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 15% 85%, rgba(155,109,255,.19), transparent 34%),
    linear-gradient(145deg, #111833, #0b1025);
  box-shadow: var(--shadow);
}
.queue-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; margin-bottom: 42px; }
.queue-head h2 { margin-bottom: 0; }
.queue-head > p { color: var(--muted); line-height: 1.75; }
.queue-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: stretch; }
.queue-media { min-height: 100%; }
.queue-media img { height: 100%; }
.protocol-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.protocol-list li { display: grid; grid-template-columns: auto 1fr; gap: 17px; padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.03); }
.protocol-number { color: var(--eth-violet); font-family: "Onit Display", sans-serif; font-size: 1.4rem; }
.protocol-list strong { font-family: "Onit Display", sans-serif; font-size: .9rem; }
.protocol-list p { margin: 7px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.protocol-list .glitch-row { border-color: rgba(140,140,255,.5); transform: rotate(.6deg); }
.glitch-row .protocol-number, .glitch-row strong { color: var(--eth-glow); }

.tokenomics-section { grid-template-columns: .95fr 1.05fr; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 28px 0 14px; }
.metric-grid div { min-height: 114px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.035); }
.metric-grid div:nth-child(2), .metric-grid div:nth-child(3) { background: rgba(98,117,255,.1); }
.metric-grid b { color: var(--eth-glow); font-family: "Onit Display", sans-serif; font-size: 2rem; letter-spacing: -.06em; }
.metric-grid span { color: var(--muted); font-size: .67rem; }
.tokenomics-media { transform: rotate(1deg); }

.contract-section {
  grid-template-columns: .72fr 1.28fr;
  padding: clamp(30px, 6vw, 68px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(98,117,255,.075);
}
.contract-art { position: relative; display: grid; place-items: center; min-height: 330px; }
.contract-art::before, .contract-art::after { content: ""; position: absolute; border: 1px dashed rgba(155,109,255,.45); border-radius: 50%; animation: spin 18s linear infinite; }
.contract-art::before { width: 290px; height: 290px; }
.contract-art::after { width: 230px; height: 230px; animation-direction: reverse; animation-duration: 12s; }
.contract-art img { width: min(230px, 74%); aspect-ratio: 1; border-radius: 50%; object-fit: cover; position: relative; z-index: 1; box-shadow: 0 0 80px rgba(98,117,255,.3); }
.orbit-label { position: absolute; z-index: 2; padding: 7px 10px; color: #111425; border-radius: 7px; background: var(--ink); font-family: "Onit Display", sans-serif; font-size: .63rem; }
.orbit-one { top: 12%; right: 5%; transform: rotate(4deg); }
.orbit-two { left: 0; top: 48%; color: #111425; background: var(--eth-glow); transform: rotate(-5deg); }
.orbit-three { bottom: 10%; right: 8%; color: white; background: var(--eth-violet); transform: rotate(3deg); }
.contract-bar {
  width: 100%;
  margin-top: 27px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 15px;
  align-items: center;
  padding: 16px;
  color: var(--ink);
  border: 1px dashed rgba(140,140,255,.6);
  border-radius: 12px;
  background: #0b1025;
  text-align: left;
  cursor: pointer;
}
.contract-bar span { color: var(--eth-violet); font-size: .68rem; font-weight: 900; }
.contract-bar code { overflow: hidden; color: var(--muted); text-overflow: ellipsis; }
.contract-bar strong { color: var(--eth-glow); font-family: "Onit Display", sans-serif; font-size: .7rem; }
.mini-actions { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 18px; }
.mini-actions a { color: var(--muted); font-family: "Onit Display", sans-serif; font-size: .72rem; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.mini-actions a:hover { color: var(--ink); }

.final-section {
  width: min(1180px, calc(100% - 32px));
  min-height: 590px;
  margin: clamp(110px, 14vw, 190px) auto 80px;
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.final-section > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,10,24,.96) 0%, rgba(7,10,24,.78) 44%, rgba(7,10,24,.1) 77%), linear-gradient(0deg, rgba(7,10,24,.55), transparent 50%); }
.final-copy { position: relative; z-index: 1; width: min(540px, 100%); padding: clamp(28px, 7vw, 82px); }
.final-copy h2 { font-size: clamp(3.4rem, 8vw, 7rem); margin-bottom: 20px; }
.final-copy h2 em { color: var(--eth-glow); font-style: normal; }
.final-copy > p:not(.section-kicker) { color: var(--muted); line-height: 1.7; }

footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
footer > p { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: .68rem; line-height: 1.6; text-align: center; }
footer > div { display: flex; gap: 16px; }
footer > div a { color: var(--muted); font-family: "Onit Display", sans-serif; font-size: .67rem; }
footer > div a:hover { color: var(--ink); }

.toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 24px;
  padding: 13px 18px;
  color: #101324;
  border-radius: 9px;
  background: var(--eth-glow);
  box-shadow: 0 18px 50px rgba(0,0,0,.4);
  font-family: "Onit Display", sans-serif;
  font-size: .72rem;
  transform: translate(-50%, 150%);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

.reveal { transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.js .reveal { opacity: 0; transform: translateY(30px); }
.js .reveal.is-revealed { opacity: 1; transform: translateY(0); }

@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(140,140,255,0); } 100% { box-shadow: 0 0 0 0 rgba(140,140,255,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flicker { 50% { opacity: .45; } }

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; margin-top: 58px; }
  .hero-copy { text-align: center; }
  .hero-lede, .ca-card { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { transform: none; }
  .story-section, .tokenomics-section, .contract-section { grid-template-columns: 1fr; }
  .story-section-reverse .section-media, .story-section-reverse .section-copy { order: initial; }
  .queue-head, .queue-grid { grid-template-columns: 1fr; }
  .queue-head { gap: 12px; }
  .tokenomics-media { transform: none; }
  .contract-art { min-height: 300px; }
  footer { grid-template-columns: 1fr; justify-items: center; }
}

@media (max-width: 560px) {
  .site-header { width: min(100% - 20px, 1180px); margin-top: 10px; }
  .brand span { display: none; }
  .header-buy { min-height: 42px; padding: 0 14px; }
  .hero { width: min(100% - 24px, 1180px); margin-top: 44px; }
  h1 { font-size: clamp(2.55rem, 13vw, 3.6rem); }
  .button { flex: 1 1 145px; }
  .hero-visual img { min-height: 300px; }
  .hero-visual figcaption { left: 15px; right: 15px; grid-template-columns: 1fr auto; }
  .ca-card { grid-template-columns: auto minmax(0, 1fr) auto; }
  .story-section, .tokenomics-section, .contract-section, .queue-section, .final-section { width: min(100% - 24px, 1180px); }
  .story-section, .tokenomics-section, .contract-section { margin-block: 96px; gap: 34px; }
  .story-section .section-copy, .tokenomics-copy, .contract-copy { text-align: left; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid div { min-height: 98px; padding: 14px; }
  .metric-grid b { font-size: 1.55rem; }
  .queue-section { padding: 22px 16px; border-radius: 20px; }
  .protocol-list li { padding: 17px 14px; }
  .contract-section { padding: 28px 17px; }
  .contract-art::before { width: 260px; height: 260px; }
  .contract-art::after { width: 205px; height: 205px; }
  .contract-bar { grid-template-columns: 1fr auto; }
  .contract-bar span { grid-column: 1 / -1; }
  .console-controls { grid-template-columns: 1fr; }
  .console-controls button { height: 44px; }
  .final-section { min-height: 630px; align-items: end; }
  .final-section > img { object-position: 68% center; }
  .final-overlay { background: linear-gradient(0deg, rgba(7,10,24,.98) 0%, rgba(7,10,24,.82) 45%, rgba(7,10,24,.1) 78%); }
  .final-copy { padding: 26px 22px; }
  .final-copy h2 { font-size: clamp(3.25rem, 19vw, 5rem); }
  footer > div { flex-wrap: wrap; justify-content: center; }
}

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