/* ============================================================
   NexusForge — Landing Page Styles
   ============================================================ */

:root {
  --bg: #050505;
  --bg-alt: #0A0A0A;
  --surface: #0F1111;
  --hairline: rgba(255, 255, 255, 0.06);
  --hairline-strong: rgba(255, 255, 255, 0.10);

  --ink: #F5F7FA;
  --ink-2: #AAAAAA;
  --ink-3: #666666;

  --cyan: #00E6FF;
  --cyan-hover: #33ECFF;
  --cyan-muted: rgba(0, 230, 255, 0.08);
  --cyan-border: rgba(0, 230, 255, 0.22);

  --emerald: #00D4A8;

  --radius: 10px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --container: 1280px;
  --gutter: 32px;
  --section-pad: 72px;

  --ease: cubic-bezier(0.2, 0, 0, 1);
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: thin;
  scrollbar-color: #6b6b6b #1a1a1a;
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #1a1a1a; }
::-webkit-scrollbar-thumb { background: #6b6b6b; border-radius: 6px; border: 2px solid #1a1a1a; }
::-webkit-scrollbar-thumb:hover { background: #8a8a8a; }
::-webkit-scrollbar-corner { background: #1a1a1a; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', 'Satoshi', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Shared typography tokens */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 20px;
}
.h2 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 600px;
}
.lede {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
  max-width: 520px;
  line-height: 1.65;
}

/* ============================================================
   LIVE DOT (shared)
   ============================================================ */
.live-dot {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.live-dot--cyan { background: var(--cyan); }
.live-dot--emerald { background: var(--emerald); }
.live-dot--amber { background: #d4a017; }
.live-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.35;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.4; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--hairline); }

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.nav__mark { color: var(--ink); }
.nav__wordmark {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav__menu {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav__menu a {
  font-size: 15px;
  font-weight: 450;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 160ms var(--ease);
}
.nav__menu a:hover { color: var(--ink); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color 160ms var(--ease), background 160ms var(--ease);
}
.nav__icon:hover { color: var(--ink); background: rgba(255,255,255,0.03); }

/* ============================================================
   BUTTONS — GHOST
   ============================================================ */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #0A0A0A;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  overflow: visible;
  isolation: isolate;
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease), color 200ms var(--ease);
}

/* Corner glow orbs — visible and colorful */
.btn-ghost::before,
.btn-ghost::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity 350ms var(--ease), transform 700ms var(--ease);
}
/* Top-left: cyan glow */
.btn-ghost::before {
  top: -24px;
  left: -24px;
  background: radial-gradient(circle, rgba(0, 230, 255, 0.7) 0%, rgba(0, 230, 255, 0.25) 35%, transparent 70%);
  filter: blur(10px);
}
/* Bottom-right: emerald glow */
.btn-ghost::after {
  bottom: -24px;
  right: -24px;
  background: radial-gradient(circle, rgba(0, 212, 168, 0.6) 0%, rgba(0, 212, 168, 0.2) 35%, transparent 70%);
  filter: blur(10px);
}

.btn-ghost {
  border-color: rgba(0, 230, 255, 0.35);
  box-shadow:
    -8px -6px 20px -4px rgba(0, 230, 255, 0.15),
     8px  6px 20px -4px rgba(0, 212, 168, 0.12);
}
.btn-ghost::before {
  opacity: 1;
  transform: translate(12px, 12px);
}
.btn-ghost::after {
  opacity: 1;
  transform: translate(-12px, -12px);
}

.btn-ghost svg { color: var(--cyan); transition: color 200ms var(--ease); }

.btn-ghost--sm {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0A0A0A;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 450;
}
.btn-ghost--sm::before { width: 40px; height: 40px; top: -16px; left: -16px; filter: blur(8px); }
.btn-ghost--sm::after  { width: 40px; height: 40px; bottom: -16px; right: -16px; filter: blur(8px); }
.btn-ghost--sm {
  border-color: rgba(0, 230, 255, 0.25);
  color: var(--ink);
  box-shadow:
    -6px -4px 16px -4px rgba(0, 230, 255, 0.12),
     6px  4px 16px -4px rgba(0, 212, 168, 0.1);
}

/* ============================================================
   BUTTONS — PRIMARY (Uiverse Spacious74, adapted)
   ============================================================ */
.button {
  cursor: pointer;
  font-size: 1rem;
  border-radius: 14px;
  border: none;
  padding: 2px;
  background: #181b1b;
  position: relative;
  overflow: hidden;
  font-family: inherit;
  transition: transform 280ms var(--ease), background 400ms var(--ease);
}
/* Static white/blue border — visible by default, fades on hover */
.button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 14px;
  background: radial-gradient(circle 80px at 80% -10%, rgba(255,255,255,0.3), transparent 70%);
  transition: opacity 400ms var(--ease);
  pointer-events: none;
}
.button::after {
  opacity: 0;
}
/* Rotating conic border — hidden by default, appears on hover */
.button::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: max(200%, 300px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(
    from 0deg,
    #1a1d1d 0%,
    #1a1d1d 5%,
    rgba(255,255,255,0.55) 12%,
    rgba(255,255,255,0.15) 20%,
    #1a1d1d 25%,
    #1a1d1d 48%,
    rgba(0,200,230,0.3) 53%,
    #00E6FF 60%,
    rgba(0,200,230,0.3) 67%,
    #1a1d1d 72%,
    #1a1d1d 100%
  );
  opacity: 0;
  animation: btn-rotate 5s linear infinite;
  transition: opacity 400ms var(--ease);
}
.button::before {
  opacity: 1;
}
@keyframes btn-rotate {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.button {
  transform: translateY(-1px);
}
.button .blob1 {
  position: absolute;
  width: 70px;
  height: 100%;
  border-radius: 14px;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: radial-gradient(circle 60px at 0% 100%, #3fe9ff, #00a8ff80, transparent);
  box-shadow: -10px 10px 30px #00e1ff2d;
  transition: opacity 400ms var(--ease);
}
.button .blob1 {
  opacity: 0;
}
.button .inner {
  padding: 14px 26px;
  border-radius: 12px;
  color: #fff;
  z-index: 3;
  position: relative;
  background: radial-gradient(circle 80px at 80% -50%, #777777, #0f1111);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: background 400ms var(--ease);
}
.button .inner {
  background: radial-gradient(circle 80px at 80% -50%, #888888, #131616);
}
.button .inner::before {
  content: "";
  width: 100%;
  height: 100%;
  left: 0; top: 0;
  border-radius: 12px;
  background: radial-gradient(circle 60px at 0% 100%, #00e1ff1a, #00a8ff11, transparent);
  position: absolute;
  transition: background 400ms var(--ease);
}
.button .inner::before {
  background: radial-gradient(circle 120px at 50% 100%, #00e1ff22, #00a8ff18, transparent);
}

/* Small variant for nav */
.button--sm { border-radius: 11px; padding: 2px; }
.button--sm .inner { padding: 10px 18px; font-size: 14px; border-radius: 9px; }
.button--sm .blob1 { border-radius: 11px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 180px 0 24px;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 1200px 600px at 50% 10%, rgba(0, 230, 255, 0.06) 0%, transparent 65%),
    radial-gradient(ellipse 900px 500px at 50% 100%, rgba(0, 212, 168, 0.02) 0%, transparent 60%);
}
.hero__nodes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 40%, transparent 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--cyan-muted);
  border: 1px solid var(--cyan-border);
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan);
  margin-bottom: 36px;
}

.hero__title {
  font-size: 60px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 20px;
  max-width: 820px;
}
.hero__title-dim { color: var(--ink-2); }

.hero__subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 580px;
  margin: 0 0 36px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-3);
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-item svg { color: var(--ink-3); }
.trust-sep { color: var(--hairline-strong); }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section--alt { background: var(--bg-alt); }

.section-head {
  margin-bottom: 56px;
  max-width: 640px;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head--center .h2,
.section-head--center .lede { margin-left: auto; margin-right: auto; }

/* ============================================================
   VALUE PROPOSITION — FEATURE CARDS
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
  min-height: 260px;
  display: flex;
  flex-direction: column;
}
.section--alt .feature-card { background: var(--bg); }
.feature-card:hover {
  border-color: var(--cyan-border);
  transform: translateY(-2px);
}
.feature-card__icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--cyan-muted);
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.feature-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.feature-card__body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 48px;
  right: 48px;
  height: 1px;
  background: var(--hairline-strong);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step__num {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--cyan-border);
  background: var(--bg-alt);
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section--alt .step__num { background: var(--bg-alt); }
.step__icon {
  color: var(--ink-2);
  margin-top: 4px;
}
.step__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.step__body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
  max-width: 240px;
}

/* ============================================================
   METRICS
   ============================================================ */
.metrics__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}
.metrics__meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline-strong);
  padding-top: 48px;
}
.metric {
  padding: 0 32px 0 0;
  border-right: 1px solid var(--hairline);
}
.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: none; }

