/* ==========================================================================
   X Accelerationism — $x/acc
   ========================================================================== */

:root {
  --bg: #02030a;
  --bg-2: #050817;
  --bg-3: #081026;
  --ink: #eef5ff;
  --ink-2: #c3cfe8;
  --muted: #8994b4;
  --dim: #4c5779;
  --line: rgba(120, 160, 255, 0.14);
  --line-2: rgba(120, 170, 255, 0.28);

  --cyan: #3be8ff;
  --cyan-2: #8ff4ff;
  --blue: #2f6bff;
  --violet: #8b5cff;
  --violet-2: #c7b4ff;

  --grad-energy: linear-gradient(96deg, #ffffff 0%, #b5f7ff 22%, var(--cyan) 48%, #4b86ff 78%, var(--violet) 100%);

  --font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --gutter: clamp(1.1rem, 4vw, 3rem);
  --max: 1320px;
  --header-h: 76px;
  --radius: 14px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, h1, h2, h3, ol, ul, figure { margin: 0; }
button { font: inherit; color: inherit; }
code { font-family: var(--font-mono); }

::selection { background: rgba(59, 232, 255, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--cyan);
  color: #01040d;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

/* ---------- Shared type ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker::after {
  content: "";
  width: 56px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.kicker__num { color: var(--cyan); }

.section-title {
  margin-top: 1.1rem;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.text-energy {
  background: var(--grad-energy);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow__sep { color: var(--dim); }

.status-dot {
  position: relative;
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.status-dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  animation: ping 2.4s var(--ease-out) infinite;
}
.status-dot--armed { background: var(--violet-2); box-shadow: 0 0 10px var(--violet); }
.status-dot--armed::after { border-color: var(--violet-2); }

@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s, background-color 0.3s, color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: "";
  position: absolute;
  top: -20%; bottom: -20%;
  left: 0;
  width: 55%;
  z-index: -1;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.55) 55%, transparent 100%);
  transform: translateX(-160%) skewX(-22deg);
  pointer-events: none;
}
.btn:hover::after,
.btn:focus-visible::after { animation: sweep 0.85s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

@keyframes sweep {
  from { transform: translateX(-160%) skewX(-22deg); }
  to { transform: translateX(260%) skewX(-22deg); }
}

.btn__icon {
  width: 18px; height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn__icon--fill { fill: currentColor; stroke: none; }

.btn--primary {
  color: #01040d;
  background: linear-gradient(100deg, #b9f8ff 0%, var(--cyan) 38%, #3f8cff 100%);
  box-shadow: 0 0 0 1px rgba(143, 244, 255, 0.55) inset, 0 12px 38px -12px rgba(59, 232, 255, 0.7);
}
.btn--primary::after { background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.75) 50%, transparent 100%); }
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8) inset, 0 16px 48px -10px rgba(59, 232, 255, 0.9); }

.btn--ghost {
  color: var(--ink);
  background: rgba(8, 14, 34, 0.55);
  border-color: var(--line-2);
}
.btn--ghost::after { background: linear-gradient(100deg, transparent 0%, rgba(59, 232, 255, 0.28) 50%, transparent 100%); }
.btn--ghost:hover { border-color: rgba(59, 232, 255, 0.7); box-shadow: 0 0 24px -6px rgba(59, 232, 255, 0.45); }

.btn--lg { min-height: 54px; padding: 0 1.6rem; font-size: 0.96rem; }
.btn--icon-only { width: 54px; padding: 0; }
.btn--header { min-height: 42px; padding: 0 1.3rem; font-size: 0.86rem; letter-spacing: 0.14em; }

.btn--copy {
  min-height: 44px;
  padding: 0 1rem;
  color: var(--cyan-2);
  background: rgba(59, 232, 255, 0.08);
  border-color: rgba(59, 232, 255, 0.4);
  font-size: 0.8rem;
}
.btn--copy::after { background: linear-gradient(100deg, transparent 0%, rgba(59, 232, 255, 0.35) 50%, transparent 100%); }
.btn--copy.is-copied,
.ca-chip__btn.is-copied { color: #01040d; background: var(--cyan); border-color: var(--cyan); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 12px clamp(10px, 2vw, 20px);
  pointer-events: none;
}

.site-header__inner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1400px;
  height: 60px;
  margin-inline: auto;
  padding: 0 8px 0 10px;
  pointer-events: auto;
}
.site-header__inner::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -2;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(3, 5, 14, 0);
  transition: background-color 0.4s, border-color 0.4s;
}
.site-header.is-scrolled .site-header__inner::before {
  background: rgba(3, 5, 14, 0.72);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-right: auto;
  border-radius: 10px;
}
.brand__mark {
  position: relative;
  width: 42px; height: 42px;
  flex: none;
  border-radius: 10px;
}
.brand__mark img {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 10px;
  object-fit: cover;
  z-index: 1;
}
.brand__mark::before {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 12px;
  box-shadow: 0 0 18px 2px rgba(59, 232, 255, 0.6), 0 0 36px 4px rgba(47, 107, 255, 0.35);
  opacity: 0.35;
  animation: logoGlow 4.8s ease-in-out infinite;
}
@keyframes logoGlow {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.75; }
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; }
.brand__ticker { font-family: var(--font-mono); font-size: 0.74rem; color: var(--cyan); letter-spacing: 0.04em; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  border-radius: 6px;
  transition: color 0.25s;
}
.nav__num { display: none; color: var(--cyan); font-size: 0.7rem; }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), #fff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { transform: scaleX(1); }
.nav__meta { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(8, 14, 34, 0.6);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 18px; height: 10px; }
.nav-toggle__bars span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}
.nav-toggle__bars span:first-child { top: 0; }
.nav-toggle__bars span:last-child { top: 8px; width: 70%; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { top: 4px; width: 100%; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background:
      radial-gradient(120% 60% at 100% 0%, rgba(47, 107, 255, 0.18), transparent 60%),
      rgba(2, 3, 10, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), visibility 0s linear 0.35s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s var(--ease-out), visibility 0s;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__link {
    width: 100%;
    min-height: 68px;
    padding: 0 0.25rem;
    gap: 1.1rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--ink);
    transform: translateX(-24px);
    opacity: 0;
    transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out), color 0.25s;
  }
  .nav.is-open .nav__link { transform: none; opacity: 1; }
  .nav.is-open li:nth-child(2) .nav__link { transition-delay: 0.05s; }
  .nav.is-open li:nth-child(3) .nav__link { transition-delay: 0.1s; }
  .nav.is-open li:nth-child(4) .nav__link { transition-delay: 0.15s; }
  .nav__link::after { display: none; }
  .nav__num { display: inline; font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.1em; }
  .nav__meta {
    display: block;
    margin-top: 2rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
  }
}

@media (max-width: 420px) {
  .brand__name { font-size: 0.86rem; }
  .brand__mark { width: 36px; height: 36px; }
  .btn--header { padding: 0 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 110px;
  overflow: hidden;
  isolation: isolate;
  --mx: 0;
  --my: 0;
  --scroll: 0;
}

.hero__bg { position: absolute; inset: 0; z-index: -2; }

.hero__banner {
  position: absolute;
  inset: -8% -6%;
  transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -10px + var(--scroll) * 0.28px), 0) scale(1.04);
  will-change: transform;
}
.hero__banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
  opacity: 0.4;
}

.velocity {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 3, 10, 0.94) 0%, rgba(2, 3, 10, 0.72) 34%, rgba(2, 3, 10, 0.1) 62%, rgba(2, 3, 10, 0.3) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(2, 3, 10, 0) 32%),
    linear-gradient(180deg, rgba(2, 3, 10, 0.75) 0%, rgba(2, 3, 10, 0) 22%);
}

.hero__horizon {
  position: absolute;
  left: 0; right: 0; bottom: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(59, 232, 255, 0.0) 20%, rgba(59, 232, 255, 0.5) 60%, rgba(255, 255, 255, 0.8) 78%, transparent 100%);
  transform: rotate(-8deg) translateY(calc(var(--scroll) * 0.12px));
  transform-origin: 70% 50%;
  opacity: 0.55;
}

.hero__figure {
  position: absolute;
  z-index: -1;
  right: max(1.5vw, calc((100vw - 1800px) / 2));
  top: 50%;
  width: min(60vw, 1080px);
  aspect-ratio: 3 / 2;
  margin-top: calc(min(60vw, 1080px) / -3);
  pointer-events: none;
  transform: translate3d(calc(var(--mx) * 22px), calc(var(--my) * 14px + var(--scroll) * -0.12px), 0) rotate(calc(var(--mx) * 1.2deg));
  will-change: transform;
}
.hero__figure-arrive {
  position: relative;
  width: 100%; height: 100%;
  animation: arrive 1.8s var(--ease-out) both 0.15s;
}
.hero__figure-glow {
  position: absolute;
  inset: 12% 8% 12% 30%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(59, 232, 255, 0.28), rgba(47, 107, 255, 0.12) 55%, transparent 100%);
  animation: glowBreath 6s ease-in-out infinite;
}
.hero__char {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: drift 9s ease-in-out infinite;
}

@keyframes arrive {
  from { opacity: 0; transform: translate3d(-14%, 12%, 0) scale(0.9); }
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  0%, 100% { transform: translate3d(-1.4%, 1.1%, 0); }
  50% { transform: translate3d(1.4%, -1.3%, 0); }
}
@keyframes glowBreath {
  0%, 100% { opacity: 0.6; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

.hero__inner { position: relative; }
.hero__copy {
  max-width: 640px;
  text-shadow: 0 2px 24px rgba(2, 3, 10, 0.8);
}
.hero__copy > * { animation: rise 1s var(--ease-out) both; }
.hero__copy > :nth-child(1) { animation-delay: 0.1s; }
.hero__copy > :nth-child(2) { animation-delay: 0.18s; }
.hero__copy > :nth-child(3) { animation-delay: 0.26s; }
.hero__copy > :nth-child(4) { animation-delay: 0.36s; }
.hero__copy > :nth-child(5) { animation-delay: 0.44s; }
.hero__copy > :nth-child(6) { animation-delay: 0.52s; }
.hero__copy > :nth-child(7) { animation-delay: 0.6s; }

@keyframes rise {
  from { opacity: 0; transform: translate3d(-28px, 16px, 0); }
  to { opacity: 1; transform: none; }
}

.hero__title {
  margin-top: 1.4rem;
  font-size: clamp(2.3rem, 5.4vw, 5.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.hero__ticker {
  margin-top: 0.1em;
  font-size: clamp(3.8rem, 11.5vw, 10.5rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.055em;
  background: var(--grad-energy);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 26px rgba(59, 232, 255, 0.28));
  padding-bottom: 0.06em;
}
.hero__statement {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.4rem;
  font-size: clamp(1.02rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.16em;
}
.hero__statement::before {
  content: "";
  width: clamp(28px, 4vw, 56px); height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), #fff);
  box-shadow: 0 0 12px var(--cyan);
}
.hero__support {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  color: var(--ink-2);
}
.hero__support span { position: relative; }
.hero__support span + span::before {
  content: "→";
  position: absolute;
  left: -1.05rem;
  color: var(--cyan);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.ca-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  margin-top: 1.1rem;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(3, 6, 18, 0.7);
  text-shadow: none;
}
.ca-chip__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.ca-chip__value {
  min-width: 0;
  font-size: 0.92rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.ca-chip__btn { flex: none; }
.ca-chip__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0 0.85rem;
  border: 1px solid rgba(59, 232, 255, 0.35);
  border-radius: 6px;
  background: rgba(59, 232, 255, 0.08);
  color: var(--cyan-2);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.ca-chip__btn:hover { background: rgba(59, 232, 255, 0.18); border-color: var(--cyan); }
.ca-chip__btn svg {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.hero__scroll-line {
  position: relative;
  width: 1px; height: 44px;
  background: var(--line-2);
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 1px; height: 45%;
  background: linear-gradient(180deg, transparent, var(--cyan));
  animation: scrollCue 1.8s var(--ease-in) infinite;
}
@keyframes scrollCue {
  from { transform: translateY(-100%); }
  to { transform: translateY(240%); }
}

/* Hero: tablet */
@media (max-width: 1100px) {
  .hero__figure {
    right: 1vw;
    width: 68vw;
    margin-top: calc(68vw / -3);
    opacity: 0.85;
  }
}

/* Hero: mobile — figure stacks above copy, never cropped */
@media (max-width: 760px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: calc(var(--header-h) + 8px);
    padding-bottom: 96px;
  }
  .hero__figure {
    position: relative;
    top: auto; right: auto;
    width: min(100%, 560px);
    margin: 0 auto -14%;
    opacity: 1;
    z-index: 0;
  }
  .hero__inner { z-index: 1; }
  .hero__vignette {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(2, 3, 10, 0.86) 45%, rgba(2, 3, 10, 0.25) 70%, rgba(2, 3, 10, 0.6) 100%);
  }
  .hero__title { margin-top: 1rem; }
  .hero__actions .btn--lg:not(.btn--icon-only) { flex: 1 1 auto; }
  .hero__scroll { display: none; }
}

/* ---------- Band ---------- */
.band {
  position: relative;
  overflow: hidden;
  padding: 16px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, var(--bg), var(--bg-2) 50%, var(--bg));
}
.band__track {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.band span,
.band i {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}
.band i { color: var(--cyan); }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-50% - 0.8rem), 0, 0); }
}

