/*
  XC0DE Prime v12 — Production Stylesheet
  ────────────────────────────────────────
  Font: JetBrains Mono (mono) + DM Sans (body) — loaded through the Google Fonts import below.
  No Inter, no Roboto, no Arial (banned by design system).
  Colors: teal cyan + violet purple, deep navy base.
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,500;0,9..40,700;0,9..40,900;1,9..40,300&family=JetBrains+Mono:wght@400;700;800&display=swap');

/* ── Custom Properties ───────────────────────────────────── */
:root {
  --bg:     #050812;
  --bg2:    #081021;
  --panel:  rgba(14, 22, 48, .82);
  --panel2: rgba(22, 34, 72, .70);

  --line:   rgba(148, 163, 184, .14);
  --line2:  rgba(34, 211, 238, .32);

  --text:   #eef4ff;
  --muted:  #8fa0bf;
  --muted2: #5a6880;

  --cyan:   #22d3ee;
  --violet: #8b5cf6;
  --green:  #00ffa3;
  --amber:  #fbbf24;
  --pink:   #ff3d9a;

  --shadow: 0 24px 80px rgba(0,0,0,.48);
  --glow-c: 0 0 28px rgba(34,211,238,.28);
  --glow-v: 0 0 28px rgba(139,92,246,.30);

  --r:   20px;
  --r-sm: 12px;
  --mono: 'JetBrains Mono', 'Cascadia Code', 'SF Mono', monospace;
  --sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  background: radial-gradient(ellipse at 16% 8%, rgba(139,92,246,.22) 0, transparent 30rem),
              radial-gradient(ellipse at 88% 18%, rgba(34,211,238,.14) 0, transparent 28rem),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.68;
  overflow-x: hidden;
  min-height: 100dvh;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); font-size: .875em; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

/* ── Layout ──────────────────────────────────────────────── */
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* ── Skip link ───────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--cyan); color: #000; padding: .6rem 1rem; z-index: 9999;
  font-family: var(--mono); font-size: .85rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ── Top nav ─────────────────────────────────────────────── */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(5,8,18,.78);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}

/* Brand */
.brand { display: flex; align-items: center; gap: .75rem; min-width: 0; text-decoration: none; }
.mark {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center; overflow: hidden;
  background: var(--bg);
  box-shadow: var(--glow-v);
  flex-shrink: 0;
}
.mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-text { display: flex; min-width: 0; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--mono); font-size: .95rem; letter-spacing: .06em; color: var(--cyan); }
.brand-text small  { overflow: hidden; font-size: .72rem; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }

/* Nav links */
.nav-links { display: flex; flex: 0 1 auto; list-style: none; gap: .18rem; }
.nav-links a {
  display: block; padding: .48rem .58rem; border-radius: 999px;
  font-size: .82rem; font-weight: 500; color: var(--muted);
  transition: color .18s, background .18s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text); background: rgba(255,255,255,.08);
}
.nav-links a[data-nav="support"] {
  border: 1px solid rgba(251,191,36,.22);
  background: rgba(251,191,36,.055);
  color: #fde68a;
}
.nav-links a[data-nav="support"]:hover, .nav-links a[data-nav="support"].active {
  border-color: rgba(251,191,36,.42);
  background: rgba(251,191,36,.1);
  color: #fff2b8;
}

/* Mobile toggle */
.mobile-toggle {
  display: none; border: 1px solid var(--line); background: rgba(255,255,255,.06);
  color: var(--text); border-radius: var(--r-sm); padding: .58rem .72rem;
  font-family: var(--mono); cursor: pointer;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 88vh; display: flex; align-items: center;
  padding: 145px 0 88px;
}
.hero.compact { min-height: 52vh; }

#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: .58; pointer-events: none;
}
.grid-line {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(34,211,238,.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 88%);
}
.scanline {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(34,211,238,.07), transparent);
  height: 22%; animation: scan 8s linear infinite;
}
@keyframes scan { from { transform: translateY(-120%); } to { transform: translateY(520%); } }

.hero-content { position: relative; z-index: 2; max-width: 960px; }

/* Kicker pill */
.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--green); font-family: var(--mono); font-size: .76rem; font-weight: 700; letter-spacing: .06em;
  border: 1px solid rgba(0,255,163,.24); background: rgba(0,255,163,.06);
  border-radius: 999px; padding: .42rem .78rem; margin-bottom: 1.2rem;
}
.pulse {
  width: .52rem; height: .52rem; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 18px var(--green);
  animation: pulse-anim 1.6s infinite;
}
@keyframes pulse-anim { 50% { transform: scale(1.55); opacity: .3; } }

/* Hero heading */
.hero h1 {
  font-size: clamp(3rem, 8.5vw, 7.8rem);
  line-height: .92; letter-spacing: 0; margin-bottom: 1.1rem;
}
.gradient {
  background: linear-gradient(90deg, #fff 0%, var(--cyan) 40%, var(--violet) 75%, #fff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 8s linear infinite;
}
@keyframes shine { to { background-position: 220% center; } }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem); color: #bfcfe0;
  max-width: 800px; margin-bottom: 1.7rem;
}

/* CTA row */
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }

.btn {
  min-height: 48px; padding: .84rem 1.28rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  display: inline-flex; align-items: center; gap: .48rem;
  font-family: var(--sans); font-weight: 700; font-size: .9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), #4f46e5);
  box-shadow: 0 10px 30px rgba(139,92,246,.28);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 42px rgba(34,211,238,.22), 0 0 28px rgba(139,92,246,.32); }
.btn.ghost  { background: rgba(255,255,255,.06); box-shadow: none; }
.btn.green  { background: linear-gradient(135deg, var(--green), #00b8ff); color: #00130c; }

/* Chip row */
.chips { display: flex; flex-wrap: wrap; gap: .65rem; }
.chip {
  border: 1px solid var(--line); border-radius: 999px;
  padding: .42rem .7rem; background: rgba(255,255,255,.04);
  color: var(--muted); font-family: var(--mono); font-size: .8rem;
}
.chip strong { color: var(--cyan); }
a.chip { transition: border-color .18s, background .18s; cursor: pointer; }
a.chip:hover { border-color: rgba(34,211,238,.35); background: rgba(34,211,238,.06); }

/* Epoch countdown inline */
.epoch-bar {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .82rem; color: var(--muted);
  margin-top: .85rem;
}
.epoch-bar code { color: var(--cyan); font-size: .88rem; letter-spacing: .04em; }

/* ── Sections ─────────────────────────────────────────────── */
section { padding: 88px 0; }
#status { scroll-margin-top: 72px; }

.section-head {
  max-width: 860px; margin: 0 auto 2.5rem; text-align: center;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3.4rem); letter-spacing: 0; margin-bottom: .65rem;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ── Metric grid ─────────────────────────────────────────── */
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }

.metric {
  background: linear-gradient(180deg, rgba(255,255,255,.072), rgba(255,255,255,.028));
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 1.3rem;
  min-height: 148px;
  transform-style: preserve-3d; transition: transform .16s, border-color .16s;
  cursor: default;
}
.metric:hover { border-color: rgba(34,211,238,.35); }

.label {
  font-family: var(--mono); font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  margin-bottom: .4rem;
}
.value {
  font-family: var(--mono); font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800; letter-spacing: 0; line-height: 1.1;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .2rem;
}
.sub { font-size: .82rem; color: var(--muted2); }

/* ── Card & Split ─────────────────────────────────────────── */
.card {
  background: linear-gradient(160deg, rgba(255,255,255,.068), rgba(255,255,255,.024));
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 1.4rem;
  transition: border-color .22s;
}
.card:hover { border-color: rgba(34,211,238,.28); }
.card h3 { font-size: 1.08rem; margin-bottom: .7rem; color: var(--cyan); }
.card p  { color: var(--muted); margin-bottom: .55rem; }
.card p:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.25rem; align-items: start; }

/* ── Lists ───────────────────────────────────────────────── */
.list { list-style: none; display: grid; gap: .75rem; }
.list li {
  padding: .9rem 1rem; border: 1px solid var(--line);
  background: rgba(255,255,255,.032); border-radius: var(--r-sm);
  font-size: .94rem;
}
.list strong { color: var(--cyan); }
.delegator-meta { display: block; margin-top: .25rem; }

.kv { display: grid; grid-template-columns: 9rem 1fr; gap: .45rem .8rem; align-items: baseline; }
.kv dt { font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; font-size: .92rem; }
.kv code { background: rgba(34,211,238,.08); padding: .12rem .35rem; border-radius: 6px; }

/* ── First Mainnet Block milestone ──────────────────────── */
.first-block-section {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 112px 0 118px;
  background:
    radial-gradient(circle at 72% 42%, rgba(34,211,238,.12), transparent 26rem),
    radial-gradient(circle at 22% 62%, rgba(139,92,246,.16), transparent 30rem),
    linear-gradient(180deg, rgba(4,7,17,.96), rgba(8,13,30,.98));
}
.first-block-section::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(34,211,238,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}
.first-block-section::after {
  content: ''; position: absolute; z-index: -1; left: 50%; top: 48%;
  width: min(900px,90vw); height: min(900px,90vw); border-radius: 50%;
  border: 1px solid rgba(34,211,238,.055); transform: translate(-50%,-50%);
  box-shadow: 0 0 120px rgba(139,92,246,.08), inset 0 0 120px rgba(34,211,238,.035);
  pointer-events: none;
}
.milestone-heading { max-width: 900px; margin: 0 auto 2.7rem; text-align: center; }
.milestone-kicker {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .55rem;
  padding: .42rem .8rem; border: 1px solid rgba(0,255,163,.25); border-radius: 999px;
  background: rgba(0,255,163,.055); color: #9fffd3;
  font-family: var(--mono); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase;
}
.milestone-kicker span {
  width: .52rem; height: .52rem; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 14px rgba(0,255,163,.8); animation: milestone-pulse 2s ease-in-out infinite;
}
.milestone-heading h2 {
  margin-bottom: .75rem; font-size: clamp(2.7rem,6vw,5.5rem); line-height: .96; letter-spacing: 0;
  background: linear-gradient(100deg,#fff 12%,#a5f3fc 44%,#c4b5fd 72%,#fff 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: milestone-title-shine 8s linear infinite;
}
.milestone-heading p {
  max-width: 760px; margin: 0 auto; color: #aebdd4;
  font-size: clamp(1rem,1.6vw,1.16rem); line-height: 1.72; text-wrap: balance;
}

.first-block-card {
  position: relative; max-width: 1080px; margin-inline: auto; overflow: hidden;
  padding: clamp(1.35rem,3vw,2.2rem); border: 1px solid rgba(34,211,238,.23); border-radius: 28px;
  background:
    radial-gradient(circle at 78% 42%, rgba(34,211,238,.09), transparent 22rem),
    linear-gradient(150deg, rgba(17,26,52,.94), rgba(6,9,21,.98));
  box-shadow: 0 35px 110px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.07), 0 0 55px rgba(139,92,246,.08);
}
.first-block-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg,transparent,var(--violet),var(--cyan),var(--green),transparent);
  background-size: 200% 100%; animation: milestone-line 5s linear infinite;
}
.first-block-grid { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(300px,.88fr); gap: clamp(1.5rem,4vw,3.4rem); align-items: center; }
.first-block-story { position: relative; z-index: 2; min-width: 0; }
.block-number-label {
  margin-bottom: .25rem; color: var(--muted); font-family: var(--mono);
  font-size: .69rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.block-number {
  color: #fff; font-family: var(--mono); font-size: clamp(2.65rem,6vw,4.8rem);
  font-weight: 800; line-height: 1; letter-spacing: 0; overflow-wrap: anywhere;
  text-shadow: 0 0 34px rgba(34,211,238,.24);
  animation: milestone-number-glow 3.4s ease-in-out infinite;
}
.block-date { display: flex; align-items: center; gap: .55rem; margin: .72rem 0 0; color: var(--muted); font-size: .86rem; }
.block-date strong { color: #cbdaf0; font-weight: 700; }
.milestone-live-dot { width: .56rem; height: .56rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 13px rgba(0,255,163,.7); }
.milestone-copy { max-width: 560px; margin: 1.15rem 0 1.3rem; color: #aab9d3; font-size: .94rem; line-height: 1.65; }
.first-block-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; }
.block-stat {
  min-width: 0; padding: .72rem .78rem; border: 1px solid rgba(148,163,184,.13); border-radius: 12px;
  background: rgba(255,255,255,.028); transition: border-color .2s, background .2s, transform .2s;
}
.block-stat:hover { border-color: rgba(34,211,238,.3); background: rgba(34,211,238,.045); transform: translateY(-2px); }
.block-stat--wide { grid-column: span 3; display: grid; grid-template-columns: 8rem minmax(0,1fr); gap: .65rem; align-items: center; }
.block-stat span { display: block; color: var(--muted2); font-family: var(--mono); font-size: .61rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.block-stat strong, .block-stat code { display: block; margin-top: .16rem; color: #dbeafe; font-family: var(--mono); font-size: .79rem; overflow-wrap: anywhere; }
.block-stat--wide strong, .block-stat--wide code { margin-top: 0; }
.milestone-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.milestone-actions .btn { min-height: 44px; padding: .7rem 1rem; font-size: .78rem; }

.award-stage {
  position: relative; min-height: 430px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.2rem; border: 1px solid rgba(139,92,246,.18); border-radius: 24px;
  background: radial-gradient(circle at 50% 48%, rgba(34,211,238,.12), transparent 12rem), rgba(3,6,16,.38);
}
.award-stage::before, .award-stage::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(34,211,238,.12); animation: milestone-orbit 12s linear infinite;
}
.award-stage::before { width: 310px; height: 310px; }
.award-stage::after { width: 365px; height: 365px; border-color: rgba(139,92,246,.1); animation-direction: reverse; animation-duration: 17s; }
.award-halo {
  position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle,rgba(34,211,238,.17),rgba(139,92,246,.08) 42%,transparent 72%);
  filter: blur(2px); animation: milestone-halo 3.2s ease-in-out infinite;
}
.award-caption { position: relative; z-index: 2; margin-bottom: .65rem; text-align: center; }
.award-caption span { display: block; color: var(--green); font-family: var(--mono); font-size: .62rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.award-caption strong { display: block; margin-top: .25rem; color: #fff; font-size: 1.05rem; }
.first-block-badge { position: relative; z-index: 2; width: min(300px,100%); display: grid; place-items: center; transition: transform .25s, filter .25s; animation: milestone-float 4.4s ease-in-out infinite; }
.first-block-badge:hover { transform: scale(1.055) translateY(-5px); filter: drop-shadow(0 0 25px rgba(34,211,238,.4)); }
.first-block-badge img { display: block; width: min(300px,100%); height: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.45)); }
.award-note { position: relative; z-index: 2; max-width: 280px; margin: .7rem 0 0; color: var(--muted2); font-size: .72rem; line-height: 1.5; text-align: center; }
.milestone-orbit, .milestone-stars { pointer-events: none; }
.milestone-orbit span { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); opacity: .5; }
.milestone-orbit span:nth-child(1) { left: 4%; top: 16%; animation: milestone-drift 6s ease-in-out infinite; }
.milestone-orbit span:nth-child(2) { left: 48%; bottom: 7%; animation: milestone-drift 7.5s ease-in-out -2s infinite; }
.milestone-orbit span:nth-child(3) { right: 3%; top: 11%; animation: milestone-drift 5.5s ease-in-out -1s infinite; }
.milestone-stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .28; animation: milestone-twinkle 3s ease-in-out infinite; }
.milestone-stars i:nth-child(1) { left: 8%; top: 18%; }.milestone-stars i:nth-child(2) { left: 19%; bottom: 22%; animation-delay: -.8s; }
.milestone-stars i:nth-child(3) { left: 42%; top: 9%; animation-delay: -1.6s; }.milestone-stars i:nth-child(4) { right: 13%; top: 24%; animation-delay: -2.1s; }
.milestone-stars i:nth-child(5) { right: 25%; bottom: 17%; animation-delay: -.4s; }.milestone-stars i:nth-child(6) { right: 5%; bottom: 35%; animation-delay: -1.2s; }
@keyframes milestone-pulse { 50% { transform: scale(1.45); opacity: .55; } }
@keyframes milestone-title-shine { to { background-position: 200% center; } }
@keyframes milestone-line { to { background-position: 200% 0; } }
@keyframes milestone-number-glow { 50% { text-shadow: 0 0 48px rgba(34,211,238,.42); } }
@keyframes milestone-float { 50% { transform: translateY(-8px); } }
@keyframes milestone-halo { 50% { transform: scale(1.12); opacity: .7; } }
@keyframes milestone-orbit { to { transform: rotate(360deg); } }
@keyframes milestone-drift { 50% { transform: translate(12px,-9px) scale(1.5); opacity: .9; } }
@keyframes milestone-twinkle { 50% { opacity: .85; transform: scale(1.8); } }

.js .first-block-card.reveal .block-stat { opacity: 0; transform: translateY(10px); }
.js .first-block-card.reveal.visible .block-stat { animation: milestone-stat-in .5s ease forwards; }
.js .first-block-card.reveal.visible .block-stat:nth-child(2) { animation-delay: .07s; }
.js .first-block-card.reveal.visible .block-stat:nth-child(3) { animation-delay: .14s; }
.js .first-block-card.reveal.visible .block-stat:nth-child(4) { animation-delay: .21s; }
.js .first-block-card.reveal.visible .block-stat:nth-child(5) { animation-delay: .28s; }
.js .first-block-card.reveal.visible .block-stat:nth-child(6) { animation-delay: .35s; }
@keyframes milestone-stat-in { to { opacity: 1; transform: translateY(0); } }