.metric__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.metric__value {
  font-size: 36px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  margin-bottom: 10px;
}
.metric__delta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--emerald);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   WHY NEXUSFORGE
   ============================================================ */
.why {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 96px;
  align-items: start;
}
.why__left .h2 { margin-bottom: 24px; max-width: 440px; }
.why__copy {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0 0 40px;
  max-width: 420px;
}
.why__ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
  transition: color 160ms var(--ease);
}
.link-arrow:hover { color: var(--cyan); }
.link-arrow svg { transition: transform 160ms var(--ease); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

.why__right {
  justify-self: end;
  width: 100%;
  max-width: 480px;
}

/* ---------- Uiverse iconicchandu card (palette-adapted) ---------- */
.card {
  --c-white: hsl(0, 0%, 100%);
  --c-black: hsl(240, 15%, 9%);
  --c-paragraph: #AAAAAA;
  --c-line: rgba(255,255,255,0.08);
  --c-primary: #00E6FF;

  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;

  padding: 32px;
  width: 100%;

  background-color: #0A0D0F;
  background-image:
    radial-gradient(at 88% 40%, #0A0D0F 0px, transparent 85%),
    radial-gradient(at 49% 30%, #0A0D0F 0px, transparent 85%),
    radial-gradient(at 14% 26%, #0A0D0F 0px, transparent 85%),
    radial-gradient(at 0% 64%, rgba(0, 230, 255, 0.22) 0px, transparent 85%),
    radial-gradient(at 41% 94%, rgba(0, 230, 255, 0.18) 0px, transparent 85%),
    radial-gradient(at 100% 99%, rgba(0, 168, 200, 0.12) 0px, transparent 85%);

  border-radius: 16px;
  z-index: 0;
}

/* Rotating border glow — uses conic-gradient for a clean sweep */
.card .card__border {
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: -2;
  inset: -1px;
  border-radius: 17px;
  background: linear-gradient(0deg, hsl(0, 0%, 18%) 0%, hsl(0, 0%, 30%) 100%);
}
.card .card__border::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: max(150%, 400px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    transparent 25%,
    #00E6FF 35%,
    #00bbcc 50%,
    #00E6FF 65%,
    transparent 75%,
    transparent 100%
  );
  animation: rotate-border 6s linear infinite;
}

/* Inner mask so only the border edge shows */
.card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px;
  border-radius: 15px;
  background: #0A0D0F;
  background-image:
    radial-gradient(at 88% 40%, #0A0D0F 0px, transparent 85%),
    radial-gradient(at 49% 30%, #0A0D0F 0px, transparent 85%),
    radial-gradient(at 14% 26%, #0A0D0F 0px, transparent 85%),
    radial-gradient(at 0% 64%, rgba(0, 230, 255, 0.22) 0px, transparent 85%),
    radial-gradient(at 41% 94%, rgba(0, 230, 255, 0.18) 0px, transparent 85%),
    radial-gradient(at 100% 99%, rgba(0, 168, 200, 0.12) 0px, transparent 85%);
}

@keyframes rotate-border {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.card__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 12px;
}
.card .card_title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.card .card_paragraph {
  margin-top: 8px;
  width: 100%;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}
.card .line {
  width: 100%;
  height: 1px;
  background-color: var(--c-line);
  border: none;
  margin: 4px 0;
}
.card .card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card .card__list_item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.card .check {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 18px; height: 18px;
  flex-shrink: 0;
  background-color: var(--cyan);
  border-radius: 50%;
}
.card .check_svg {
  width: 12px; height: 12px;
  fill: #050505;
}
.card .list_text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}
.card-cta {
  cursor: pointer;
  padding: 12px;
  width: 100%;
  background-image: linear-gradient(0deg, #00E6FF, #0093a8 100%);
  color: #041012;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 0;
  border-radius: 9999px;
  box-shadow: inset 0 -2px 25px -4px rgba(255,255,255,0.45);
  margin-top: 8px;
  transition: filter 180ms var(--ease);
}
.card-cta:hover { filter: brightness(1.08); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 96px 0 48px;
  border-top: 1px solid var(--hairline);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2.2fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 320px;
}
.footer__tagline {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.6;
}
.footer__socials {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.footer__socials a {
  color: var(--ink-3);
  transition: color 160ms var(--ease);
}
.footer__socials a:hover { color: var(--ink); }

.footer__heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 160ms var(--ease);
}
.footer__col a:hover { color: var(--ink); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 13px;
  color: var(--ink-3);
  flex-wrap: wrap;
  gap: 16px;
}
.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
    --gutter: 24px;
  }
  .hero__title { font-size: 56px; }
  .h2 { font-size: 36px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px 32px;
  }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
  .why { grid-template-columns: 1fr; gap: 64px; }
  .why__right { justify-self: start; max-width: 520px; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
    --gutter: 20px;
  }
  .nav { height: 60px; }
  .nav__inner { gap: 12px; }
  .nav__menu { display: none; }
  .nav__actions { gap: 6px; }
  .btn-ghost--sm { display: none; }
  .nav__icon { display: none; }
  .nav__wordmark { font-size: 16px; }
  /* Hide $FORGE and Launch App buttons from nav on phone — they live in the drawer */
  .nav__actions > .button { display: none; }

  .hero {
    padding: 96px 0 16px;
    min-height: auto;
  }
  .hero__title { font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; }
  .hero__subtitle { font-size: 16px; margin-bottom: 28px; }
  .hero__ctas { flex-direction: column; width: 100%; align-items: stretch; gap: 12px; }
  .hero__ctas .button,
  .hero__ctas .btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 52px;
  }
  .hero__ctas .button .inner {
    text-align: center;
    padding: 16px 22px;
    font-size: 16px;
  }
  .hero__ctas .btn-ghost { padding: 15px 22px; font-size: 15px; }
  .hero__trust { font-size: 12px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .trust-sep { display: none; }

  .h2 { font-size: 26px; }
  .section-head { margin-bottom: 40px; }

  .features { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 28px 24px; min-height: 0; }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .steps::before {
    top: 24px; bottom: 24px; left: 23px;
    right: auto;
    width: 1px; height: auto;
  }

  .metrics { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; padding-top: 32px; }
  .metric { padding: 0 16px 0 0; border-right: 1px solid var(--hairline); }
  .metric:nth-child(2n) { border-right: none; padding-right: 0; }
  .metric__value { font-size: 32px; }

  .why__ctas { flex-direction: column; align-items: stretch; gap: 14px; }
  .why__ctas .button { width: 100%; }
  .why__ctas .button .inner { text-align: center; padding: 16px 22px; font-size: 16px; }
  .why__ctas .link-arrow { justify-content: center; padding: 12px 0; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 30px; }
  .hero__subtitle { font-size: 15px; }
  .metric__value { font-size: 28px; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE UX ENHANCEMENTS — hamburger, drawer, touch targets
   ============================================================ */
.nav__burger { display: none; }
.mobile-drawer,
.mobile-drawer__backdrop { display: none; }

@media (max-width: 768px) {
  /* Remove blue tap flash on iOS/Android, keep focus-visible outlines */
  a, button, .button, .btn-ghost, .card-cta, .nav__icon, .nav__burger {
    -webkit-tap-highlight-color: transparent;
  }

  /* Hamburger */
  .nav__burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 110;
    transition: border-color 180ms var(--ease), background 180ms var(--ease);
  }
  .nav__burger:active { background: rgba(255,255,255,0.04); }
  .nav__burger-bar {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 240ms var(--ease), opacity 200ms var(--ease);
    transform-origin: center;
  }
  .nav__burger.is-open { border-color: rgba(0, 230, 255, 0.35); }
  .nav__burger.is-open .nav__burger-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav__burger.is-open .nav__burger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav__burger.is-open .nav__burger-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Backdrop + drawer */
  .mobile-drawer__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms var(--ease);
    z-index: 95;
  }
  .mobile-drawer__backdrop.is-open { opacity: 1; pointer-events: auto; }

  .mobile-drawer {
    display: block;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    background: #070707;
    border-bottom: 1px solid var(--hairline);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 260ms var(--ease), opacity 220ms var(--ease);
    z-index: 99;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-drawer.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }

  .mobile-drawer__inner {
    padding: 16px 20px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .mobile-drawer__links { display: flex; flex-direction: column; }
  .mobile-drawer__links a {
    display: flex;
    align-items: center;
    min-height: 52px;
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    padding: 6px 4px;
    border-bottom: 1px solid var(--hairline);
    transition: color 160ms var(--ease);
  }
  .mobile-drawer__links a:last-child { border-bottom: none; }
  .mobile-drawer__links a:active { color: var(--cyan); }

  .mobile-drawer__ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 8px;
  }
  .mobile-drawer__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    transition: transform 160ms var(--ease), border-color 160ms var(--ease);
  }
  .mobile-drawer__cta:active { transform: scale(0.98); }
  .mobile-drawer__cta--ghost {
    border: 1px solid rgba(0, 230, 255, 0.3);
    color: var(--ink);
    background: #0a0a0a;
  }
  .mobile-drawer__cta--primary {
    color: #fff;
    background: radial-gradient(circle 120px at 80% -20%, #3a3d3d, #101313);
    border: 1px solid rgba(0, 230, 255, 0.45);
    box-shadow: 0 8px 28px -10px rgba(0, 230, 255, 0.35);
  }

  /* Bigger tap targets for primary buttons site-wide on phone */
  .button .inner { padding: 15px 22px; font-size: 15px; }
  .button--sm .inner { padding: 12px 18px; font-size: 14px; }
  .btn-ghost { padding: 14px 20px; font-size: 15px; }
  .card-cta {
    min-height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .link-arrow { min-height: 44px; display: inline-flex; align-items: center; }

  /* Kill expensive rotating conic animation on phones — big perf/battery win */
  .button::before { animation: none; }

  /* Footer links — more breathing room for thumbs */
  .footer__col ul li a {
    display: inline-block;
    padding: 6px 0;
    min-height: 36px;
  }
  .footer__socials a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   FOCUS STATES
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}
.button:focus-visible { outline-offset: 4px; }

/* ============================================================
   NAV — ACTIVE LINK
   ============================================================ */
.nav__menu a.is-active {
  color: var(--cyan);
}

/* ============================================================
   DOCS PAGE — LAYOUT
   ============================================================ */
.docs-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 72px;
}

/* ---------- SIDEBAR ---------- */
.docs-sidebar {
  position: fixed;
  top: 72px;
  left: 0;
  bottom: 0;
  width: 260px;
  background: #0A0A0A;
  border-right: 1px solid var(--hairline);
  overflow-y: auto;
  z-index: 50;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}
.docs-sidebar::-webkit-scrollbar { width: 4px; }
.docs-sidebar::-webkit-scrollbar-track { background: transparent; }
.docs-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }

.docs-sidebar__inner {
  padding: 28px 0 48px;
}

.docs-sidebar__group {
  margin-bottom: 8px;
}

.docs-sidebar__heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
  padding: 0 24px;
  margin-bottom: 12px;
  margin-top: 24px;
}
.docs-sidebar__group:first-child .docs-sidebar__heading {
  margin-top: 4px;
}

.docs-sidebar a {
  display: block;
  font-size: 14px;
  color: #AAA;
  padding: 7px 24px;
  border-left: 2px solid transparent;
  transition: color 140ms var(--ease), border-color 140ms var(--ease), background 140ms var(--ease);
}
.docs-sidebar a:hover {
  color: #fff;
}
.docs-sidebar a.is-active {
  color: var(--cyan);
  border-left: 2px solid var(--cyan);
  background: rgba(0, 230, 255, 0.04);
}

/* ---------- CONTENT ---------- */
.docs-content {
  margin-left: 260px;
  padding: 48px 64px 80px;
  max-width: 860px;
  width: 100%;
  min-height: calc(100vh - 72px);
}

/* ---------- TYPOGRAPHY ---------- */
.docs-breadcrumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.docs-h1 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 32px;
}

