@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./assets/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --bg: #090c13;
  --bg-soft: #121317;
  --bg-panel: rgba(20, 21, 26, 0.82);
  --accent: #f6b44b;
  --accent-strong: #ffd166;
  --signal: #6ee7f9;
  --text: #f8fbff;
  --muted: #a6b0c0;
  --slate: #748094;
  --line: rgba(166, 176, 192, 0.18);
  --line-strong: rgba(246, 180, 75, 0.38);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --header-height: 72px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

.mt-18 { margin-top: 18px; }
.mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }
.mt-26 { margin-top: 26px; }
.mt-34 { margin-top: 34px; }
.mb-0 { margin-bottom: 0; }
.max-w-820 { max-width: 820px; }
.text-link { color: var(--accent-strong); }

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

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

button {
  font: inherit;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--accent-strong);
}

pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0e15;
  font-family: var(--mono);
  font-size: 0.84rem;
  line-height: 1.55;
  color: #c7d2e1;
}

pre code {
  color: inherit;
  font-size: inherit;
}

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

/* ---------- Header / navigation ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(9, 12, 19, 0.62);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(9, 12, 19, 0.9);
}

.nav-shell,
.section-container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-weight: 800;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.brand-name {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand-ticker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
}

.brand-ticker::before {
  width: 1px;
  height: 16px;
  content: "";
  background: linear-gradient(180deg, rgba(110, 231, 249, 0), rgba(110, 231, 249, 0.58), rgba(110, 231, 249, 0));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  color: #c7d2e1;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--text);
  background: rgba(148, 163, 184, 0.1);
}

.nav-menu a.active {
  color: var(--accent-strong);
}

.nav-menu .nav-cta {
  margin-left: 8px;
  border: 1px solid rgba(246, 180, 75, 0.56);
  background: rgba(246, 180, 75, 0.1);
  color: var(--accent-strong);
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta:focus-visible {
  transform: translateY(-1px);
  background: rgba(246, 180, 75, 0.18);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 21, 26, 0.78);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero (home) ---------- */

.hero-section {
  position: relative;
  display: grid;
  min-height: 92svh;
  padding: calc(var(--header-height) + 34px) 0 38px;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
  background: #090c13 url("./assets/motion/node-field-poster.webp") 58% center / cover no-repeat;
}

.hero-visual {
  --motion-opacity: 0.72;

  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  opacity: var(--motion-opacity);
  transform: translateZ(0) scale(1.015);
  backface-visibility: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 58%, rgba(246, 180, 75, 0.12), rgba(246, 180, 75, 0) 32%),
    linear-gradient(90deg, rgba(9, 12, 19, 0.97) 0%, rgba(9, 12, 19, 0.79) 44%, rgba(9, 12, 19, 0.22) 100%),
    linear-gradient(180deg, rgba(9, 12, 19, 0.28) 0%, #090c13 100%);
}

.hero-overlay::after {
  position: absolute;
  inset: -35% auto -35% -45%;
  width: 42%;
  content: "";
  background: linear-gradient(90deg, rgba(110, 231, 249, 0), rgba(110, 231, 249, 0.13), rgba(246, 180, 75, 0.08), rgba(246, 180, 75, 0));
  transform: skewX(-12deg);
  animation: signal-sweep 11s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: transform, opacity;
}

.hero-section::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  content: "";
  background: linear-gradient(180deg, rgba(9, 12, 19, 0), var(--bg));
}

.hero-content {
  align-self: center;
  max-width: 1120px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-title {
  max-width: 820px;
  margin: 0;
  font-size: 4.35rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 18px 0 0;
  color: #bfcbda;
  font-size: 1.05rem;
}

.hero-hashline {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--slate);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.hero-hashline strong {
  color: var(--signal);
  font-weight: 600;
}

.hero-actions,
.launch-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  margin-top: 24px;
}

@keyframes signal-sweep {
  0%,
  18% {
    opacity: 0;
    transform: translateX(0) skewX(-12deg);
  }

  36% {
    opacity: 0.52;
  }

  74% {
    opacity: 0.18;
  }

  100% {
    opacity: 0;
    transform: translateX(360%) skewX(-12deg);
  }
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px) scale(1.01);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #1c1204;
  box-shadow: 0 16px 46px rgba(246, 180, 75, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 58px rgba(246, 180, 75, 0.33);
}

.button-secondary {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(20, 21, 26, 0.78);
  color: #e2e8f0;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--line-strong);
  background: rgba(26, 24, 22, 0.96);
}