/* ── Pool Identity experience ───────────────────────────── */
.identity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.identity-hero { min-height: 72vh; padding-bottom: 96px; }
.identity-hero-grid {
  position: relative; z-index: 2; width: min(1210px,100% - 40px);
  display: grid; grid-template-columns: minmax(0,1fr) minmax(395px,.78fr);
  gap: clamp(2rem,4vw,4rem); align-items: center;
}
.identity-hero-copy { max-width: 760px; }
.identity-hero h1 { font-size: clamp(3.2rem,7vw,6.6rem); }
.identity-hero .lead { max-width: 700px; text-wrap: balance; }
.identity-passport {
  position: relative; isolation: isolate; overflow: hidden; min-height: 430px; width: 100%; padding: 1.35rem;
  border: 1px solid rgba(34,211,238,.25); border-radius: 28px;
  background:
    radial-gradient(circle at 82% 12%, rgba(34,211,238,.15), transparent 13rem),
    radial-gradient(circle at 10% 90%, rgba(139,92,246,.17), transparent 16rem),
    linear-gradient(155deg,rgba(18,27,55,.94),rgba(6,9,21,.98));
  box-shadow: 0 32px 90px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.08), 0 0 45px rgba(139,92,246,.09);
  animation: identity-passport-float 5s ease-in-out infinite;
}
.identity-passport::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(34,211,238,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(139,92,246,.05) 1px,transparent 1px);
  background-size: 38px 38px; mask-image: linear-gradient(135deg,#000,transparent 78%);
}
.identity-passport::after {
  content: ''; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg,transparent,var(--violet),var(--cyan),var(--green),transparent);
  background-size: 200% 100%; animation: identity-scan-line 5s linear infinite;
}
.passport-glow {
  position: absolute; z-index: -1; right: -75px; top: -75px; width: 220px; height: 220px;
  border: 1px solid rgba(34,211,238,.13); border-radius: 50%;
  box-shadow: 0 0 55px rgba(34,211,238,.08), inset 0 0 55px rgba(139,92,246,.07);
  animation: identity-orbit 16s linear infinite;
}
.passport-head { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: .8rem; align-items: center; }
.passport-mark {
  width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1); border-radius: 17px; background: rgba(0,0,0,.3);
  box-shadow: 0 0 22px rgba(139,92,246,.2);
}
.passport-mark img { width: 100%; height: 100%; object-fit: contain; }
.passport-head > div > span { display: block; color: var(--muted2); font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.passport-head > div > strong { display: block; color: var(--text); font-size: .94rem; }
.identity-status {
  display: inline-flex; align-items: center; gap: .42rem; padding: .3rem .55rem;
  border: 1px solid rgba(0,255,163,.22); border-radius: 999px; background: rgba(0,255,163,.07);
  color: #9fffd3; font-family: var(--mono); font-size: .64rem; font-weight: 800; text-transform: uppercase;
}
.identity-status i, .status-inline i, .snapshot-live-dot {
  width: .46rem; height: .46rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(0,255,163,.72);
}
.passport-ticker {
  margin: 2rem 0 1.3rem; color: #fff; font-family: var(--mono);
  font-size: clamp(3.5rem,8vw,5.5rem); font-weight: 800; line-height: .9; letter-spacing: 0;
  text-shadow: 0 0 38px rgba(34,211,238,.25);
}
.passport-details { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.passport-details > div, .passport-id {
  padding: .75rem .8rem; border: 1px solid rgba(148,163,184,.13); border-radius: 12px; background: rgba(255,255,255,.027);
}
.passport-details span, .passport-id > span { display: block; color: var(--muted2); font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.passport-details strong { color: #dce8fb; font-size: .82rem; }
.passport-id { margin-top: .65rem; }
.passport-id code {
  display: block;
  margin-top: .3rem;
  color: #a5f3fc;
  font-size: .67rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.passport-stamp {
  position: absolute; right: 1.15rem; bottom: 1rem; width: 86px; height: 86px;
  display: grid; place-content: center; text-align: center; border: 1px solid rgba(0,255,163,.22); border-radius: 50%;
  color: rgba(159,255,211,.75); transform: rotate(-8deg); opacity: .7;
}
.passport-stamp::before { content: ''; position: absolute; inset: 5px; border: 1px dashed rgba(0,255,163,.23); border-radius: 50%; }
.passport-stamp span { font-family: var(--mono); font-size: .48rem; letter-spacing: .09em; text-transform: uppercase; }
.passport-stamp strong { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; }
@keyframes identity-passport-float { 50% { transform: translateY(-7px) rotate(.25deg); } }
@keyframes identity-scan-line { to { background-position: 200% 0; } }
@keyframes identity-orbit { to { transform: rotate(360deg); } }

.identity-proof-section {
  position: relative; padding: 104px 0 112px;
  background: linear-gradient(180deg,rgba(255,255,255,.012),rgba(255,255,255,.026));
}
.identity-section-head {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.72fr); gap: 2rem; align-items: end;
  margin-bottom: 2.4rem;
}
.identity-section-head h2 {
  max-width: 760px; margin: 0; color: var(--text);
  font-size: clamp(2.15rem,4.7vw,4.2rem); line-height: 1.02; letter-spacing: 0; text-wrap: balance;
}
.identity-section-head > p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.identity-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .7rem;
  color: #c4b5fd; font-family: var(--mono); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.identity-eyebrow::before { content: ''; width: 1.7rem; height: 1px; background: linear-gradient(90deg,var(--violet),var(--cyan)); }
.identity-console { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr); gap: 1rem; align-items: stretch; }
.identity-profile-panel, .identity-crypto-panel {
  position: relative; overflow: hidden; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(155deg,rgba(18,26,52,.88),rgba(7,10,22,.98));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04);
}
.identity-profile-panel::before, .identity-crypto-panel::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg,transparent,var(--violet),var(--cyan),transparent); opacity: .65;
}
.identity-panel-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; }
.identity-panel-icon {
  width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center;
  border: 1px solid rgba(34,211,238,.28); border-radius: 14px;
  background: linear-gradient(145deg,rgba(139,92,246,.24),rgba(34,211,238,.09)); color: var(--cyan); font-size: 1.35rem;
}
.identity-panel-icon--crypto { color: #d8b4fe; }
.identity-panel-head span:not(.identity-panel-icon) { display: block; color: var(--muted2); font-family: var(--mono); font-size: .59rem; letter-spacing: .08em; text-transform: uppercase; }
.identity-panel-head h3 { margin: .12rem 0 0; color: var(--text); font-size: 1.1rem; }
.identity-profile-list { display: grid; gap: .55rem; }
.identity-profile-list > div {
  min-height: 47px; display: grid; grid-template-columns: minmax(7.5rem,.8fr) minmax(0,1.2fr); gap: .7rem; align-items: center;
  padding: .65rem .72rem; border: 1px solid rgba(148,163,184,.11); border-radius: 11px; background: rgba(255,255,255,.022);
}
.identity-profile-list span { color: var(--muted2); font-family: var(--mono); font-size: .65rem; }
.identity-profile-list strong, .identity-profile-list a { color: #dbeafe; font-size: .84rem; overflow-wrap: anywhere; }
.identity-profile-list a { color: var(--cyan); }
.identity-accent { color: #d8b4fe !important; font-family: var(--mono); letter-spacing: .06em; }
.status-inline { display: inline-flex; align-items: center; gap: .45rem; }
.identity-panel-note { margin: 1rem 0 0; padding: .75rem .8rem; border-left: 2px solid var(--violet); color: var(--muted); background: rgba(139,92,246,.045); font-size: .78rem; line-height: 1.6; }
.identity-verify-steps {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .75rem;
  margin: -1rem 0 1rem;
}
.identity-verify-steps div {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: .65rem;
  align-items: center;
  padding: .82rem .9rem;
  border: 1px solid rgba(148,163,184,.13);
  border-radius: 12px;
  background: rgba(255,255,255,.024);
}
.identity-verify-steps span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34,211,238,.26);
  border-radius: 9px;
  background: rgba(34,211,238,.07);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 900;
}
.identity-verify-steps p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}
.identity-code-list { display: grid; gap: .55rem; }
.identity-code-row {
  min-width: 0; padding: .7rem .75rem; border: 1px solid rgba(148,163,184,.11); border-radius: 11px; background: rgba(255,255,255,.022);
}
.identity-code-row > div { min-width: 0; }
.identity-code-row--primary { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .65rem; align-items: center; border-color: rgba(34,211,238,.17); }
.identity-code-row span { display: block; margin-bottom: .25rem; color: var(--muted2); font-family: var(--mono); font-size: .59rem; letter-spacing: .07em; text-transform: uppercase; }
.identity-code-row code {
  display: block;
  color: #b9c8df;
  font-size: .69rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.identity-code-row--primary code { color: #a5f3fc; }
.identity-code-row .copy-btn { align-self: center; }
.identity-explorers {
  margin-top: 1rem; display: grid; grid-template-columns: minmax(220px,1.4fr) repeat(5,minmax(90px,.7fr));
  gap: .65rem; align-items: stretch; padding: .85rem; border: 1px solid var(--line); border-radius: var(--r);
  background: rgba(5,8,18,.74); box-shadow: 0 18px 48px rgba(0,0,0,.3);
}
.identity-explorer-intro { padding: .45rem .55rem; display: flex; flex-direction: column; justify-content: center; }
.identity-explorer-intro span { color: var(--muted2); font-family: var(--mono); font-size: .59rem; letter-spacing: .08em; text-transform: uppercase; }
.identity-explorer-intro strong { color: var(--text); font-size: .82rem; }
.identity-explorers > a {
  min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  padding: .55rem .45rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025);
  color: var(--muted); font-family: var(--mono); font-size: .62rem; text-align: center;
  transition: transform .18s,border-color .18s,background .18s,color .18s;
}
.identity-explorers > a:hover { transform: translateY(-3px); border-color: rgba(34,211,238,.34); background: rgba(34,211,238,.055); color: #fff; }
.identity-explorers img { width: 32px; height: 32px; object-fit: contain; padding: 3px; border-radius: 9px; background: rgba(255,255,255,.07); }

.identity-delegators-section { padding: 104px 0; background: rgba(255,255,255,.012); }
.delegator-section-head {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2rem; align-items: center; margin-bottom: 2rem;
}
.delegator-section-head h2 { max-width: 760px; margin: 0; font-size: clamp(2.1rem,4.5vw,3.8rem); line-height: 1.03; letter-spacing: 0; text-wrap: balance; }
.delegator-section-head p { max-width: 720px; margin: .75rem 0 0; color: var(--muted); line-height: 1.68; }
.delegator-count {
  width: 142px; height: 142px; display: flex; align-items: center; justify-content: center; gap: .65rem;
  border: 1px solid rgba(34,211,238,.24); border-radius: 50%;
  background: radial-gradient(circle,rgba(34,211,238,.1),rgba(139,92,246,.05) 58%,transparent 72%);
  box-shadow: 0 0 40px rgba(34,211,238,.07), inset 0 0 35px rgba(139,92,246,.05);
  animation: delegator-count-pulse 3.2s ease-in-out infinite;
}
.delegator-count > span { color: #fff; font-family: var(--mono); font-size: 2.5rem; font-weight: 800; line-height: 1; text-shadow: 0 0 22px rgba(34,211,238,.28); }
.delegator-count small { color: var(--muted); font-family: var(--mono); font-size: .58rem; line-height: 1.35; text-transform: uppercase; }
@keyframes delegator-count-pulse { 50% { transform: scale(1.025); box-shadow: 0 0 55px rgba(34,211,238,.13),inset 0 0 40px rgba(139,92,246,.08); } }
.delegator-grid { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.delegator-card {
  min-width: 0; padding: 1.15rem; border: 1px solid var(--line); border-radius: var(--r);
  background: radial-gradient(circle at 100% 0,rgba(139,92,246,.11),transparent 12rem),linear-gradient(155deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  box-shadow: var(--shadow); transition: transform .2s,border-color .2s,background .2s;
}
.delegator-card:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.3); background: radial-gradient(circle at 100% 0,rgba(34,211,238,.12),transparent 12rem),linear-gradient(155deg,rgba(255,255,255,.065),rgba(255,255,255,.02)); }
.delegator-card-head { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: 1rem; }
.delegator-index { color: var(--muted2); font-family: var(--mono); font-size: .68rem; }
.delegator-role { padding: .24rem .52rem; border: 1px solid rgba(139,92,246,.28); border-radius: 999px; background: rgba(139,92,246,.08); color: #d8b4fe; font-family: var(--mono); font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.delegator-role--supporter { border-color: rgba(34,211,238,.24); background: rgba(34,211,238,.06); color: #a5f3fc; }
.delegator-key { display: block; min-height: 2.7rem; color: #dbeafe; font-size: .76rem; line-height: 1.5; overflow-wrap: anywhere; }
.delegator-values { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: 1rem; }
.delegator-values > div { min-width: 0; padding: .65rem; border: 1px solid rgba(148,163,184,.1); border-radius: 10px; background: rgba(0,0,0,.16); }
.delegator-values span { display: block; color: var(--muted2); font-family: var(--mono); font-size: .54rem; letter-spacing: .06em; text-transform: uppercase; }
.delegator-values strong { display: block; margin-top: .22rem; color: #c9f9ff; font-family: var(--mono); font-size: .72rem; overflow-wrap: anywhere; }
.delegator-privacy { max-width: 820px; margin: 1.1rem auto 0; display: flex; justify-content: center; gap: .55rem; color: var(--muted2); font-size: .76rem; text-align: center; }
.delegator-privacy span { color: var(--cyan); }

.identity-snapshot-section { padding: 110px 0 118px; background: linear-gradient(180deg,rgba(255,255,255,.024),rgba(255,255,255,.008)); }
.identity-section-head--snapshot { margin-bottom: 2rem; }
.identity-section-head--snapshot > p strong { color: var(--cyan); font-family: var(--mono); font-size: .78rem; }
.identity-section-head--snapshot .identity-eyebrow::before { display: none; }
.snapshot-live-dot { display: inline-block; margin-right: .1rem; animation: pulse-anim 2.2s infinite; }
.identity-metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.identity-metric {
  min-height: 166px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.05rem;
  border: 1px solid var(--line); border-radius: var(--r);
  background: radial-gradient(circle at 100% 0,rgba(34,211,238,.08),transparent 10rem),linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.018));
  box-shadow: 0 20px 55px rgba(0,0,0,.34); transition: transform .2s,border-color .2s,background .2s;
}
.identity-metric:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.31); background: radial-gradient(circle at 100% 0,rgba(139,92,246,.13),transparent 10rem),linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.022)); }
.identity-metric-icon {
  width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(34,211,238,.25); border-radius: 12px;
  background: rgba(34,211,238,.07); color: var(--cyan); font-family: var(--mono); font-size: .95rem; font-weight: 800;
}
.identity-metric > div > span { display: block; margin-top: .8rem; color: var(--muted2); font-family: var(--mono); font-size: .61rem; letter-spacing: .08em; text-transform: uppercase; }
.identity-metric strong { display: block; margin-top: .25rem; color: #fff; font-family: var(--mono); font-size: clamp(1.25rem,2vw,1.75rem); line-height: 1.1; overflow-wrap: anywhere; }
.identity-metric small { display: block; margin-top: .38rem; color: var(--muted2); font-size: .71rem; line-height: 1.4; }

@media (max-width: 1040px) {
  .identity-hero-grid { grid-template-columns: 1fr; }
  .identity-hero-copy { max-width: 850px; }
  .identity-passport { max-width: 650px; min-height: 400px; }
  .identity-console { grid-template-columns: 1fr; }
  .identity-verify-steps { grid-template-columns: 1fr; margin-top: -1rem; }
  .identity-explorers { grid-template-columns: repeat(5,1fr); }
  .identity-explorer-intro { grid-column: 1 / -1; text-align: center; }
  .identity-metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .identity-section-head, .delegator-section-head { grid-template-columns: 1fr; }
  .delegator-count { width: 118px; height: 118px; }
  .delegator-grid { grid-template-columns: 1fr; }
  .identity-explorers { grid-template-columns: repeat(3,1fr); }
  .identity-explorers > a:last-child { grid-column: 2; }
}
@media (max-width: 600px) {
  .identity-hero { padding-bottom: 72px; }
  .identity-hero-grid { width: min(100% - 40px,1210px); gap: 2rem; }
  .identity-passport { min-height: 0; padding: 1rem; border-radius: 22px; animation: none; }
  .passport-head { grid-template-columns: auto minmax(0,1fr); }
  .identity-status { grid-column: 1 / -1; justify-self: start; }
  .passport-ticker { margin-top: 1.4rem; }
  .passport-stamp { display: none; }
  .identity-proof-section, .identity-delegators-section, .identity-snapshot-section { padding-block: 82px; }
  .identity-code-row--primary { grid-template-columns: 1fr; }
  .identity-code-row .copy-btn { justify-self: stretch; }
  .identity-profile-list > div { grid-template-columns: 1fr; gap: .15rem; }
  .identity-explorers { grid-template-columns: repeat(2,1fr); }
  .identity-explorers > a:last-child { grid-column: auto; }
  .identity-metric-grid { grid-template-columns: 1fr; }
  .identity-metric { min-height: 145px; }
}


/* ── Node cards ──────────────────────────────────────────── */
.infrastructure-hero {
  min-height: 0; padding: 120px 0 58px;
  border-bottom: 1px solid rgba(34,211,238,.1);
  background-color: #050812;
  background-image:
    linear-gradient(90deg,transparent,rgba(34,211,238,.035) 50%,transparent),
    repeating-linear-gradient(90deg,rgba(148,163,184,.025) 0,rgba(148,163,184,.025) 1px,transparent 1px,transparent 72px);
}
.infrastructure-hero .hero-content { max-width: 880px; }
.infrastructure-hero h1 { max-width: 760px; font-size: clamp(3.5rem,8vw,6.8rem); }
.infrastructure-hero .lead { max-width: 760px; }
.infrastructure-systems {
  padding: 40px 0 72px;
  background-color: #070b18;
  background-image:
    linear-gradient(180deg,rgba(255,255,255,.018),transparent 18rem),
    repeating-linear-gradient(0deg,rgba(139,92,246,.022) 0,rgba(139,92,246,.022) 1px,transparent 1px,transparent 64px);
}
.infrastructure-systems .container { max-width: 1120px; }
.infrastructure-systems .section-head { display: grid; grid-template-columns: auto minmax(80px,1fr); align-items: end; gap: 1rem; max-width: none; margin: 0 0 1rem; text-align: left; }
.infrastructure-systems .section-head::after { content: ""; height: 1px; margin-bottom: .38rem; background: linear-gradient(90deg,rgba(34,211,238,.38),transparent); }
.infrastructure-systems .section-head h2 { font-size: clamp(1.9rem,3.4vw,2.8rem); }
.node-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 1fr; gap: 1rem; }
.node-card {
  position: relative; height: 100%; min-height: 242px; overflow: hidden; padding: 1rem;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 8px;
  background:
    linear-gradient(155deg,rgba(19,28,53,.94),rgba(7,11,24,.99)),
    repeating-linear-gradient(90deg,rgba(255,255,255,.02) 0,rgba(255,255,255,.02) 1px,transparent 1px,transparent 48px);
  box-shadow: var(--shadow); transition: transform .2s,border-color .2s,box-shadow .2s;
}
.node-card::before {
  content: ""; position: absolute; z-index: 2; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg,var(--cyan),var(--green),var(--violet)); opacity: .75;
}
.node-card::after {
  content: ""; position: absolute; z-index: 0; right: -1px; bottom: -1px; width: 46%; height: 46%; pointer-events: none;
  background: linear-gradient(135deg,transparent,rgba(34,211,238,.035));
  clip-path: polygon(100% 0,100% 100%,0 100%);
}
.node-card > * { position: relative; z-index: 1; }
.node-card--1::before { background: linear-gradient(90deg,#22d3ee,#38bdf8); }
.node-card--2::before { background: linear-gradient(90deg,#00ffa3,#22d3ee); }
.node-card--3::before { background: linear-gradient(90deg,#8b5cf6,#22d3ee); }
.node-card--4::before { background: linear-gradient(90deg,#fbbf24,#8b5cf6); }
.node-card:hover { transform: translateY(-3px); border-color: rgba(34,211,238,.32); box-shadow: 0 22px 54px rgba(0,0,0,.34); }
.node-header { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: start; gap: .75rem; }
.node-number { color: rgba(255,255,255,.24); font-family: var(--mono); font-size: 1.4rem; font-weight: 800; line-height: 1; }
.node-title > span { color: var(--cyan); font-family: var(--mono); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.node-header h3 { margin: .16rem 0 0; color: var(--text); font-size: 1.1rem; }
.node-platform { padding: .25rem .48rem; border: 1px solid rgba(139,92,246,.24); border-radius: 999px; background: rgba(139,92,246,.07); color: #d8c8ff; font-family: var(--mono); font-size: .56rem; font-weight: 800; white-space: nowrap; }
.node-sub { min-height: 2.8em; margin: .65rem 0 .75rem; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.node-specs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid rgba(148,163,184,.13); }
.node-specs > div { min-width: 0; padding: .6rem .5rem; }
.node-specs > div + div { border-left: 1px solid rgba(148,163,184,.13); }
.node-specs dt { margin-bottom: .32rem; color: var(--muted2); font-family: var(--mono); font-size: .55rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.node-specs dd { margin: 0; color: #fff; font-family: var(--mono); font-size: .76rem; line-height: 1.35; overflow-wrap: anywhere; }
.node-meta { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: auto; padding-top: .7rem; color: var(--muted2); font-family: var(--mono); font-size: .62rem; }
.node-meta span:last-child { color: #a5f3fc; }

.badge {
  border-radius: 999px; padding: .24rem .6rem;
  font-family: var(--mono); font-size: .7rem; white-space: nowrap; flex-shrink: 0;
}
.badge--relay   { border: 1px solid rgba(34,211,238,.28); background: rgba(34,211,238,.08); color: #a5f3fc; }
.badge--private { border: 1px solid rgba(139,92,246,.28); background: rgba(139,92,246,.08); color: #c4b5fd; }

/* ── Home page experience ──────────────────────────────── */
.home-hero {
  min-height: 86svh;
  padding: 116px 0 92px;
  isolation: isolate;
  background:
    radial-gradient(circle at 74% 43%, rgba(34,211,238,.095), transparent 23rem),
    radial-gradient(circle at 14% 30%, rgba(139,92,246,.12), transparent 28rem);
}
.home-hero::before {
  content: ''; position: absolute; inset: 9% -12% auto auto;
  width: 46rem; height: 46rem; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(34,211,238,.08);
  box-shadow: inset 0 0 100px rgba(34,211,238,.035), 0 0 140px rgba(139,92,246,.045);
  animation: home-orbit 18s linear infinite;
}
.home-hero::after {
  content: ''; position: absolute; width: 18rem; height: 18rem;
  left: -8rem; bottom: -4rem; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(139,92,246,.16), transparent 68%);
  filter: blur(8px);
}
.home-hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0,1.12fr) minmax(350px,.88fr);
  gap: clamp(2rem,4.5vw,4.5rem); align-items: center;
}
.home-hero-copy { min-width: 0; }
.home-hero .kicker { margin-bottom: 1.35rem; }
.home-hero h1 {
  max-width: 680px; margin-bottom: 1.2rem;
  font-size: clamp(3.05rem,5.8vw,5.35rem); line-height: .93; letter-spacing: 0;
}
.home-hero h1 span {
  display: inline-block; font-size: .62em; line-height: 1.05; letter-spacing: 0;
  background: linear-gradient(92deg, #fff 5%, #a5f3fc 42%, #c4b5fd 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home-hero .lead { max-width: 640px; margin-bottom: 1.45rem; color: #afbdd3; font-size: clamp(1rem,1.5vw,1.14rem); }
.home-hero .actions { margin-bottom: .55rem; }
.hero-utility-links {
  display: flex; flex-wrap: wrap; gap: .45rem 1.25rem; margin-bottom: 1.35rem;
  font-size: .82rem; font-weight: 700;
}
.hero-utility-links a { color: var(--muted); }
.hero-utility-links a::after { content: ' \2192'; color: var(--cyan); }
.hero-utility-links a:hover { color: var(--text); }
.home-principles { display: flex; flex-wrap: wrap; gap: .58rem 1.1rem; color: var(--muted); font-size: .78rem; }
.home-principles span { display: inline-flex; align-items: center; gap: .42rem; }
.home-principles i {
  width: 1.15rem; height: 1.15rem; display: grid; place-items: center; border-radius: 50%;
  background: rgba(0,255,163,.09); border: 1px solid rgba(0,255,163,.25);
  color: var(--green); font-style: normal; font-family: var(--mono); font-size: .62rem;
}
.home-pool-console {
  position: relative; overflow: hidden; min-width: 0;
  width: min(450px,100%); justify-self: end;
  padding: .95rem; border: 1px solid rgba(34,211,238,.24); border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(21,31,61,.94), rgba(5,9,22,.97) 62%),
    var(--bg);
  box-shadow: 0 38px 100px rgba(0,0,0,.5), 0 0 60px rgba(34,211,238,.09), inset 0 1px rgba(255,255,255,.07);
  animation: home-console-float 7s ease-in-out infinite;
}
.home-pool-console::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent);
  opacity: .85;
}
.home-pool-console::after {
  content: ''; position: absolute; width: 15rem; height: 15rem; border-radius: 50%;
  right: -8rem; top: -8rem; background: rgba(34,211,238,.085); filter: blur(22px); pointer-events: none;
}
.console-scan {
  position: absolute; z-index: 3; inset: -20% 0 auto; height: 22%; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(34,211,238,.08), transparent);
  animation: console-sweep 7s linear infinite;
}
.console-head { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .35rem .25rem 1rem; }
.console-brand { display: flex; align-items: center; gap: .72rem; min-width: 0; }
.console-logo {
  width: 40px; height: 40px; flex: 0 0 auto; overflow: hidden; border-radius: 12px;
  background: #050812; box-shadow: 0 0 24px rgba(139,92,246,.25);
}
.console-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.console-brand div { display: flex; min-width: 0; flex-direction: column; line-height: 1.25; }
.console-brand span, .console-data span, .console-milestone small {
  color: var(--muted); font-family: var(--mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .09em;
}
.console-brand strong { overflow: hidden; color: var(--text); font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.console-status {
  display: inline-flex; align-items: center; gap: .44rem; flex: 0 0 auto;
  padding: .38rem .62rem; border: 1px solid rgba(0,255,163,.24); border-radius: 999px;
  background: rgba(0,255,163,.07); color: #b8ffde; font-family: var(--mono); font-size: .66rem; font-weight: 800;
}
.console-status i {
  width: .46rem; height: .46rem; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 11px rgba(0,255,163,.8); animation: console-dot 2s ease-in-out infinite;
}
.console-ticker {
  position: relative; z-index: 2; padding: 1.05rem .35rem .85rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  color: #fff; font-family: var(--mono); font-size: clamp(2.8rem,5vw,4.25rem); font-weight: 800;
  line-height: .82; letter-spacing: 0; text-align: center; text-shadow: 0 0 35px rgba(34,211,238,.18);
}
.console-ticker::after {
  content: 'STAKE POOL'; display: block; margin-top: .7rem;
  color: var(--cyan); font-size: .58rem; letter-spacing: .4em; opacity: .7;
}
.console-data-grid {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .5rem; padding: .68rem 0;
}
.console-data {
  min-height: 66px; padding: .62rem .72rem; border: 1px solid rgba(148,163,184,.11); border-radius: 12px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: rgba(255,255,255,.026);
}
.console-data strong {
  color: var(--text); font-family: var(--mono); font-size: clamp(.98rem,1.8vw,1.3rem); line-height: 1.1; letter-spacing: 0;
}
.console-milestone {
  position: relative; z-index: 2; min-height: 62px; padding: .7rem .82rem;
  display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: .85rem;
  border: 1px solid rgba(139,92,246,.27); border-radius: 16px;
  background: linear-gradient(120deg, rgba(139,92,246,.14), rgba(34,211,238,.055));
  transition: transform .2s, border-color .2s, background .2s;
}
.console-milestone:hover { transform: translateY(-2px); border-color: rgba(34,211,238,.45); background: linear-gradient(120deg, rgba(139,92,246,.2), rgba(34,211,238,.09)); }
.console-milestone > span { display: flex; flex-direction: column; }
.console-milestone strong { font-size: .86rem; }
.console-milestone b { color: #d8c8ff; font-family: var(--mono); font-size: 1.12rem; }
.console-milestone > i { color: var(--cyan); font-style: normal; }

.home-metrics-section, .home-chain-section, .home-status-section, .home-proof-section { padding-block: 72px; }
.home-metrics-section, .home-chain-section, .home-proof-section { position: relative; background: rgba(255,255,255,.012); }
.home-metrics-section::before, .home-chain-section::before, .home-proof-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.025) 50%, transparent);
}
.home-section-head {
  position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(310px,.7fr);
  align-items: end; gap: 2rem; margin-bottom: 2.25rem;
}
.home-section-head h2, .home-status-head h2 {
  max-width: 700px; font-size: clamp(2rem,3.8vw,3.35rem); line-height: 1.04; letter-spacing: 0; text-wrap: balance;
}
.home-section-head > p, .home-status-head p { max-width: 600px; color: var(--muted); text-wrap: pretty; }
.home-eyebrow {
  margin-bottom: .62rem; color: var(--cyan); font-family: var(--mono); font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.home-metric-grid { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; }
.home-metric {
  position: relative; overflow: hidden; min-height: 158px; padding: .95rem;
  border: 1px solid var(--line); border-radius: 18px;
  display: flex; flex-direction: column;
  background: linear-gradient(150deg, rgba(18,28,56,.86), rgba(7,11,24,.93));
  box-shadow: 0 18px 52px rgba(0,0,0,.25); transition: transform .23s, border-color .23s, box-shadow .23s;
}
.home-metric::after {
  content: ''; position: absolute; width: 7rem; height: 7rem; border-radius: 50%; right: -4rem; bottom: -4rem;
  background: rgba(139,92,246,.11); filter: blur(10px); transition: transform .3s, background .3s;
}
.home-metric:hover { transform: translateY(-5px); border-color: rgba(34,211,238,.34); box-shadow: 0 25px 62px rgba(0,0,0,.34), 0 0 24px rgba(34,211,238,.06); }
.home-metric:hover::after { transform: scale(1.5); background: rgba(34,211,238,.12); }
.home-metric-icon {
  width: 32px; height: 32px; margin-bottom: .85rem; display: grid; place-items: center;
  border: 1px solid rgba(34,211,238,.2); border-radius: 10px; background: rgba(34,211,238,.065);
  color: var(--cyan); font-family: var(--mono); font-weight: 800;
}
.home-metric .label { margin-bottom: .4rem; }
.home-metric .value { min-height: 2.4rem; font-size: clamp(1.3rem,2.1vw,1.8rem); }
.home-metric p { position: relative; z-index: 2; margin-top: auto; color: var(--muted2); font-size: .78rem; line-height: 1.45; }
.home-metric--feature { grid-column: span 2; border-color: rgba(34,211,238,.24); background: linear-gradient(135deg, rgba(10,42,59,.86), rgba(18,18,50,.92)); }
.home-metric--feature .value { font-size: clamp(1.75rem,3.2vw,2.5rem); }
.home-metric--feature .home-metric-icon { background: var(--cyan); color: #001116; box-shadow: 0 0 22px rgba(34,211,238,.24); }

.home-chain-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 16%, rgba(34,211,238,.075), transparent 32%),
    radial-gradient(circle at 84% 0%, rgba(139,92,246,.08), transparent 30%),
    linear-gradient(180deg, rgba(9,14,31,.82), rgba(6,10,24,.96));
}
.home-chain-section::after {
  content: ''; position: absolute; right: -8rem; bottom: -12rem; width: 30rem; height: 30rem;
  border: 1px solid rgba(34,211,238,.08); border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(34,211,238,.025); pointer-events: none;
}
.chain-live-dot {
  width: .5rem; height: .5rem; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 12px rgba(0,255,163,.8); animation: console-dot 2s ease-in-out infinite;
}
.home-chain-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem;
}
.home-chain-card {
  position: relative; overflow: hidden; min-height: 166px; padding: 1.05rem;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(150deg, rgba(18,28,56,.82), rgba(7,11,24,.94));
  box-shadow: 0 18px 52px rgba(0,0,0,.25);
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.home-chain-card::after {
  content: ''; position: absolute; right: -3.5rem; bottom: -3.5rem; width: 7rem; height: 7rem;
  border-radius: 50%; background: rgba(34,211,238,.08); filter: blur(8px);
}
.home-chain-card--wide { border-color: rgba(34,211,238,.24); }
.home-chain-card:hover { transform: translateY(-5px); border-color: rgba(34,211,238,.34); box-shadow: 0 25px 62px rgba(0,0,0,.32); }
.chain-card-top {
  position: relative; z-index: 1; display: flex; align-items: center; gap: .65rem;
  color: var(--muted); font-family: var(--mono); font-size: .61rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .09em;
}
.chain-icon {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(34,211,238,.2); border-radius: 12px;
  background: rgba(34,211,238,.07); color: var(--cyan); font-size: 1rem;
}
.chain-value {
  position: relative; z-index: 1; margin-top: .8rem;
  font-family: var(--mono); font-size: clamp(1.35rem,2.3vw,2rem); font-weight: 900;
  letter-spacing: 0; line-height: 1.05;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.chain-value--time code, .chain-value--small {
  font-size: clamp(1rem,1.55vw,1.35rem);
  color: var(--cyan);
  background: none;
  -webkit-background-clip: initial; background-clip: initial;
}
.home-chain-card p {
  position: relative; z-index: 1; margin-top: .55rem; color: var(--muted2);
  font-size: .74rem; line-height: 1.48;
}
.home-chain-resources {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .55rem; margin-top: 1.15rem;
}
.home-chain-resources span, .home-chain-resources a {
  min-height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.08); border-radius: 999px;
  padding: .42rem .72rem; font-family: var(--mono); font-size: .66rem;
  text-transform: uppercase; letter-spacing: .075em;
}
.home-chain-resources span { color: var(--muted2); background: rgba(255,255,255,.028); }
.home-chain-resources a {
  color: var(--cyan); background: rgba(34,211,238,.045);
  transition: transform .18s, border-color .18s, background .18s;
}
.home-chain-resources a:hover {
  transform: translateY(-2px); border-color: rgba(34,211,238,.28); background: rgba(34,211,238,.075);
}
.chain-progress {
  position: relative; z-index: 1; overflow: hidden; height: .55rem; margin-top: .7rem;
  border: 1px solid rgba(34,211,238,.16); border-radius: 999px; background: rgba(255,255,255,.045);
}
.chain-progress i {
  display: block; width: 0; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--violet));
  box-shadow: 0 0 16px rgba(34,211,238,.45);
  transition: width .7s ease;
}

.home-status-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #070b18, #090e20); }
.home-status-section::before {
  content: ''; position: absolute; width: 42rem; height: 42rem; right: -18rem; top: -21rem; border-radius: 50%;
  border: 1px solid rgba(0,255,163,.065); box-shadow: inset 0 0 120px rgba(0,255,163,.035); pointer-events: none;
}
.home-status-head {
  position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 2rem;
  margin-bottom: 2rem;
}
.home-status-head p { margin-top: .8rem; }
.home-status-head p a { color: var(--cyan); border-bottom: 1px solid rgba(34,211,238,.28); }
.home-status-head p a:hover { color: var(--green); border-bottom-color: rgba(0,255,163,.36); }
.status-head-dot { display: inline-block; width: .48rem; height: .48rem; margin-right: .45rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 11px var(--green); animation: console-dot 2s ease-in-out infinite; }
.home-overall-status {
  min-width: 218px; padding: .8rem .9rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem;
  border: 1px solid rgba(0,255,163,.2); border-radius: 16px; background: rgba(0,255,163,.045);
  transition: transform .2s, border-color .2s, background .2s;
}
.home-overall-status:hover { transform: translateY(-3px); border-color: rgba(0,255,163,.4); background: rgba(0,255,163,.075); }
.home-overall-status span:not(.status-dot) { display: flex; flex-direction: column; line-height: 1.25; }
.home-overall-status small { color: var(--muted); font-family: var(--mono); font-size: .58rem; text-transform: uppercase; letter-spacing: .08em; }
.home-overall-status strong { font-size: .86rem; }
.home-overall-status > i { color: var(--green); font-style: normal; }
.home-status-grid { position: relative; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
.home-status-card {
  position: relative; min-height: 145px; padding: 1rem;
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; grid-template-rows: 1fr auto; gap: .6rem 1rem;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(145deg, rgba(20,29,56,.78), rgba(8,12,26,.92));
  box-shadow: 0 18px 48px rgba(0,0,0,.24); transition: transform .22s, border-color .22s;
}
.home-status-card:hover { transform: translateY(-4px); border-color: rgba(0,255,163,.26); }
.service-icon {
  grid-row: 1 / span 2; width: 39px; height: 39px; display: grid; place-items: center;
  border: 1px solid rgba(34,211,238,.18); border-radius: 13px; background: rgba(34,211,238,.06);
  color: var(--cyan); font-family: var(--mono); font-size: 1.05rem;
}
.home-status-card .status-info { align-self: start; }
.home-status-card .status-info > span { color: var(--muted2); font-family: var(--mono); font-size: .61rem; text-transform: uppercase; letter-spacing: .09em; }
.home-status-card .status-info h3 { margin: .12rem 0 .32rem; font-size: 1.04rem; }
.home-status-card .status-info p { max-width: 45ch; line-height: 1.45; }
.home-status-card > .status-dot { align-self: start; margin-top: .35rem; }
.home-status-card > .status-pill { grid-column: 2 / 4; justify-self: start; }

.home-section-head--center { display: block; max-width: 850px; margin-inline: auto; text-align: center; }
.home-section-head--center h2 { margin-inline: auto; }
.home-section-head--center > p { margin: 1rem auto 0; }
.home-proof-grid { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.home-proof-card {
  position: relative; min-height: 275px; padding: 1.15rem; overflow: hidden;
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(155deg, rgba(20,29,56,.8), rgba(7,10,23,.94));
  box-shadow: var(--shadow); transition: transform .24s, border-color .24s;
}
.home-proof-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent); opacity: .5;
}
.home-proof-card:hover { transform: translateY(-7px); border-color: rgba(139,92,246,.38); }
.proof-number { position: absolute; right: 1rem; top: .75rem; color: rgba(255,255,255,.055); font-family: var(--mono); font-size: 3.6rem; font-weight: 800; line-height: 1; }
.proof-icon {
  position: relative; width: 46px; height: 46px; margin: .3rem 0 1.4rem; display: grid; place-items: center;
  border: 1px solid rgba(139,92,246,.27); border-radius: 16px; background: rgba(139,92,246,.09); color: #d8c8ff;
  font-family: var(--mono); font-size: 1.3rem; box-shadow: 0 0 22px rgba(139,92,246,.08);
}
.home-proof-card h3 { position: relative; margin-bottom: .55rem; font-size: 1.16rem; }
.home-proof-card p { position: relative; color: var(--muted); font-size: .91rem; }
.home-proof-card > a { position: relative; margin-top: auto; padding-top: 1.35rem; color: var(--cyan); font-family: var(--mono); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.home-proof-card > a i { font-style: normal; transition: margin-left .18s; }
.home-proof-card > a:hover i { margin-left: .35rem; }

.home-purpose-section { position: relative; overflow: hidden; padding-block: 82px; }
.home-purpose-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 18% 50%, rgba(139,92,246,.12), transparent 28rem), radial-gradient(circle at 78% 55%, rgba(34,211,238,.07), transparent 26rem);
}
.home-purpose-grid { position: relative; display: grid; grid-template-columns: minmax(0,1.04fr) minmax(360px,.96fr); gap: clamp(2.25rem,5vw,5rem); align-items: center; }
.purpose-manifesto blockquote { position: relative; margin: 1.4rem 0 1.5rem; padding-left: 1.7rem; }
.purpose-manifesto blockquote::before { content: ''; position: absolute; left: 0; top: .25rem; bottom: .25rem; width: 2px; background: linear-gradient(var(--cyan), var(--violet)); box-shadow: 0 0 12px rgba(34,211,238,.28); }
.purpose-manifesto blockquote > span { position: absolute; left: 1rem; top: -2.3rem; color: rgba(34,211,238,.13); font-family: Georgia, serif; font-size: 7rem; line-height: 1; pointer-events: none; }
.purpose-manifesto blockquote strong { position: relative; display: block; color: var(--text); font-size: clamp(1.6rem,2.8vw,2.45rem); line-height: 1.15; letter-spacing: 0; text-wrap: balance; }
.purpose-manifesto > p { max-width: 650px; color: var(--muted); font-size: 1.02rem; }
.purpose-signature { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; color: #d8c8ff; font-family: var(--mono); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.purpose-signature i { width: 80px; height: 1px; background: linear-gradient(90deg, var(--violet), transparent); }
.purpose-journey {
  position: relative; padding: 1.15rem; border: 1px solid rgba(34,211,238,.17); border-radius: 24px;
  background: linear-gradient(145deg, rgba(18,28,55,.88), rgba(6,10,22,.95)); box-shadow: var(--shadow);
}
.journey-line { position: absolute; left: 4.7rem; top: 3rem; bottom: 7.7rem; width: 1px; background: linear-gradient(var(--muted2), var(--cyan), var(--violet)); opacity: .55; }
.journey-item { position: relative; display: grid; grid-template-columns: 54px minmax(0,1fr); gap: .9rem; padding: .7rem .35rem .9rem; }
.journey-item > span { position: relative; z-index: 2; align-self: start; color: var(--muted); font-family: var(--mono); font-size: .68rem; font-weight: 800; text-align: right; text-transform: uppercase; }
.journey-item > span::after { content: ''; position: absolute; right: -1.38rem; top: .32rem; width: .5rem; height: .5rem; border-radius: 50%; border: 2px solid #0b1022; background: var(--muted2); box-shadow: 0 0 0 1px rgba(148,163,184,.25); }
.journey-item--active > span { color: var(--cyan); }
.journey-item--active > span::after { background: var(--green); box-shadow: 0 0 13px rgba(0,255,163,.8); animation: console-dot 2s ease-in-out infinite; }
.journey-item div { padding-left: .45rem; }
.journey-item small { display: block; color: var(--violet); font-family: var(--mono); font-size: .59rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.journey-item strong { display: block; margin: .12rem 0 .25rem; font-size: .98rem; }
.journey-item p { color: var(--muted); font-size: .79rem; line-height: 1.48; }
.journey-item a { color: var(--cyan); font-family: var(--mono); }
.journey-cta {
  margin-top: .45rem; padding: .9rem 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  border: 1px solid rgba(0,255,163,.22); border-radius: 15px; background: rgba(0,255,163,.055); transition: transform .2s, border-color .2s;
}
.journey-cta:hover { transform: translateY(-2px); border-color: rgba(0,255,163,.42); }
.journey-cta span { color: var(--muted); font-size: .72rem; }
.journey-cta strong { color: #caffea; font-size: .8rem; white-space: nowrap; }
.journey-cta i { color: var(--green); font-style: normal; }

.home-verify-strip { padding-block: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(3,6,15,.62); }
.home-verify-strip .container { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 2rem; }
.home-verify-intro { display: flex; flex-direction: column; min-width: 245px; }
.home-verify-intro span { color: var(--cyan); font-family: var(--mono); font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.home-verify-intro strong { font-size: .9rem; }
.home-explorer-row { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .55rem; }
.home-explorer-row a {
  min-width: 0; min-height: 56px; padding: .52rem .62rem; display: flex; align-items: center; justify-content: center; gap: .55rem;
  border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025);
  color: var(--muted); font-family: var(--mono); font-size: .68rem; font-weight: 700; transition: transform .2s, border-color .2s, color .2s, background .2s;
}
.home-explorer-row a:hover { transform: translateY(-3px); border-color: rgba(34,211,238,.32); background: rgba(34,211,238,.055); color: var(--text); }
.home-explorer-row img { width: 32px; height: 32px; object-fit: contain; border-radius: 8px; }

.home-market-section {
  position: relative;
  padding-block: 82px 90px;
  border-top: 1px solid rgba(148,163,184,.08);
  background-color: #050812;
  background-image:
    linear-gradient(rgba(148,163,184,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.035) 1px, transparent 1px);
  background-size: 42px 42px;
}
.home-market-section .container {
  width: min(820px, 100% - 40px);
}
.home-market-section .home-section-head {
  grid-template-columns: 1fr;
  gap: .55rem;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 1.35rem;
  text-align: center;
}
.home-market-section .home-section-head h2 {
  margin-inline: auto;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
}
.home-market-section .home-section-head > p {
  max-width: 560px;
  margin-inline: auto;
  font-size: .92rem;
}
.market-chart-shell {
  max-width: 720px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.2);
  border-radius: 8px;
  background: #050812;
  box-shadow: 0 22px 70px rgba(0,0,0,.36);
}
.market-ticker-shell {
  height: 98px;
  margin-bottom: .75rem;
  overflow: hidden;
  border: 1px solid rgba(34,211,238,.2);
  border-radius: 8px;
  background: #07101c;
}
.market-ticker-shell--hero {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 42px;
  margin: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: rgba(5, 8, 18, .96);
  box-shadow: 0 -18px 46px rgba(0,0,0,.34), inset 0 1px 0 rgba(34,211,238,.18);
}
.market-ticker-frame { display: block; width: 100%; height: 100%; border: 0; background: #07101c; }
.market-chart-toolbar {
  min-height: 44px;
  padding: .55rem .72rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(148,163,184,.15);
  background: rgba(10,15,29,.96);
}
.market-chart-toolbar > div { display: flex; align-items: baseline; gap: .6rem; min-width: 0; }
.market-chart-toolbar span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.market-chart-toolbar strong { color: var(--text); font-family: var(--mono); font-size: .82rem; letter-spacing: 0; }
.market-chart-toolbar a {
  min-height: 30px;
  padding: .36rem .6rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex: 0 0 auto;
  border: 1px solid rgba(34,211,238,.28);
  border-radius: 6px;
  background: rgba(34,211,238,.06);
  color: #b9f7ff;
  font-family: var(--mono);
  font-size: .65rem;
  font-weight: 800;
  transition: border-color .2s, background .2s, color .2s;
}
.market-chart-toolbar a:hover { border-color: rgba(34,211,238,.55); background: rgba(34,211,238,.11); color: #fff; }
.market-chart-toolbar i { font-style: normal; }
.market-chart-frame { display: block; width: 100%; height: 260px; border: 0; background: #050812; }
.market-chart-note { max-width: 720px; margin: .5rem auto 0; color: var(--muted2); font-size: .66rem; text-align: right; }

@media (max-width: 760px) {
  .home-market-section { padding-block: 64px 70px; }
  .market-chart-frame { height: 240px; }
}

@media (max-width: 600px) {
  .market-ticker-shell { height: 92px; }
  .market-ticker-shell--hero { height: 44px; }
  .market-chart-toolbar { align-items: flex-start; }
  .market-chart-toolbar > div { flex-direction: column; gap: .15rem; }
  .market-chart-frame { height: 220px; }
  .market-chart-note { text-align: left; }
}

@keyframes home-orbit { to { transform: rotate(360deg); } }
@keyframes home-console-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes console-sweep { from { transform: translateY(-20%); } to { transform: translateY(560%); } }
@keyframes console-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .48; transform: scale(.75); } }

@media (max-width: 1080px) {
  .home-hero-grid { grid-template-columns: minmax(0,1fr) minmax(340px,.8fr); gap: 2.25rem; }
  .home-hero h1 { font-size: clamp(2.95rem,5.5vw,4.7rem); }
  .home-purpose-grid { gap: 3rem; }
  .home-explorer-row { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .home-explorer-row a:nth-child(4), .home-explorer-row a:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 880px) {
  .home-hero { min-height: auto; padding-bottom: 92px; }
  .home-hero-grid, .home-purpose-grid { grid-template-columns: 1fr; }
  .home-hero-copy { max-width: 760px; }
  .home-pool-console { width: min(520px,100%); margin-inline: auto; justify-self: center; }
  .home-section-head, .home-status-head { grid-template-columns: 1fr; align-items: start; }
  .home-section-head > p { max-width: 700px; }
  .home-overall-status { width: min(300px,100%); }
  .home-metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-proof-grid { grid-template-columns: 1fr; }
  .home-proof-card { min-height: 230px; }
  .home-purpose-grid { max-width: 760px; }
  .home-verify-strip .container { grid-template-columns: 1fr; gap: 1.1rem; }
  .home-verify-intro { min-width: 0; }
}
@media (max-width: 640px) {
  .home-hero { padding-top: 118px; }
  .home-hero h1 { font-size: clamp(2.65rem,12vw,3.7rem); }
  .home-hero h1 span { font-size: .57em; }
  .home-principles { display: grid; grid-template-columns: 1fr; }
  .home-pool-console { padding: .8rem; border-radius: 21px; }
  .console-head { align-items: flex-start; }
  .console-brand strong { max-width: 160px; }
  .console-ticker { font-size: clamp(2.65rem,15vw,4rem); }
  .console-data-grid { grid-template-columns: 1fr 1fr; }
  .console-data { min-height: 74px; padding: .65rem; }
  .console-milestone { grid-template-columns: minmax(0,1fr) auto; }
  .console-milestone > i { display: none; }
  .home-section-head h2, .home-status-head h2 { font-size: clamp(1.95rem,8.8vw,2.7rem); }
  .home-metric-grid, .home-status-grid { grid-template-columns: 1fr; }
  .home-metric--feature { grid-column: auto; }
  .home-metric { min-height: 145px; }
  .home-status-card { min-height: 165px; grid-template-columns: auto minmax(0,1fr); }
  .home-status-card > .status-dot { position: absolute; top: 1rem; right: 1rem; }
  .home-status-card > .status-pill { grid-column: 2; }
  .home-purpose-section { padding-block: 72px; }
  .purpose-manifesto blockquote { padding-left: 1.15rem; }
  .purpose-manifesto blockquote strong { font-size: clamp(1.5rem,7.2vw,2.05rem); }
  .purpose-journey { padding: 1rem; }
  .journey-line { left: 4rem; }
  .journey-item { grid-template-columns: 48px minmax(0,1fr); gap: .8rem; }
  .journey-item > span::after { right: -1.08rem; }
  .journey-cta { align-items: flex-start; flex-direction: column; }
  .home-explorer-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-explorer-row a:last-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .console-brand span { display: none; }
  .console-brand strong { max-width: 130px; font-size: .78rem; }
  .console-status { padding-inline: .5rem; }
  .console-data strong { font-size: 1rem; }
  .home-explorer-row { grid-template-columns: 1fr; }
  .home-explorer-row a:last-child { grid-column: auto; }
}

/* ── Homepage / Pool Identity scale alignment ──────────── */
/* Keep both flagship pages on the same spacing, type, panel and breakpoint system. */
.hero.compact.home-hero {
  min-height: clamp(680px, 68svh, 920px);
  padding: 132px 0 62px;
}
.home-hero-grid {
  grid-template-columns: minmax(0,1.08fr) minmax(340px,.72fr);
  gap: clamp(2rem,5vw,5rem);
}
.home-hero-copy { max-width: 760px; }
.home-hero h1 {
  max-width: 760px;
  font-size: clamp(3.2rem,7vw,6.6rem);
  line-height: .92;
  letter-spacing: 0;
}
.home-hero h1 span { font-size: 1em; line-height: inherit; letter-spacing: inherit; }
.home-hero .lead { max-width: 700px; font-size: clamp(1.05rem,2vw,1.3rem); text-wrap: balance; }
.home-pool-console {
  width: auto;
  min-height: 430px;
  justify-self: stretch;
  padding: 1.35rem;
  border-radius: 28px;
}
.console-logo { width: 58px; height: 58px; border-radius: 17px; }
.console-head { padding: 0 0 1rem; }
.console-ticker {
  padding: 1.25rem .35rem 1rem;
  font-size: clamp(3.5rem,8vw,5.5rem);
  line-height: .9;
  letter-spacing: 0;
}
.console-data-grid { gap: .65rem; padding: .7rem 0; }
.console-data { min-height: 54px; padding: .6rem .72rem; }
.console-data strong { font-size: clamp(.92rem,1.5vw,1.18rem); }

.home-metrics-section, .home-chain-section, .home-status-section, .home-proof-section { padding: 104px 0 112px; }
.home-section-head, .home-status-head {
  grid-template-columns: minmax(0,1fr) minmax(300px,.72fr);
  gap: 2rem;
  margin-bottom: 2.4rem;
}
.home-section-head h2, .home-status-head h2 {
  max-width: 760px;
  font-size: clamp(2.15rem,4.7vw,4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}
.home-section-head > p, .home-status-head p { font-size: 1rem; line-height: 1.7; }
.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .7rem;
  color: #c4b5fd;
  font-size: .72rem;
  letter-spacing: .1em;
}
.home-eyebrow::before {
  content: '';
  width: 1.7rem;
  height: 1px;
  background: linear-gradient(90deg,var(--violet),var(--cyan));
}
.home-status-head .home-eyebrow::before { display: none; }

.home-metric-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.home-metric, .home-metric--feature {
  grid-column: auto;
  min-height: 166px;
  justify-content: space-between;
  padding: 1.05rem;
  border-radius: var(--r);
}
.home-metric-icon, .home-metric--feature .home-metric-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 0;
  border-radius: 12px;
  background: rgba(34,211,238,.07);
  color: var(--cyan);
  box-shadow: none;
}
.home-metric .label { margin-top: .8rem; font-size: .61rem; }
.home-metric .value, .home-metric--feature .value {
  min-height: 0;
  margin-top: .25rem;
  font-size: clamp(1.25rem,2vw,1.75rem);
}
.home-metric p { margin-top: .38rem; font-size: .71rem; }

.home-chain-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.home-chain-card { min-height: 166px; padding: 1.05rem; border-radius: var(--r); }
.chain-card-top { font-size: .61rem; }
.chain-value { font-size: clamp(1.25rem,2vw,1.75rem); }
.chain-value--time code, .chain-value--small { font-size: clamp(1rem,1.55vw,1.25rem); }
.home-chain-card p { font-size: .71rem; }

.home-status-head { align-items: center; }
.home-status-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.home-status-card {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6rem;
  padding: 1.15rem;
  border-radius: var(--r);
}
.home-status-card > .status-dot { position: absolute; top: 1.15rem; right: 1.15rem; margin: 0; }
.home-status-card > .status-pill { margin-top: auto; }
.service-icon { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; }
.home-status-card .status-info h3 { font-size: 1.05rem; }
.home-status-card .status-info p { font-size: .8rem; line-height: 1.5; }

.home-proof-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.home-proof-card {
  min-height: 235px;
  padding: 1.15rem;
  border-radius: var(--r);
}
.proof-icon { width: 46px; height: 46px; margin: .2rem 0 1rem; border-radius: 14px; }
.home-proof-card h3 { font-size: 1.1rem; }
.home-proof-card p { font-size: .84rem; line-height: 1.55; }
.home-proof-card > a { padding-top: 1rem; }

.home-purpose-section { padding: 104px 0; }
.home-purpose-grid {
  grid-template-columns: minmax(0,1.08fr) minmax(340px,.72fr);
  gap: clamp(2rem,5vw,5rem);
}
.purpose-journey { padding: 1.3rem; border-radius: var(--r); }
.home-verify-strip { padding-block: 32px; }
.home-verify-strip .container { gap: 1rem; }
.home-explorer-row { gap: .65rem; }
.home-explorer-row a { min-height: 62px; padding: .55rem .45rem; border-radius: 12px; font-size: .62rem; }

@media (max-width: 1040px) {
  .home-hero-grid, .home-purpose-grid { grid-template-columns: 1fr; }
  .home-hero-copy { max-width: 850px; }
  .home-pool-console { width: min(650px,100%); max-width: 650px; justify-self: start; }
  .home-metric-grid, .home-chain-grid, .home-status-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .home-section-head, .home-status-head { grid-template-columns: 1fr; }
  .home-proof-grid { grid-template-columns: 1fr; }
  .home-proof-card { min-height: 0; }
  .home-verify-strip .container { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero.compact.home-hero { min-height: auto; padding: 112px 0 58px; }
  .home-hero { min-height: auto; padding: 112px 0 84px; }
  .home-hero-grid { gap: 2rem; }
  .home-hero h1 { font-size: clamp(3rem,14vw,4.2rem); }
  .home-pool-console { min-height: 0; padding: 1rem; border-radius: 22px; animation: none; }
  .console-logo { width: 46px; height: 46px; border-radius: 14px; }
  .console-ticker { font-size: clamp(3rem,16vw,4.5rem); }
  .home-metrics-section, .home-chain-section, .home-status-section, .home-proof-section, .home-purpose-section { padding-block: 82px; }
  .home-metric-grid, .home-chain-grid, .home-status-grid { grid-template-columns: 1fr; }
  .home-metric { min-height: 145px; }
  .home-chain-card { min-height: 145px; }
  .home-status-card { min-height: 156px; }
}

/* ── Consolidated stats and compact home status ───────────── */
.home-stats-hub-section, .home-status-strip-section { padding: 58px 0; }
.home-stats-hub {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) auto;
  align-items: center; gap: 1.5rem; padding: 1.35rem;
  border: 1px solid rgba(34,211,238,.18); border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(34,211,238,.12), transparent 18rem),
    linear-gradient(155deg, rgba(18,26,52,.88), rgba(7,10,22,.96));
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
}
.home-stats-hub::before, .home-status-strip::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  opacity: .7;
}
.home-stats-hub h2 {
  max-width: 780px; margin-bottom: .55rem;
  font-size: clamp(1.9rem,3.6vw,3.1rem); line-height: 1.02; letter-spacing: 0;
}
.home-stats-hub p { max-width: 760px; color: var(--muted); line-height: 1.65; }
.home-stats-hub-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem; }

.home-status-strip {
  position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto;
  align-items: center; gap: 1.5rem; padding: 1.15rem 1.25rem;
  border: 1px solid rgba(0,255,163,.18); border-radius: 22px;
  background: radial-gradient(circle at 100% 0,rgba(0,255,163,.1),transparent 18rem),rgba(255,255,255,.025);
  box-shadow: 0 20px 50px rgba(0,0,0,.24);
}
.home-status-strip h2 {
  margin-bottom: .3rem; font-size: clamp(1.45rem,2.7vw,2.2rem);
  line-height: 1.08; letter-spacing: 0;
}
.home-status-strip p { color: var(--muted2); font-family: var(--mono); font-size: .73rem; }

.status-chip {
  align-items: center; gap: .45rem;
  color: var(--text);
}
.status-chip .status-dot { flex: 0 0 auto; }

.stats-hero .hero-content { max-width: 1040px; }
.monitor-hero .hero-content, .grafana-hero .hero-content {
  max-width: 980px; margin-inline: auto; text-align: center;
}
.monitor-hero .actions, .grafana-hero .actions, .grafana-hero .chips {
  justify-content: center;
}
.stats-command-section, .stats-dashboard-section, .grafana-dashboard-section { padding: 96px 0; }
.stats-section-head, .stats-window-toolbar {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.42fr);
  gap: 1.75rem; align-items: end; margin-bottom: 2rem;
}
.stats-section-head--center {
  display: block; max-width: 900px; margin-inline: auto; text-align: center;
}
.stats-section-head--center .home-eyebrow { justify-content: center; }
.stats-section-head--center h2, .stats-section-head--center p { margin-inline: auto; }
.stats-section-head h2, .stats-window-toolbar h2 {
  max-width: 820px; font-size: clamp(2.2rem,5vw,4.4rem);
  line-height: .98; letter-spacing: 0; text-wrap: balance;
}
.stats-section-head p { color: var(--muted); line-height: 1.7; }
.stats-window-toolbar .btn { justify-self: end; }

.stats-kpi-grid {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem;
}
.stats-kpi-grid--home, .stats-kpi-grid--centered { align-items: stretch; }
.stats-kpi {
  position: relative; min-height: 160px; overflow: hidden; padding: 1rem;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(160deg,rgba(255,255,255,.064),rgba(255,255,255,.02));
  box-shadow: 0 18px 48px rgba(0,0,0,.24);
  transition: transform .2s,border-color .2s;
}
.stats-kpi::after {
  content: ''; position: absolute; width: 10rem; height: 10rem; right: -5rem; bottom: -5rem;
  border-radius: 50%; background: rgba(34,211,238,.06); transition: transform .24s,background .24s;
}
.stats-kpi:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.3); }
.stats-kpi:hover::after { transform: scale(1.45); background: rgba(139,92,246,.08); }
.stats-kpi span {
  position: relative; z-index: 1; color: var(--muted2); font-family: var(--mono);
  font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
}
.stats-kpi strong {
  position: relative; z-index: 1; margin: .48rem 0 .4rem;
  font-family: var(--mono); font-size: clamp(1.45rem,2.9vw,2.35rem); line-height: 1;
  background: linear-gradient(135deg,var(--cyan),#fff,var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats-kpi p { position: relative; z-index: 1; margin-top: auto; color: var(--muted); font-size: .78rem; line-height: 1.45; }

.stats-goal-banner {
  margin-top: 1rem; padding: 1.25rem; display: grid; grid-template-columns: minmax(0,1fr) auto;
  gap: 1rem; align-items: center; overflow: hidden;
  border: 1px solid rgba(0,255,163,.18); border-radius: 22px;
  background: radial-gradient(circle at 100% 0,rgba(0,255,163,.12),transparent 18rem),linear-gradient(155deg,rgba(18,26,52,.9),rgba(7,10,22,.96));
  box-shadow: 0 24px 64px rgba(0,0,0,.26);
}
.stats-goal-banner span {
  color: var(--green); font-family: var(--mono); font-size: .68rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
.stats-goal-banner h2 { margin: .35rem 0 .45rem; font-size: clamp(1.45rem,3vw,2.4rem); line-height: 1.05; letter-spacing: 0; }
.stats-goal-banner p { max-width: 900px; color: var(--muted); line-height: 1.6; }

.stats-window-grid {
  display: grid; grid-template-columns: minmax(0,1.35fr) minmax(320px,.65fr); gap: 1rem;
}
.stats-window-grid--monitor { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; }
.stats-window {
  position: relative; overflow: hidden; padding: 1rem;
  border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(155deg,rgba(18,26,52,.88),rgba(7,10,22,.98));
  box-shadow: var(--shadow);
}
.stats-window::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg,transparent,var(--cyan),var(--violet),transparent); opacity: .65;
}
.stats-window--wide { grid-row: span 4; }
.stats-window header {
  position: relative; z-index: 1; margin-bottom: .85rem; display: flex; align-items: baseline;
  justify-content: space-between; gap: 1rem;
}
.stats-window header span {
  color: var(--muted2); font-family: var(--mono); font-size: .61rem; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase;
}
.stats-window h3 { color: #fff; font-size: 1.08rem; }
.stats-window p { color: var(--muted); font-size: .84rem; line-height: 1.6; }
.stats-window p code { color: var(--cyan); }
.stats-grafana-embed { min-height: min(78vh, 860px); margin-top: .9rem; }
.grafana-frame-shell { max-width: 1240px; margin-inline: auto; }
.grafana-window { padding: 1.1rem; }
.grafana-window .stats-grafana-embed { min-height: min(82vh, 920px); }
.grafana-window-toolbar { align-items: center; }
.stats-window .metric-embed { min-height: 420px; }

/* ── Full-page Grafana dashboard ─────────────────────────── */
.monitor-dashboard-page {
  min-height: 100vh;
  padding-top: 72px;
  background: #070b18;
}
.monitor-dashboard-header {
  padding: 28px 0 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(9,14,32,.92);
}
.monitor-dashboard-header-inner {
  width: min(1600px,calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}
.monitor-dashboard-header .home-eyebrow { margin-bottom: .45rem; }
.monitor-dashboard-header h1 {
  color: var(--text);
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 0;
}
.monitor-dashboard-stage {
  width: min(1600px,calc(100% - 24px));
  margin-inline: auto;
  padding: 18px 0 28px;
}
.monitor-dashboard-embed {
  width: 100%;
  height: 2200px;
  min-height: 2200px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0b1020;
}
@media (max-width: 760px) {
  .monitor-dashboard-header { padding: 22px 0 18px; }
  .monitor-dashboard-header-inner { width: min(100% - 24px,1600px); align-items: flex-start; flex-direction: column; gap: 1rem; }
  .monitor-dashboard-header h1 { font-size: 2.25rem; }
  .monitor-dashboard-header .btn { min-height: 40px; padding: .65rem .75rem; }
  .monitor-dashboard-stage { width: calc(100% - 16px); padding-top: 10px; }
  .monitor-dashboard-embed { height: 3000px; min-height: 3000px; }
}
.stats-mini-grid {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem;
}
.stats-mini-grid > div {
  min-height: 94px; padding: .8rem; border: 1px solid rgba(148,163,184,.12);
  border-radius: 14px; background: rgba(255,255,255,.028);
}
.stats-mini-grid span {
  display: block; margin-bottom: .45rem; color: var(--muted2); font-family: var(--mono);
  font-size: .58rem; text-transform: uppercase; letter-spacing: .08em;
}
.stats-mini-grid strong { color: #fff; font-family: var(--mono); font-size: clamp(1rem,1.9vw,1.4rem); overflow-wrap: anywhere; }
.stats-status-card {
  margin: .25rem 0 1rem; padding: .85rem; display: grid; grid-template-columns: auto 1fr auto;
  gap: .75rem; align-items: center; border: 1px solid rgba(0,255,163,.2);
  border-radius: 16px; background: rgba(0,255,163,.045);
}
.stats-status-card span:not(.status-dot) { display: flex; flex-direction: column; gap: .12rem; }
.stats-status-card small, .stats-status-card em {
  color: var(--muted2); font-family: var(--mono); font-size: .6rem; font-style: normal;
  letter-spacing: .07em; text-transform: uppercase;
}
.stats-status-card strong { color: #fff; }
.stats-status-card > i { color: var(--green); font-style: normal; }

@media (max-width: 1040px) {
  .home-stats-hub, .home-status-strip, .stats-section-head, .stats-window-toolbar, .stats-goal-banner { grid-template-columns: 1fr; }
  .home-stats-hub-actions, .stats-window-toolbar .btn { justify-self: start; justify-content: flex-start; }
  .stats-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stats-window-grid { grid-template-columns: 1fr; }
  .stats-window--wide { grid-row: auto; }
}
@media (max-width: 600px) {
  .home-stats-hub-section, .home-status-strip-section { padding-block: 42px; }
  .home-stats-hub, .home-status-strip, .stats-goal-banner { padding: 1rem; }
  .home-stats-hub-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .stats-kpi-grid, .stats-mini-grid { grid-template-columns: 1fr; }
  .stats-command-section, .stats-dashboard-section { padding: 78px 0; }
  .stats-grafana-embed { min-height: 620px; }
}

/* ── System Status widget ───────────────────────────────── */
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-bottom: 1.5rem; }

.status-card {
  display: flex; align-items: center; gap: .85rem;
  background: linear-gradient(160deg, rgba(255,255,255,.065), rgba(255,255,255,.022));
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1rem 1.1rem;
  box-shadow: var(--shadow); transition: border-color .2s;
}
.status-card:hover { border-color: rgba(34,211,238,.28); }

.status-info { flex: 1; min-width: 0; }
.status-info h3 { font-size: .94rem; margin: 0 0 .15rem; color: var(--text); }
.status-info p  { font-size: .8rem; color: var(--muted); margin: 0; }

.status-dot {
  width: .65rem; height: .65rem; border-radius: 50%; flex-shrink: 0;
  background: var(--muted2);
}
.status-dot--ok      { background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse-anim 2.4s infinite; }
.status-dot--warn    { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.status-dot--down    { background: var(--pink);  box-shadow: 0 0 12px var(--pink); }
.status-dot--unknown { background: var(--muted2); }

.status-pill {
  font-family: var(--mono); font-size: .72rem; font-weight: 700;
  border-radius: 999px; padding: .3rem .65rem; flex-shrink: 0; white-space: nowrap;
}
.status-pill--ok      { color: #00130c; background: var(--green); }
.status-pill--warn    { color: #1a1100; background: var(--amber); }
.status-pill--down    { color: #fff;    background: var(--pink); }
.status-pill--unknown { color: var(--muted); background: rgba(255,255,255,.08); border: 1px solid var(--line); }

.status-footer {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  flex-wrap: wrap; padding-top: .5rem;
}
.status-summary {
  min-height: 48px; padding: .78rem 1.1rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: .65rem;
  border: 1px solid var(--line); background: rgba(255,255,255,.05);
  color: var(--muted); font-family: var(--mono); font-size: .8rem; font-weight: 700;
  transition: border-color .18s, color .18s, background .18s;
}
.status-summary:hover {
  border-color: rgba(34,211,238,.35); background: rgba(34,211,238,.06); color: var(--text);
}

/* ── Steps ───────────────────────────────────────────────── */
.steps { display: grid; gap: 1rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
  background: linear-gradient(160deg, rgba(255,255,255,.065), rgba(255,255,255,.022));
  border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem;
  box-shadow: var(--shadow);
  transition: border-color .22s, background .22s;
}
.step:hover {
  border-color: rgba(34,211,238,.34);
  background: linear-gradient(160deg, rgba(34,211,238,.08), rgba(139,92,246,.04));
}
.num {
  position: relative;
  width: 60px; height: 60px; border-radius: 18px; flex-shrink: 0;
  display: grid; place-items: center;
  overflow: hidden;
  border: 1px solid rgba(34,211,238,.55);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.2), transparent 34%),
    linear-gradient(145deg, #173c63, #342064);
  box-shadow: inset 0 0 18px rgba(34,211,238,.13), 0 0 0 rgba(34,211,238,0);
  color: #fff;
  font-family: var(--mono); font-weight: 800; font-size: 1.22rem;
  line-height: 1; letter-spacing: .04em;
  text-shadow: 0 2px 8px rgba(0,0,0,.8);
}
.num::after {
  content: '';
  position: absolute; inset: -45%;
  background: linear-gradient(110deg, transparent 38%, rgba(255,255,255,.38) 50%, transparent 62%);
  transform: translateX(-100%) rotate(8deg);
  pointer-events: none;
}
.step.visible .num {
  animation: step-number-in .7s cubic-bezier(.2,.85,.25,1.25) both,
             step-number-glow 2.8s ease-in-out .8s infinite;
}
.step.visible .num::after { animation: step-number-shine .9s ease-out .45s both; }
.steps .step:nth-child(2) .num { animation-delay: .08s, .88s; }
.steps .step:nth-child(3) .num { animation-delay: .16s, .96s; }
.steps .step:nth-child(4) .num { animation-delay: .24s, 1.04s; }
.steps .step:nth-child(5) .num { animation-delay: .32s, 1.12s; }
.steps .step:nth-child(6) .num { animation-delay: .4s, 1.2s; }

@keyframes step-number-in {
  from { opacity: 0; transform: scale(.55) rotate(-12deg); }
  to   { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes step-number-shine {
  from { transform: translateX(-100%) rotate(8deg); }
  to   { transform: translateX(100%) rotate(8deg); }
}
@keyframes step-number-glow {
  0%, 100% { box-shadow: inset 0 0 18px rgba(34,211,238,.13), 0 0 0 rgba(34,211,238,0); }
  50% { box-shadow: inset 0 0 22px rgba(34,211,238,.2), 0 0 24px rgba(34,211,238,.2); }
}
.step h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.step p  { margin: 0; color: var(--muted); font-size: .94rem; }

/* ── How to Stake guide ─────────────────────────────────── */
.stake-hero .hero-content { max-width: 1060px; }
.stake-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.stake-overview { padding: 0 0 24px; }
.stake-content-section { padding: 24px 0 72px; }
.stake-facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.stake-fact {
  min-height: 112px; padding: 1rem 1.1rem;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  box-shadow: 0 14px 38px rgba(0,0,0,.28);
}
.stake-fact-value { color: var(--text); font-size: 1rem; font-weight: 800; line-height: 1.35; }
.accent-violet { color: #d8b4fe; }
.accent-cyan { color: #a5f3fc; }
.accent-green { color: #86efac; }
.accent-amber { color: #fde68a; }

.safety-callout {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start;
  padding: 1.15rem; border: 1px solid rgba(0,255,163,.3); border-radius: var(--r);
  background: linear-gradient(135deg, rgba(0,255,163,.08), rgba(139,92,246,.1));
  box-shadow: var(--shadow);
}
.safety-callout--compact { margin-top: 1.25rem; }
.safety-icon {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: #00130c; background: var(--green); box-shadow: 0 0 20px rgba(0,255,163,.38);
  font-family: var(--mono); font-size: 1.15rem; font-weight: 800;
}
.safety-icon--check { font-size: 1rem; }
.safety-callout h2 { color: #d9ffe9; font-size: 1.12rem; margin-bottom: .35rem; }
.safety-callout p { color: var(--muted); margin: 0; }

.wallet-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.wallet-card {
  grid-column: span 2;
  display: flex; flex-direction: column; min-height: 280px; padding: 1.15rem;
  border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(160deg, rgba(255,255,255,.065), rgba(255,255,255,.022));
  box-shadow: var(--shadow); transition: transform .2s, border-color .2s;
}
.wallet-card:nth-last-child(-n + 2) { grid-column: span 3; }
.wallet-card:hover { transform: translateY(-3px); border-color: rgba(34,211,238,.32); }
.wallet-card--featured { border-color: rgba(34,211,238,.3); }
.wallet-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.wallet-card h3 { color: var(--text); font-size: 1.12rem; margin: 0; }
.wallet-mark { font-family: var(--mono); font-size: .78rem; font-weight: 800; }
.wallet-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0; }
.wallet-tags span {
  padding: .25rem .52rem; border: 1px solid rgba(139,92,246,.28); border-radius: 999px;
  background: rgba(139,92,246,.09); color: #d8c8ff;
  font-family: var(--mono); font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.wallet-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.mini-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: 1rem; }
.mini-actions a {
  display: inline-flex; align-items: center; min-height: 36px; padding: .5rem .72rem;
  border: 1px solid rgba(34,211,238,.32); border-radius: 999px;
  background: rgba(34,211,238,.07); color: #bdf7ff;
  font-family: var(--mono); font-size: .66rem; font-weight: 800; text-transform: uppercase;
  transition: border-color .18s, background .18s, color .18s;
}
.mini-actions a:hover { border-color: rgba(139,92,246,.65); background: rgba(139,92,246,.18); color: #fff; }

.verify-grid, .info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.stake-panel {
  padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(160deg, rgba(255,255,255,.065), rgba(255,255,255,.022));
  box-shadow: var(--shadow);
}
.stake-panel h2, .stake-panel h3 { color: var(--cyan); margin-bottom: .55rem; }
.stake-panel h2 { font-size: 1.2rem; }
.stake-panel h3 { font-size: 1.05rem; }
.stake-panel > p { color: var(--muted); margin: 0; }
.steps--detailed .step { padding: 1.35rem; }
.step ul { margin: .65rem 0 0 1.1rem; color: var(--muted); font-size: .9rem; }
.step li + li { margin-top: .3rem; }
.step code { color: var(--cyan); overflow-wrap: anywhere; }

.stake-widget-section { background: rgba(255,255,255,.012); }
.widget-frame {
  overflow: hidden; border: 1px solid rgba(139,92,246,.42); border-radius: var(--r);
  background: #080b14; box-shadow: 0 0 65px rgba(139,92,246,.16), var(--shadow);
}
.widget-frame-bar {
  min-height: 50px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding: .72rem 1rem; border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(139,92,246,.2), rgba(34,211,238,.06));
  color: var(--muted); font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .07em;
}
.widget-dots { display: flex; gap: .4rem; }
.widget-dots i { width: .65rem; height: .65rem; border-radius: 50%; background: var(--pink); }
.widget-dots i:nth-child(2) { background: var(--amber); }
.widget-dots i:nth-child(3) { background: var(--green); }
.widget-live { color: var(--green); font-weight: 800; }
.widget-live::before { content: '●'; margin-right: .4rem; }
.staking-widget-frame { min-height: 720px; border-radius: 0; box-shadow: none; }

.staking-aftercare { position: relative; }
.stake-info-grid { align-items: stretch; }
.stake-info-grid .stake-panel { height: 100%; }
.stake-panel--verify { display: flex; flex-direction: column; }
.stake-panel--timeline, .stake-panel--verify {
  position: relative; overflow: hidden;
  border-color: rgba(139,92,246,.24);
  background:
    radial-gradient(circle at 100% 0, rgba(34,211,238,.08), transparent 18rem),
    linear-gradient(160deg, rgba(18,26,52,.88), rgba(7,10,22,.96));
}
.stake-panel--timeline::before, .stake-panel--verify::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent);
  opacity: .7;
}
.panel-heading--timeline { max-width: 620px; margin: 0 auto; text-align: center; }
.panel-heading--timeline .panel-intro { margin-inline: auto; text-wrap: balance; }
.panel-kicker, .section-eyebrow {
  margin-bottom: .4rem; color: var(--violet);
  font-family: var(--mono); font-size: .68rem; font-weight: 800;
  letter-spacing: .11em; text-transform: uppercase;
}
.panel-heading--timeline .panel-kicker {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 28px; padding: .28rem .62rem; border: 1px solid rgba(139,92,246,.25);
  border-radius: 999px; background: rgba(139,92,246,.075); color: #d8b4fe;
}
.panel-heading--timeline .panel-kicker span {
  width: .44rem; height: .44rem; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 11px rgba(34,211,238,.65); animation: timeline-kicker-pulse 2s ease-in-out infinite;
}
.panel-heading--timeline h2 { text-wrap: balance; }
@keyframes timeline-kicker-pulse {
  50% { transform: scale(1.45); opacity: .55; box-shadow: 0 0 18px rgba(34,211,238,.85); }
}
.stake-panel--timeline h2, .stake-panel--verify h2 {
  color: var(--text); font-size: clamp(1.35rem, 2.2vw, 1.8rem); letter-spacing: 0;
}
.panel-intro { max-width: 58ch; color: var(--muted); line-height: 1.62; }

.timeline-list { --timeline-node: 52px; position: relative; display: grid; gap: .7rem; margin-top: 1.1rem; }
.timeline-list::before {
  content: ''; position: absolute; top: 27px; bottom: 27px; left: calc(var(--timeline-node) / 2); width: 1px;
  background: linear-gradient(var(--violet), var(--cyan)); opacity: .35;
}
.timeline-item {
  position: relative; display: grid; grid-template-columns: 52px minmax(0,1fr); gap: .85rem;
  align-items: start; padding: .82rem .85rem;
  border: 1px solid rgba(148,163,184,.13); border-radius: 14px;
  background: rgba(255,255,255,.027);
  transition: border-color .2s, background .2s, transform .2s;
}
.timeline-item:hover {
  border-color: rgba(34,211,238,.28); background: rgba(34,211,238,.045); transform: translateX(3px);
}
.timeline-number {
  position: relative; z-index: 1; width: var(--timeline-node); height: var(--timeline-node); display: grid; place-items: center;
  border: 1px solid rgba(34,211,238,.42); border-radius: 15px;
  background: linear-gradient(145deg, rgba(139,92,246,.32), rgba(34,211,238,.13)), #0b1225;
  color: #fff; font-family: var(--mono); font-size: .8rem; font-weight: 800;
  box-shadow: 0 0 20px rgba(34,211,238,.08);
}
.timeline-item strong { display: block; color: var(--text); font-size: .94rem; }
.timeline-item p { margin: .25rem 0 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }

.explorer-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .7rem; margin-top: 1rem;
}
.explorer-grid a {
  position: relative; min-height: 76px; padding: .7rem;
  display: flex; align-items: center; gap: .65rem; overflow: hidden;
  border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  transition: border-color .2s, transform .2s, background .2s, box-shadow .2s;
}
.explorer-grid a:last-child {
  grid-column: 1 / -1;
  width: calc((100% - .7rem) / 2);
  justify-self: center;
}
.explorer-grid a:last-child::after { margin-left: auto; }
.explorer-grid a::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: linear-gradient(180deg, var(--violet), var(--cyan)); opacity: .75;
}
.explorer-grid a::after {
  content: '↗'; margin-left: auto; color: var(--muted2);
  font-family: var(--mono); font-size: .78rem; transition: color .2s, transform .2s;
}
.explorer-grid a:hover {
  border-color: rgba(34,211,238,.42); transform: translateY(-3px);
  background: linear-gradient(145deg, rgba(34,211,238,.09), rgba(139,92,246,.055));
  box-shadow: 0 12px 28px rgba(0,0,0,.28), 0 0 18px rgba(34,211,238,.08);
}
.explorer-grid a:hover::after { color: var(--cyan); transform: translate(2px,-2px); }
.explorer-grid img {
  width: 44px; height: 44px; flex: 0 0 44px; object-fit: contain; padding: 5px;
  border: 1px solid rgba(255,255,255,.09); border-radius: 12px;
  background: rgba(255,255,255,.075); box-shadow: inset 0 0 14px rgba(255,255,255,.025);
}
.explorer-grid strong { min-width: 0; color: var(--text); font-size: .82rem; line-height: 1.2; overflow-wrap: anywhere; }
.verify-reminder {
  display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start;
  margin-top: auto; padding: .75rem .8rem; border: 1px solid rgba(0,255,163,.19);
  border-radius: 12px; background: rgba(0,255,163,.045);
  transform: translateY(0);
}
.explorer-grid + .verify-reminder { margin-top: auto; padding-top: .75rem; }
.verify-reminder > span {
  width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(0,255,163,.13); color: var(--green); font-weight: 800;
}
.verify-reminder p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.verify-reminder strong, .verify-reminder code { color: var(--text); }

.staking-truths-section { padding-top: 96px; }
.staking-truths-head { max-width: 860px; margin-bottom: 2.75rem; }
.staking-truths-head .section-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-bottom: .75rem; padding: .38rem .72rem;
  border: 1px solid rgba(139,92,246,.3); border-radius: 999px;
  background: rgba(139,92,246,.08); color: #d8b4fe;
  font-size: .82rem; line-height: 1.2; letter-spacing: .075em;
}
.staking-truths-head .section-eyebrow::before {
  content: ''; width: .48rem; height: .48rem; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px rgba(34,211,238,.55);
}
.staking-truths-head h2 {
  max-width: 720px; margin-inline: auto;
  font-size: clamp(2.15rem, 4.7vw, 3.7rem); line-height: 1.04; letter-spacing: 0;
  text-wrap: balance;
}
.staking-truths-head > p:last-child {
  max-width: 680px; margin: .95rem auto 0;
  color: #aab9d3; font-size: clamp(.98rem, 1.4vw, 1.1rem); line-height: 1.68;
  text-wrap: balance;
}
.staking-truths-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.staking-truth {
  min-height: 230px; display: flex; flex-direction: column; gap: 1rem; padding: 1.15rem;
  border: 1px solid var(--line); border-radius: var(--r);
  background:
    radial-gradient(circle at 100% 0, rgba(139,92,246,.11), transparent 12rem),
    linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: var(--shadow); transition: transform .22s, border-color .22s, background .22s;
}
.staking-truth:hover {
  transform: translateY(-4px); border-color: rgba(34,211,238,.3);
  background: radial-gradient(circle at 100% 0, rgba(34,211,238,.12), transparent 12rem), linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.022));
}
.truth-icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid rgba(34,211,238,.34); border-radius: 15px;
  background: linear-gradient(145deg, rgba(139,92,246,.24), rgba(34,211,238,.1));
  color: var(--cyan); font-family: var(--mono); font-size: 1.25rem; font-weight: 800;
  box-shadow: 0 0 18px rgba(34,211,238,.07);
}
.staking-truth h3 { margin: .38rem 0 .45rem; color: var(--text); font-size: 1.02rem; line-height: 1.3; }
.staking-truth p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }

.stake-faq { display: grid; gap: .75rem; }
.stake-faq details { padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255,255,255,.025); }
.stake-faq summary { cursor: pointer; color: var(--text); font-weight: 800; }
.stake-faq summary::marker { color: var(--cyan); }
.stake-faq p { color: var(--muted); margin: .65rem 0 0; }

@media (max-width: 960px) {
  .stake-facts-grid, .wallet-grid, .staking-truths-grid { grid-template-columns: 1fr 1fr; }
  .wallet-card, .wallet-card:nth-last-child(-n + 2) { grid-column: auto; }
  .wallet-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .stake-info-grid { grid-template-columns: 1fr; }
  .staking-truths-head { max-width: 620px; }
  .staking-truths-head h2 { max-width: 560px; }
  .staking-truths-head > p:last-child { max-width: 570px; }
}
@media (max-width: 600px) {
  .stake-actions { flex-direction: column; }
  .stake-facts-grid, .wallet-grid, .verify-grid, .info-grid, .staking-truths-grid, .explorer-grid { grid-template-columns: 1fr; }
  .wallet-card:last-child { grid-column: auto; }
  .explorer-grid a:last-child { grid-column: auto; width: 100%; }
  .timeline-list { --timeline-node: 46px; }
  .timeline-item { grid-template-columns: var(--timeline-node) minmax(0,1fr); }
  .staking-truth { min-height: 0; }
  .safety-callout { grid-template-columns: 1fr; }
  .wallet-card { min-height: 0; }
  .mini-actions { display: grid; grid-template-columns: 1fr; }
  .mini-actions a { justify-content: center; }
  .widget-frame-bar { grid-template-columns: 1fr; gap: .45rem; }
  .staking-widget-frame { min-height: 680px; }
}

/* ── Support page experience ───────────────────────────── */
.support-hero { min-height: 68vh; padding-bottom: 88px; }
.support-hero .hero-content { max-width: 960px; }
.support-hero h1 { max-width: 820px; font-size: clamp(3.2rem,7vw,6.6rem); }
.support-hero .lead { max-width: 740px; text-wrap: balance; }

.support-intro-section, .support-context-section, .support-cost-section,
.support-paths-section, .support-note-section { padding: 104px 0; }
.support-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .65rem;
  color: #c4b5fd; font-family: var(--mono); font-size: .7rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
.support-eyebrow::before { content: ''; width: 1.7rem; height: 1px; background: linear-gradient(90deg,var(--violet),var(--cyan)); }
.support-intro-grid {
  display: grid; grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr);
  gap: 1rem; align-items: stretch;
}
.support-operator-card, .support-commitment {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(155deg,rgba(18,26,52,.88),rgba(7,10,22,.98));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04);
}
.support-operator-card {
  display: grid; grid-template-columns: auto minmax(0,1fr); gap: 1.25rem;
  padding: 1.4rem;
}
.support-operator-card::before, .support-commitment::before, .support-path-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg,transparent,var(--violet),var(--cyan),transparent); opacity: .7;
}
.support-operator-mark {
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px;
  border: 1px solid rgba(34,211,238,.28);
  background: linear-gradient(145deg,rgba(139,92,246,.28),rgba(34,211,238,.1));
  color: #fff; font-family: var(--mono); font-size: 1.35rem; font-weight: 800;
  box-shadow: 0 0 24px rgba(34,211,238,.1);
}
.support-operator-card h2 { margin-bottom: .7rem; font-size: clamp(1.8rem,3.2vw,2.7rem); line-height: 1.05; letter-spacing: 0; }
.support-operator-card p { color: var(--muted); }
.support-operator-card p + p { margin-top: .7rem; }
.support-commitment {
  min-height: 300px; padding: 1.4rem; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(circle at 100% 0,rgba(34,211,238,.12),transparent 15rem),linear-gradient(155deg,rgba(18,26,52,.88),rgba(7,10,22,.98));
}
.support-commitment > span { color: var(--cyan); font-family: var(--mono); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.support-commitment > strong { margin: .65rem 0 1.5rem; font-size: clamp(1.65rem,3vw,2.5rem); line-height: 1.12; letter-spacing: 0; }
.support-commitment a { color: #bdf7ff; font-family: var(--mono); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.support-commitment i { color: var(--cyan); font-style: normal; }

.support-section-head {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.72fr);
  gap: 2rem; align-items: end; margin-bottom: 2.4rem;
}
.support-section-head h2 {
  max-width: 760px; font-size: clamp(2.15rem,4.7vw,4.2rem);
  line-height: 1.02; letter-spacing: 0; text-wrap: balance;
}
.support-section-head > p { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.support-section-head--center { display: block; max-width: 850px; margin-inline: auto; text-align: center; }
.support-section-head--center .support-eyebrow { justify-content: center; }
.support-section-head--center h2 { margin-inline: auto; }
.support-section-head--center > p { max-width: 680px; margin: 1rem auto 0; }
.support-context-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.support-context-card {
  position: relative; min-height: 230px; padding: 1.15rem; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r);
  background: radial-gradient(circle at 100% 0,rgba(139,92,246,.11),transparent 12rem),linear-gradient(155deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  box-shadow: var(--shadow); transition: transform .2s,border-color .2s;
}
.support-context-card:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.3); }
.support-card-number { display: block; margin-bottom: 2.1rem; color: rgba(255,255,255,.13); font-family: var(--mono); font-size: 2.2rem; font-weight: 800; }
.support-context-card h3 { margin-bottom: .55rem; font-size: 1.08rem; }
.support-context-card p { color: var(--muted); font-size: .86rem; line-height: 1.58; }

.support-cost-section { scroll-margin-top: 72px; }
.support-cost-layout { display: grid; grid-template-columns: minmax(280px,.7fr) minmax(0,1.3fr); gap: 1rem; align-items: stretch; }
.support-cost-summary { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.support-cost-summary article {
  min-height: 150px; padding: 1.15rem; display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--line); border-radius: var(--r);
  background: radial-gradient(circle at 100% 0,rgba(34,211,238,.1),transparent 10rem),linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.018));
  box-shadow: 0 20px 55px rgba(0,0,0,.3);
}
.support-cost-summary span, .support-cost-summary small { color: var(--muted2); font-family: var(--mono); font-size: .62rem; letter-spacing: .07em; text-transform: uppercase; }
.support-cost-summary strong { color: #fff; font-family: var(--mono); font-size: clamp(1.8rem,3.4vw,2.8rem); line-height: 1; }
.support-cost-list {
  padding: 1rem; display: grid; gap: .65rem; border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(155deg,rgba(18,26,52,.88),rgba(7,10,22,.98)); box-shadow: var(--shadow);
}
.support-cost-list > div {
  min-height: 82px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .85rem; align-items: center;
  padding: .8rem; border: 1px solid rgba(148,163,184,.11); border-radius: 12px; background: rgba(255,255,255,.022);
}
.support-cost-list strong { display: block; font-size: .9rem; }
.support-cost-list p { color: var(--muted2); font-size: .75rem; line-height: 1.45; }
.support-cost-list b { color: #dbeafe; font-family: var(--mono); font-size: .76rem; text-align: right; }
.support-cost-list b small { display: block; margin-top: .18rem; color: var(--muted2); font-size: .68rem; font-weight: 700; }
.support-additional-card {
  max-width: 900px; margin: 1rem auto 0; padding: 1.05rem;
  border: 1px solid rgba(34,211,238,.16); border-radius: var(--r);
  background: radial-gradient(circle at 100% 0,rgba(34,211,238,.08),transparent 16rem),rgba(255,255,255,.025);
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}
.support-additional-card h3 { margin-bottom: .75rem; font-size: 1rem; }
.support-additional-card .list {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .45rem .9rem;
}
.support-cost-note { max-width: 820px; margin: 1rem auto 0; color: var(--muted2); font-size: .78rem; text-align: center; }
.support-cost-note span { margin-right: .35rem; color: var(--cyan); }

.support-path-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.support-path-card {
  position: relative; min-height: 330px; padding: 1.2rem; overflow: hidden;
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(155deg,rgba(18,26,52,.88),rgba(7,10,22,.98)); box-shadow: var(--shadow);
  transition: transform .2s,border-color .2s;
}
.support-path-card:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.3); }
.support-path-card--primary { border-color: rgba(0,255,163,.2); background: radial-gradient(circle at 100% 0,rgba(0,255,163,.08),transparent 14rem),linear-gradient(155deg,rgba(18,26,52,.88),rgba(7,10,22,.98)); }
.support-path-card--coffee { border-color: rgba(251,191,36,.24); background: radial-gradient(circle at 100% 0,rgba(251,191,36,.1),transparent 14rem),linear-gradient(155deg,rgba(18,26,52,.88),rgba(7,10,22,.98)); }
.support-path-card--coffee .support-path-icon { border-color: rgba(251,191,36,.34); color: #fde68a; background: linear-gradient(145deg,rgba(251,191,36,.18),rgba(34,211,238,.06)); }
.support-path-icon {
  width: 48px; height: 48px; margin: .2rem 0 1.5rem; display: grid; place-items: center;
  border: 1px solid rgba(34,211,238,.28); border-radius: 14px;
  background: linear-gradient(145deg,rgba(139,92,246,.24),rgba(34,211,238,.09)); color: var(--cyan); font-family: var(--mono); font-size: 1.2rem; font-weight: 800;
}
.support-path-card h3 { margin-bottom: .6rem; font-size: 1.12rem; }
.support-path-card > p { color: var(--muted); font-size: .87rem; }
.support-path-actions { margin-top: auto; padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.support-path-actions .btn { min-height: 40px; padding: .62rem .8rem; font-size: .75rem; }
.support-pending {
  margin-top: auto; padding: .72rem .8rem; display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(251,191,36,.22); border-radius: 12px; background: rgba(251,191,36,.055);
  color: #fde68a; font-family: var(--mono); font-size: .66rem; font-weight: 800; text-transform: uppercase;
}
.support-pending i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px rgba(251,191,36,.6); }

.support-note-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(300px,.72fr); gap: 1rem; align-items: stretch; }
.support-personal-note, .support-safety-note { padding: clamp(1.35rem,2.4vw,2rem); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.support-personal-note { background: radial-gradient(circle at 100% 0,rgba(139,92,246,.1),transparent 15rem),linear-gradient(155deg,rgba(18,26,52,.88),rgba(7,10,22,.98)); }
.support-personal-note .support-eyebrow { margin-bottom: 1rem; }
.support-note-copy { display: grid; gap: 1rem; }
.support-personal-note p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.support-personal-note .support-note-opening { color: var(--text); font-size: 1.02rem; line-height: 1.7; }
.support-personal-note .support-note-statement { padding: .95rem 1rem; border-left: 3px solid var(--cyan); background: rgba(34,211,238,.07); color: #fff; font-size: 1rem; }
.support-personal-note .support-note-ending { padding-top: 1rem; border-top: 1px solid rgba(148,163,184,.16); color: var(--text); }
.support-safety-note { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-content: start; background: linear-gradient(135deg,rgba(0,255,163,.07),rgba(34,211,238,.035)); border-color: rgba(0,255,163,.2); }
.support-safety-note > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #00130c; font-family: var(--mono); font-weight: 800; }
.support-safety-content { min-width: 0; }
.support-safety-note h2 { margin-bottom: .65rem; font-size: 1.2rem; }
.support-safety-note p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.support-safety-content > p + p { margin-top: .85rem; }
.support-safe-delegation { margin-top: 1.35rem; padding-top: 1.25rem; border-top: 1px solid rgba(0,255,163,.2); }
.support-safety-note a { display: inline-block; margin-top: 1rem; color: #b8ffde; font-family: var(--mono); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.support-disclaimer-section { padding: 46px 0; }
.support-disclaimer { max-width: 900px; margin-inline: auto; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.support-disclaimer strong { color: var(--amber); font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.support-disclaimer p { color: var(--muted); font-size: .82rem; line-height: 1.65; }
.support-closing-section { padding: 82px 0; }
.support-closing { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.support-closing h2 { font-size: clamp(2rem,4vw,3.4rem); line-height: 1.05; letter-spacing: 0; }
.support-closing p { margin-top: .55rem; color: var(--muted); }
.support-closing-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }

@media (max-width: 1040px) {
  .support-intro-grid, .support-cost-layout, .support-note-grid { grid-template-columns: 1fr; }
  .support-commitment { min-height: 240px; }
  .support-cost-summary { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .support-section-head { grid-template-columns: 1fr; }
  .support-context-grid, .support-path-grid { grid-template-columns: 1fr; }
  .support-context-card, .support-path-card { min-height: 0; }
}
@media (max-width: 600px) {
  .support-hero { min-height: auto; padding-bottom: 72px; }
  .support-hero h1 { font-size: clamp(3rem,14vw,4.2rem); }
  .support-intro-section, .support-context-section, .support-cost-section, .support-paths-section, .support-note-section { padding-block: 82px; }
  .support-operator-card { grid-template-columns: 1fr; }
  .support-cost-summary { grid-template-columns: 1fr; }
  .support-cost-list > div { grid-template-columns: 1fr; }
  .support-cost-list b { text-align: left; }
  .support-additional-card .list { grid-template-columns: 1fr; }
  .support-safety-note, .support-disclaimer { grid-template-columns: 1fr; }
  .support-closing { align-items: flex-start; flex-direction: column; }
  .support-closing-actions { justify-content: flex-start; }
}

/* ── Copy row ────────────────────────────────────────────── */
.copy-row {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .88rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: rgba(0,0,0,.22); margin: .75rem 0;
}
.copy-row code { overflow-wrap: anywhere; font-size: .82rem; color: var(--muted); }

.copy-btn {
  border: 1px solid var(--line); background: rgba(255,255,255,.07);
  color: var(--text); border-radius: 10px; padding: .5rem .72rem;
  cursor: pointer; font-family: var(--mono); font-size: .76rem; white-space: nowrap;
  transition: background .15s, color .15s;
}
.copy-btn:hover, .copy-btn.is-copied { background: rgba(34,211,238,.14); color: var(--cyan); }

/* ── Embeds ──────────────────────────────────────────────── */
.embed {
  width: 100%; min-height: 640px; border: 0;
  border-radius: var(--r); background: #11182f; box-shadow: var(--shadow);
  display: block;
}
.note {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: rgba(0,0,0,.22); color: var(--muted);
  padding: .95rem; font-family: var(--mono); font-size: .82rem; overflow: auto;
  margin-top: 1rem;
}

/* ── Source links ────────────────────────────────────────── */
.source-links { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.1rem; }

/* ── Reveal animation ────────────────────────────────────── */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .68s ease, transform .68s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.embed-fallback {
  margin-top: .85rem;
  color: var(--muted);
  font-size: .88rem;
}
.embed-fallback a { color: var(--cyan); text-decoration: underline; text-underline-offset: .18em; }
.content-narrow { max-width: 640px; margin-inline: auto; }
.content-wide { max-width: 860px; margin-inline: auto; }
.align-start { justify-content: flex-start; }
.stake-id-row { margin-bottom: 1.75rem; }
.first-block-links { margin-top: 1rem; }
.metric-embed { min-height: 360px; }
.ethos-quote { font-family: var(--mono); font-size: .92rem; line-height: 1.55; color: var(--cyan); }
.noscript-banner {
  margin: 88px auto 0;
  width: min(1160px, 100% - 40px);
  border: 1px solid rgba(251,191,36,.35);
  border-radius: var(--r-sm);
  background: rgba(251,191,36,.08);
  color: #fde68a;
  padding: .85rem 1rem;
  font-size: .9rem;
}

/* -- Links portal -------------------------------------------- */
.links-hero { min-height: 50vh; }
.links-portal-section {
  padding: 70px 0 88px;
  background:
    radial-gradient(circle at 86% 8%, rgba(34,211,238,.09), transparent 24rem),
    linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.006));
}
.links-portal { max-width: 1120px; }
.links-directory-head {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: .4rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(148,163,184,.14);
  border-bottom: 1px solid rgba(148,163,184,.14);
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.links-directory-head h2 {
  margin: .25rem 0 0;
  color: #fff;
  font-size: clamp(1.4rem,2.25vw,2.05rem);
  letter-spacing: 0;
}
.links-directory-head p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
  max-width: 42ch;
  justify-self: end;
}
.links-group-head {
  margin: 1rem 0 .75rem;
}
.links-group-head--spaced {
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(148,163,184,.12);
}
.links-group-head h2 {
  margin: .2rem 0 0;
  color: #fff;
  font-size: clamp(1.15rem,1.8vw,1.55rem);
  line-height: 1.15;
  letter-spacing: 0;
}
.links-feature-grid,
.links-card-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem;
}
.links-feature-grid { margin-bottom: .9rem; }
.links-card-grid--bored-report {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.links-card-grid--custom {
  grid-template-columns: repeat(4,minmax(0,1fr));
}
.links-card-grid--bored-report .portal-link-card {
  min-height: 184px;
}
.links-card-grid--custom .portal-link-card {
  min-height: 190px;
}
.portal-link-card {
  min-width: 0;
  min-height: 166px;
  padding: 1.05rem;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  grid-template-rows: 1fr auto;
  gap: .82rem .92rem;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 12px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018)),
    radial-gradient(circle at 100% 0,rgba(34,211,238,.08),transparent 12rem),
    rgba(7,10,22,.92);
  box-shadow: 0 18px 46px rgba(0,0,0,.28);
  color: inherit;
  transition: transform .18s, border-color .18s, background .18s;
}
.portal-link-card--featured {
  min-height: 218px;
  padding: 1.18rem;
  border-color: rgba(34,211,238,.24);
}
.portal-link-card--weather {
  background:
    linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018)),
    radial-gradient(circle at 100% 0,rgba(34,211,238,.16),transparent 14rem),
    radial-gradient(circle at 4% 100%,rgba(139,92,246,.12),transparent 14rem),
    rgba(7,10,22,.94);
}
.portal-link-card--status {
  background:
    linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018)),
    radial-gradient(circle at 100% 0,rgba(34,197,94,.14),transparent 14rem),
    radial-gradient(circle at 4% 100%,rgba(34,211,238,.1),transparent 14rem),
    rgba(7,10,22,.94);
}
.portal-link-card--code {
  background:
    linear-gradient(180deg,rgba(255,255,255,.042),rgba(255,255,255,.016)),
    radial-gradient(circle at 100% 0,rgba(34,197,94,.1),transparent 12rem),
    rgba(6,10,18,.96);
}
.portal-link-card.portal-link-card--code:hover {
  border-color: rgba(34,197,94,.36);
  background:
    linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02)),
    radial-gradient(circle at 100% 0,rgba(34,197,94,.16),transparent 12rem),
    rgba(6,10,18,.98);
}
.portal-link-card--code .portal-link-icon {
  border-color: rgba(34,197,94,.28);
  background: rgba(34,197,94,.08);
  color: #86efac;
  font-size: .72rem;
  letter-spacing: .04em;
}
.portal-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34,211,238,.35);
  background:
    linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.022)),
    radial-gradient(circle at 100% 0,rgba(139,92,246,.13),transparent 12rem),
    rgba(7,10,22,.96);
}
.portal-link-card:focus-within {
  border-color: rgba(34,211,238,.46);
  box-shadow: 0 0 0 3px rgba(34,211,238,.08), 0 18px 46px rgba(0,0,0,.28);
}
.portal-link-card--pending { opacity: .82; }
.portal-link-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34,211,238,.24);
  border-radius: 10px;
  background: rgba(34,211,238,.07);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 800;
}
.portal-link-icon img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.portal-link-category {
  display: block;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.portal-link-card h3 { margin: .24rem 0 .32rem; color: #fff; font-size: 1.12rem; line-height: 1.22; }
.portal-link-card--featured h3 { font-size: clamp(1.25rem,2vw,1.58rem); }
.portal-link-card p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.portal-link-card--featured p { max-width: 52ch; font-size: .92rem; }
.portal-link-url {
  display: block;
  max-width: 100%;
  margin-top: .68rem;
  padding: .38rem .52rem;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 8px;
  background: rgba(0,0,0,.2);
  color: #d9faff;
  font-family: var(--mono);
  font-size: .7rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.portal-link-url + .portal-link-url { margin-top: .42rem; }
.portal-link-card--code .portal-link-url { color: #dcfce7; }
.portal-link-card > strong,
.portal-link-actions {
  grid-column: 1 / -1;
}
.portal-link-card > strong {
  justify-self: start;
  align-self: end;
  color: #d7fbff;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.portal-link-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
}
.portal-link-action {
  min-height: 34px;
  padding: .58rem .74rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34,197,94,.26);
  border-radius: 999px;
  background: rgba(34,197,94,.12);
  color: #dcfce7;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s, border-color .18s, background .18s, color .18s;
}
.portal-link-action:hover,
.portal-link-action:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(34,197,94,.48);
  background: rgba(34,197,94,.18);
  color: #fff;
}
.portal-link-action--ghost {
  border-color: rgba(34,211,238,.22);
  background: rgba(34,211,238,.07);
  color: #c7f9ff;
}
.portal-link-action--ghost:hover,
.portal-link-action--ghost:focus-visible {
  border-color: rgba(34,211,238,.42);
  background: rgba(34,211,238,.12);
}
.portal-link-action--disabled,
.portal-link-action--disabled:hover,
.portal-link-action--disabled:focus-visible {
  transform: none;
  border-color: rgba(148,163,184,.2);
  background: rgba(148,163,184,.08);
  color: var(--muted2);
  cursor: default;
}

.docs-repo-panel {
  margin-top: 1.05rem;
  padding: 1rem;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 14px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.014)),
    radial-gradient(circle at 100% 0,rgba(34,211,238,.08),transparent 14rem),
    rgba(5,8,18,.72);
  box-shadow: 0 18px 46px rgba(0,0,0,.22);
}
.docs-repo-head {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: .35rem;
  align-items: end;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(148,163,184,.14);
}
.docs-repo-head h2 {
  margin: .25rem 0 0;
  color: #fff;
  font-size: clamp(1.25rem,2vw,1.7rem);
  letter-spacing: 0;
}
.docs-repo-head p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
}
.docs-repo-list {
  display: grid;
  gap: .65rem;
  margin-top: .85rem;
}
.docs-repo-item {
  min-width: 0;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: .8rem;
  align-items: start;
  padding: .82rem;
  border: 1px solid rgba(148,163,184,.15);
  border-radius: 11px;
  background: rgba(255,255,255,.028);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .18s, border-color .18s, background .18s;
}
.docs-repo-item:hover,
.docs-repo-item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(34,211,238,.34);
  background: rgba(34,211,238,.055);
  outline: none;
}
.docs-repo-item.is-active {
  border-color: rgba(34,211,238,.42);
  background: rgba(34,211,238,.1);
  box-shadow: inset 3px 0 0 var(--cyan);
}
.docs-repo-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34,211,238,.22);
  border-radius: 10px;
  background: rgba(34,211,238,.07);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.docs-repo-icon--rhel {
  border-color: rgba(239,68,68,.28);
  background: rgba(239,68,68,.08);
  color: #fecaca;
  font-size: .61rem;
}
.docs-repo-item strong {
  display: block;
  color: #fff;
  font-size: .98rem;
  line-height: 1.25;
}
.docs-repo-item small {
  display: block;
  margin-top: .24rem;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
}
.docs-repo-item code {
  display: inline-flex;
  max-width: 100%;
  margin-top: .5rem;
  padding: .26rem .42rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  background: rgba(0,0,0,.22);
  color: #d9faff;
  font-family: var(--mono);
  font-size: .68rem;
  overflow-wrap: anywhere;
}