.docs-h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 40px 0 16px;
}

.docs-lead {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 680px;
}

.docs-content p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0 0 20px;
}

.docs-content strong {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- INLINE CODE ---------- */
.docs-content code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  color: #e0e0e0;
}

/* ---------- CODE BLOCKS ---------- */
.docs-code-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 8px;
  margin-top: 24px;
}
.docs-code-label .docs-status {
  color: var(--emerald);
  margin-left: 8px;
}

.docs-content pre {
  margin: 0 0 24px;
  overflow-x: auto;
}
.docs-content pre code {
  display: block;
  background: #0A0A0A;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 20px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #e0e0e0;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre;
}

/* ---------- LINKS ---------- */
.docs-link {
  color: var(--cyan);
  transition: color 140ms var(--ease);
}
.docs-link:hover {
  color: var(--cyan-hover);
}

/* ---------- LISTS ---------- */
.docs-list {
  padding-left: 0;
  margin: 0 0 24px;
}
.docs-list li {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  padding: 4px 0 4px 20px;
  position: relative;
}
.docs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-3);
}

/* ---------- KEY CONCEPTS GRID ---------- */
.docs-concepts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.docs-concept {
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 24px;
}
.docs-concept__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.docs-concept p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

/* ---------- DIVIDERS ---------- */
.docs-divider {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 56px 0;
}