/* ---------- Reveal + speed-line sweep ---------- */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.sweep { position: relative; overflow: hidden; }
.sweep__inner { display: block; }
.js .sweep .sweep__inner {
  opacity: 0;
  transform: translate3d(-9%, 0, 0) skewX(-10deg);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease-out) 0.18s, transform 1.1s var(--ease-out) 0.18s, filter 0.9s var(--ease-out) 0.18s;
}
.js .sweep.is-in .sweep__inner { opacity: 1; transform: none; filter: none; }

.sweep::after {
  content: "";
  position: absolute;
  left: 0; top: 52%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 232, 255, 0.9) 60%, #fff);
  box-shadow: 0 0 16px rgba(59, 232, 255, 0.8);
  transform: translate3d(-110%, 0, 0);
  opacity: 0;
  pointer-events: none;
}
.js .sweep.is-in::after { animation: streak 1.05s var(--ease-in) both; }
@keyframes streak {
  0% { transform: translate3d(-110%, 0, 0) scaleY(1); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate3d(190%, 0, 0) scaleY(0.4); opacity: 0; }
}

/* ---------- Parallax energy layers ---------- */
.energy {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}
.energy__beam {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(59, 232, 255, 0.35) 40%, rgba(255, 255, 255, 0.6) 55%, transparent 80%);
  transform: rotate(-9deg);
}
.energy__beam--a { top: 30%; }
.energy__beam--b {
  top: 72%;
  background: linear-gradient(90deg, transparent 20%, rgba(139, 92, 255, 0.35) 55%, transparent 90%);
  transform: rotate(-5deg);
}
.energy__orb {
  position: absolute;
  right: -10%;
  top: 10%;
  width: 60vw; height: 60vw;
  max-width: 820px; max-height: 820px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 107, 255, 0.16), rgba(139, 92, 255, 0.06) 60%, transparent);
}