.docs-page-section {
  position: relative;
  padding: clamp(1rem,3vw,2.25rem) 0 clamp(3rem,6vw,5rem);
  background:
    radial-gradient(circle at 15% 0, rgba(34,211,238,.07), transparent 24rem),
    radial-gradient(circle at 90% 12%, rgba(139,92,246,.075), transparent 22rem);
}
.docs-page-section > .container {
  width: min(2100px, 100% - 56px);
}
.docs-hero h1 {
  line-height: 1.08;
  padding-bottom: .08em;
}
.docs-page-grid {
  display: grid;
  grid-template-columns: minmax(246px,315px) minmax(0,1fr);
  gap: clamp(1rem,1.8vw,1.55rem);
  align-items: start;
}
.docs-library,
.docs-reader {
  min-width: 0;
  border: 1px solid rgba(148,163,184,.16);
  border-radius: 10px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.016)),
    rgba(7,10,22,.9);
  box-shadow: 0 18px 50px rgba(0,0,0,.3);
}
.docs-library {
  position: sticky;
  top: 82px;
  padding: .9rem;
}
.docs-library h2 {
  margin: .2rem 0 .8rem;
  color: #fff;
  font-size: clamp(1.15rem,1.7vw,1.45rem);
}
.docs-library-list {
  grid-template-columns: 1fr;
}
.docs-library-item {
  min-height: 0;
  text-align: left;
}
.docs-reader {
  overflow: clip;
  position: relative;
  min-height: 68vh;
  padding: clamp(1rem,1.8vw,1.35rem);
  background:
    radial-gradient(circle at 50% 0, rgba(34,211,238,.08), transparent 34rem),
    linear-gradient(180deg,rgba(15,23,42,.98),rgba(3,7,18,.99)),
    #050812;
}
.docs-reader::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148,163,184,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.72), transparent 65%);
}
.docs-reader-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(760px,1120px) minmax(250px,320px);
  gap: clamp(1rem,1.8vw,1.45rem);
  justify-content: center;
  align-items: start;
}
.docs-reader-content {
  width: 100%;
  max-width: none;
  min-height: 62vh;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(11,17,32,.98), rgba(5,8,18,.99)),
    #070b16;
  box-shadow:
    0 24px 70px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.04);
}
.docs-outline {
  position: sticky;
  top: 94px;
  max-height: calc(100vh - 118px);
  overflow: auto;
  padding: .95rem;
  border: 1px solid rgba(148,163,184,.16);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(15,23,42,.82), rgba(5,8,18,.9)),
    rgba(5,8,18,.82);
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
}
.docs-outline > span {
  display: block;
  margin-bottom: .72rem;
  color: #86efac;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.docs-outline nav {
  display: grid;
  gap: .18rem;
}
.docs-outline p {
  margin: 0;
  color: var(--muted2);
  font-size: .78rem;
}
.docs-outline-link {
  display: block;
  padding: .38rem .48rem;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.35;
}
.docs-outline-link--h5 {
  padding-left: 1.05rem;
  font-size: .72rem;
  color: var(--muted2);
}
.docs-outline-link:hover,
.docs-outline-link:focus-visible {
  border-color: rgba(34,211,238,.14);
  background: rgba(34,211,238,.075);
  color: #eaffff;
}