.button-disabled,
.button-disabled:hover,
.button-disabled:focus-visible {
  border-color: var(--line);
  background: rgba(20, 21, 26, 0.6);
  color: var(--slate);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button-disabled .soon-tag {
  padding: 2px 8px;
  border: 1px solid rgba(110, 231, 249, 0.3);
  border-radius: 99px;
  color: var(--signal);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Hero metrics ---------- */

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: 30px 0 0;
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
}

.hero-metrics div,
.stat-tile {
  background: rgba(14, 16, 22, 0.94);
}

.hero-metrics div {
  padding: 16px;
}

.hero-metrics dt {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

/* ---------- Page hero (subpages) ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--header-height) + 74px) 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 82% -20%, rgba(246, 180, 75, 0.1), rgba(246, 180, 75, 0) 52%),
    radial-gradient(ellipse at 12% 120%, rgba(110, 231, 249, 0.05), rgba(110, 231, 249, 0) 46%),
    var(--bg);
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 3.4rem;
  line-height: 1.02;
  font-weight: 800;
}

.page-hero .lede {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.not-found-hero {
  display: grid;
  min-height: 100svh;
  align-items: center;
}

.not-found-brand {
  margin-bottom: 64px;
}

.not-found-actions {
  margin-top: 26px;
}

/* ---------- Sections ---------- */

.section-band,
.stats-section,
.whitepaper-section,
.launch-section {
  padding: 96px 0;
}

.section-band {
  background:
    linear-gradient(180deg, rgba(28, 26, 22, 0.22), rgba(9, 12, 19, 0)),
    var(--bg);
}

.section-band.section-tight {
  padding: 72px 0;
}

.section-divide {
  border-top: 1px solid var(--line);
}

/* ---------- Cinematic network interlude ---------- */

.motion-interlude {
  position: relative;
  padding: 76px 0;
  overflow: hidden;
  background: var(--bg);
}

.motion-frame {
  position: relative;
  display: grid;
  min-height: 560px;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
  border-block: 2px solid #05090f;
  background: #05090f url("./assets/motion/global-network-poster.webp") center / cover no-repeat;
}

.motion-video,
.stats-visual {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.motion-video {
  --motion-opacity: 0.82;

  inset: 48px 0;
  height: calc(100% - 96px);
  opacity: var(--motion-opacity);
  transform: translateZ(0) scale(1.012);
  backface-visibility: hidden;
}

.motion-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 9, 15, 0.95) 0%, rgba(5, 9, 15, 0.68) 42%, rgba(5, 9, 15, 0.08) 72%),
    linear-gradient(180deg, rgba(5, 9, 15, 0.08) 45%, rgba(5, 9, 15, 0.92) 100%);
}

.video-edge-seal {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform: translateZ(0);
  pointer-events: none;
}

.video-edge-seal-cool {
  background: linear-gradient(
    180deg,
    #05090f 0,
    #05090f 48px,
    rgba(5, 9, 15, 0.82) 60px,
    rgba(5, 9, 15, 0) 76px,
    rgba(5, 9, 15, 0) calc(100% - 76px),
    rgba(5, 9, 15, 0.82) calc(100% - 60px),
    #05090f calc(100% - 48px),
    #05090f 100%
  );
}

.video-edge-seal-warm {
  background: linear-gradient(
    180deg,
    #090c13 0,
    #090c13 64px,
    rgba(9, 12, 19, 0.84) 76px,
    rgba(9, 12, 19, 0) 92px,
    rgba(9, 12, 19, 0) calc(100% - 92px),
    rgba(9, 12, 19, 0.84) calc(100% - 76px),
    #090c13 calc(100% - 64px),
    #090c13 100%
  );
}

.motion-frame::after {
  position: absolute;
  inset: 18px;
  z-index: -1;
  border-inline: 1px solid rgba(248, 251, 255, 0.08);
  content: "";
  pointer-events: none;
}

.motion-copy {
  position: relative;
  z-index: 1;
  padding-block: 84px 64px;
}

