:root {
  --bg: #030303;
  --bg-deep: #000000;
  --surface: #0c0c0c;
  --surface-2: #141414;
  --text: #f4f4f4;
  --muted: #8d8d8d;
  --gold: #d4af37;
  --gold-soft: #c9a84c;
  --gold-bright: #f0d77a;
  --yellow: #f0b90b;
  --border: rgba(212, 175, 55, 0.22);
  --glow: rgba(212, 175, 55, 0.45);
  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-sans: "Space Grotesk", system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --nav-h: 4.5rem;
  --wrap: min(1180px, calc(100% - 2.5rem));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
  color-scheme: dark;
}

html.is-touch,
html.is-touch * {
  cursor: auto !important;
}

html:not(.is-touch):not(.reduce-motion),
html:not(.is-touch):not(.reduce-motion) body,
html:not(.is-touch):not(.reduce-motion) a,
html:not(.is-touch):not(.reduce-motion) button {
  cursor: none;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

code {
  font-family: var(--font-mono);
}

::selection {
  background: var(--gold);
  color: #000;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10000;
  background: var(--gold);
  color: #000;
  padding: 0.7rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

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

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.display {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.6vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.display--center {
  text-align: center;
  margin-bottom: 4rem;
}

/* Background */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg__grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
  animation: gridMove 48s linear infinite;
}

.bg__glow {
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 185, 11, 0.14), transparent 62%);
  transform: translate3d(-50%, -50%, 0);
  top: 0;
  left: 0;
  opacity: 0.7;
  will-change: transform;
}

.bg__lines span {
  position: absolute;
  height: 1px;
  width: 42%;
  left: -20%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55), transparent);
  animation: dataLine 14s linear infinite;
  opacity: 0.45;
}

.bg__lines span:nth-child(1) { top: 22%; animation-duration: 16s; }
.bg__lines span:nth-child(2) { top: 58%; animation-duration: 21s; animation-delay: -7s; width: 55%; }
.bg__lines span:nth-child(3) { top: 81%; animation-duration: 18s; animation-delay: -3s; }

.bg__particles span,
.bg__symbols span {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.35;
  animation: floatY 9s ease-in-out infinite;
}

.bg__symbols span {
  background: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  opacity: 0.18;
  animation: floatY 12s ease-in-out infinite;
}

@keyframes gridMove {
  to { background-position: 72px 72px; }
}

@keyframes dataLine {
  to { transform: translateX(160%); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

/* Cursor */
.cursor {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
}

html:not(.is-touch):not(.reduce-motion) .cursor.is-on {
  display: block;
  opacity: 1;
}

.cursor__dot,
.cursor__ring {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform, width, height;
}

.cursor__dot {
  width: 7px;
  height: 7px;
  background: var(--gold-bright);
}

.cursor__ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s;
}

.cursor.is-hover .cursor__ring {
  width: 64px;
  height: 64px;
  border-color: var(--gold);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 80;
  background: transparent;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--yellow));
  box-shadow: 0 0 12px var(--glow);
  transform-origin: left;
}

/* Intro */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
  animation: introOut 0.7s 2.4s var(--ease) forwards;
}

.intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__inner {
  text-align: center;
}

.intro__kicker,
.intro__sub {
  display: block;
  font-family: var(--font-mono);
  letter-spacing: 0.32em;
  font-size: 0.68rem;
  color: var(--gold);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards;
}

.intro__sub {
  animation-delay: 0.7s;
  color: var(--muted);
  margin-top: 1rem;
}

.intro__mark {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 6rem);
  letter-spacing: 0.08em;
  opacity: 0;
  animation: fadeUp 0.9s 0.15s var(--ease) forwards;
}

.intro__line {
  display: block;
  height: 1px;
  width: 0;
  margin: 1.1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), var(--yellow), transparent);
  animation: lineGrow 0.9s 0.35s var(--ease) forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes lineGrow {
  to { width: min(280px, 60vw); }
}

@keyframes introOut {
  to { opacity: 0; visibility: hidden; }
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(5, 5, 5, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}

.nav__bar {
  width: min(1280px, calc(100% - 1.6rem));
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.92rem;
  z-index: 2;
}

.nav__brand img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav__links > a:not(.btn) {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
}

.nav__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__links > a:not(.btn):hover::after,
.nav__links > a:not(.btn):focus-visible::after {
  transform: scaleX(1);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 2;
}

.nav__toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }

.nav.is-open .nav__toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav.is-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav__toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
}

.btn--gold {
  background: linear-gradient(180deg, #f0d77a, var(--gold) 46%, #a8871e);
  color: #111;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 8px 28px rgba(212, 175, 55, 0.28);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  box-shadow: 0 0 32px rgba(240, 185, 11, 0.45);
}

.btn--ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.2);
}