body.modal-open { overflow: hidden; }
.guide-modal[hidden] { display: none; }
.guide-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem,3vw,2rem);
}
.guide-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(34,211,238,.15), transparent 26rem),
    radial-gradient(circle at 12% 92%, rgba(139,92,246,.12), transparent 24rem),
    rgba(1,4,12,.82);
  backdrop-filter: blur(14px);
}
.guide-window {
  position: relative;
  width: min(1120px,100%);
  max-height: min(90vh,1040px);
  overflow: auto;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 16px;
  background: #070b16;
  box-shadow: 0 28px 86px rgba(0,0,0,.58), 0 0 0 1px rgba(34,211,238,.06);
}
.guide-window:focus { outline: none; }
.guide-window--markdown {
  background:
    linear-gradient(180deg, rgba(15,23,42,.96), rgba(4,7,16,.99)),
    #070b16;
}
.guide-window-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(148,163,184,.16);
  background: rgba(5,8,18,.94);
  backdrop-filter: blur(12px);
}
.guide-window-kicker {
  display: inline-flex;
  margin-bottom: .42rem;
  color: #86efac;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.guide-window-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem,3vw,2.45rem);
  line-height: 1.05;
}
.guide-window-head p {
  max-width: 760px;
  margin: .55rem 0 0;
  color: var(--muted);
  line-height: 1.62;
}
.guide-window-head code { color: #dcfce7; font-size: .84em; }
.guide-window-close {
  min-height: 36px;
  padding: .55rem .72rem;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: #e5f6ff;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
}
.guide-window-close:hover,
.guide-window-close:focus-visible {
  border-color: rgba(34,211,238,.42);
  background: rgba(34,211,238,.1);
}
.guide-window-body { padding: 0; }
.md-guide {
  max-width: none;
  margin: 0;
  padding: clamp(1.15rem,2vw,1.85rem);
  color: #dbe7f6;
  font-size: .94rem;
  line-height: 1.72;
}
.md-guide code {
  padding: .1rem .28rem;
  border-radius: 5px;
  background: rgba(226,244,255,.9);
  color: #07111f;
  font-family: var(--mono);
  font-size: .88em;
  font-weight: 800;
}
.md-guide-title {
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(148,163,184,.16);
}
.md-path {
  margin: 0 0 .55rem;
  color: #86efac;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.md-guide-title h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem,4vw,3rem);
  line-height: 1.04;
}
.md-guide-title > p {
  max-width: 800px;
  margin: .8rem 0 0;
  color: var(--muted);
}
.doc-viewer-content h3:first-child {
  margin-top: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148,163,184,.16);
  color: #fff;
  font-size: clamp(1.7rem,2.4vw,2.55rem);
  line-height: 1.18;
  overflow: visible;
}
.doc-viewer-content h3:first-child::before { content: ""; }
.doc-viewer-content h4,
.doc-viewer-content h5 {
  margin: 1.7rem 0 .62rem;
  color: #fff;
  font-weight: 850;
  line-height: 1.18;
}
.doc-viewer-content h4 {
  font-size: clamp(1.24rem,1.25vw,1.5rem);
}
.doc-viewer-content h5 {
  font-size: clamp(1.04rem,1vw,1.18rem);
}
.doc-viewer-content h4::before,
.doc-viewer-content h5::before {
  content: "# ";
  color: var(--cyan);
  font-family: var(--mono);
}
.doc-viewer-content p {
  margin: 0 0 .78rem;
  color: var(--muted);
}
.doc-viewer-content h3,
.doc-viewer-content h4,
.doc-viewer-content h5 {
  scroll-margin-top: 92px;
}
.doc-viewer-content ul,
.doc-viewer-content ol {
  margin: .7rem 0 1rem;
  padding-left: 1.25rem;
  color: var(--muted);
}
.doc-viewer-content li { padding-block: .16rem; }
.doc-viewer-content li::marker {
  color: var(--cyan);
  font-family: var(--mono);
  font-weight: 900;
}
.doc-viewer-content a {
  color: #b9f7ff;
  text-decoration: underline;
  text-decoration-color: rgba(34,211,238,.35);
  text-underline-offset: .18em;
}
.md-rule {
  height: 1px;
  margin: 1.15rem 0;
  border: 0;
  background: linear-gradient(90deg,transparent,rgba(34,211,238,.24),transparent);
}
.md-table-wrap {
  margin: .9rem 0 1.1rem;
  overflow-x: auto;
  border: 1px solid rgba(148,163,184,.16);
  border-radius: 10px;
  background: rgba(2,6,16,.72);
}
.md-table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}
.md-table-wrap th,
.md-table-wrap td {
  padding: .58rem .68rem;
  border-bottom: 1px solid rgba(148,163,184,.12);
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}
.md-table-wrap th {
  color: #ecfeff;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: rgba(34,211,238,.07);
}
.md-table-wrap tr:last-child td { border-bottom: 0; }
.md-callout,
.md-warning {
  margin: .8rem 0 .9rem;
  padding: .8rem .9rem;
  border: 1px solid rgba(34,197,94,.2);
  border-left: 3px solid var(--green);
  border-radius: 0 10px 10px 0;
  background: rgba(34,197,94,.055);
  color: #d6e6f5;
}
.md-warning {
  border-color: rgba(251,191,36,.26);
  border-left-color: #fbbf24;
  background: rgba(251,191,36,.06);
}
.doc-viewer-empty {
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(148,163,184,.16);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  color: var(--muted);
}
.md-meta-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .65rem;
  margin: 1rem 0 0;
}
.md-meta-grid div {
  min-width: 0;
  padding: .75rem .82rem;
  border: 1px solid rgba(148,163,184,.15);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
}
.md-meta-grid dt {
  color: var(--muted2);
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.md-meta-grid dd {
  margin: .24rem 0 0;
  color: #f4fbff;
  font-weight: 700;
}
.md-toc {
  margin: 1.1rem 0;
  padding: .9rem 1rem;
  border: 1px solid rgba(34,211,238,.16);
  border-radius: 10px;
  background: rgba(34,211,238,.045);
}
.md-toc strong {
  color: #fff;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.md-toc ol {
  margin: .65rem 0 0;
  padding-left: 1.2rem;
  columns: 2;
  color: var(--muted);
}
.md-toc li { break-inside: avoid; padding-block: .1rem; }
.md-section {
  padding: 1.05rem 0;
  border-top: 1px solid rgba(148,163,184,.12);
}
.md-section h3 {
  margin: 0 0 .65rem;
  color: #fff;
  font-size: clamp(1.2rem,2vw,1.55rem);
  line-height: 1.2;
}
.md-section h3::before {
  content: "# ";
  color: var(--cyan);
  font-family: var(--mono);
}
.md-section p { margin: 0 0 .75rem; color: var(--muted); }
.md-section p:last-child { margin-bottom: 0; }
.md-section ul,
.md-ordered {
  margin: .7rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}
.md-section li { padding-block: .22rem; }

.md-ordered {
  display: grid;
  gap: .45rem;
}
.md-ordered li,
.md-section ul li {
  padding-left: .15rem;
}
.md-section ul li::marker,
.md-ordered li::marker {
  color: var(--cyan);
  font-family: var(--mono);
  font-weight: 900;
}
.md-section + .md-section {
  margin-top: .15rem;
}
.md-section.md-callout {
  margin-top: 1rem;
}
.md-section strong { color: #f2fbff; }

.md-intro {
  border-top: 0;
  padding-top: .9rem;
}
.md-step {
  padding: 1.25rem 0;
}
.md-detail-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .7rem;
  margin: .85rem 0;
}
.md-detail-grid div {
  min-width: 0;
  padding: .75rem .85rem;
  border: 1px solid rgba(148,163,184,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.028);
}
.md-detail-grid strong {
  display: block;
  margin-bottom: .28rem;
  color: #f7fdff;
  font-size: .86rem;
}
.md-detail-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
}
.md-verify {
  margin-top: .7rem !important;
  padding: .62rem .72rem;
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  background: rgba(34,197,94,.055);
  color: #bfd2e5 !important;
}
.md-verify strong { color: #b8ffde; }
.md-codeblock {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 1rem 0 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(34,211,238,.22);
  border-radius: 9px;
  background: #010711;
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
}
.md-codeblock > span {
  display: block;
  padding: .42rem .72rem;
  border-bottom: 1px solid rgba(34,211,238,.16);
  background: linear-gradient(90deg,#86efac,#67e8f9);
  color: #020617;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.md-codeblock pre {
  margin: 0;
  max-width: 100%;
  padding: .9rem 1rem;
  overflow-x: auto;
}
.md-codeblock code {
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #e7fbff;
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.62;
  white-space: pre;
}
.md-warning h3::before { color: #fbbf24; }
.md-sources {
  margin-top: 1.1rem;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
  border-top: 1px solid rgba(148,163,184,.14);
  color: var(--muted2);
  font-size: .82rem;
}
.md-sources strong {
  color: #fff;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.md-sources a {
  color: #b9f7ff;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.md-sources a:hover { color: #fff; }

/* -- Footer --------------------------------------------------- */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 52px 0 22px;
  border-top: 0;
  color: var(--muted2);
  font-size: .88rem;
  background-color: #030611;
  background-image:
    linear-gradient(180deg, rgba(15,23,42,.72), rgba(3,6,17,.98)),
    repeating-linear-gradient(90deg, rgba(34,211,238,.035) 0, rgba(34,211,238,.035) 1px, transparent 1px, transparent 72px),
    repeating-linear-gradient(0deg, rgba(139,92,246,.025) 0, rgba(139,92,246,.025) 1px, transparent 1px, transparent 72px);
}
.footer::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 25%, #fff 50%, var(--violet) 75%, transparent 100%);
  background-size: 100% 100%;
}
.footer::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 24%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.16), transparent);
  transform: skewX(-18deg);
  animation: footer-sweep 11s ease-in-out infinite;
}
.footer .container { position: relative; z-index: 1; }
.footer code { color: #c7d2e7; overflow-wrap: anywhere; font-size: .76rem; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.45fr) repeat(3, minmax(140px, .72fr));
  gap: 0;
  align-items: start;
  margin-bottom: 1.4rem;
}
.footer-grid .footer-col:nth-child(1) { transition-delay: 0ms; }
.footer-grid .footer-col:nth-child(2) { transition-delay: 80ms; }
.footer-grid .footer-col:nth-child(3) { transition-delay: 160ms; }
.footer-grid .footer-col:nth-child(4) { transition-delay: 240ms; }