/* ---------- TABLE ---------- */
.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}
.docs-table th,
.docs-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
}
.docs-table th {
  font-weight: 500;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.02);
}
.docs-table td {
  color: var(--ink-2);
}
.docs-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- API ENDPOINTS ---------- */
.docs-endpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 36px 0 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
}
.docs-method {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.docs-method--get {
  background: rgba(0, 212, 168, 0.12);
  color: var(--emerald);
}
.docs-method--post {
  background: rgba(0, 140, 255, 0.12);
  color: #4da6ff;
}
.docs-method--delete {
  background: rgba(255, 80, 80, 0.12);
  color: #ff6b6b;
}
.docs-path {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--ink);
  background: none;
  padding: 0;
}
.docs-status {
  color: var(--emerald);
  font-size: 11px;
  margin-left: 8px;
}

/* ---------- DOCS FOOTER ---------- */
.docs-footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.docs-footer p {
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- MOBILE SIDEBAR TOGGLE ---------- */
.docs-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.docs-mobile-toggle:hover {
  color: var(--ink);
  border-color: var(--hairline-strong);
}

/* ============================================================
   DOCS — RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .docs-content {
    padding: 40px 40px 64px;
  }
}

@media (max-width: 768px) {
  .docs-layout {
    padding-top: 64px;
  }

  .docs-mobile-toggle {
    display: inline-flex;
  }

  .docs-sidebar {
    top: 64px;
    transform: translateX(-100%);
    transition: transform 240ms var(--ease);
    z-index: 90;
    box-shadow: none;
  }
  .docs-sidebar.is-open {
    transform: translateX(0);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.5);
  }

  .docs-content {
    margin-left: 0;
    padding: 32px 20px 64px;
  }

  .docs-h1 {
    font-size: 28px;
  }
  .docs-h2 {
    font-size: 19px;
  }

  .docs-concepts {
    grid-template-columns: 1fr;
  }

  .docs-endpoint {
    flex-wrap: wrap;
  }

  .docs-table {
    font-size: 13px;
  }
  .docs-table th,
  .docs-table td {
    padding: 10px 12px;
  }
}

/* ============================================================
   PROTOCOL PAGE — LAYER LABELS
   ============================================================ */
.layer-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 8px;
}