/* ---------- Manifesto ---------- */
.manifesto {
  position: relative;
  padding: clamp(6rem, 13vw, 11rem) 0 clamp(6rem, 12vw, 10rem);
  overflow: hidden;
  background: radial-gradient(70% 50% at 0% 20%, rgba(47, 107, 255, 0.08), transparent 70%);
}
.manifesto .container { position: relative; }

.lineage {
  list-style: none;
  padding: 0;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.lineage__row {
  border-bottom: 1px solid var(--line);
  padding: clamp(0.8rem, 1.6vw, 1.3rem) 0;
}
.lineage__row .sweep__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.28em;
  font-size: clamp(2rem, 6.2vw, 6.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}
.lineage__row:nth-child(2) .sweep__inner { padding-left: clamp(0rem, 6vw, 6rem); }
.lineage__row:nth-child(3) .sweep__inner { padding-left: clamp(0rem, 12vw, 12rem); }

.lineage__tag {
  align-self: center;
  margin-right: 0.3em;
  padding: 0.35em 0.75em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: max(0.8rem, 0.26em);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.lineage__verb { font-weight: 400; color: var(--dim); }
.lineage__obj { color: var(--ink-2); }

.lineage__row--x .lineage__tag {
  color: #01040d;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(59, 232, 255, 0.55);
}
.lineage__row--x .lineage__verb { color: var(--ink-2); }
.lineage__row--x .lineage__obj {
  background: var(--grad-energy);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(59, 232, 255, 0.35));
}

.speedrule {
  position: relative;
  height: 40px;
  margin: clamp(4rem, 9vw, 7rem) 0;
  overflow: hidden;
}
.speedrule span {
  position: absolute;
  left: 0;
  height: 1px;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(59, 232, 255, 0.85), #fff);
  transform: translate3d(-120%, 0, 0);
}
.speedrule span:nth-child(1) { top: 8px; }
.speedrule span:nth-child(2) { top: 20px; width: 70%; background: linear-gradient(90deg, transparent, rgba(47, 107, 255, 0.8), rgba(143, 244, 255, 0.9)); }
.speedrule span:nth-child(3) { top: 32px; width: 30%; background: linear-gradient(90deg, transparent, rgba(139, 92, 255, 0.7), rgba(255, 255, 255, 0.7)); }
.speedrule.is-in span { animation: speedrule 3.6s var(--ease-in) infinite; }
.speedrule.is-in span:nth-child(2) { animation-delay: 0.25s; animation-duration: 3.2s; }
.speedrule.is-in span:nth-child(3) { animation-delay: 0.5s; animation-duration: 4s; }
@keyframes speedrule {
  0% { transform: translate3d(-120%, 0, 0); }
  45%, 100% { transform: translate3d(260%, 0, 0); }
}

.nowait__line { padding: 0.05em 0; }
.nowait__line .sweep__inner {
  font-size: clamp(1.9rem, 5.3vw, 5.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(195, 212, 245, 0.62);
}
.nowait__line--indent .sweep__inner { padding-left: clamp(0rem, 8vw, 8rem); }
.nowait__line--hot { margin-top: 0.1em; }
.nowait__line--hot .sweep__inner {
  color: #fff;
  -webkit-text-stroke: 0;
  text-shadow: 0 0 30px rgba(59, 232, 255, 0.45);
  text-align: right;
}
@supports not (-webkit-text-stroke: 1px black) {
  .nowait__line .sweep__inner { color: var(--ink-2); }
}

/* ---------- Acceleration system ---------- */
.system {
  position: relative;
  height: 260vh;
  background:
    radial-gradient(60% 40% at 80% 50%, rgba(47, 107, 255, 0.1), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg));
}
.system__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}
.system .container { position: relative; }