.footer-col {
  min-width: 0;
  padding: .2rem 1rem;
  border: 0;
  border-left: 1px solid rgba(148,163,184,.14);
  border-radius: 0;
  background: transparent;
}
.footer-col--brand {
  padding-left: 0;
  padding-right: 1.5rem;
  border-left: 0;
  background: transparent;
}
.footer-col h2 {
  margin-bottom: .55rem;
  color: #edf7ff;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .16rem; }
.footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: .18rem 0 .32rem;
  border-radius: 0;
  color: var(--muted);
  font-size: .82rem;
  transition: color .18s, transform .18s;
}
.footer-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: .16rem;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 0 10px rgba(34,211,238,.35);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.footer-links a:hover { color: #fff; transform: translateX(2px); }
.footer-links a:hover::after { transform: scaleX(1); }

.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: .72rem; margin-bottom: .7rem; }
.footer-brand::after {
  content: "CARDANO MAINNET";
  padding: .28rem .48rem;
  border: 1px solid rgba(0,255,163,.22);
  border-radius: 999px;
  background: rgba(0,255,163,.055);
  color: #a7f3d0;
  font-family: var(--mono);
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.footer-brand strong {
  color: #fff;
  font-family: var(--mono);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(34,211,238,.3);
}
.footer-brand .mark--sm {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid rgba(34,211,238,.28);
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(139,92,246,.08), 0 0 28px rgba(34,211,238,.12);
  animation: footer-mark-pulse 4s ease-in-out infinite;
}
.footer-blurb { max-width: 42ch; color: var(--muted); font-size: .84rem; line-height: 1.5; text-wrap: pretty; }
.footer-support-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .72rem;
  margin-top: .75rem;
}
.footer-credentials {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}
.footer-credential-logo {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
}
.footer-credential-logo img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.footer-coffee-link {
  position: relative;
  display: block;
  flex: 0 0 158px;
  width: 158px;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,221,0,.25);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,.24), 0 0 16px rgba(255,221,0,.06);
  transform-origin: center;
  animation: footer-coffee-float 4.5s ease-in-out infinite;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.footer-coffee-link::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -35%;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  transform: skewX(-18deg);
  animation: footer-coffee-shine 5.5s ease-in-out infinite;
}
.footer-coffee-link img { display: block; width: 100%; height: auto; }
.footer-coffee-link:hover {
  border-color: rgba(255,221,0,.75);
  box-shadow: 0 10px 26px rgba(0,0,0,.3), 0 0 22px rgba(255,221,0,.13);
  transform: translateY(-2px) scale(1.01);
}