.btn--nav {
  background: var(--gold);
  color: #111;
  min-height: 42px;
  padding-inline: 1.1rem;
}

.btn--copy {
  min-height: 40px;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
  font-size: 0.7rem;
}

.btn--copy.is-copied {
  color: #111;
  background: var(--yellow);
  border-color: var(--yellow);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__visual {
  position: absolute;
  inset: -6%;
  z-index: 0;
  will-change: transform;
}

.hero__banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  animation: kenBurns 28s ease-in-out alternate infinite;
  transform-origin: 60% 45%;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.5) 46%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 32%, rgba(0, 0, 0, 0.78) 100%);
}

.hero__scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 40%, rgba(212, 175, 55, 0.08) 50%, transparent 60%);
  animation: scan 7s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero__x {
  position: absolute;
  right: 6%;
  top: 22%;
  width: min(280px, 32vw);
  opacity: 0.18;
  z-index: 2;
  animation: xPulse 6s ease-in-out infinite;
}

.hero__x path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 6;
}

.hero__chart {
  position: absolute;
  right: 4%;
  bottom: 14%;
  width: min(420px, 46vw);
  z-index: 2;
  opacity: 0.55;
}

.hero__chart polyline {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-dasharray: 640;
  stroke-dashoffset: 640;
  animation: drawLine 3.2s 0.8s var(--ease) forwards;
  filter: drop-shadow(0 0 8px rgba(240, 185, 11, 0.6));
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) 0 4.5rem;
  display: grid;
  gap: 3rem;
}

.hero__copy {
  will-change: transform;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  border: 1px solid var(--border);
  padding: 0.4rem 0.7rem;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.35);
}

.chip--yellow {
  color: #111;
  background: var(--yellow);
  border-color: var(--yellow);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8.4vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.hero__line {
  display: block;
  overflow: hidden;
}

.hero__line span {
  display: block;
  animation: titleReveal 1.1s 0.2s var(--ease) both;
}

.hero__line:nth-child(2) span {
  animation-delay: 0.38s;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.92);
}

.hero__sub {
  max-width: 34rem;
  margin: 1.4rem 0 1.8rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-family: var(--font-sans);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero__status {
  justify-self: start;
}

.status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(10px);
  padding: 0.85rem 1rem 0.85rem 2.1rem;
  position: relative;
}

.status__live {
  position: absolute;
  left: 0.9rem;
  top: 1.05rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dff8a;
  box-shadow: 0 0 10px #3dff8a;
  animation: live 1.6s ease-in-out infinite;
}

.status p + p {
  margin-top: 0.25rem;
}

.flicker {
  color: var(--gold);
  animation: flicker 4.5s steps(2, end) infinite;
}

@keyframes kenBurns {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}

@keyframes scan {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

@keyframes xPulse {
  0%, 100% { opacity: 0.12; transform: rotate(0deg); }
  50% { opacity: 0.28; transform: rotate(2deg); }
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes titleReveal {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes live {
  50% { opacity: 0.35; }
}

@keyframes flicker {
  0%, 19%, 21%, 100% { opacity: 1; }
  20% { opacity: 0.35; }
}

/* Ticker */
.ticker {
  position: relative;
  z-index: 4;
  border-block: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.72);
  overflow: hidden;
  padding: 0.85rem 0;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker__group {
  display: flex;
  gap: 2.4rem;
  padding-right: 2.4rem;
  font-family: var(--font-mono);
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--gold);
  white-space: nowrap;
}

.ticker__group span::before {
  content: "◆";
  margin-right: 2.4rem;
  color: var(--yellow);
  font-size: 0.55rem;
}

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

/* About */
.about,
.narrative,
.token,
.trade,
.community,
.manifesto {
  position: relative;
  z-index: 2;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about__visual {
  position: relative;
  display: grid;
  place-items: center;
  will-change: transform;
}

.about__orb {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 185, 11, 0.28), transparent 68%);
  filter: blur(18px);
  animation: orb 6s ease-in-out infinite;
}

.about__logo {
  width: min(420px, 100%);
  position: relative;
  animation: logoFloat 5.5s ease-in-out infinite;
  filter: drop-shadow(0 20px 50px rgba(212, 175, 55, 0.25));
  will-change: transform;
}

.about__body {
  margin-top: 1.5rem;
  color: var(--muted);
  max-width: 38rem;
  font-size: 1.05rem;
}

.about__body p + p {
  margin-top: 1rem;
}

.about__punch {
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 600;
}

.about__idea {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  color: var(--gold-bright);
}

@keyframes orb {
  50% { transform: scale(1.12); opacity: 0.75; }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Narrative */
.narrative__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.narrative__line {
  display: none;
}

.narrative__card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  padding: 2rem 1.5rem 1.7rem;
  backdrop-filter: blur(12px);
  transform-style: preserve-3d;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.narrative__card::before,
.narrative__card::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--gold);
}