.system__rail {
  --p: 0;
  --flow: 0px;
  position: relative;
  margin-top: clamp(2.5rem, 7vh, 5rem);
}

.system__track {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
}
.system__line,
.system__fill,
.system__flow { position: absolute; inset: 0; }
.system__line { background: linear-gradient(90deg, var(--line-2), rgba(120, 170, 255, 0.08)); }
.system__fill {
  background: linear-gradient(90deg, var(--violet), var(--blue) 30%, var(--cyan) 75%, #fff);
  box-shadow: 0 0 14px rgba(59, 232, 255, 0.6);
  clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0);
}
.system__flow {
  top: -1px; bottom: -1px;
  background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 255, 255, 0.95) 22px 40px, transparent 40px 64px);
  background-position: var(--flow) 0;
  mix-blend-mode: screen;
  clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0);
}
.system__spark-lane {
  position: absolute;
  inset: 0;
  transform: translate3d(calc(var(--p) * 100%), 0, 0);
}
.system__spark {
  position: absolute;
  left: -60px; top: 50%;
  width: 60px; height: 4px;
  margin-top: -2px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, rgba(143, 244, 255, 0.8), #fff);
  box-shadow: 0 0 18px 3px rgba(59, 232, 255, 0.7);
  opacity: calc(min(var(--p) * 20, 1));
}

