/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0c0c0c;
  --bg-dark: #000000;
  --ink: #f8f8f8;
  --ink-2: #a1a1aa;
  --ink-3: #52525b;
  --border: rgba(255,255,255,0.08);
  --border-dark: rgba(255,255,255,0.04);
  --accent: #CCFF00;
  --accent-2: #e3ff4d;
  --green: #CCFF00;
  --card-bg: rgba(255,255,255,0.03);
  --card-border: rgba(255,255,255,0.08);
  --pill-bg: rgba(255,255,255,0.05);
  --pill-border: rgba(255,255,255,0.1);
  --term-bg: #000000;
  --term-border: rgba(204,255,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-w: 1100px;
  --nav-h: 60px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ============================================================
   GLOBE / HERO BACKGROUND
   ============================================================ */
.hx {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hx-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#globeCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.hx-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.hx-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.logo-icon {
  width: 24px;
  height: 24px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.hx-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.hx-links a, .hx-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.15s;
}

.hx-links a:hover {
  color: var(--ink);
}

.hx-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Buttons */
.hx-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.hx-login {
  background: transparent;
  color: var(--ink-2);
}
.hx-login:hover {
  color: var(--ink);
  background: var(--pill-bg);
}

.hx-start {
  background: var(--accent);
  color: #000;
}
.hx-start:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.hx-btn.hx-lg {
  padding: 11px 20px;
  font-size: 14.5px;
  border-radius: 10px;
}

.hx-primary {
  background: var(--accent);
  color: #000;
}
.hx-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(204,255,0,0.2);
}

.hx-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.hx-ghost:hover {
  background: var(--pill-bg);
  transform: translateY(-2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s;
  cursor: pointer;
  border: 1.5px solid rgba(0,0,0,0.15);
  background: transparent;
  color: var(--ink);
}
.btn:hover {
  background: var(--pill-bg);
}
.btn.primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.btn.primary:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(204,255,0,0.15);
}

.arw {
  width: 12px;
  height: 10px;
  flex-shrink: 0;
}

/* Burger / Mobile */
.hx-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hx-burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.2s;
}

.hx-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 20px;
  flex-direction: column;
  gap: 12px;
}
.hx-menu.open {
  display: flex;
}
.hx-menu .divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}
.hx-menu .m-start {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #000;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 4px;
  align-self: flex-start;
}

/* ============================================================
   HERO CONTENT
   ============================================================ */
.hx-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 28px;
}

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

.ln-i {
  display: block;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ln:nth-child(2) .ln-i {
  animation-delay: 0.1s;
}

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

.hx-sub {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--ink-2);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 32px;
}

.hx-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.sec {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .sec-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================================
   PILL LABEL
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border-radius: 100px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-2);
  font-family: var(--font-mono);
  margin-bottom: 16px;
}

/* ============================================================
   DISPLAY HEADINGS
   ============================================================ */
.display {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.display.xs {
  font-size: 20px;
  margin-bottom: 10px;
}

.display em {
  font-style: italic;
}

/* Typewriter cursor */
.cursor {
  display: inline-block;
  animation: blink 0.8s steps(1) infinite;
  color: var(--accent);
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Wipe decorative line */
.wipe {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 16px 0;
  border-radius: 2px;
}

/* Kicker text */
.kicker {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 440px;
}

/* ============================================================
   GRIDS
   ============================================================ */
.g2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.g3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.g4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.g2.hero {
  align-items: center;
}

@media (max-width: 900px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .g2 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: 1fr; }
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--card-border);
  background: rgba(0,0,0,0.03);
}

.card-pad {
  padding: 16px;
}

.card-pad p {
  color: var(--ink-2);
  font-size: 15.5px;
}

.k {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-3);
  font-family: var(--font-mono);
}

.k.live {
  color: var(--green);
}

.num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-family: var(--font-mono);
  background: var(--pill-bg);
  padding: 2px 7px;
  border-radius: 4px;
}