.motion-copy h2 {
  max-width: 770px;
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.motion-copy > p:last-child {
  max-width: 580px;
  margin: 22px 0 0;
  color: #c7d2e1;
  font-size: 1.05rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading h2,
.launch-layout h2 {
  margin: 0;
  font-size: 3.6rem;
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.launch-layout p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

/* ---------- Cards ---------- */

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

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

/* Grid children default to min-width auto, which lets wide content (tables,
   code blocks) blow out the layout instead of scrolling inside its wrapper. */
.grid-2 > *,
.architecture-grid > *,
.stats-layout > *,
.whitepaper-layout > *,
.prose-layout > *,
.steps > *,
.timeline > * {
  min-width: 0;
}

.architecture-card,
.whitepaper-panel,
.timeline-item,
.launch-layout,
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  box-shadow: var(--shadow);
}

.architecture-card,
.info-card {
  padding: 28px;
}

.architecture-card {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.architecture-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: rgba(26, 24, 22, 0.94);
}

.icon-shell {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(246, 180, 75, 0.34);
  border-radius: 8px;
  background: rgba(246, 180, 75, 0.09);
  color: var(--accent-strong);
}

.icon-shell svg {
  width: 22px;
  height: 22px;
}

.architecture-card h3,
.timeline-item h3,
.whitepaper-panel h3,
.info-card h3 {
  margin: 22px 0 10px;
  font-size: 1.24rem;
  line-height: 1.2;
}

.info-card h3:first-child {
  margin-top: 0;
}

.architecture-card p,
.timeline-item p,
.whitepaper-panel p,
.info-card p {
  color: var(--muted);
}

.architecture-card ul,
.info-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  color: #c7d2e1;
  list-style: none;
  font-size: 0.92rem;
}

.architecture-card li,
.info-card li {
  position: relative;
  padding-left: 18px;
}

.architecture-card li::before,
.info-card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--accent);
  box-shadow: 0 0 18px rgba(246, 180, 75, 0.48);
}

/* ---------- Numbered steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  counter-increment: step;
}

.step::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(246, 180, 75, 0.4);
  border-radius: 50%;
  color: var(--accent-strong);
  content: counter(step, decimal-leading-zero);
  font-size: 0.85rem;
  font-weight: 800;
}

.step h3 {
  margin: 16px 0 8px;
  font-size: 1.08rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- Stats ---------- */

.stats-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
  border-block: 2px solid #090c13;
  background: #090c13 url("./assets/motion/signal-burst-poster.webp") center / cover no-repeat;
}

.stats-visual {
  --motion-opacity: 0.46;

  inset: 64px 0;
  height: calc(100% - 128px);
  opacity: var(--motion-opacity);
  transform: translateZ(0) scale(1.025);
  backface-visibility: hidden;
}

.stats-visual-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      180deg,
      #090c13 0,
      #090c13 16px,
      rgba(9, 12, 19, 0.84) 28px,
      rgba(9, 12, 19, 0) 42px,
      rgba(9, 12, 19, 0) calc(100% - 42px),
      rgba(9, 12, 19, 0.84) calc(100% - 28px),
      #090c13 calc(100% - 16px),
      #090c13 100%
    ),
    radial-gradient(circle at 72% 52%, rgba(246, 180, 75, 0.05), rgba(9, 12, 19, 0.4) 38%, rgba(9, 12, 19, 0.94) 78%),
    linear-gradient(90deg, rgba(9, 12, 19, 0.97) 0%, rgba(9, 12, 19, 0.82) 50%, rgba(9, 12, 19, 0.62) 100%);
}

.stats-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 42px;
  align-items: start;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat-tile {
  min-height: 160px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(18, 20, 27, 0.96), rgba(9, 12, 19, 0.94));
  box-shadow: inset 0 1px 0 rgba(248, 251, 255, 0.04), 0 18px 48px rgba(0, 0, 0, 0.2);
}

html.motion-enabled .hero-section,
html.motion-enabled .motion-frame,
html.motion-enabled .stats-section {
  background-image: none;
}

[data-motion-fade="1.6"] {
  --motion-fade-out-duration: 1.6s;
}

[data-motion-fade="1.8"] {
  --motion-fade-out-duration: 1.8s;
}

[data-motion-fade-in="2.8"] {
  --motion-fade-in-duration: 2.8s;
}

[data-motion-fade-in="3.2"] {
  --motion-fade-in-duration: 3.2s;
}

html.js [data-motion-video] {
  opacity: 0;
  transition: opacity var(--motion-fade-out-duration, 1.6s) cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}

html.js [data-motion-video][data-motion-phase="playing"],
html.js [data-motion-video][data-motion-phase="fallback"] {
  opacity: var(--motion-opacity);
  transition-duration: var(--motion-fade-in-duration, 2.8s);
  transition-timing-function: cubic-bezier(0.33, 0, 0.67, 1);
}

html.motion-static [data-motion-video] {
  display: none;
}

.stat-value {
  display: block;
  color: var(--accent-strong);
  font-size: 3.6rem;
  line-height: 1;
  font-weight: 800;
}

.stat-label {
  display: block;
  max-width: 230px;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 600;
}

.stat-tile.stat-pending .stat-value {
  color: var(--slate);
}