.system__stages {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.stage {
  position: relative;
  padding-top: 70px;
}
.stage__node {
  position: absolute;
  top: 12px; left: 0;
  width: 18px; height: 18px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  transform: rotate(45deg);
  transition: background-color 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.stage__node::after {
  content: "";
  position: absolute; inset: -10px;
  border: 1px solid var(--cyan);
  opacity: 0;
}
.stage__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.5s;
}
.stage__pair {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 1rem;
}
.stage__in {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--muted);
  transition: color 0.5s;
}
.stage__arrow {
  position: relative;
  display: block;
  width: 36px;
  height: 1px;
  margin: 0.9rem 0;
  background: var(--line-2);
  transition: width 0.8s var(--ease-out), background-color 0.5s;
}
.stage__arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  color: var(--line-2);
  transform: rotate(45deg);
  transition: color 0.5s;
}
.stage__out {
  font-size: clamp(2.4rem, 5.6vw, 5.8rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0);
  -webkit-text-stroke: 1px rgba(150, 180, 255, 0.4);
  transition: color 0.7s var(--ease-out), -webkit-text-stroke-color 0.7s, text-shadow 0.7s;
}
.stage__desc {
  max-width: 28ch;
  margin-top: 1.1rem;
  font-size: 0.98rem;
  color: var(--dim);
  transition: color 0.6s;
}

.stage.is-active .stage__node {
  background: var(--cyan);
  border-color: #fff;
  box-shadow: 0 0 18px var(--cyan), 0 0 40px rgba(59, 232, 255, 0.5);
}
.stage.is-active .stage__node::after { animation: nodeBurst 1s var(--ease-out); }
.stage.is-active .stage__index { color: var(--cyan); }
.stage.is-active .stage__in { color: var(--ink); }
.stage.is-active .stage__arrow { width: min(140px, 60%); background: linear-gradient(90deg, transparent, var(--cyan)); }
.stage.is-active .stage__arrow::after { color: var(--cyan); }
.stage.is-active .stage__out {
  color: #fff;
  -webkit-text-stroke-color: transparent;
  text-shadow: 0 0 28px rgba(59, 232, 255, 0.55), 0 0 2px rgba(255, 255, 255, 0.8);
}
.stage.is-active .stage__desc { color: var(--ink-2); }

@keyframes nodeBurst {
  from { opacity: 1; transform: scale(0.4); }
  to { opacity: 0; transform: scale(2.4); }
}