/* ============================================================
   PROTOCOL PAGE — TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 15px;
  width: 1px;
  background: var(--hairline-strong);
}
.timeline__item {
  position: relative;
  padding-bottom: 56px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__marker {
  position: absolute;
  left: -48px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--hairline-strong);
  background: var(--bg-alt);
  z-index: 1;
}
.timeline__item--active .timeline__marker {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 230, 255, 0.3);
}
.timeline__content {
  padding-top: 0;
}
.timeline__version {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.timeline__badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--cyan-muted);
  border: 1px solid var(--cyan-border);
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.timeline__date {
  color: var(--ink-3);
  font-size: 12px;
}
.timeline__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.timeline__body {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0;
  max-width: 560px;
}

/* ============================================================
   PROTOCOL PAGE — AUDIT CARDS
   ============================================================ */
.audit-card {
  justify-content: flex-start;
}
.audit-card__link {
  margin-top: auto;
  padding-top: 16px;
}

/* ============================================================
   PROTOCOL PAGE — TOKENOMICS INFO DELTA
   ============================================================ */
.metric__delta--info {
  color: var(--ink-3);
  font-size: 13px;
}

/* ============================================================
   AGENTS PAGE — 4-COLUMN FEATURE GRID
   ============================================================ */
.features--4col {
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================================
   AGENTS PAGE — FEATURE CARD STATS
   ============================================================ */
.feature-card__stats {
  margin-top: auto;
  padding-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* ============================================================
   AGENTS PAGE — CODE BLOCK
   ============================================================ */
.code-block {
  background: #0A0D0F;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 680px;
}
.code-block__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.02);
}
.code-block__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.code-block__filename {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  margin-left: 8px;
}
.code-block__pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
  tab-size: 2;
}
.code-block__pre code {
  font-family: inherit;
}
.code-key { color: var(--cyan); }
.code-str { color: var(--emerald); }
.code-num { color: #E8A0FF; }
.code-bool { color: #FFB86C; }
.code-comment { color: rgba(255,255,255,0.36); font-style: italic; }

/* ============================================================
   AGENTS PAGE — TEMPLATE CARDS
   ============================================================ */
.template-card {
  justify-content: flex-start;
}
.template-card__meta {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  flex-wrap: wrap;
}
.template-card__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--cyan-muted);
  border: 1px solid var(--cyan-border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.04em;
}
.template-card__cta {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
  padding: 10px 18px;
  font-size: 14px;
}

/* ============================================================
   RESPONSIVE — PROTOCOL & AGENTS PAGES
   ============================================================ */
@media (max-width: 1024px) {
  .features--4col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .features--4col { grid-template-columns: 1fr; }
  .timeline { padding-left: 40px; }
  .timeline::before { left: 11px; }
  .timeline__marker { left: -40px; width: 12px; height: 12px; }
  .timeline__item { padding-bottom: 40px; }
  .code-block__pre { font-size: 12px; padding: 16px; }
}

/* ============================================================
   HERO — COMPACT VARIANT (sub-pages)
   ============================================================ */
.hero--compact {
  padding: 140px 0 16px;
  min-height: 280px;
}

/* ============================================================
   CTA BLOCK (centered CTA section)
   ============================================================ */
.cta-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-block .h2 { margin-left: auto; margin-right: auto; }
.cta-block .lede { margin-left: auto; margin-right: auto; margin-bottom: 40px; }
.cta-block__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   PRICING GRID
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  display: flex;
  flex-direction: column;
}
.pricing-card .line {
  width: 100%;
  height: 1px;
  background-color: var(--hairline);
  border: none;
  margin: 20px 0;
}
.pricing-card--featured .line {
  background-color: rgba(255,255,255,0.08);
}
.pricing-card__header {
  display: flex;
  flex-direction: column;
}
.pricing-card__price {
  font-size: 48px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.pricing-card__period {
  font-size: 18px;
  font-weight: 450;
  color: var(--ink-3);
  letter-spacing: 0;
}
.pricing-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin-bottom: 24px;
}
.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}
.pricing-card__features .check {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-color: var(--cyan);
  border-radius: 50%;
}
.pricing-card__features .check_svg {
  width: 12px;
  height: 12px;
  fill: #050505;
}
.pricing-card__cta {
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-top: auto;
}

/* ============================================================
   COMPARE TABLE
   ============================================================ */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
}
.compare-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
  background: var(--bg-alt);
  position: sticky;
  top: 72px;
}
.compare-table th:first-child {
  color: var(--ink-2);
}
.compare-table td {
  color: var(--ink-2);
}
.compare-table td:first-child {
  color: var(--ink);
  font-weight: 500;
}
.compare-table tbody tr:hover {
  background: rgba(255,255,255,0.015);
}
.check--sm {
  width: 16px;
  height: 16px;
}
.check--sm .check_svg {
  width: 10px;
  height: 10px;
}
.table-dash {
  color: var(--ink-3);
  font-size: 16px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 220ms var(--ease);
}
.faq-item:hover {
  border-color: var(--cyan-border);
}
.faq-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 12px);
  margin: 0 auto;
}
.faq-item__question {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.faq-item__answer {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   RESPONSIVE — PRICING & COMPUTE PAGES
   ============================================================ */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-item:last-child:nth-child(odd) { grid-column: auto; max-width: none; }
}

@media (max-width: 768px) {
  .hero--compact { padding: 110px 0 10px; min-height: 220px; }
  .pricing-card__price { font-size: 36px; }
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 13px; }
  .cta-block__actions { flex-direction: column; }
}

/* ============================================================
   BLOG PAGE
   ============================================================ */