/* ============================================================
   TERMINAL CARD
   ============================================================ */
.term {
  background: var(--term-bg);
  border: 1px solid var(--term-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.term .card-head {
  border-bottom: 1px solid var(--term-border);
  background: rgba(255,255,255,0.04);
}

.term .card-head .k {
  color: rgba(255,255,255,0.45);
}

.term .card-head .k.live {
  color: var(--green);
}

.term-body {
  padding: 16px;
}

.term-log {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  line-height: 1.7;
  min-height: 60px;
  margin-bottom: 16px;
}

.term-read {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}

.term-read > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.term-read span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.term-read b {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

/* Consumption bar */
.term-bar {
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  margin-bottom: 8px;
  overflow: hidden;
}

.term-bar i {
  display: block;
  height: 100%;
  background: var(--accent-2);
  border-radius: 2px;
  transition: width 1s linear;
}

.term-note {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  margin-bottom: 14px;
}

.term-note span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,0.35);
}

/* Telemetry bars */
.term-tele {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.term-tele > div {
  display: grid;
  grid-template-columns: 60px 1fr 50px;
  align-items: center;
  gap: 10px;
}

.term-tele span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

.term-tele i {
  display: block;
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
  font-style: normal;
}

.term-tele i b {
  display: block;
  height: 100%;
  background: var(--accent-2);
  border-radius: 2px;
  transition: width 1.5s ease;
}

.term-tele em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  text-align: right;
}

.term-tele small {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  margin-left: 1px;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stats > div {
  background: var(--bg);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stats b {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.stats span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--ink-3);
  font-family: var(--font-mono);
}

@media (max-width: 768px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   SHELF LIST
   ============================================================ */
.shelf-list {
  padding: 4px 0;
}

.shelf-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--card-border);
  transition: background 0.15s;
}
.shelf-item:last-child { border-bottom: none; }
.shelf-item:hover { background: rgba(0,0,0,0.025); }

.shelf-item-info {
  flex: 1;
}
.shelf-item-info b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.shelf-item-info span {
  font-size: 12px;
  color: var(--ink-3);
}

.shelf-item-price {
  text-align: right;
}
.shelf-item-price b {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}
.shelf-item-price span {
  font-size: 11px;
  color: var(--ink-3);
}

.badge {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--pill-bg);
  color: var(--ink-2);
  font-family: var(--font-mono);
}

/* ============================================================
   PROVIDER LEDGER
   ============================================================ */