.system__readout {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-top: clamp(2rem, 6vh, 4rem);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.system__readout-val {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 760px) {
  .system__rail { margin-top: 2rem; }
  .system__track {
    top: 20px; bottom: 30px;
    left: 8px; right: auto;
    width: 2px; height: auto;
  }
  .system__line { background: linear-gradient(180deg, var(--line-2), rgba(120, 170, 255, 0.08)); }
  .system__fill {
    background: linear-gradient(180deg, var(--violet), var(--blue) 30%, var(--cyan) 75%, #fff);
    clip-path: inset(0 0 calc((1 - var(--p)) * 100%) 0);
  }
  .system__flow {
    top: 0; bottom: 0; left: -1px; right: -1px;
    background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(255, 255, 255, 0.95) 22px 40px, transparent 40px 64px);
    background-position: 0 var(--flow);
    clip-path: inset(0 0 calc((1 - var(--p)) * 100%) 0);
  }
  .system__spark-lane { transform: translate3d(0, calc(var(--p) * 100%), 0); }
  .system__spark {
    left: 50%; top: -60px;
    width: 4px; height: 60px;
    margin: 0 0 0 -2px;
    background: linear-gradient(180deg, transparent, rgba(143, 244, 255, 0.8), #fff);
  }
  .system__stages { grid-template-columns: 1fr; gap: clamp(1rem, 3.5vh, 2rem); }
  .stage { padding: 0 0 0 44px; }
  .stage__node { top: 12px; }
  .stage__pair { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.8rem; margin-top: 0.35rem; }
  .stage__arrow { margin: 0; width: 22px; }
  .stage.is-active .stage__arrow { width: 36px; }
  .stage__out { font-size: clamp(2rem, 10vw, 3rem); }
  .stage__desc { margin-top: 0.4rem; font-size: 0.9rem; }
  .system__readout { margin-top: 1.25rem; }
}
@media (max-width: 760px) and (max-height: 760px) {
  .system .section-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .stage__desc,
  .system__readout { display: none; }
}

/* ---------- Trajectory ---------- */
.trajectory {
  position: relative;
  height: 280vh;
  background: var(--bg);
}
.trajectory__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  padding: calc(var(--header-h) + 16px) 0 clamp(20px, 4vh, 40px);
}
.trajectory__sticky::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 160, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(80% 70% at 60% 60%, #000 20%, transparent 80%);
  mask-image: radial-gradient(80% 70% at 60% 60%, #000 20%, transparent 80%);
  pointer-events: none;
}
.trajectory__layout {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(0.75rem, 2.5vh, 2rem);
}

.mega {
  margin-top: 0.8rem;
  font-size: clamp(2.4rem, min(8.6vw, 13vh), 9rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.055em;
}
.mega span { display: block; }
.mega__alt {
  background: var(--grad-energy);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trajectory__viz { position: relative; min-height: 0; }
.traj { width: 100%; height: 100%; overflow: visible; }
.traj__axis line { stroke: rgba(120, 160, 255, 0.16); stroke-width: 1; }
.traj__label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  fill: var(--dim);
}
.traj__guide {
  fill: none;
  stroke: rgba(120, 160, 255, 0.22);
  stroke-width: 1.5;
  stroke-dasharray: 3 9;
}
.traj__glow,
.traj__core,
.traj__hot {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
}
.traj__glow { stroke: url(#trajGrad); stroke-width: 18; opacity: 0.18; }
.traj__core { stroke: url(#trajGrad); stroke-width: 4; }
.traj__hot { stroke: #fff; stroke-width: 1.4; opacity: 0.85; }

.traj__head { opacity: 0; transition: opacity 0.4s; }
.traj__head.is-on { opacity: 1; }

.traj__marker circle { fill: var(--dim); transition: fill 0.5s; }
.traj__marker .traj__ring {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.traj__marker text {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  fill: var(--dim);
  transition: fill 0.5s;
}
.traj__marker.is-on circle { fill: #fff; }
.traj__marker.is-on .traj__ring { opacity: 1; animation: ringPulse 2.4s var(--ease-out) infinite; }
.traj__marker.is-on text { fill: var(--cyan); }
@keyframes ringPulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.trajectory__outcomes {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2.5rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(0.9rem, 2vh, 1.4rem);
}
.trajectory__outcomes li {
  font-size: clamp(1.05rem, 2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--dim);
  opacity: 0.45;
  transform: translate3d(0, 10px, 0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), color 0.7s;
}
.outcome__num {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--dim);
}
.trajectory__outcomes li.is-on { opacity: 1; transform: none; color: var(--ink); }
.trajectory__outcomes li.is-on .outcome__num { color: var(--cyan); }
.trajectory__outcomes li:last-child.is-on {
  background: var(--grad-energy);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trajectory__outcomes li:last-child.is-on .outcome__num { -webkit-text-fill-color: var(--cyan); }

@media (max-width: 760px) {
  .traj__label { display: none; }
  .traj__glow { stroke-width: 34; }
  .traj__core { stroke-width: 9; }
  .traj__hot { stroke-width: 3; }
  .traj__guide { stroke-width: 3; }
  .traj__marker text { font-size: 32px; }
  .trajectory__outcomes { grid-template-columns: 1fr; gap: 0.55rem; }
  .trajectory__outcomes li { font-size: clamp(1.05rem, 5vw, 1.4rem); display: flex; align-items: baseline; gap: 0.8rem; }
  .outcome__num { display: inline; margin: 0; }
}

/* Short viewports: scrubbed sections fall back to static flow */
@media (max-height: 560px) {
  .system, .trajectory { height: auto; }
  .system__sticky, .trajectory__sticky { position: relative; height: auto; min-height: 0; padding-block: 6rem; }
  .trajectory__viz { height: 260px; }
}

/* ---------- Feed core ---------- */
.feed {
  position: relative;
  min-height: 110vh;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(60% 55% at 50% 48%, #081238 0%, #040720 38%, var(--bg) 72%);
}
.feed__space {
  position: absolute;
  inset: 0;
  z-index: -2;
  perspective: 800px;
  perspective-origin: 50% 46%;
  overflow: hidden;
}
.feed__core {
  position: absolute;
  left: 50%; top: 46%;
  width: clamp(150px, 20vw, 280px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.feed__orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #d4fbff 7%, rgba(59, 232, 255, 0.85) 16%, rgba(47, 107, 255, 0.4) 36%, rgba(139, 92, 255, 0.14) 56%, transparent 70%);
  animation: corePulse 3.2s ease-in-out infinite;
}
.feed__ring {
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  border: 1px solid rgba(59, 232, 255, 0.28);
  border-top-color: rgba(255, 255, 255, 0.7);
  animation: spin 9s linear infinite;
}
.feed__ring--b {
  inset: -70%;
  border-color: rgba(139, 92, 255, 0.18);
  border-left-color: rgba(143, 244, 255, 0.5);
  animation-duration: 16s;
  animation-direction: reverse;
}
@keyframes corePulse {
  0%, 100% { transform: scale(0.94); opacity: 0.85; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes spin { to { transform: rotate(360deg); } }

.frag {
  position: absolute;
  left: 50%; top: 46%;
  opacity: 0;
  animation: stream var(--d, 9s) var(--ease-in) var(--delay, 0s) infinite;
  animation-play-state: paused;
  will-change: transform, opacity;
}
.feed__space.is-running .frag { animation-play-state: running; }

.frag__card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(110, 170, 255, 0.26);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(14, 26, 62, 0.9), rgba(6, 10, 28, 0.75));
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: #d6e8ff;
  white-space: nowrap;
}
.frag__glyph { color: var(--cyan); font-size: 0.9rem; letter-spacing: 0; }
.frag__bars { display: grid; gap: 4px; }
.frag__bars span { display: block; height: 3px; border-radius: 2px; background: rgba(140, 180, 255, 0.28); }
.frag--hot .frag__card {
  border-color: rgba(59, 232, 255, 0.7);
  color: #fff;
  box-shadow: 0 0 22px -4px rgba(59, 232, 255, 0.7);
}
.frag--hot .frag__bars span { background: rgba(59, 232, 255, 0.55); }

@keyframes stream {
  0% { opacity: 0; transform: translate(-50%, -50%) translate3d(var(--sx), var(--sy), 120px) rotate(var(--r)); }
  12% { opacity: 1; }
  78% { opacity: 0.9; }
  100% { opacity: 0; transform: translate(-50%, -50%) translate3d(calc(var(--sx) * 0.03), calc(var(--sy) * 0.03), -2400px) rotate(0deg); }
}

.feed__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(2, 3, 10, 0) 18%),
    linear-gradient(0deg, var(--bg) 0%, rgba(2, 3, 10, 0.75) 22%, rgba(2, 3, 10, 0) 48%);
  pointer-events: none;
}

.feed__content {
  position: relative;
  min-height: 110vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.feed__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  gap: 2rem 4rem;
}
.feed__quote {
  font-size: clamp(1.7rem, 4.2vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 30px rgba(2, 3, 10, 0.9);
}
.feed__quote span { display: block; }
.feed__quote-a { color: var(--muted); font-weight: 500; font-size: 0.62em; letter-spacing: -0.02em; margin-bottom: 0.4em; }
.feed__quote-b { color: #fff; }

.feed__lines {
  list-style: none;
  padding: 0 0 0 1.2rem;
  border-left: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  line-height: 1.8;
  color: var(--ink-2);
}
.feed__lines li:last-child { color: #fff; margin-top: 0.3rem; line-height: 1.5; }

@media (max-width: 860px) {
  .feed__bottom { grid-template-columns: 1fr; }
}

/* ---------- Launch module ---------- */
.launch {
  position: relative;
  padding: clamp(6rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.launch__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.launch__text {
  max-width: 44ch;
  margin-top: 1.4rem;
  color: var(--ink-2);
}
.launch__text strong { font-family: var(--font-mono); color: var(--ink); font-weight: 500; }
.launch__text a { color: var(--cyan-2); text-underline-offset: 3px; }

.module {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 17, 42, 0.92), rgba(3, 6, 16, 0.96));
  box-shadow: 0 50px 120px -50px rgba(47, 107, 255, 0.55), 0 0 0 1px rgba(2, 3, 10, 0.6);
  overflow: hidden;
}
.module::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), #fff, transparent);
  animation: edgeRun 5s var(--ease-in) infinite;
}
@keyframes edgeRun {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(260%); }
}
.module__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 2.5vw, 1.6rem);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.module__status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(139, 92, 255, 0.4);
  border-radius: 999px;
  color: var(--violet-2);
}
.module__body { padding: clamp(1.4rem, 3.5vw, 2.6rem); }
.module__chain {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.34em;
  color: var(--cyan-2);
}
.module__chain-bar {
  width: 28px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}
.module__ticker {
  margin-top: 0.6rem;
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.module__ca {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 1.6rem;
  padding: 0.7rem 0.7rem 0.7rem 1.1rem;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(1, 2, 8, 0.6);
}
.module__ca-text {
  min-width: 0;
  font-family: var(--font-mono);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  overflow-wrap: anywhere;
}
.module__ca-label { color: var(--muted); }
.module__ca code { color: #fff; }

.module__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.module__actions .btn { padding: 0 0.8rem; font-size: 0.82rem; }

.module__foot {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.caret {
  display: inline-block;
  width: 0.55em; height: 1em;
  margin-left: 0.3em;
  vertical-align: -0.15em;
  background: var(--cyan);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 960px) {
  .launch__layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .module__actions { grid-template-columns: 1fr; }
  .module__ca .btn--copy { flex: 1 1 100%; }
}

/* ---------- Dexscreener ---------- */
.chart {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(6rem, 12vw, 10rem);
}
.chart__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.chart__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #03060f;
  overflow: hidden;
}
.chart__frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.chart__placeholder {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
}
.chart__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 160, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.07) 1px, transparent 1px);
  background-size: 100% 20%, 8.333% 100%;
  -webkit-mask-image: radial-gradient(90% 80% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(90% 80% at 50% 50%, #000 40%, transparent 100%);
}
.chart__baseline {
  position: absolute;
  left: 0; right: 0; top: 62%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(120, 170, 255, 0.35) 0 6px, transparent 6px 14px);
  overflow: hidden;
}
.chart__scan {
  position: absolute;
  top: -1px; left: 0;
  width: 18%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), #fff);
  box-shadow: 0 0 14px var(--cyan);
  animation: scan 4.5s var(--ease-in) infinite;
}
@keyframes scan {
  from { transform: translateX(-100%); }
  to { transform: translateX(600%); }
}
.chart__msg {
  position: relative;
  max-width: 460px;
  text-align: center;
}
.chart__status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet-2);
}
.chart__title {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.chart__text { margin-top: 0.9rem; color: var(--ink-2); }
.chart__note {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.chart__note a { color: var(--ink-2); text-underline-offset: 3px; }

@media (max-width: 700px) {
  .chart__frame { aspect-ratio: 3 / 4; min-height: 440px; }
}

/* ---------- Final ---------- */
.final {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(6rem, 12vw, 9rem) 0 clamp(5rem, 9vw, 7rem);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  --charge: 0;
}
.final__bg { position: absolute; inset: 0; z-index: -1; }
.final__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.final__core {
  position: absolute;
  left: 50%; top: 42%;
  width: min(90vw, 900px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(143, 244, 255, 0.22), rgba(47, 107, 255, 0.12) 45%, rgba(139, 92, 255, 0.05) 70%, transparent);
  transform: translate(-50%, -50%) scale(calc(1 + var(--charge) * 0.35));
  opacity: calc(0.7 + var(--charge) * 0.3);
}
.final__vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(2, 3, 10, 0.2) 25%, rgba(2, 3, 10, 0.2) 70%, var(--bg) 100%),
    radial-gradient(80% 70% at 50% 45%, transparent 30%, rgba(2, 3, 10, 0.85) 100%);
}
.final__content { position: relative; display: flex; flex-direction: column; align-items: center; }

.final__title {
  font-size: clamp(2.8rem, 11vw, 11rem);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.06em;
}
.final__title span { display: block; }
.final__title-hot {
  background: var(--grad-energy);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 34px rgba(59, 232, 255, 0.4));
  padding-bottom: 0.04em;
}

.hold { margin-top: clamp(1.8rem, 4vw, 2.8rem); display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.hold__btn {
  position: relative;
  min-width: 240px;
  min-height: 56px;
  padding: 0 1.8rem;
  border: 1px solid rgba(59, 232, 255, 0.55);
  border-radius: 999px;
  background: rgba(4, 10, 28, 0.7);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.hold__fill {
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--violet), var(--blue) 35%, var(--cyan) 80%, #fff);
  transform: scaleX(var(--charge));
  transform-origin: left;
  opacity: 0.85;
}
.hold__btn.is-holding { box-shadow: 0 0 40px -6px rgba(59, 232, 255, 0.8); border-color: #fff; }
.hold__btn.is-max .hold__label { color: #01040d; font-weight: 700; }
.hold__hint { font-size: 0.85rem; color: var(--muted); }

.final__lines {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  font-size: clamp(1.15rem, 2.3vw, 1.9rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink-2);
}
.final__lines span { display: block; }
.final__lines span:last-child { color: #fff; }

.final__sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(3rem, 7vw, 5rem);
}
.final__logo {
  width: 84px; height: 84px;
  border-radius: 18px;
  box-shadow: 0 0 40px -6px rgba(59, 232, 255, 0.6);
}
.final__name { margin-top: 1.2rem; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
.final__ticker {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  background: var(--grad-energy);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.final__statement {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--ink-2);
}
.final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

@media (max-width: 520px) {
  .final__actions { width: 100%; }
  .final__actions .btn { flex: 1 1 100%; }
  .hold__btn { min-width: 0; width: 100%; }
  .hold { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0 2rem;
  background: var(--bg);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
}
.site-footer__brand img { width: 28px; height: 28px; border-radius: 7px; }
.site-footer__ticker { font-family: var(--font-mono); font-weight: 400; font-size: 0.85rem; color: var(--cyan); }
.site-footer__chain {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-footer__x {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.25s;
}
.site-footer__x:hover { color: var(--cyan-2); }
.site-footer__x svg { width: 16px; height: 16px; fill: currentColor; }
.site-footer__legal {
  margin-top: 1.4rem;
  font-size: 0.78rem;
  color: var(--dim);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal,
  .js .sweep .sweep__inner { opacity: 1; transform: none; filter: none; }
  .sweep::after,
  .speedrule span,
  .module::before,
  .chart__scan,
  .hero__scroll-line::after { display: none; }

  .band__track { animation: none; }
  .hero__banner,
  .hero__figure,
  .hero__horizon,
  .energy { transform: none !important; }

  .system, .trajectory { height: auto; }
  .system__sticky, .trajectory__sticky { position: relative; height: auto; padding-block: 6rem; }
  .trajectory__viz { height: clamp(220px, 40vw, 460px); }

  .frag {
    animation: none;
    opacity: 0.55;
    transform: translate(-50%, -50%) translate3d(calc(var(--sx) * 0.55), calc(var(--sy) * 0.55), -500px) rotate(var(--r));
  }
}