/* ---------- Timeline / roadmap ---------- */

.roadmap-section {
  overflow: hidden;
}

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

.timeline.timeline-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-item {
  position: relative;
  padding: 28px;
}

.phase-pill {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(246, 180, 75, 0.38);
  border-radius: 8px;
  background: rgba(246, 180, 75, 0.1);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phase-pill.phase-done {
  border-color: rgba(110, 231, 249, 0.4);
  background: rgba(110, 231, 249, 0.08);
  color: var(--signal);
}

/* ---------- Whitepaper panel (home tabs) ---------- */

.whitepaper-layout {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 40px;
  align-items: start;
}

.whitepaper-panel {
  overflow: hidden;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.tab-button {
  min-height: 62px;
  border: 0;
  background: rgba(20, 21, 26, 0.98);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease;
}

.tab-button:hover,
.tab-button:focus-visible,
.tab-button.active {
  background: rgba(246, 180, 75, 0.11);
  color: var(--text);
}

.tab-content {
  padding: 34px;
}

.tab-content h3 {
  margin-top: 0;
  font-size: 1.6rem;
}

.tab-content p {
  margin: 14px 0 0;
}

/* ---------- Launch band ---------- */

.launch-section {
  padding-top: 44px;
}

.launch-layout {
  justify-content: space-between;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(246, 180, 75, 0.13), rgba(20, 21, 26, 0.84)),
    var(--bg-soft);
}

.launch-layout > div {
  max-width: 720px;
}

/* ---------- Status banner ---------- */

.status-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid rgba(110, 231, 249, 0.32);
  border-radius: var(--radius);
  background: rgba(110, 231, 249, 0.06);
  color: #d7f6fd;
  font-size: 0.95rem;
}

.status-banner .status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 14px rgba(110, 231, 249, 0.7);
}

.status-banner strong {
  color: var(--text);
}

/* ---------- Notes / disclaimers ---------- */

.note-box {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--bg-panel);
  color: var(--muted);
  font-size: 0.95rem;
}

.note-box strong {
  color: var(--text);
}

.note-box.note-signal {
  border-left-color: var(--signal);
}

.copy-punch {
  max-width: 760px;
  margin: 26px 0 0;
  padding: 16px 20px;
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, rgba(246, 180, 75, 0.1), transparent 72%);
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.65;
}

.copy-punch strong {
  color: var(--accent-strong);
  font-weight: 700;
}

/* ---------- Data tables ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.data-table td {
  color: #c7d2e1;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table .table-strong {
  color: var(--text);
  font-weight: 700;
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  list-style: none;
  transition: color 180ms ease;
}

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

.faq-item summary::after {
  flex: 0 0 auto;
  color: var(--accent-strong);
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--accent-strong);
}

.faq-body {
  padding: 0 24px 22px;
  color: var(--muted);
}

.faq-body p {
  margin: 0 0 12px;
}

.faq-body p:last-child {
  margin-bottom: 0;
}

/* ---------- Prose (whitepaper, legal) ---------- */

.prose-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  font-size: 0.86rem;
}

.toc p {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.toc ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}

.toc a:hover {
  color: var(--accent-strong);
}

.prose {
  max-width: 760px;
}

.prose-title {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.05;
}

.prose .prose-subtitle {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.35;
}

.prose .prose-meta {
  margin: 0 0 36px;
  color: var(--slate);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.prose h2 {
  margin: 52px 0 16px;
  font-size: 1.85rem;
  line-height: 1.15;
}

.prose h3 {
  margin: 34px 0 12px;
  font-size: 1.25rem;
}

.prose p,
.prose li {
  color: #c3cddc;
}

.prose ul,
.prose ol {
  padding-left: 24px;
}

.prose li {
  margin-bottom: 8px;
}

.prose blockquote {
  margin: 22px 0;
  padding: 16px 22px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--bg-panel);
  color: var(--muted);
  font-style: italic;
}

.prose blockquote p {
  margin: 0;
}

.prose .table-wrap {
  margin: 22px 0;
}

.prose hr {
  margin: 44px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.prose strong {
  color: var(--text);
}

.prose em {
  color: #d8e0ec;
}

.prose .prose-footnote {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.88rem;
  font-style: italic;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 64px 0 34px;
  border-top: 1px solid var(--line);
  background: #080b12;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-brand p {
  max-width: 300px;
  margin: 14px 0 0;
  color: var(--slate);
  font-size: 0.92rem;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  transition: color 180ms ease, border-color 180ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--line-strong);
  color: var(--accent-strong);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-col ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 180ms ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--accent-strong);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.84rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-disclaimer {
  margin: 0 0 18px;
  color: var(--slate);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* ---------- Reveal animation ---------- */

/* Reveal-hiding is gated on the js marker class so content stays visible
   without JavaScript (crawlers, no-JS browsers, observer failures). */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 580ms ease, transform 580ms ease;
}