.narrative__card::before {
  top: 8px;
  left: 8px;
  border-right: 0;
  border-bottom: 0;
}

.narrative__card::after {
  right: 8px;
  bottom: 8px;
  border-left: 0;
  border-top: 0;
}

.narrative__card:hover {
  border-color: rgba(240, 185, 11, 0.55);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.12);
}

.narrative__index {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.narrative__card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 1.1rem 0 0.7rem;
  letter-spacing: 0.04em;
}

.narrative__card p {
  color: var(--muted);
}

@media (min-width: 960px) {
  .narrative__line {
    display: block;
    position: absolute;
    top: 22px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--yellow), var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s var(--ease);
  }

  .narrative__track.is-in .narrative__line {
    transform: scaleX(1);
  }
}

/* Statement */
.statement {
  position: relative;
  z-index: 2;
  min-height: auto;
  padding: 6rem 1.25rem;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08), transparent 55%),
    linear-gradient(#000, #050505);
}

.statement__sticky {
  display: grid;
  place-content: center;
  gap: 0.4rem;
  min-height: 70vh;
}

.statement__q,
.statement__a,
.statement__ticker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.statement__q {
  font-size: clamp(2.4rem, 9vw, 8rem);
  color: rgba(255, 255, 255, 0.92);
}

.statement__a {
  font-size: clamp(1.2rem, 3.8vw, 2.6rem);
  color: var(--gold);
  margin-top: 1.4rem;
}

.statement__ticker {
  font-size: clamp(2.8rem, 10vw, 8.5rem);
  color: var(--yellow);
  text-shadow: 0 0 40px rgba(240, 185, 11, 0.35);
}

@media (min-width: 900px) {
  .statement {
    min-height: 240vh;
    padding: 0;
  }

  .statement__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 100vh;
  }

  .statement [data-phase] {
    opacity: 0.18;
    transform: translateY(18px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), filter 0.5s;
  }

  .statement.is-p0 [data-phase="0"],
  .statement.is-p1 [data-phase="1"],
  .statement.is-p2 [data-phase="2"] {
    opacity: 1;
    transform: none;
  }

  .statement.is-p1 [data-phase="0"] {
    opacity: 0.22;
    filter: blur(1px);
  }

  .statement.is-p2 [data-phase="0"] {
    opacity: 0.08;
  }

  .statement.is-p2 [data-phase="1"] {
    opacity: 0.7;
  }
}

/* Token */
.terminal {
  margin-top: 2rem;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
    var(--surface);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  position: relative;
  overflow: hidden;
}

.terminal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(255, 255, 255, 0.015) 2px 4px
  );
  animation: scanlines 8s linear infinite;
}

.terminal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.terminal__dots {
  display: flex;
  gap: 0.35rem;
}

.terminal__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a3a3a;
}

.terminal__dots i:nth-child(1) { background: #ff5f57; }
.terminal__dots i:nth-child(2) { background: #febc2e; }
.terminal__dots i:nth-child(3) { background: #28c840; }

.terminal__pulse {
  color: #3dff8a;
}

.terminal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.terminal__grid > div {
  padding: 1.4rem 1.3rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.terminal__grid > div:nth-child(odd) {
  border-right: 1px solid rgba(212, 175, 55, 0.12);
}

.terminal__grid dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.terminal__grid dd {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 600;
}

.terminal__contract {
  grid-column: 1 / -1;
  border-right: 0 !important;
}

.terminal__contract dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.terminal__contract code {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: #fff;
  word-break: break-all;
}

@keyframes scanlines {
  to { background-position: 0 8px; }
}

/* Trade */
.trade__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}

.trade__card {
  position: relative;
  min-height: 240px;
  padding: 2rem;
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, rgba(240, 185, 11, 0.12), rgba(12, 12, 12, 0.9) 42%),
    var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.trade__card--ghost {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(12, 12, 12, 0.92) 48%),
    var(--surface);
}

.trade__card:hover,
.trade__card:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.16);
}

.trade__kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: auto;
}

.trade__card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
}

.trade__card p {
  color: var(--muted);
  margin-top: 0.4rem;
}

.trade__arrow {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}

.trade__card:hover .trade__arrow {
  transform: translate(4px, -4px);
}

/* Community */
.community__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.community__handle {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--gold-bright);
  margin: 1.2rem 0 1.6rem;
}