/* Tag pill */
.blog-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--cyan-muted);
  border: 1px solid var(--cyan-border);
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan);
  margin-bottom: 16px;
}

/* Blog card */
.blog-card {
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
  display: flex;
  flex-direction: column;
}
.section--alt .blog-card { background: var(--bg); }
.blog-card:hover {
  border-color: var(--cyan-border);
  transform: translateY(-2px);
}
.blog-card--featured {
  padding: 48px 40px;
}
.blog-card--featured .blog-card__title {
  font-size: 28px;
  max-width: 720px;
}
.blog-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.blog-card__title--lg {
  font-size: 28px;
}
.blog-card__meta {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}
.blog-card__excerpt {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card--featured .blog-card__excerpt {
  -webkit-line-clamp: 3;
  max-width: 720px;
}
.blog-card__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--cyan);
  transition: color 160ms var(--ease);
  margin-top: auto;
}
.blog-card__link:hover { color: var(--cyan-hover); }

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ============================================================
   SECURITY PAGE — AUDIT FINDINGS
   ============================================================ */
.audit-card__date {
  font-size: 13px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}
.audit-card__findings {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0;
}
.finding {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}
.finding--green {
  background: rgba(0, 212, 168, 0.1);
  color: var(--emerald);
  border: 1px solid rgba(0, 212, 168, 0.2);
}
.finding--yellow {
  background: rgba(255, 200, 50, 0.08);
  color: #FFD166;
  border: 1px solid rgba(255, 200, 50, 0.2);
}
.finding--gray {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-3);
  border: 1px solid var(--hairline);
}

/* ============================================================
   SECURITY PAGE — BUG BOUNTY
   ============================================================ */