.footer-bottom {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px,.72fr) minmax(0,1.28fr);
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  min-height: 78px;
  padding: .8rem;
  border: 1px solid rgba(34,211,238,.17);
  border-radius: 8px;
  background: linear-gradient(110deg, rgba(34,211,238,.055), rgba(255,255,255,.025) 45%, rgba(139,92,246,.055));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 18px 54px rgba(0,0,0,.3);
}
.footer-signature { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.footer-signature > div { display: flex; min-width: 0; flex-direction: column; gap: .18rem; }
.footer-copyright { color: var(--muted); font-size: .76rem; }
.footer-signature strong { color: #fff; font-family: var(--mono); font-size: .84rem; letter-spacing: .04em; }
.footer-signal {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid rgba(34,211,238,.3);
  border-radius: 50%;
  box-shadow: inset 0 0 18px rgba(34,211,238,.08), 0 0 20px rgba(34,211,238,.08);
  animation: footer-signal-pulse 3.6s ease-in-out infinite;
}
.footer-signal::before, .footer-signal::after { content: ""; position: absolute; inset: 50%; }
.footer-signal::before {
  width: 11px;
  height: 11px;
  margin: -5.5px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(34,211,238,.5);
}
.footer-signal::after {
  width: 28px;
  height: 1px;
  margin: -.5px 0 0 -14px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  animation: footer-signal-spin 4.5s linear infinite;
}
.footer-pool-id {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  padding-left: 1rem;
  border-left: 1px solid rgba(148,163,184,.14);
}
.footer-pool-id > span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-bottom .footer-pool-id code {
  display: block;
  min-width: 0;
  max-width: none;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #dbeafe;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.footer-copy-btn {
  min-width: 76px;
  min-height: 38px;
  padding: .55rem .7rem;
  border: 1px solid rgba(34,211,238,.3);
  border-radius: 6px;
  background: rgba(34,211,238,.075);
  color: #dffbff;
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 800;
  cursor: pointer;
  transition: color .18s, border-color .18s, background .18s, box-shadow .18s, transform .18s;
}
.footer-copy-btn:hover {
  border-color: rgba(0,255,163,.48);
  background: rgba(0,255,163,.1);
  color: #fff;
  box-shadow: 0 0 24px rgba(0,255,163,.1);
  transform: translateY(-2px);
}
.footer-copy-btn.is-copied { border-color: rgba(0,255,163,.55); background: rgba(0,255,163,.12); color: #b8ffde; }

@keyframes footer-sweep {
  0%, 12% { opacity: 0; transform: translateX(0) skewX(-18deg); }
  30%, 60% { opacity: .16; }
  82%, 100% { opacity: 0; transform: translateX(590%) skewX(-18deg); }
}
@keyframes footer-mark-pulse { 50% { box-shadow: 0 0 0 1px rgba(139,92,246,.16), 0 0 36px rgba(34,211,238,.24); } }
@keyframes footer-coffee-float { 50% { transform: translateY(-2px); } }
@keyframes footer-coffee-shine { 0%, 18% { left: -35%; opacity: 0; } 35%, 55% { opacity: .65; } 72%, 100% { left: 120%; opacity: 0; } }
@keyframes footer-signal-pulse { 50% { transform: scale(1.06); border-color: rgba(139,92,246,.45); } }
@keyframes footer-signal-spin { to { transform: rotate(360deg); } }

/* -- Section bg alternates ---------------------------------- */
.bg-subtle { background: rgba(255,255,255,.018); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1480px) {
  .docs-page-grid { grid-template-columns: 1fr; }
  .docs-library { position: relative; top: auto; }
  .docs-library-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 1120px) {
  .js .mobile-toggle { display: inline-flex; }
  .js .nav-links {
    display: none; position: absolute; left: 20px; right: 20px; top: 78px;
    flex-direction: column; align-items: stretch;
    background: rgba(6,9,22,.97); border: 1px solid var(--line);
    border-radius: 18px; padding: 1rem;
  }
  .js .nav-links.open { display: flex; }
  .links-card-grid--custom { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .docs-page-grid { grid-template-columns: 1fr; }
  .docs-library { position: relative; top: auto; }
  .docs-library-list { grid-template-columns: 1fr; }
  .docs-reader-layout { grid-template-columns: 1fr; }
  .docs-reader-content { max-width: none; }
  .docs-outline {
    position: relative;
    top: auto;
    max-height: none;
    border: 1px solid rgba(148,163,184,.16);
  }
}

@media (max-width: 960px) {
  .js .mobile-toggle { display: inline-flex; }
  .js .nav-links {
    display: none; position: absolute; left: 20px; right: 20px; top: 78px;
    flex-direction: column; align-items: stretch;
    background: rgba(6,9,22,.97); border: 1px solid var(--line);
    border-radius: 18px; padding: 1rem;
  }
  .js .nav-links.open { display: flex; }
  html:not(.js) .topbar { position: static; }
  html:not(.js) .nav { height: auto; padding-block: .75rem; flex-wrap: wrap; }
  html:not(.js) .nav-links { flex-wrap: wrap; }
  html:not(.js) .noscript-banner { margin-top: 1rem; }

  .metric-grid, .identity-grid, .node-grid, .status-grid { grid-template-columns: 1fr 1fr; }
  .first-block-grid { grid-template-columns: 1fr; }
  .award-stage { min-height: 390px; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; }
  .footer-col--brand { grid-column: 1 / -1; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(148,163,184,.14); }
  .footer-col:nth-child(2) { padding-left: 0; border-left: 0; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-pool-id { padding: 1rem 0 0; border-top: 1px solid rgba(148,163,184,.14); border-left: 0; }
  .docs-page-grid { grid-template-columns: 1fr; }
  .docs-library { position: relative; top: auto; }
  .docs-reader-layout { grid-template-columns: 1fr; }
  .docs-outline {
    position: relative;
    top: auto;
    max-height: none;
    border: 1px solid rgba(148,163,184,.16);
  }
  .links-directory-head { grid-template-columns: 1fr; align-items: start; gap: .55rem; }
  .links-feature-grid { grid-template-columns: 1fr; }
  .links-card-grid--bored-report { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .links-card-grid--custom { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .docs-repo-head { grid-template-columns: 1fr; align-items: start; gap: .55rem; }
  .md-meta-grid { grid-template-columns: 1fr; }
  .md-toc ol { columns: 1; }
  .md-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { padding-top: 112px; }
  .actions { flex-direction: column; }
  .metric-grid, .identity-grid, .node-grid, .status-grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
  .copy-row { flex-direction: column; align-items: stretch; }
  .footer { padding-top: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-col, .footer-col--brand { grid-column: auto; margin: 0; padding: .8rem 0; border-left: 0; border-bottom: 0; border-top: 1px solid rgba(148,163,184,.14); }
  .footer-col--brand { padding-top: 0; border-top: 0; }
  .footer-bottom { grid-template-columns: 1fr; padding: .9rem; }
  .footer-signature { align-items: flex-start; }
  .footer-pool-id { grid-template-columns: minmax(0,1fr) auto; }
  .footer-pool-id > span { grid-column: 1; grid-row: 1; }
  .footer-pool-id code, .footer-bottom .footer-pool-id code { grid-column: 1 / -1; grid-row: 2; white-space: normal; line-height: 1.5; overflow-wrap: anywhere; }
  .footer-copy-btn { grid-column: 2; grid-row: 1; }
  .docs-library,
  .docs-reader { border-radius: 10px; }
  .md-guide { padding: 1rem; }
  .md-table-wrap table { min-width: 480px; }
  .first-block-section { padding: 86px 0 92px; }
  .milestone-heading { margin-bottom: 2rem; }
  .first-block-card { border-radius: 22px; }
  .first-block-grid { grid-template-columns: 1fr; }
  .block-number { font-size: clamp(2.25rem,12vw,3.4rem); }
  .first-block-stats { grid-template-columns: 1fr 1fr; }
  .block-stat--wide { grid-column: span 2; grid-template-columns: 1fr; gap: .15rem; }
  .milestone-actions { display: grid; grid-template-columns: 1fr; }
  .milestone-actions .btn { justify-content: center; }
  .award-stage { min-height: 350px; padding-inline: .65rem; }
  .award-stage::before { width: 250px; height: 250px; }
  .award-stage::after { width: 300px; height: 300px; }
  .first-block-badge img { width: min(260px,100%); }
  .links-portal-section { padding-block: 64px 72px; }
  .links-directory-head { margin-bottom: 1rem; }
  .links-card-grid { grid-template-columns: 1fr; }
  .portal-link-card { min-height: 0; }
  .portal-link-card--featured { min-height: 0; }
  .portal-link-actions { display: grid; grid-template-columns: 1fr; }
  .docs-repo-panel { padding: .85rem; }
  .docs-repo-item { grid-template-columns: 1fr; }
  .guide-modal { padding: .7rem; }
  .guide-window { max-height: 90vh; border-radius: 14px; }
  .guide-window-head { grid-template-columns: 1fr; padding: 1rem; }
  .guide-window-close { justify-self: start; }
  .md-guide { padding: 1rem; }
  .md-meta-grid { grid-template-columns: 1fr; }
  .md-toc ol { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .first-block-card.reveal .block-stat { opacity: 1; transform: none; }
}