html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  html.js .reveal {
    opacity: 1;
    transform: none;
  }

  [data-motion-video] {
    display: none;
  }

  .hero-overlay::after {
    display: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(11, 15, 25, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    justify-content: center;
    min-height: 48px;
  }

  .nav-menu .nav-cta {
    margin-left: 0;
  }

  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 56px);
  }

  .hero-title {
    font-size: 4.1rem;
  }

  .hero-copy {
    font-size: 1.06rem;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(9, 12, 19, 0.84) 0%, rgba(9, 12, 19, 0.74) 46%, #090c13 100%),
      linear-gradient(90deg, rgba(9, 12, 19, 0.9), rgba(28, 26, 22, 0.34));
  }

  .motion-interlude {
    padding: 56px 0;
  }

  .motion-frame {
    min-height: 480px;
  }

  .motion-scrim {
    background:
      linear-gradient(90deg, rgba(5, 9, 15, 0.92) 0%, rgba(5, 9, 15, 0.62) 64%, rgba(5, 9, 15, 0.28) 100%),
      linear-gradient(180deg, rgba(5, 9, 15, 0.18) 22%, rgba(5, 9, 15, 0.96) 100%);
  }

  .motion-copy {
    padding-block: 72px 52px;
  }

  .architecture-grid,
  .stats-layout,
  .timeline,
  .timeline.timeline-4,
  .whitepaper-layout,
  .grid-2,
  .prose-layout {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toc {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-band,
  .stats-section,
  .whitepaper-section,
  .launch-section {
    padding: 72px 0;
  }

  .section-heading h2,
  .launch-layout h2 {
    font-size: 3rem;
  }

  .page-hero h1 {
    font-size: 2.9rem;
  }

  .stat-value {
    font-size: 3.1rem;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .section-container {
    width: min(100% - 24px, 1120px);
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 42px);
    padding-bottom: 24px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-ticker {
    gap: 8px;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  .brand-ticker::before {
    height: 14px;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .motion-interlude {
    padding: 38px 0;
  }

  .motion-frame {
    min-height: 430px;
  }

  .motion-frame::after {
    inset: 10px;
  }

  .motion-copy {
    padding-block: 64px 42px;
  }

  .motion-copy h2 {
    font-size: 2.75rem;
  }

  .motion-copy > p:last-child {
    font-size: 0.96rem;
  }

  .hero-actions,
  .launch-layout {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-metrics,
  .stat-grid,
  .tab-list,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    display: none;
  }

  .hero-metrics div,
  .architecture-card,
  .info-card,
  .timeline-item,
  .tab-content,
  .launch-layout {
    padding: 22px;
  }

  .stat-tile {
    min-height: 128px;
  }

  .section-band,
  .stats-section,
  .whitepaper-section,
  .launch-section {
    padding: 52px 0;
  }

  .section-heading h2,
  .launch-layout h2 {
    font-size: 2.35rem;
  }

  .page-hero h1 {
    font-size: 2.3rem;
  }

  .prose-title {
    font-size: 2.2rem;
  }

  .stat-value {
    font-size: 2.65rem;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

/* ---------- Print (whitepaper) ---------- */

@media print {
  :root {
    --bg: #ffffff;
    --text: #111111;
  }

  body {
    background: #ffffff;
    color: #111111;
  }

  .site-header,
  .site-footer,
  .toc,
  .no-print {
    display: none !important;
  }

  .page-hero {
    padding: 0 0 12px;
    border: 0;
    background: none;
  }

  .prose-layout {
    display: block;
  }

  .prose {
    max-width: none;
  }

  .prose p,
  .prose li,
  .prose blockquote,
  .prose em {
    color: #222222;
  }

  .prose-title,
  .prose h2,
  .prose h3,
  .prose strong {
    color: #000000;
  }

  .prose .prose-subtitle,
  .prose .prose-meta,
  .prose .prose-footnote {
    color: #444444;
  }

  .prose blockquote {
    background: #f4f4f4;
    border-left-color: #b8860b;
  }

  .table-wrap {
    border-color: #cccccc;
    background: none;
  }

  .data-table th {
    color: #000000;
  }

  .data-table th,
  .data-table td {
    border-color: #cccccc;
    color: #222222;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  a {
    color: inherit;
  }
}