.bounty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.bounty-card {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}
.bounty-card:hover {
  border-color: var(--cyan-border);
  transform: translateY(-2px);
}
.bounty-card__tier {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.bounty-card--critical .bounty-card__tier { color: #FF6B6B; }
.bounty-card--high .bounty-card__tier { color: #FFD166; }
.bounty-card--medium .bounty-card__tier { color: var(--cyan); }
.bounty-card--low .bounty-card__tier { color: var(--ink-3); }
.bounty-card__amount {
  font-size: 36px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.bounty-card__desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

/* Bounty rules */
.bounty-rules {
  max-width: 720px;
  margin: 0 auto;
}
.bounty-rules__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.bounty-rules__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bounty-rules__list li {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
}
.bounty-rules__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.6;
}

/* ============================================================
   SECURITY PAGE — TIMELINE OVERRIDES
   ============================================================ */
.timeline__dot {
  position: absolute;
  left: -48px;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.timeline__item--current .timeline__dot {
  border-color: var(--emerald);
  background: transparent;
}
.timeline__label {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.timeline__desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
  max-width: 480px;
}

/* ============================================================
   SECURITY PAGE — DISCLOSURE
   ============================================================ */
.disclosure {
  max-width: 720px;
  margin: 0 auto;
}
.disclosure__content .h2 { margin-bottom: 16px; }
.disclosure__info {
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.disclosure__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
}
.disclosure__label {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  min-width: 120px;
  text-transform: uppercase;
}
.disclosure__value {
  font-size: 15px;
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
}
.disclosure__note {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   GOVERNANCE PAGE — DISTRIBUTION
   ============================================================ */
.distribution {
  max-width: 800px;
  margin: 0 auto;
}
.distro-bar {
  display: flex;
  height: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid var(--hairline);
}
.distro-bar__segment {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: opacity 200ms var(--ease);
}
.distro-bar__segment:hover { opacity: 0.85; }
.distro-bar__label {
  font-size: 12px;
  font-weight: 600;
  color: #050505;
  white-space: nowrap;
}
.distro-bar__segment--community { background: var(--cyan); }
.distro-bar__segment--treasury { background: var(--emerald); }
.distro-bar__segment--team { background: #FFD166; }
.distro-bar__segment--ecosystem { background: #AAAAAA; }
.distro-bar__segment--ecosystem .distro-bar__label { font-size: 11px; }

/* Distribution detail cards */
.distro-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.distro-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  transition: border-color 220ms var(--ease);
}
.distro-card:hover { border-color: var(--hairline-strong); }
.distro-card__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.distro-card__dot--community { background: var(--cyan); }
.distro-card__dot--treasury { background: var(--emerald); }
.distro-card__dot--team { background: #FFD166; }
.distro-card__dot--ecosystem { background: #AAAAAA; }
.distro-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.distro-card__pct {
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.distro-card__desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   GOVERNANCE PAGE — PROPOSALS
   ============================================================ */
.proposals {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.proposal-card {
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 220ms var(--ease);
}
.proposal-card:hover { border-color: var(--cyan-border); }
.proposal-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.proposal-card__id {
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  color: var(--ink-3);
}
.proposal-card__status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}
.proposal-card__status--voting {
  background: rgba(0, 230, 255, 0.1);
  color: var(--cyan);
  border: 1px solid var(--cyan-border);
}
.proposal-card__status--passed {
  background: rgba(0, 212, 168, 0.1);
  color: var(--emerald);
  border: 1px solid rgba(0, 212, 168, 0.2);
}
.proposal-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.proposal-card__meta {
  font-size: 13px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 20px;
}

/* Vote bar */
.vote-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 100, 100, 0.2);
  overflow: hidden;
  margin-bottom: 8px;
}
.vote-bar__for {
  height: 100%;
  border-radius: 4px;
  background: var(--emerald);
}
.vote-bar__labels {
  display: flex;
  justify-content: space-between;
}
.vote-bar__label {
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}
.vote-bar__label--for { color: var(--emerald); }
.vote-bar__label--against { color: #FF6B6B; }

/* ============================================================
   GOVERNANCE PAGE — DELEGATION
   ============================================================ */
.delegation {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.delegation__content .h2 {
  margin-left: auto;
  margin-right: auto;
}
.delegation__content .lede {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}
.delegation__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE — BLOG, SECURITY, GOVERNANCE
   ============================================================ */
@media (max-width: 1024px) {
  .bounty-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card--featured { padding: 28px 24px; }
  .blog-card--featured .blog-card__title { font-size: 22px; }

  .bounty-grid { grid-template-columns: 1fr; }
  .bounty-card__amount { font-size: 28px; }

  .disclosure__row { flex-direction: column; gap: 6px; align-items: flex-start; }
  .disclosure__label { min-width: auto; }

  .distro-bar { height: 36px; }
  .distro-bar__label { font-size: 10px; }
  .distro-cards { grid-template-columns: 1fr; }

  .proposal-card { padding: 24px; }
  .proposal-card__title { font-size: 17px; }

  .delegation__ctas { flex-direction: column; }
}

@media (max-width: 420px) {
  .distro-bar__label { font-size: 9px; }
}

/* ============================================================
   PAGE-SPECIFIC: SHARED HERO SHORT VARIANT
   ============================================================ */
.hero--short {
  min-height: auto;
  padding: 120px 0 12px;
}

/* ============================================================
   PAGE-SPECIFIC: ABOUT — MISSION GRID
   ============================================================ */
.mission-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.mission-text .h2 { max-width: 480px; }
.mission-text .why__copy { max-width: 480px; }

.mission-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fact-card {
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 220ms var(--ease);
}
.fact-card:hover { border-color: var(--cyan-border); }
.fact-card__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.fact-card__value {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* ============================================================
   PAGE-SPECIFIC: ABOUT — TEAM GRID
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 220ms var(--ease), transform 220ms var(--ease);
}
.team-card:hover {
  border-color: var(--cyan-border);
  transform: translateY(-2px);
}
.team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cyan-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.team-card__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.team-card__role {
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan);
  margin-bottom: 14px;
}
.team-card__bio {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 18px;
}
.team-card__socials {
  display: flex;
  gap: 14px;
}
.team-card__socials a {
  color: var(--ink-3);
  transition: color 160ms var(--ease);
}
.team-card__socials a:hover { color: var(--cyan); }

/* ============================================================
   PAGE-SPECIFIC: ABOUT — INVESTORS
   ============================================================ */
.investors-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.investor-logo {
  padding: 24px 32px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--bg-alt);
  transition: border-color 220ms var(--ease);
}
.investor-logo:hover { border-color: var(--cyan-border); }
.investor-logo__text {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ============================================================
   PAGE-SPECIFIC: CAREERS — JOB CARDS
   ============================================================ */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.job-card {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: border-color 220ms var(--ease), transform 220ms var(--ease);
}
.job-card:hover {
  border-color: var(--cyan-border);
  transform: translateY(-1px);
}
.job-card__top {
  flex: 1;
  min-width: 0;
}
.job-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.job-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.job-card__pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--cyan-muted);
  border: 1px solid var(--cyan-border);
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan);
}
.job-card__detail {
  font-size: 13px;
  color: var(--ink-3);
}
.job-card__desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   PAGE-SPECIFIC: CAREERS — BENEFITS
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-item {
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 220ms var(--ease);
}
.benefit-item:hover { border-color: var(--cyan-border); }
.benefit-item__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.benefit-item__body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   PAGE-SPECIFIC: CHANGELOG — TIMELINE ENTRIES
   ============================================================ */
.timeline-entry {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 28px;
  position: relative;
}
.timeline-entry__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline-entry__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink-3);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--hairline-strong);
  flex-shrink: 0;
  margin-top: 6px;
}
.timeline-entry__dot--cyan {
  background: var(--cyan);
  box-shadow: 0 0 0 2px var(--cyan-border), 0 0 12px rgba(0, 230, 255, 0.2);
}
.timeline-entry__dot--emerald {
  background: var(--emerald);
  box-shadow: 0 0 0 2px rgba(0, 212, 168, 0.22), 0 0 12px rgba(0, 212, 168, 0.2);
}
.timeline-entry__line {
  width: 1px;
  flex: 1;
  background: var(--hairline-strong);
  min-height: 32px;
}
.timeline-entry__content {
  padding-bottom: 56px;
}
.timeline-entry:last-child .timeline-entry__content {
  padding-bottom: 0;
}
.timeline-entry__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.timeline-entry__version {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
}
.timeline-entry__date {
  font-size: 14px;
  color: var(--ink-3);
}
.timeline-entry__tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline);
}
.timeline-entry__tag--cyan {
  color: var(--cyan);
  background: var(--cyan-muted);
  border-color: var(--cyan-border);
}
.timeline-entry__tag--emerald {
  color: var(--emerald);
  background: rgba(0, 212, 168, 0.08);
  border-color: rgba(0, 212, 168, 0.22);
}
.timeline-entry__title {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.timeline-entry__changes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timeline-entry__changes li {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}
.timeline-entry__changes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hairline-strong);
}

/* ============================================================
   RESPONSIVE — ABOUT, CAREERS, CHANGELOG
   ============================================================ */
@media (max-width: 1024px) {
  .mission-grid { grid-template-columns: 1fr; gap: 48px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .investors-row { gap: 24px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero--short { min-height: auto; padding: 96px 0 8px; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .investors-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .investor-logo { text-align: center; }
  .mission-facts { grid-template-columns: 1fr 1fr; }
  .job-card { flex-direction: column; align-items: stretch; gap: 16px; }
  .job-card .btn-ghost--sm { align-self: flex-start; }
  .benefits-grid { grid-template-columns: 1fr; }
  .timeline-entry { grid-template-columns: 16px 1fr; gap: 20px; }
  .timeline-entry__header { gap: 8px; }
  .timeline-entry__title { font-size: 18px; }
}

@media (max-width: 420px) {
  .mission-facts { grid-template-columns: 1fr; }
  .fact-card__value { font-size: 18px; }
}

/* ============================================================
   BLOG ARTICLE — Single Post Pages
   ============================================================ */
.blog-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.blog-article__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 48px;
  transition: color 160ms var(--ease);
}
.blog-article__back:hover { color: var(--cyan); }

.blog-article__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--cyan-muted);
  border: 1px solid var(--cyan-border);
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan);
  margin-bottom: 20px;
}

.blog-article__title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 24px;
}