.led {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.led:last-of-type { border-bottom: none; }

.led-id b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.led-id span {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

.led-rate {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}
.led-rate i {
  font-style: normal;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}

.led-earn {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  min-width: 70px;
  text-align: right;
}

.flash {
  animation: flashGreen 2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.5s);
}

@keyframes flashGreen {
  0%, 90%, 100% { opacity: 1; }
  45% { opacity: 0.6; }
}

/* ============================================================
   SPEC LIST
   ============================================================ */
.specs {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.spec:last-child { border-bottom: none; }

.spec span {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.spec b {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.spec a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--accent);
}

/* ============================================================
   CODE BLOCK
   ============================================================ */
.panel {
  background: var(--term-bg);
  border: 1px solid var(--term-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.panel .card-head {
  border-bottom: 1px solid var(--term-border);
  background: rgba(255,255,255,0.04);
}

.panel .card-head .k {
  color: rgba(255,255,255,0.45);
}

.panel .card-head .k.live {
  color: rgba(255,255,255,0.4);
}

.code {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  padding: 18px 20px;
  overflow-x: auto;
  white-space: pre;
}

.code .comment {
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   PIPELINE
   ============================================================ */
.pipe {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pipe-s {
  padding: 20px 18px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pipe-s:last-child { border-right: none; }

.pipe-s .num {
  align-self: flex-start;
}

.pipe-s b.mono {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
}

.pipe-s p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .pipe {
    grid-template-columns: 1fr;
  }
  .pipe-s {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .pipe-s:last-child { border-bottom: none; }
}

/* ============================================================
   TABLE
   ============================================================ */
.tbl-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tbl thead th {
  text-align: left;
  padding: 11px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  font-family: var(--font-mono);
  background: rgba(0,0,0,0.03);
  border-bottom: 1px solid var(--border);
}

.tbl tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}
.tbl tbody tr:last-child { border-bottom: none; }
.tbl tbody tr:hover { background: rgba(0,0,0,0.025); }

.tbl td {
  padding: 12px 16px;
  vertical-align: middle;
}

.tbl .mono {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-2);
}

.tbl .hi {
  color: var(--accent);
  font-weight: 500;
}

/* ============================================================
   SETTLEMENT DISPLAY
   ============================================================ */
.set-bar {
  height: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  margin-bottom: 12px;
  position: relative;
  overflow: visible;
}

.set-earn {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--accent-2);
  border-radius: 4px;
  transition: width 1s linear;
  font-style: normal;
}

.set-mark {
  position: absolute;
  top: -4px;
  width: 2px;
  height: 16px;
  background: rgba(255,255,255,0.4);
  border-radius: 1px;
  transition: left 1s linear;
  font-style: normal;
}

.set-legend {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.set-legend > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.set-legend.r,
.set-legend > div.r {
  text-align: right;
}

.set-legend span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,0.35);
}

.set-legend b {
  font-family: var(--font-mono);
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}

.set-sum {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 12px;
}

.set-sum span, .set-sum b {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.set-sum b {
  color: rgba(255,255,255,0.9);
  margin-left: auto;
}

.set-sum .op {
  color: rgba(255,255,255,0.25);
}

/* ============================================================
   ROADMAP
   ============================================================ */
.road {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.road-r {
  padding: 24px 22px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0.55;
  transition: opacity 0.2s;
}
.road-r:last-child { border-right: none; }
.road-r:hover { opacity: 0.85; }
.road-r.active { opacity: 1; }

.road-r b {
  font-size: 14px;
  font-weight: 700;
}

.road-r ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.road-r li {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.road-r li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--ink-3);
}

@media (max-width: 900px) {
  .road {
    grid-template-columns: 1fr 1fr;
  }
  .road-r:nth-child(2) { border-right: none; }
  .road-r:nth-child(2), .road-r:nth-child(1) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 640px) {
  .road {
    grid-template-columns: 1fr;
  }
  .road-r {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .road-r:last-child { border-bottom: none; }
}

/* ============================================================
   TECH STACK
   ============================================================ */
.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stack span {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 20px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.stack span:last-child { border-right: none; }

.stack b {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.stack i {
  font-style: normal;
  color: var(--ink-3);
  margin-left: 12px;
  font-size: 13px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.foot-in {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}

.sp {
  flex: 1;
}

.foot-links {
  display: flex;
  gap: 20px;
}

.foot-links a {
  font-size: 13.5px;
  color: var(--ink-2);
  transition: color 0.15s;
}
.foot-links a:hover { color: var(--ink); }

.foot-in > span:last-child {
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--font-mono);
}

/* ============================================================
   LIVE / GREEN BADGE
   ============================================================ */
.live {
  color: var(--green);
  font-weight: 700;
}

/* ============================================================
   MONO UTILITY
   ============================================================ */
.mono {
  font-family: var(--font-mono);
}

/* ============================================================
   SCROLL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hx-nav {
    padding: 0 20px;
    gap: 12px;
  }
  .hx-links { display: none; }
  .hx-actions { display: none; }
  .hx-burger { display: flex; }

  .wrap { padding: 0 20px; }

  .term-read {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .sec {
    padding: 56px 0;
  }

  .stack span {
    padding: 10px 14px;
  }
  .stack b { font-size: 10px; }

  .foot-in {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .sp { display: none; }
}