.feed {
  border: 1px solid var(--border);
  background: rgba(8, 8, 8, 0.85);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.feed__bar {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.feed__live {
  color: #3dff8a;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.feed__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dff8a;
  box-shadow: 0 0 8px #3dff8a;
  animation: live 1.6s ease-in-out infinite;
}

.feed__body {
  padding: 1.2rem 1rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #cfcfcf;
}

.feed__line {
  margin-bottom: 0.7rem;
  opacity: 0;
  transform: translateY(8px);
}

.feed.is-in .feed__line {
  animation: fadeUp 0.6s var(--ease) forwards;
}

.feed.is-in .feed__line:nth-child(1) { animation-delay: 0.05s; }
.feed.is-in .feed__line:nth-child(2) { animation-delay: 0.18s; }
.feed.is-in .feed__line:nth-child(3) { animation-delay: 0.31s; }
.feed.is-in .feed__line:nth-child(4) { animation-delay: 0.44s; }
.feed.is-in .feed__line:nth-child(5) { animation-delay: 0.57s; }
.feed.is-in .feed__line:nth-child(6) { animation-delay: 0.7s; }

.feed__line span {
  color: var(--gold);
  margin-right: 0.45rem;
}

.feed__line--cursor b {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--yellow);
  vertical-align: text-bottom;
  animation: live 1s steps(1) infinite;
}

/* Manifesto */
.manifesto {
  background:
    radial-gradient(ellipse at top, rgba(212, 175, 55, 0.07), transparent 50%),
    var(--bg);
}

.manifesto__inner {
  text-align: center;
}

.manifesto-line {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.manifesto-line--gap {
  margin-top: 1.8rem;
}

.manifesto-line--gold {
  margin-top: 2.2rem;
  color: var(--yellow);
  text-shadow: 0 0 34px rgba(240, 185, 11, 0.35);
}

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2.2rem;
  background: #000;
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.footer__brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.footer__brand p:first-child {
  color: #fff;
  font-family: var(--font-sans);
  letter-spacing: 0.2em;
}

.footer__links {
  display: flex;
  gap: 1.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--gold);
}

.footer__disclaimer {
  margin-top: 2rem;
  color: #9a9a9a;
  font-size: 0.82rem;
  max-width: 58rem;
  line-height: 1.7;
}

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.manifesto-line.reveal {
  transition-delay: 0s;
}

.manifesto-line.reveal:nth-child(1) { transition-delay: 0.02s; }
.manifesto-line.reveal:nth-child(2) { transition-delay: 0.08s; }
.manifesto-line.reveal:nth-child(3) { transition-delay: 0.14s; }
.manifesto-line.reveal:nth-child(4) { transition-delay: 0.2s; }
.manifesto-line.reveal:nth-child(5) { transition-delay: 0.26s; }
.manifesto-line.reveal:nth-child(6) { transition-delay: 0.32s; }
.manifesto-line.reveal:nth-child(7) { transition-delay: 0.38s; }
.manifesto-line.reveal:nth-child(8) { transition-delay: 0.44s; }

/* Responsive */
@media (max-width: 960px) {
  .about__grid,
  .community__grid,
  .trade__grid,
  .narrative__track,
  .terminal__grid {
    grid-template-columns: 1fr;
  }

  .terminal__grid > div:nth-child(odd) {
    border-right: 0;
  }

  .hero__line:nth-child(2) span {
    color: #fff;
    -webkit-text-stroke: 0;
  }

  .hero__chart,
  .hero__x {
    opacity: 0.2;
    width: min(240px, 70vw);
    right: -4%;
  }

  .hero__veil {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.88) 100%);
  }

  .display--center {
    margin-bottom: 2.2rem;
  }
}

@media (max-width: 860px) {
  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    font-size: 1.6rem;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.45s var(--ease), visibility 0.45s;
  }

  .nav.is-open .nav__links {
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__links > a:not(.btn)::after {
    display: none;
  }

  .btn--nav {
    min-height: 52px;
    font-size: 1rem;
    padding-inline: 1.6rem;
  }
}

@media (max-width: 600px) {
  :root {
    --wrap: min(1180px, calc(100% - 1.4rem));
  }

  .hero {
    min-height: 100svh;
  }

  .hero__inner {
    padding-bottom: 3rem;
  }

  .hero__actions,
  .trade__card,
  .btn {
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .ticker__group {
    font-size: 0.68rem;
    gap: 1.6rem;
    padding-right: 1.6rem;
  }

  .about__logo {
    width: min(280px, 78vw);
  }

  .footer__brand {
    width: 100%;
  }
}

@media (min-width: 1600px) {
  .hero__inner,
  .nav__bar {
    width: min(1400px, calc(100% - 4rem));
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .feed__line,
  .intro,
  .statement [data-phase] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    filter: none !important;
  }

  .hero__banner {
    transform: none !important;
  }

  .cursor,
  .intro {
    display: none !important;
  }

  .ticker__track {
    animation: none !important;
  }
}