.blog-article__meta {
  font-size: 14px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline);
}

.blog-article__body h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.blog-article__body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 40px 0 12px;
  letter-spacing: -0.005em;
  line-height: 1.35;
}

.blog-article__body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 24px;
}

.blog-article__body blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--cyan);
  background: var(--cyan-muted);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.blog-article__body blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--ink);
}

.blog-article__body blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-style: normal;
  color: var(--ink-3);
}

.blog-article__body ul,
.blog-article__body ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.blog-article__body ul { list-style: disc; }
.blog-article__body ol { list-style: decimal; }

.blog-article__body li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.blog-article__body strong {
  color: var(--ink);
  font-weight: 600;
}

.blog-article__body a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 160ms var(--ease);
}
.blog-article__body a:hover { color: var(--cyan-hover); }

.blog-article__body code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 2px 6px;
}

@media (max-width: 768px) {
  .blog-article__title { font-size: 28px; }
  .blog-article__body h2 { font-size: 20px; }
  .blog-article__body h3 { font-size: 18px; }
  .blog-article__meta { margin-bottom: 32px; padding-bottom: 32px; }
}

/* ============================================================
   LEGAL PAGES — TERMS & PRIVACY
   ============================================================ */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}
.legal-section {
  margin-bottom: 56px;
}
.legal-section:last-child {
  margin-bottom: 0;
}
.legal-h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 20px;
}
.legal-content p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0 0 16px;
}
.legal-content p:last-child {
  margin-bottom: 0;
}
.legal-content strong {
  color: var(--ink);
  font-weight: 500;
}
.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal-list li {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}
.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-3);
}
.legal-list li strong {
  color: var(--ink);
  font-weight: 500;
}
.legal-link {
  color: var(--cyan);
  transition: color 160ms var(--ease);
}
.legal-link:hover {
  color: var(--cyan-hover);
}

/* ============================================================
   STATUS PAGE — EMERALD EYEBROW PILL VARIANT
   ============================================================ */
.eyebrow-pill--emerald {
  background: rgba(0, 212, 168, 0.08);
  border-color: rgba(0, 212, 168, 0.22);
  color: var(--emerald);
}

/* ============================================================
   STATUS PAGE — STATUS GRID
   ============================================================ */
.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.status-card {
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: border-color 220ms var(--ease);
}
.status-card:hover {
  border-color: var(--hairline-strong);
}
.status-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.status-card__name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.status-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}
.status-card__badge--operational {
  color: var(--emerald);
}
.status-card__badge--pending {
  color: #d4a017;
}

/* ============================================================
   STATUS PAGE — UPTIME BAR
   ============================================================ */
.uptime-bar-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.uptime-bar {
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 12px;
}
.uptime-bar__fill {
  height: 100%;
  border-radius: 6px;
  background: var(--emerald);
}
.uptime-bar__labels {
  display: flex;
  justify-content: space-between;
}
.uptime-bar__label {
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink-3);
}
.uptime-bar__label--value {
  color: var(--emerald);
  font-weight: 500;
}

/* ============================================================
   STATUS PAGE — INCIDENT CARDS
   ============================================================ */
.incidents {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
}
.incident-card {
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 220ms var(--ease);
}
.incident-card:hover {
  border-color: var(--hairline-strong);
}
.incident-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.incident-card__date {
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.incident-card__status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}
.incident-card__status--resolved {
  background: rgba(0, 212, 168, 0.1);
  color: var(--emerald);
  border: 1px solid rgba(0, 212, 168, 0.2);
}
.incident-card__status--completed {
  background: rgba(0, 230, 255, 0.08);
  color: var(--cyan);
  border: 1px solid var(--cyan-border);
}
.incident-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.incident-card__body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0 0 16px;
}
.incident-card__resolution {
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--emerald);
  letter-spacing: 0.02em;
}

/* ============================================================
   RESPONSIVE — LEGAL & STATUS PAGES
   ============================================================ */
@media (max-width: 768px) {
  .legal-h2 { font-size: 19px; }
  .legal-section { margin-bottom: 40px; }
  .status-grid { grid-template-columns: 1fr; }
  .incident-card { padding: 24px; }
  .incident-card__title { font-size: 16px; }
  .incident-card__header { flex-wrap: wrap; gap: 8px; }
}

/* ============================================================
   MARKET TICKER — CoinGecko live feed
   ============================================================ */
.market-ticker {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 90;
  height: 34px;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-2);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}
.market-ticker.is-loaded {
  opacity: 1;
  transform: translateY(0);
}
.market-ticker.is-stale .market-ticker__dot {
  background: #ffb347;
  box-shadow: 0 0 8px rgba(255, 179, 71, 0.5);
}
.market-ticker__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}
.market-ticker__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.market-ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald, #00d4a8);
  box-shadow: 0 0 8px rgba(0, 212, 168, 0.6);
  animation: ticker-pulse 2s ease-in-out infinite;
}
@keyframes ticker-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.market-ticker__status-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink);
  font-weight: 500;
}
.market-ticker__items {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.market-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.market-ticker__sym {
  color: var(--ink);
  font-weight: 500;
}
.market-ticker__price {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.market-ticker__change {
  font-variant-numeric: tabular-nums;
  color: var(--ink-3, #7a7a7a);
}
.market-ticker__change.is-up { color: #3fe9a4; }
.market-ticker__change.is-down { color: #ff6b7a; }
.market-ticker__source {
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-3, #6a6a6a);
  text-transform: uppercase;
}

/* Offset content so ticker doesn't cover the hero */
body.has-ticker { padding-top: 34px; }

@media (max-width: 768px) {
  .market-ticker {
    top: 60px;
    height: 30px;
    font-size: 11px;
  }
  .market-ticker__inner { gap: 12px; padding: 0 16px; }
  .market-ticker__items { gap: 14px; }
  .market-ticker__source { display: none; }
  .market-ticker__status-label { display: none; }
  body.has-ticker { padding-top: 30px; }
}

@media (max-width: 420px) {
  .market-ticker__items { gap: 10px; }
  .market-ticker__change { display: none; }
}
