/* ============================================================
   ChainPeak — Regional Growth Infrastructure for Web3
   Design system 5.0 · Premium Web3 marketing agency
   Black canvas · white pill nav · #0048FF→violet→pink gradient
   Live crypto ticker · on-chain terminal visual · ecosystem chips
   Display: system grotesque (bold, tight) · Labels: Chakra Petch
   ============================================================ */

@font-face {
  font-family: "Chakra Petch";
  src: url("/assets/fonts/ChakraPetch-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("/assets/fonts/ChakraPetch-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("/assets/fonts/ChakraPetch-latin-600-italic.woff2") format("woff2");
  font-weight: 600; font-style: italic; font-display: swap;
}

:root {
  --bg: #060608;
  --bg-raise: #0a0a0f;
  --surface: #0d0f16;
  --surface-2: #12141d;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.3);
  --text: #f2f4f8;
  --body: #c7cdd9;
  --muted: #9aa3b5;
  --faint: #7d8698;
  --brand: #0048ff;
  --brand-deep: #0037c4;
  --acc: #4d8cff;
  --acc-bright: #7db2ff;
  --violet: #8b5cf6;
  --violet-bright: #b36bf7;
  --cyan: #22d3ee;
  --pink: #ec4899;
  --gold: #f5b94a;
  --green: #34d399;
  --sol: #9945ff;
  --bnb: #f0b90b;
  --ton: #0098ea;
  --sui: #6fbcf0;
  --grad: linear-gradient(92deg, #0048ff 0%, #7a5cff 55%, #b36bf7 100%);
  --grad-panel: linear-gradient(115deg, #0038db 0%, #5c3bff 55%, #9d4bf7 100%);
  --grad-web3: linear-gradient(92deg, #22d3ee 0%, #7c3aed 50%, #ec4899 100%);
  --radius: 16px;
  --radius-lg: 26px;
  --font-display: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --font-label: "Chakra Petch", -apple-system, BlinkMacSystemFont, sans-serif;
  --maxw: 1200px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --z-nav: 60;
  --z-modal: 80;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--acc); text-decoration: none; transition: color 0.15s var(--ease-out); }
a:hover { color: var(--acc-bright); }
::selection { background: rgba(0, 72, 255, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.01em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-tight { padding: clamp(44px, 6vw, 72px) 0; }
.section-head { max-width: 780px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }

/* brand kicker — hero only */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-label); font-style: italic; font-weight: 600;
  font-size: 0.9rem; color: var(--acc-bright); margin-bottom: 20px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--grad); transform: skewX(-30deg); }

/* gradient accent text (NinjaPromo signature) */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Buttons (gradient pills) ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out),
              background 0.18s var(--ease-out), border-color 0.18s var(--ease-out), filter 0.18s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 34px rgba(58, 70, 255, 0.4); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.12); box-shadow: 0 16px 44px rgba(90, 70, 255, 0.55); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); color: #fff; }

/* ---------- Floating white pill nav ---------- */
.site-header { position: sticky; top: 14px; z-index: var(--z-nav); background: transparent; padding: 0 clamp(12px, 2vw, 24px); }
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
  background: #ffffff;
  border-radius: 999px;
  padding: 0 12px 0 26px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 42px; height: auto; }
.brand-name {
  font-family: var(--font-label); font-style: italic; font-weight: 600;
  letter-spacing: 0.08em; color: #0a0a12; font-size: 0.98rem;
}
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu a { display: inline-block; color: #3c4254; font-size: 0.95rem; font-weight: 500; padding: 9px 13px; border-radius: 999px; }
.nav-menu a:hover { color: #0a0a12; background: rgba(10, 10, 18, 0.06); }
.nav-menu a[aria-current="page"] { color: #0a0a12; font-weight: 600; }
.nav-cta { margin-left: 6px; }
.nav-cta a.btn { color: #fff; padding: 12px 24px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #0a0a12; margin: 4px auto; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(36px, 4.5vw, 60px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(122, 92, 255, 0.16), transparent 62%),
    radial-gradient(700px 460px at 4% 10%, rgba(0, 72, 255, 0.14), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 { margin: 8px 0 24px; }
.hero .lead { font-size: 1.14rem; line-height: 1.75; color: var(--muted); max-width: 600px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--faint); }

.hero-media { position: relative; }
.hero-media > img:not(.deco) { width: 100%; height: auto; }
.float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(13, 15, 24, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-label); font-weight: 600; font-size: 0.85rem; color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.float-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.float-chip.chip-a { top: -14px; left: -10px; }
.float-chip.chip-b { bottom: 26px; right: -8px; }
.float-chip small { font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: 0.78rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero .kicker, .hero h1, .hero .lead, .hero-actions, .hero-note { animation: rise 0.7s var(--ease-out) both; }
  .hero h1 { animation-delay: 0.06s; }
  .hero .lead { animation-delay: 0.13s; }
  .hero-actions { animation-delay: 0.2s; }
  .hero-note { animation-delay: 0.26s; }
  .hero-media { animation: rise 0.9s var(--ease-out) 0.15s both; }
  .float-chip { animation: floaty 5s ease-in-out infinite; }
  .float-chip.chip-b { animation-delay: 2.2s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- Trust strip ---------- */
.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-raise); }
.trust-line { text-align: center; padding: 26px 0 4px; color: var(--muted); font-size: 0.98rem; }
.trust-line strong { color: #fff; }
.stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; padding: 14px 0 26px; }
.stat { display: inline-flex; align-items: baseline; gap: 7px; }
.stat + .stat::before { content: ""; align-self: center; width: 1px; height: 15px; background: var(--line-strong); margin: 0 clamp(12px, 2vw, 26px); }
.stat .stat-value { font-family: var(--font-label); font-weight: 600; font-size: 1.05rem; color: #fff; }
.stat .stat-label { color: var(--faint); font-size: 0.87rem; }

/* ---------- Why columns (ruled, colored one-liners) ---------- */
.why-cols { display: grid; grid-template-columns: repeat(4, 1fr); }
.why-col { padding: 34px 28px 40px; border-left: 1px solid var(--line); }
.why-col:first-child { border-left: 0; }
.why-col h3 { font-size: 1.35rem; margin-bottom: 12px; }
.why-col p { font-size: 1rem; font-weight: 500; }
.why-col .c-note { display: block; margin-top: 10px; color: var(--faint); font-size: 0.9rem; font-weight: 400; }
.c-blue { color: var(--acc); }
.c-violet { color: var(--violet-bright); }
.c-cyan { color: var(--cyan); }
.c-pink { color: var(--pink); }
.c-gold { color: var(--gold); }

/* callout bar (bordered, like ninja) */
.callout {
  border: 1px solid rgba(122, 92, 255, 0.55);
  border-radius: var(--radius);
  padding: 26px 30px;
  text-align: center;
  font-size: 1.08rem;
  color: var(--text);
}
.callout .grad-text { font-weight: 700; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
a.card { display: block; color: inherit; }
a.card:hover { border-color: rgba(122, 92, 255, 0.6); transform: translateY(-4px); color: inherit; background: var(--surface-2); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card .card-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 0.92rem; color: var(--acc); }
.card-tag { display: inline-block; font-family: var(--font-label); font-size: 0.78rem; font-weight: 500; color: var(--acc); margin-bottom: 10px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-block; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--muted);
  font-size: 0.88rem; font-weight: 500;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
a.pill:hover { border-color: var(--acc); color: #fff; background: rgba(0, 72, 255, 0.12); }

/* ---------- Service cards with neon icons ---------- */
.service-card { position: relative; overflow: hidden; padding-top: 28px; }
.service-icon { width: 74px; height: 74px; margin-bottom: 20px; }
.service-card::after {
  content: "→";
  position: absolute; right: 24px; bottom: 20px;
  color: var(--acc); font-size: 1.1rem;
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
.service-card:hover::after { opacity: 1; transform: none; }

/* ---------- Region index rows with neon code chips ---------- */
.region-index { border-top: 1px solid var(--line); }
.region-row {
  display: grid;
  grid-template-columns: 92px minmax(190px, 0.85fr) 1.6fr auto;
  gap: 16px 26px;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  transition: background 0.18s var(--ease-out), padding 0.18s var(--ease-out);
}
.region-row:hover { background: rgba(0, 72, 255, 0.07); padding-left: 18px; color: inherit; }
.region-code {
  width: 74px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-family: var(--font-label); font-style: italic; font-weight: 600; font-size: 0.95rem;
}
.hue-blue   { color: var(--acc);    box-shadow: inset 0 0 22px rgba(0, 72, 255, 0.28);   border-color: rgba(77, 140, 255, 0.5); text-shadow: 0 0 12px rgba(77, 140, 255, 0.8); }
.hue-cyan   { color: var(--cyan);   box-shadow: inset 0 0 22px rgba(34, 211, 238, 0.22); border-color: rgba(34, 211, 238, 0.45); text-shadow: 0 0 12px rgba(34, 211, 238, 0.8); }
.hue-violet { color: #c4b5fd;       box-shadow: inset 0 0 22px rgba(139, 92, 246, 0.26); border-color: rgba(139, 92, 246, 0.5); text-shadow: 0 0 12px rgba(139, 92, 246, 0.8); }
.hue-pink   { color: #f9a8d4;       box-shadow: inset 0 0 22px rgba(236, 72, 153, 0.22); border-color: rgba(236, 72, 153, 0.45); text-shadow: 0 0 12px rgba(236, 72, 153, 0.8); }
.hue-sky    { color: #7dd3fc;       box-shadow: inset 0 0 22px rgba(56, 189, 248, 0.22); border-color: rgba(56, 189, 248, 0.45); text-shadow: 0 0 12px rgba(56, 189, 248, 0.8); }
.hue-gold   { color: #fcd34d;       box-shadow: inset 0 0 22px rgba(245, 185, 74, 0.2);  border-color: rgba(245, 185, 74, 0.45); text-shadow: 0 0 12px rgba(245, 185, 74, 0.8); }
.hue-rose   { color: #fda4af;       box-shadow: inset 0 0 22px rgba(244, 63, 94, 0.2);   border-color: rgba(244, 63, 94, 0.45); text-shadow: 0 0 12px rgba(244, 63, 94, 0.8); }
.region-row .region-name { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.01em; }
.region-flag { display: inline-block; vertical-align: -2px; border-radius: 3px; margin-right: 9px; box-shadow: 0 0 0 1px rgba(148,163,184,0.25); }
.region-row .region-name small { display: block; font-family: var(--font-label); font-style: italic; font-weight: 500; font-size: 0.76rem; color: var(--acc); margin-top: 3px; letter-spacing: 0.02em; }
.region-row p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.region-row .region-arrow { color: var(--acc); font-size: 1.2rem; transition: transform 0.18s var(--ease-out); }
.region-row:hover .region-arrow { transform: translateX(5px); }

/* ---------- Gradient panel (playbook + CTA) ---------- */
.grad-panel {
  position: relative;
  background: var(--grad-panel);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px);
  overflow: hidden;
}
.grad-panel::after {
  content: "";
  position: absolute; right: -70px; bottom: -100px;
  width: 480px; height: 293px;
  background: url("/assets/img/logo-mark.png") no-repeat center / contain;
  opacity: 0.16;
  pointer-events: none;
}
.grad-panel h2, .grad-panel h3 { color: #fff; }
.grad-panel p { color: rgba(255, 255, 255, 0.86); }
.grad-panel .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 12px 34px rgba(0, 20, 90, 0.4); }
.grad-panel .btn-primary:hover { background: #eef3ff; color: var(--brand-deep); filter: none; }
.grad-panel .btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.grad-panel .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---------- Phases ---------- */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.phase { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; }
.phase-num { font-family: var(--font-label); font-style: italic; font-size: 0.85rem; font-weight: 600; margin-bottom: 14px; }
.phase:nth-child(1) .phase-num { color: var(--acc); }
.phase:nth-child(2) .phase-num { color: var(--violet-bright); }
.phase:nth-child(3) .phase-num { color: var(--pink); }
.phase h3 { margin-bottom: 12px; }
.phase .phase-lead { color: var(--muted); font-size: 0.96rem; }
.phase ul { list-style: none; margin-top: 14px; }
.phase ul li { padding-left: 22px; position: relative; color: var(--muted); font-size: 0.94rem; margin-bottom: 8px; }
.phase ul li::before { content: "→"; position: absolute; left: 0; color: var(--acc); }
.phase .phase-duration { display: inline-block; margin-top: 8px; font-size: 0.8rem; color: var(--faint); }

/* ---------- Edge list ---------- */
.edge-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 46px) clamp(28px, 5vw, 64px); }
.edge { border-top: 2px solid; border-image: var(--grad) 1; padding-top: 22px; }
.edge h3 { margin-bottom: 10px; }
.edge p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Testimonials ---------- */
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.quote-card blockquote { color: var(--body); font-size: 0.99rem; line-height: 1.65; }
.quote-card blockquote::before { content: "“"; display: block; font-family: Georgia, serif; font-size: 2.6rem; line-height: 0.8; margin-bottom: 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote-card cite { font-style: normal; color: var(--faint); font-size: 0.88rem; }
.quote-card cite strong { color: var(--muted); display: block; font-size: 0.92rem; }

/* ---------- Prose (v6 — premium editorial) ---------- */
.prose { max-width: 720px; color: var(--body); }
.prose-center { max-width: 720px; margin-left: auto; margin-right: auto; }
.prose p { margin-bottom: 18px; color: var(--body); text-wrap: pretty; font-size: 1.02rem; line-height: 1.78; }
.prose strong { color: var(--text); font-weight: 600; }
.prose em { color: var(--text); font-style: italic; }
.prose a { color: var(--acc-bright); border-bottom: 1px solid rgba(125,178,255,0.3); padding-bottom: 1px; }
.prose a:hover { color: #fff; border-bottom-color: var(--acc-bright); }
.prose ul, .prose ol { margin: 4px 0 22px 22px; color: var(--body); }
.prose li { margin-bottom: 8px; line-height: 1.72; }
.prose li::marker { color: var(--acc); }
.prose h2 { margin: 0 0 18px; font-size: clamp(1.7rem, 3.2vw, 2.2rem); letter-spacing: -0.025em; line-height: 1.12; }
.prose h3 { margin: 36px 0 12px; font-size: 1.22rem; letter-spacing: -0.01em; }
.prose h2 + p { margin-top: -2px; }
.prose blockquote { border-left: 2px solid var(--violet); padding: 6px 0 6px 20px; margin: 24px 0; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.92rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 11px 15px; border: 1px solid var(--line); }
.prose th { background: var(--surface); color: var(--text); font-weight: 600; }
.prose td { color: var(--muted); }
.prose img { border-radius: var(--radius); margin: 24px 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose code { background: var(--surface-2); padding: 2px 7px; border-radius: 6px; font-size: 0.88em; }

/* ---------- Prose-Elevated: section blocks ---------- */
.prose-elevated { max-width: 920px; }
.prose-elevated > h2 {
  display: block;
  position: relative;
  margin: 56px 0 20px;
  padding-top: 34px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.prose-elevated > h2::after {
  content: "";
  position: absolute; left: 0; bottom: -1px; width: 64px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.prose-elevated > h2 .sec-num {
  position: absolute; top: 0; left: 0;
  font-family: var(--font-label);
  font-style: italic; font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--acc);
  background: rgba(0, 72, 255, 0.12);
  border: 1px solid rgba(77, 140, 255, 0.4);
  padding: 3px 9px;
  border-radius: 6px;
  text-transform: uppercase;
}
.prose-elevated > h2 .sec-eyebrow {
  position: absolute; top: 5px; left: 58px;
  width: auto; margin: 0;
  font-family: var(--font-label);
  font-style: italic; font-weight: 500;
  font-size: 0.76rem;
  color: var(--faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.prose-elevated > h3 { margin: 30px 0 10px; }
.prose-elevated p { color: var(--body); }
.prose-elevated .lead-line {
  font-size: 1.12rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 22px;
  text-wrap: pretty;
}
.prose-elevated .lead-line strong { color: var(--acc-bright); font-weight: 600; }

/* ---------- Section anchor target indent (in case of in-page nav) ---------- */
.prose-elevated > h2 .sec-title { display: inline; }

/* ---------- Callout — single big inline note ---------- */
.callout-block {
  position: relative;
  margin: 28px 0 32px;
  padding: 22px 26px 22px 28px;
  background: linear-gradient(135deg, rgba(0, 72, 255, 0.10) 0%, rgba(124, 58, 237, 0.08) 100%);
  border: 1px solid rgba(124, 58, 237, 0.45);
  border-radius: var(--radius);
  overflow: hidden;
}
.callout-block::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad);
}
.callout-block .cb-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label);
  font-style: italic; font-weight: 600;
  font-size: 0.78rem;
  color: var(--acc-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.callout-block .cb-label::before { content: "//"; color: var(--violet-bright); }
.callout-block p { margin: 0; color: var(--text); font-size: 1.02rem; line-height: 1.7; }
.callout-block p + p { margin-top: 10px; }
.callout-block strong { color: #fff; }

/* Variant: callout-verdict — verdict / "the upshot" */
.callout-verdict {
  margin: 32px 0 36px;
  padding: 28px 30px;
  background: linear-gradient(160deg, rgba(0, 56, 219, 0.22) 0%, rgba(124, 58, 237, 0.18) 50%, rgba(236, 72, 153, 0.10) 100%);
  border: 1px solid rgba(124, 58, 237, 0.55);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.callout-verdict::before {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.45) 0%, transparent 70%);
  pointer-events: none;
}
.callout-verdict .cv-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label);
  font-style: italic; font-weight: 600;
  font-size: 0.78rem;
  color: var(--acc-bright);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
}
.callout-verdict .cv-eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: var(--grad); transform: skewX(-30deg);
}
.callout-verdict p { margin: 0; color: #fff; font-size: 1.08rem; line-height: 1.7; position: relative; }
.callout-verdict strong { color: var(--acc-bright); }

/* Variant: callout-stat-row — inline number callout */
.callout-stat {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  margin: 28px 0;
  padding: 18px 24px;
  background: rgba(13, 15, 22, 0.7);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.callout-stat .cs-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.025em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.callout-stat .cs-text { color: var(--body); font-size: 0.98rem; flex: 1 1 320px; line-height: 1.6; }
.callout-stat .cs-text strong { color: var(--text); }

/* Variant: pull-quote */
.pull-quote {
  margin: 36px 0;
  padding: 26px 30px 26px 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  position: relative;
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 500;
}
.pull-quote::before {
  content: "“";
  position: absolute; left: 14px; top: 4px;
  font-family: Georgia, serif;
  font-size: 4.4rem; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.85;
}
.pull-quote-attr {
  display: block; margin-top: 12px;
  font-family: var(--font-label);
  font-style: italic; font-weight: 500;
  font-size: 0.84rem; color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- Insight rail: 2-col text + sidecar (or stacked) ---------- */
.insight-rail {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
  margin: 30px 0 8px;
}
.insight-rail .ir-main { min-width: 0; }
.insight-rail .ir-side {
  position: sticky; top: 96px;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg, rgba(0, 72, 255, 0.10), rgba(0, 72, 255, 0.02));
  border: 1px solid rgba(77, 140, 255, 0.35);
  border-radius: 16px;
  font-size: 0.92rem;
  color: var(--body);
}
.insight-rail .ir-side .irs-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-label);
  font-style: italic; font-weight: 600;
  font-size: 0.72rem;
  color: var(--acc-bright);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.insight-rail .ir-side .irs-list { margin: 0; padding: 0; list-style: none; }
.insight-rail .ir-side .irs-list li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.18);
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.5;
}
.insight-rail .ir-side .irs-list li:last-child { border-bottom: 0; }
.insight-rail .ir-side .irs-list strong { color: var(--text); display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 2px; }
.insight-rail .ir-side .irs-foot {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--faint); font-size: 0.84rem; line-height: 1.5;
}
@media (max-width: 880px) {
  .insight-rail { grid-template-columns: 1fr; }
  .insight-rail .ir-side { position: static; }
}

/* ---------- Pointed list (numbered, with gradient number badge) ---------- */
.pointed-list { margin: 22px 0 28px; padding: 0; list-style: none; counter-reset: pt; }
.pointed-list > li {
  position: relative;
  padding: 16px 0 16px 56px;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  line-height: 1.7;
}
.pointed-list > li:last-child { border-bottom: 0; }
.pointed-list > li::before {
  counter-increment: pt;
  content: "0" counter(pt);
  position: absolute; left: 0; top: 18px;
  font-family: var(--font-label);
  font-style: italic; font-weight: 600;
  font-size: 0.88rem;
  color: var(--acc-bright);
  letter-spacing: 0.05em;
  background: rgba(0, 72, 255, 0.12);
  border: 1px solid rgba(77, 140, 255, 0.35);
  padding: 3px 8px;
  border-radius: 6px;
}
.pointed-list > li strong { color: var(--text); display: block; font-size: 1.02rem; margin-bottom: 4px; font-weight: 600; }

/* ---------- Mistake list (X-marks) ---------- */
.mistake-list { margin: 24px 0 30px; padding: 0; list-style: none; }
.mistake-list > li {
  position: relative;
  padding: 12px 0 12px 36px;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  line-height: 1.65;
}
.mistake-list > li:last-child { border-bottom: 0; }
.mistake-list > li::before {
  content: "×";
  position: absolute; left: 4px; top: 10px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.45);
  border-radius: 50%;
  color: #f472b6;
  font-weight: 700; font-size: 0.95rem; line-height: 1;
}
.mistake-list > li strong { color: var(--text); font-weight: 600; }

/* ---------- "Do this" list (gradient check) ---------- */
.do-list { margin: 24px 0 30px; padding: 0; list-style: none; }
.do-list > li {
  position: relative;
  padding: 12px 0 12px 36px;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  line-height: 1.65;
}
.do-list > li:last-child { border-bottom: 0; }
.do-list > li::before {
  content: "✓";
  position: absolute; left: 4px; top: 10px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.5);
  border-radius: 50%;
  color: #34d399;
  font-weight: 700; font-size: 0.86rem; line-height: 1;
}
.do-list > li strong { color: var(--text); font-weight: 600; }

/* ---------- Key/value table styled as data grid ---------- */
.data-table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 0.95rem; }
.data-table thead th {
  text-align: left;
  padding: 12px 16px;
  background: rgba(13, 15, 22, 0.6);
  color: var(--acc-bright);
  font-family: var(--font-label);
  font-style: italic; font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.data-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  vertical-align: top;
}
.data-table tbody tr:hover td { background: rgba(13, 15, 22, 0.4); }
.data-table tbody td:first-child { color: var(--text); font-weight: 600; }
.data-table .td-mono { font-family: ui-monospace, "SF Mono", monospace; font-size: 0.86rem; color: var(--muted); }

/* ---------- Channel grid (3-col, compact, with monogram badge) ---------- */
.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 32px; }
@media (max-width: 880px) { .channel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .channel-grid { grid-template-columns: 1fr; } }
.channel-cell {
  position: relative;
  padding: 18px 20px 16px;
  background: linear-gradient(165deg, rgba(13, 15, 22, 0.7), rgba(13, 15, 22, 0.35));
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s;
}
.channel-cell::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--cc-color, var(--acc));
  opacity: 0.8;
}
.channel-cell:hover { border-color: rgba(124, 58, 237, 0.5); transform: translateY(-2px); }
.channel-cell .cc-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.channel-cell .cc-mono {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(13, 15, 22, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--cc-color, var(--acc));
  font-family: var(--font-label);
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.channel-cell .cc-name { color: var(--text); font-weight: 600; font-size: 0.98rem; }
.channel-cell .cc-body { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.channel-cell .cc-tag {
  display: inline-block; margin-top: 8px;
  font-family: var(--font-label);
  font-style: italic; font-weight: 500;
  font-size: 0.72rem;
  color: var(--faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Region / Service page main layout: hero + sidecar ---------- */
.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 340px at 86% -10%, rgba(122, 92, 255, 0.20), transparent 62%),
    radial-gradient(560px 360px at 4% 10%, rgba(0, 72, 255, 0.14), transparent 60%);
  pointer-events: none;
}
.page-hero .breadcrumbs { font-family: var(--font-label); font-size: 0.84rem; font-weight: 500; color: var(--faint); margin-bottom: 22px; position: relative; }
.page-hero .breadcrumbs a { color: var(--faint); }
.page-hero .breadcrumbs a:hover { color: var(--acc-bright); }
.page-hero h1 { margin: 8px 0 22px; position: relative; }
.page-hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.18rem); line-height: 1.7; color: var(--muted); max-width: 720px; text-wrap: pretty; position: relative; }
.page-hero .card-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label);
  font-style: italic; font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acc-bright);
  background: rgba(0, 72, 255, 0.12);
  border: 1px solid rgba(77, 140, 255, 0.4);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  position: relative;
}

.page-with-sidecar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
  margin: clamp(32px, 5vw, 56px) auto;
}
.page-with-sidecar .pws-main { min-width: 0; }
.page-with-sidecar .pws-side { position: sticky; top: 96px; }

@media (max-width: 1080px) {
  .page-with-sidecar { grid-template-columns: 1fr; gap: 32px; }
  .page-with-sidecar .pws-side { position: static; }
}

/* ---------- Sidecar: "At a glance" + nav + CTA stack ---------- */
.sidecar {
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.sidecar-card {
  position: relative;
  padding: 20px 22px 18px;
  background: linear-gradient(180deg, rgba(13, 15, 22, 0.7), rgba(13, 15, 22, 0.35));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.sidecar-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--sc-color, var(--acc));
  opacity: 0.8;
}
.sidecar-card .sc-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-label);
  font-style: italic; font-weight: 600;
  font-size: 0.72rem;
  color: var(--sc-color, var(--acc-bright));
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sidecar-card .sc-eyebrow::before { content: "//"; color: var(--sc-color, var(--acc)); opacity: 0.6; }
.sidecar-card .sc-body { color: var(--body); font-size: 0.94rem; line-height: 1.6; }
.sidecar-card .sc-body p { margin: 0; }
.sidebar-nav { margin: 0; padding: 0; list-style: none; }
.sidebar-nav li { margin: 0; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0;
  color: var(--muted);
  font-size: 0.92rem;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.18);
  transition: color 0.15s;
}
.sidebar-nav a:last-child { border-bottom: 0; }
.sidebar-nav a::before {
  content: ""; width: 16px; height: 1px; background: var(--acc); opacity: 0.5;
}
.sidebar-nav a:hover { color: var(--text); }
.sidebar-nav a:hover::before { opacity: 1; }
.sidecar-cta {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: var(--grad);
  border-radius: 14px;
  color: #fff !important;
  font-family: var(--font-label);
  font-style: italic; font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 32px rgba(58, 70, 255, 0.35);
  transition: transform 0.18s, filter 0.18s;
}
.sidecar-cta:hover { transform: translateY(-2px); filter: brightness(1.1); color: #fff !important; }
.sidecar-cta-2 {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  background: rgba(13, 15, 22, 0.5);
  border-radius: 14px;
  color: var(--text) !important;
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color 0.18s, color 0.18s;
}
.sidecar-cta-2:hover { border-color: var(--acc-bright); color: var(--text) !important; }

/* ---------- Team avatar stack (overlapping circles) ---------- */
.team-stack {
  display: flex; align-items: center;
  margin-top: 4px;
}
.team-stack .chat-avatar {
  width: 36px; height: 36px;
  border: 2px solid var(--surface, #0a0c14);
  margin-left: -10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.team-stack .chat-avatar:first-child { margin-left: 0; }
@media (max-width: 720px) {
  .team-stack .chat-avatar { width: 30px; height: 30px; margin-left: -8px; }
}

/* ---------- Diversity section ---------- */
.diversity-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 980px) { .diversity-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .diversity-grid { grid-template-columns: repeat(2, 1fr); } }
.div-cell {
  position: relative;
  padding: 22px 18px 18px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(13,15,22,0.85), rgba(20,23,34,0.65));
  border: 1px solid var(--line);
  overflow: hidden;
}
.div-cell::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px; height: 2px;
  background: linear-gradient(92deg, #22D3EE, #7C3AED, #EC4899);
  opacity: 0.7;
}
.dv-num {
  font-family: var(--font-label);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(92deg, #22D3EE, #7C3AED);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.dv-lbl {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.diversity-people {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 720px) { .diversity-people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .diversity-people { grid-template-columns: 1fr; } }
.dvp {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(13,15,22,0.5);
  border: 1px solid var(--line);
  margin: 0;
}
.dvp .chat-avatar { width: 44px; height: 44px; }
.dvp figcaption { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.dvp figcaption strong { color: var(--text); font-size: 0.92rem; font-weight: 600; }
.dvp figcaption span { color: var(--muted); font-size: 0.78rem; margin-top: 2px; }

/* ---------- Two-up side by side blocks ---------- */
.dual-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}
.dual-block .db-cell {
  position: relative;
  padding: 22px 24px 20px;
  background: linear-gradient(165deg, rgba(13, 15, 22, 0.65), rgba(13, 15, 22, 0.3));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.dual-block .db-cell::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--db-color, var(--acc));
}
.dual-block .db-cell h4 { margin: 0 0 6px; font-size: 1.04rem; color: var(--text); }
.dual-block .db-cell .db-sub { color: var(--faint); font-size: 0.84rem; margin-bottom: 10px; font-family: var(--font-label); font-style: italic; }
.dual-block .db-cell p { color: var(--muted); font-size: 0.94rem; line-height: 1.6; margin: 0; }
@media (max-width: 720px) { .dual-block { grid-template-columns: 1fr; } }

/* ---------- Hero metric row (compact 4-up band under page hero) ---------- */
.page-metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 18px 0 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13, 15, 22, 0.45);
  overflow: hidden;
  position: relative;
}
.page-metric-row .pm-cell {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  position: relative;
}
.page-metric-row .pm-cell:last-child { border-right: 0; }
.page-metric-row .pm-cell .pm-v {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.page-metric-row .pm-cell .pm-l {
  display: block; margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem; line-height: 1.4;
}
@media (max-width: 720px) {
  .page-metric-row { grid-template-columns: 1fr 1fr; }
  .page-metric-row .pm-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .page-metric-row .pm-cell:nth-child(odd) { border-right: 1px solid var(--line); }
  .page-metric-row .pm-cell:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ---------- Snapshot (existing reuse) ---------- */
.snapshot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 28px 0 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 72, 255, 0.08), rgba(139, 92, 246, 0.04));
  overflow: hidden;
  position: relative;
}
.snapshot::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 50% -40%, rgba(124, 58, 237, 0.18), transparent 60%);
  pointer-events: none;
}
.snapshot .fact {
  padding: 22px 20px;
  text-align: left;
  border-right: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.snapshot .fact:last-child { border-right: 0; }
.snapshot .fact .fact-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: var(--grad-web3);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.snapshot .fact .fact-label {
  display: block; margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem; line-height: 1.45;
}
@media (max-width: 720px) {
  .snapshot { grid-template-columns: 1fr 1fr; }
  .snapshot .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .snapshot .fact:nth-child(odd) { border-right: 1px solid var(--line); }
  .snapshot .fact:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ---------- TL;DR (existing) ---------- */
.tldr {
  position: relative;
  background: linear-gradient(115deg, rgba(0, 72, 255, 0.12), rgba(139, 92, 246, 0.10));
  border: 1px solid rgba(122, 92, 255, 0.45);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  margin: 32px 0 24px;
  overflow: hidden;
}
.tldr::before {
  content: "";
  position: absolute; right: -40px; top: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
  pointer-events: none;
}
.tldr .tldr-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label);
  font-style: italic; font-weight: 600;
  font-size: 0.78rem;
  color: var(--acc-bright);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
}
.tldr .tldr-label::before { content: ""; width: 26px; height: 2px; background: var(--grad); transform: skewX(-30deg); }
.tldr p { color: var(--text); font-size: 1.02rem; line-height: 1.7; margin: 0; position: relative; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 12px; overflow: hidden; }
.faq-list summary { cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1.02rem; list-style: none; position: relative; padding-right: 52px; transition: color 0.15s; }
.faq-list summary:hover { color: var(--acc-bright); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--acc); font-size: 1.4rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 24px 20px; color: var(--muted); font-size: 0.96rem; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: clamp(52px, 7vw, 80px) 0 clamp(32px, 4vw, 48px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 340px at 80% -24%, rgba(122, 92, 255, 0.15), transparent 62%);
  pointer-events: none;
}
.page-hero .breadcrumbs { font-family: var(--font-label); font-size: 0.84rem; font-weight: 500; color: var(--faint); margin-bottom: 22px; position: relative; }
.page-hero .breadcrumbs a { color: var(--faint); }
.page-hero .breadcrumbs a:hover { color: var(--acc); }
.page-hero h1 { max-width: 860px; position: relative; }
.page-hero .lead { margin-top: 18px; font-size: 1.12rem; color: var(--muted); max-width: 720px; position: relative; text-wrap: pretty; }

/* ---------- Snapshot ---------- */
.snapshot { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 10px 0 26px; }
.snapshot .fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.snapshot .fact-value { font-family: var(--font-label); font-weight: 600; font-size: 1.2rem; color: var(--text); }
.snapshot .fact-label { font-size: 0.82rem; color: var(--faint); margin-top: 2px; line-height: 1.45; }

/* ---------- Checklist ---------- */
.check-list { list-style: none; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--body); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; color: inherit; transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out); }
.post-card:hover { border-color: rgba(122, 92, 255, 0.6); transform: translateY(-4px); color: inherit; }
.post-card .post-meta { font-family: var(--font-label); font-size: 0.78rem; font-weight: 500; color: var(--faint); margin-bottom: 12px; }
.post-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: 0.93rem; flex: 1; }
.post-card .card-link { margin-top: 16px; font-weight: 600; font-size: 0.9rem; color: var(--acc); }
.post-header { max-width: 780px; }
.post-header .post-meta { color: var(--faint); font-size: 0.9rem; margin: 16px 0 0; }
.post-tags { margin-top: 14px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.92rem; }
.form-field .hint { font-size: 0.8rem; color: var(--faint); font-weight: 400; }
input[type="text"], input[type="email"], select, textarea {
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  width: 100%;
  transition: border-color 0.15s;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(0, 72, 255, 0.6); outline-offset: 0; border-color: var(--brand); }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: block; text-align: center; padding: 12px 8px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--muted); font-size: 0.88rem; cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.choice:hover span { border-color: var(--acc); }
.choice input:checked + span { border-color: transparent; color: #fff; background: var(--grad); }
.choice input:focus-visible + span { outline: 2px solid rgba(0, 72, 255, 0.6); }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-size: 0.95rem; display: none; }
.form-status.ok { display: block; background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.4); color: #86efac; }
.form-status.err { display: block; background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.4); color: #fca5a5; }
button[disabled] { opacity: 0.55; cursor: wait; }

.contact-grid { grid-template-columns: 1.6fr 1fr; gap: 44px; align-items: start; }

/* ---------- CTA band → gradient rounded panel ---------- */
.cta-band { padding: clamp(40px, 6vw, 80px) 0; background: var(--bg); }
.cta-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--grad-panel);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px);
  position: relative; overflow: hidden;
}
.cta-inner::after {
  content: "";
  position: absolute; right: -70px; bottom: -100px;
  width: 480px; height: 293px;
  background: url("/assets/img/logo-mark.png") no-repeat center / contain;
  opacity: 0.16;
  pointer-events: none;
}
.cta-band .container { padding: 0 clamp(20px, 4vw, 32px); }
.cta-title { margin-bottom: 10px; color: #fff; }
.cta-sub { color: rgba(255, 255, 255, 0.86); max-width: 520px; text-wrap: pretty; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 12px 34px rgba(0, 20, 90, 0.4); }
.cta-band .btn-primary:hover { background: #eef3ff; color: var(--brand-deep); filter: none; }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.cta-band .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #040406; padding: 60px 0 34px; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 42px; }
.footer-brand .brand-name { color: var(--text); }
.footer-brand p { color: var(--faint); margin-top: 14px; font-size: 0.89rem; max-width: 330px; }
.footer-meta { font-size: 0.8rem !important; }
.site-footer h3 { font-family: var(--font-label); font-size: 0.84rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer ul a { color: var(--faint); }
.site-footer ul a:hover { color: var(--acc-bright); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--faint); font-size: 0.84rem; }
.footer-social { display: flex; gap: 18px; list-style: none; }
.footer-social a { color: var(--faint); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 640px; }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--surface); font-weight: 600; font-size: 0.88rem; }
.table-wrap td { color: var(--muted); }
.table-wrap tr:last-child td { border-bottom: 0; }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--surface); padding: 10px 16px; border-radius: 8px; z-index: var(--z-modal); }

/* ============================================================
   v4 layer — cookie3.com essence: light/dark section rhythm,
   colored category chips, chat-bubble testimonials, giant stats,
   dashboard illustration, floating web3 decor
   ============================================================ */

/* ---------- Light theme sections ---------- */
.theme-light { background: #f3f4f8; color: #0d0f16; }
.theme-light h1, .theme-light h2, .theme-light h3, .theme-light h4 { color: #0b0c12; }
.theme-light .section-head p { color: #59617a; }
.theme-light .card { background: #ffffff; border-color: #e4e7f0; }
.theme-light .card p { color: #59617a; }
.theme-light a.card:hover { background: #ffffff; border-color: rgba(0, 72, 255, 0.5); box-shadow: 0 18px 44px rgba(13, 20, 60, 0.1); }
.theme-light .card h3 { color: #0b0c12; }
.theme-light .post-card { background: #ffffff; border-color: #e4e7f0; }
.theme-light .post-card:hover { box-shadow: 0 18px 44px rgba(13, 20, 60, 0.1); }
.theme-light .post-card h3 { color: #0b0c12; }
.theme-light .post-card p { color: #59617a; }
.theme-light .post-card .post-meta { color: #8b93a8; }
.theme-light .region-index { border-color: #e0e3ee; }
.theme-light .region-row { border-color: #e0e3ee; }
.theme-light .region-row:hover { background: rgba(0, 72, 255, 0.05); }
.theme-light .region-row .region-name { color: #0b0c12; }
.theme-light .region-row p { color: #59617a; }
.theme-light .tldr { background: #ffffff; border-color: rgba(0, 72, 255, 0.3); }
.theme-light .tldr p { color: #23283a; }
.theme-light .card-link { color: var(--brand); }

/* ---------- Colored category chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 8px;
  font-family: var(--font-label); font-weight: 600; font-size: 0.76rem;
  margin-bottom: 14px;
}
.chip-blue   { background: rgba(0, 72, 255, 0.14);   color: #2f6bff; }
.chip-cyan   { background: rgba(14, 165, 196, 0.16); color: #0891b2; }
.chip-violet { background: rgba(139, 92, 246, 0.16); color: #7c3aed; }
.chip-sky    { background: rgba(2, 132, 199, 0.14);  color: #0284c7; }
.chip-pink   { background: rgba(236, 72, 153, 0.14); color: #db2777; }
.chip-gold   { background: rgba(217, 119, 6, 0.14);  color: #d97706; }
/* dark-context chips */
.section:not(.theme-light) .chip-blue, .grad-panel .chip { background: rgba(77, 140, 255, 0.16); color: #7db2ff; }

/* ---------- Giant stats (cookie3-style) ---------- */
.stat-giant-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 56px); text-align: center; }
.stat-giant .v {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.2rem, 7.5vw, 5.8rem);
  letter-spacing: -0.04em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-giant .l { display: block; margin-top: 10px; color: var(--muted); font-size: 0.98rem; }

/* ---------- Dashboard section ---------- */
.dash-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.dash-grid > * { min-width: 0; }
.dash-grid .check-list li { font-size: 1rem; margin-bottom: 14px; }
.dash-media { position: relative; }
.dash-media > img { width: 100%; height: auto; }

/* ---------- Floating web3 decor ---------- */
.deco { position: absolute; pointer-events: none; z-index: 1; }
.deco-coin { width: clamp(44px, 5vw, 68px); filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5)); }
@media (prefers-reduced-motion: no-preference) {
  .deco-coin { animation: floaty 6s ease-in-out infinite; }
  .deco-coin.d2 { animation-delay: 1.8s; }
  .deco-coin.d3 { animation-delay: 3.4s; }
}
.deco-pixels { width: clamp(70px, 9vw, 130px); opacity: 0.9; }

/* ---------- Chat-bubble testimonials (TG style) ---------- */
.chat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
@media (max-width: 980px) { .chat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .chat-grid { grid-template-columns: 1fr; } }
.chat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px 20px 20px 6px;
  padding: 20px 22px 14px;
}
.chat-head { display: flex; gap: 11px; align-items: center; margin-bottom: 10px; }
.chat-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: block; object-fit: cover;
  flex-shrink: 0; overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.08), 0 6px 14px rgba(0,0,0,0.35);
}
.chat-avatar img { width: 100%; height: 100%; display: block; }
.av-blue { background: linear-gradient(135deg, #0048ff, #4d8cff); }
.av-violet { background: linear-gradient(135deg, #7c3aed, #b36bf7); }
.av-pink { background: linear-gradient(135deg, #db2777, #f472b6); }
.av-amber { background: linear-gradient(135deg, #b45309, #fbbf24); }
.av-emerald { background: linear-gradient(135deg, #065f46, #34d399); }
.av-cyan { background: linear-gradient(135deg, #0e7490, #22d3ee); }
.chat-name { font-weight: 600; font-size: 0.93rem; line-height: 1.3; }
.chat-name.c-blue { color: var(--acc-bright); }
.chat-name.c-violet { color: #c4b5fd; }
.chat-name.c-pink { color: #f9a8d4; }
.chat-role { display: block; color: var(--faint); font-size: 0.78rem; font-weight: 400; }
.chat-text { color: var(--body); font-size: 0.95rem; line-height: 1.6; }
.chat-time { text-align: right; color: var(--faint); font-size: 0.74rem; margin-top: 10px; font-family: var(--font-label); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ticker-track { animation-duration: 180s !important; animation-iteration-count: infinite !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   v5 layer — Web3 marketing agency upgrade
   Live crypto ticker · ecosystem chain strip · channel matrix
   on-chain widgets · web3 stat band · token chips · glassmorphism
   ============================================================ */

/* ---------- Live Crypto Ticker (just under header) ---------- */
.ticker {
  position: relative;
  background: linear-gradient(90deg, #0a0c18 0%, #0d1124 50%, #0a0c18 100%);
  border-top: 1px solid rgba(124, 58, 237, 0.25);
  border-bottom: 1px solid rgba(124, 58, 237, 0.25);
  overflow: hidden;
  padding: 12px 0;
  margin-top: 26px;
  font-family: var(--font-label);
}
.ticker::before, .ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, #0a0c18, transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, #0a0c18, transparent); }
.ticker-track {
  display: flex;
  gap: 48px;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
  width: max-content;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}
.ticker-item img { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; }
.ticker-symbol { color: var(--acc-bright); font-weight: 600; }
.ticker-price { color: #f2f4f8; font-variant-numeric: tabular-nums; }
.ticker-change { font-weight: 600; font-variant-numeric: tabular-nums; padding: 2px 8px; border-radius: 6px; font-size: 0.8rem; }
.ticker-change.up { color: #34d399; background: rgba(52, 211, 153, 0.12); }
.ticker-change.down { color: #f472b6; background: rgba(244, 114, 182, 0.12); }
.ticker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: blink 1.6s ease-in-out infinite; }
.ticker-label {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: tickerScroll 180s linear infinite !important; animation-duration: 180s !important; }
  .ticker-dot { animation: none; }
}

/* ---------- Web3 Hero stat strip (under hero lead) ---------- */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 32px;
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 72, 255, 0.08), rgba(236, 72, 153, 0.06));
  overflow: hidden;
  position: relative;
}
.hero-stats::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 50% -40%, rgba(124, 58, 237, 0.18), transparent 60%);
  pointer-events: none;
}
.hero-stat {
  padding: 18px 18px;
  text-align: left;
  border-right: 1px solid rgba(148, 163, 184, 0.14);
  position: relative;
  z-index: 1;
}
.hero-stat:last-child { border-right: 0; }
.hero-stat .v {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: var(--grad-web3);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-stat .l { display: block; margin-top: 4px; color: var(--muted); font-size: 0.78rem; line-height: 1.35; }

/* ---------- Hero network badge row ---------- */
.hero-chains {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 22px;
  align-items: center;
}
.hero-chains-label {
  font-family: var(--font-label);
  font-style: italic; font-weight: 500;
  color: var(--faint);
  font-size: 0.78rem;
  margin-right: 4px;
  letter-spacing: 0.02em;
}
.chain-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(13, 15, 22, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.22);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.74rem;
  color: var(--text);
  letter-spacing: 0.02em;
  transition: border-color 0.15s, transform 0.15s;
}
.chain-chip:hover { border-color: var(--acc); transform: translateY(-1px); }
.chain-chip .dot { width: 6px; height: 6px; border-radius: 50%; }
.chain-chip.eth .dot { background: #7DB2FF; box-shadow: 0 0 6px #7DB2FF; }
.chain-chip.btc .dot { background: #F5B94A; box-shadow: 0 0 6px #F5B94A; }
.chain-chip.sol .dot { background: #9945FF; box-shadow: 0 0 6px #9945FF; }
.chain-chip.ton .dot { background: #0098EA; box-shadow: 0 0 6px #0098EA; }
.chain-chip.sui .dot { background: #6FBCF0; box-shadow: 0 0 6px #6FBCF0; }
.chain-chip.bnb .dot { background: #F0B90B; box-shadow: 0 0 6px #F0B90B; }
.chain-chip.base .dot { background: #4DA2FF; box-shadow: 0 0 6px #4DA2FF; }
.chain-chip.arb .dot { background: #28A0F0; box-shadow: 0 0 6px #28A0F0; }
.chain-chip.op .dot { background: #FF0420; box-shadow: 0 0 6px #FF0420; }
.chain-chip.matic .dot { background: #8247E5; box-shadow: 0 0 6px #8247E5; }

/* ---------- Web3 Channels Matrix (8-channel grid) ---------- */
.channels-section { position: relative; overflow: hidden; }
.channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.channel-card {
  position: relative;
  padding: 22px 22px 20px;
  background: linear-gradient(165deg, rgba(13, 15, 22, 0.7), rgba(13, 15, 22, 0.4));
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.channel-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--ch-color, var(--acc));
  opacity: 0.7;
}
.channel-card:hover { border-color: rgba(124, 58, 237, 0.5); transform: translateY(-3px); }
.channel-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(13, 15, 22, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.25);
  margin-bottom: 14px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ch-color, var(--acc));
}
.channel-card h4 { font-size: 1rem; margin-bottom: 6px; }
.channel-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.channel-card .ch-meta {
  display: block; margin-top: 12px;
  font-family: var(--font-label);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Ecosystem / Chain Logo Strip ---------- */
.ecosystem-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 15, 22, 0.4), transparent);
  margin: 0;
}
.ecosystem-strip .eco-label {
  font-family: var(--font-label);
  font-style: italic; font-weight: 500;
  color: var(--faint);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin-right: 4px;
}
.eco-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(13, 15, 22, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.22);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text);
  letter-spacing: 0.02em;
  transition: border-color 0.18s, transform 0.18s;
}
.eco-chip:hover { border-color: var(--acc); transform: translateY(-2px); }
.eco-chip .g { width: 18px; height: 18px; border-radius: 50%; }

/* ---------- Web3 Stat Band (full-width) ---------- */
.web3-band {
  background: linear-gradient(120deg, #07091a 0%, #0d1126 50%, #1a0a26 100%);
  border-top: 1px solid rgba(124, 58, 237, 0.3);
  border-bottom: 1px solid rgba(124, 58, 237, 0.3);
  padding: clamp(48px, 6vw, 72px) 0;
  position: relative;
  overflow: hidden;
}
.web3-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 12% 50%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(700px 360px at 88% 50%, rgba(236, 72, 153, 0.1), transparent 60%);
  pointer-events: none;
}
.web3-band .web3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.web3-stat { text-align: center; padding: 12px 8px; }
.web3-stat .v {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad-web3);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.web3-stat .l {
  display: block; margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}
.web3-band-eyebrow {
  text-align: center;
  font-family: var(--font-label);
  font-style: italic; font-weight: 600;
  color: var(--acc-bright);
  font-size: 0.84rem;
  margin-bottom: 28px;
  position: relative;
}

/* ---------- On-Chain Terminal Block ---------- */
.terminal {
  position: relative;
  background: linear-gradient(180deg, #0a0c18 0%, #0d1024 100%);
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 20px;
  padding: 28px 30px;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", monospace;
  font-size: 0.84rem;
  color: #c7cdd9;
  overflow: hidden;
  overflow-x: auto;
}
.terminal::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 32px;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.18), transparent);
  border-bottom: 1px solid rgba(124, 58, 237, 0.3);
}
.terminal-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
  position: relative;
}
.terminal-head .dot { width: 11px; height: 11px; border-radius: 50%; }
.terminal-head .t { color: var(--muted); font-size: 0.78rem; margin-left: 8px; }
.terminal-line { display: flex; gap: 10px; margin: 6px 0; align-items: center; white-space: nowrap; }
.terminal-line .prompt { color: #9945FF; }
.terminal-line .ok { color: #34D399; }
.terminal-line .key { color: #22D3EE; }
.terminal-line .val { color: #F2F4F8; }
.terminal-line .muted { color: var(--faint); }
.terminal-cursor { display: inline-block; width: 8px; height: 14px; background: var(--violet-bright); vertical-align: -2px; margin-left: 4px; animation: blink 1s steps(2) infinite; }

/* ---------- Mini stat card with neon edge ---------- */
.neon-card {
  position: relative;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.neon-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 70%; height: 2px;
  background: var(--nc-color, var(--grad));
  opacity: 0.85;
}
.neon-card::after {
  content: "";
  position: absolute;
  bottom: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, var(--nc-glow, rgba(124, 58, 237, 0.2)) 0%, transparent 70%);
  pointer-events: none;
}
.neon-card:hover { transform: translateY(-3px); border-color: var(--nc-color, var(--acc)); }
.neon-card .nc-label {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.neon-card .nc-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: var(--nc-color, var(--grad));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.neon-card .nc-sub {
  margin-top: 8px;
  color: var(--faint);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ---------- Token / Contract address pill ---------- */
.contract-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(13, 15, 22, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.22);
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 0.78rem;
  color: var(--muted);
}
.contract-pill .addr { color: var(--text); letter-spacing: 0.02em; }
.contract-pill .copy {
  color: var(--acc);
  cursor: pointer;
  border: 0;
  background: transparent;
  font-size: 0.7rem;
  padding: 0;
  margin-left: 4px;
}
.contract-pill .copy:hover { color: var(--acc-bright); }
.contract-pill .net { color: var(--acc-bright); font-weight: 600; }

/* ---------- "What's new in Web3" section (in CTA band area) ---------- */
.trust-callout {
  border: 1px solid rgba(124, 58, 237, 0.45);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.06), rgba(236, 72, 153, 0.06));
  border-radius: var(--radius);
  padding: 18px 24px;
  font-size: 0.96rem;
  color: var(--body);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.trust-callout strong { color: #fff; }
.trust-callout .badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 999px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.74rem;
  color: #34D399;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .why-cols { grid-template-columns: repeat(2, 1fr); }
  .why-col:nth-child(odd) { border-left: 0; }
  .why-col { border-top: 1px solid var(--line); }
  .why-col:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 980px) {
  .grid-3, .phases, .chat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 480px; }
  .edge-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 620px; }
  .float-chip.chip-a { left: 6px; }
  .float-chip.chip-b { right: 6px; }
  .dash-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .web3-band .web3-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .phases, .why-cols, .chat-grid, .stat-giant-row { grid-template-columns: 1fr; }
  .stat-giant-row { gap: 30px; }
  .deco-coin { display: none; }
  .why-col { border-left: 0; padding: 26px 4px 30px; }
  .why-col:nth-child(-n+2) { border-top: 1px solid var(--line); }
  .why-col:first-child { border-top: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .region-row { grid-template-columns: 74px 1fr auto; }
  .region-row p { grid-column: 1 / -1; }
  .stats-grid { flex-direction: column; align-items: center; gap: 8px; padding: 12px 0 24px; }
  .stat + .stat::before { display: none; }
  .site-header { top: 10px; }
  .header-inner { height: 60px; padding: 0 8px 0 18px; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; top: 74px; left: clamp(12px, 2vw, 24px); right: clamp(12px, 2vw, 24px);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #ffffff; border-radius: 22px; padding: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { display: block; padding: 13px 16px; font-size: 1.02rem; border-radius: 12px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta a.btn { display: block; text-align: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { border-right: 0; border-bottom: 1px solid rgba(148, 163, 184, 0.14); }
  .hero-stat:nth-child(odd) { border-right: 1px solid rgba(148, 163, 184, 0.14); }
  .hero-stat:nth-last-child(-n+2) { border-bottom: 0; }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .web3-band .web3-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .ticker { font-size: 0.82rem; }
  .ticker-item { gap: 8px; }
  .ticker-track { animation-duration: 40s; }
  .ecosystem-strip { gap: 10px; padding: 20px 0 4px; }
  .eco-chip { font-size: 0.76rem; padding: 6px 12px; }
}

@media (max-width: 480px) {
  .channels-grid { grid-template-columns: 1fr; }
  .web3-band .web3-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   v8 layer — frontend interaction polish
   Skip link · nav scroll-lock · field validation · back-to-top
   reveal-on-scroll · focus-visible enhancements
   ============================================================ */

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; top: -72px; left: 12px;
  background: #fff; color: #0a0a12;
  padding: 10px 16px; border-radius: 10px;
  font-weight: 600; font-size: 0.9rem;
  z-index: var(--z-modal);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: top 0.18s ease;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--acc-bright); outline-offset: 2px; }

/* ---------- Body scroll lock when mobile nav open ---------- */
body.nav-open { overflow: hidden; }
@media (min-width: 980px) { body.nav-open { overflow: auto; } }

/* ---------- Focus visible (universal) ---------- */
:focus-visible {
  outline: 2px solid var(--acc-bright);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible,
.choice:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--acc-bright);
  outline-offset: 3px;
}

/* ---------- Form field validation ---------- */
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
  border-color: #f87171;
  background: rgba(248, 113, 113, 0.06);
}
.field-error {
  display: block;
  margin-top: 4px;
  color: #fca5a5;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Submit button loading state */
.btn-primary.loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn-primary.loading::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Back-to-top button ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid; place-items: center;
  border: 0;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: var(--z-nav, 50);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.18s;
  box-shadow: 0 12px 28px rgba(58, 70, 255, 0.45);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { filter: brightness(1.12); transform: translateY(-2px); }
.back-to-top:focus-visible { outline: 2px solid var(--acc-bright); outline-offset: 3px; }
@media (max-width: 720px) {
  .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
}

/* ---------- Reveal-on-scroll (skipped under reduced-motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }
  [data-reveal][data-reveal-delay="1"] { transition-delay: 0.06s; }
  [data-reveal][data-reveal-delay="2"] { transition-delay: 0.12s; }
  [data-reveal][data-reveal-delay="3"] { transition-delay: 0.18s; }
  [data-reveal][data-reveal-delay="4"] { transition-delay: 0.24s; }
}

/* ---------- Live ticker (a11y pause on hover) ---------- */
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Nav active section (scroll-spy) ---------- */
.site-nav .nav-menu a[aria-current="true"] {
  color: #0a0a12;
  background: rgba(10, 10, 18, 0.08);
  font-weight: 600;
}

/* ---------- Footer small-phone fix ---------- */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .site-footer { padding: 44px 0 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------- Blog covers ---------- */
.post-card { overflow: hidden; }
.post-card .post-cover {
  width: calc(100% + 56px);
  max-width: none;
  margin: -28px -28px 18px;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  display: block;
}
.post-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0 34px;
  align-items: center;
  padding: 0;
}
.post-featured .post-cover { width: 100%; margin: 0; height: 100%; aspect-ratio: auto; min-height: 300px; }
.post-featured .post-featured-body { display: flex; flex-direction: column; padding: 30px 34px 30px 0; }
.post-featured h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 10px 0; }
.post-featured p { color: var(--muted); font-size: 0.98rem; }
.post-featured .card-link { margin-top: 16px; }
.theme-light .post-featured, .post-featured { border: 1px solid var(--line); border-radius: var(--radius-lg); }
@media (max-width: 860px) {
  .post-featured { grid-template-columns: 1fr; }
  .post-featured .post-cover { min-height: 0; }
  .post-featured .post-featured-body { padding: 24px 26px 28px; }
}
.post-hero-cover { border-radius: var(--radius-lg); margin-bottom: 30px; border: 1px solid var(--line); }

/* ---------- Interior prose visual upgrade ---------- */
.prose > p:first-of-type {
  font-size: 1.14rem;
  line-height: 1.75;
  color: var(--text);
}
.prose ul li::marker { color: var(--acc); }
.prose ol li::marker { color: var(--acc); font-weight: 600; }

/* ---------- Engagement flow steps (service pages) ---------- */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 8px 0 10px;
}
.flow-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
}
.flow-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--grad);
  opacity: 0.75;
}
.flow-step .fs-num {
  font-family: var(--font-label);
  font-style: italic;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--acc-bright);
  margin-bottom: 8px;
  display: block;
}
.flow-step h4 { font-size: 1rem; margin-bottom: 6px; }
.flow-step p { color: var(--muted); font-size: 0.87rem; margin: 0; }
.flow-step .fs-arrow {
  position: absolute;
  right: -13px; top: 50%;
  transform: translateY(-50%);
  color: var(--acc);
  font-size: 0.95rem;
  z-index: 1;
}
.flow-step:last-child .fs-arrow { display: none; }
@media (max-width: 900px) {
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .flow-step .fs-arrow { display: none; }
}
@media (max-width: 520px) { .flow-steps { grid-template-columns: 1fr; } }

/* region sidecar facts */
.sidecar .sc-fact { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.sidecar .sc-fact:last-child { border-bottom: 0; }
.sidecar .sc-fact .k { color: var(--faint); }
.sidecar .sc-fact .v { color: var(--text); font-weight: 600; text-align: right; }

.sc-checks li { font-size: 0.86rem; margin-bottom: 8px; padding-left: 24px; color: var(--muted); }
.sc-checks li::before { font-size: 0.8rem; }

/* ---------- Vertical timeline (About) ---------- */
.vtimeline { position: relative; max-width: 760px; padding-left: 34px; }
.vtimeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, #0048ff, #7a5cff 60%, #b36bf7);
  border-radius: 2px; opacity: 0.7;
}
.vt-item { position: relative; padding-bottom: 30px; }
.vt-item:last-child { padding-bottom: 0; }
.vt-item::before {
  content: ""; position: absolute; left: -31px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--acc);
}
.vt-year {
  display: inline-block;
  font-family: var(--font-label); font-style: italic; font-weight: 600; font-size: 0.82rem;
  color: var(--acc-bright);
  background: rgba(0, 72, 255, 0.12);
  border: 1px solid rgba(77, 140, 255, 0.35);
  padding: 3px 12px; border-radius: 999px; margin-bottom: 10px;
}
.vt-body h3 { font-size: 1.12rem; margin-bottom: 6px; }
.vt-body p { color: var(--muted); font-size: 0.97rem; max-width: 640px; }

/* ---------- Region signal meters ---------- */
.signal-list { display: flex; flex-direction: column; gap: 10px; }
.signal-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sig-label { color: var(--muted); font-size: 0.88rem; }
.sig-meter { display: inline-flex; gap: 4px; }
.sig-seg { width: 14px; height: 7px; border-radius: 3px; background: rgba(148, 163, 184, 0.18); }
.sig-seg.on { background: var(--grad); box-shadow: 0 0 8px rgba(90, 80, 255, 0.5); }
.sig-note { margin-top: 12px; color: var(--faint); font-size: 0.76rem; line-height: 1.5; }

/* ---------- Case engagement arc ---------- */
.case-arc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 26px; }
.ca-seg { position: relative; padding: 14px 16px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ca-seg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ca); }
.ca-phase { display: block; font-family: var(--font-label); font-style: italic; font-weight: 600; font-size: 0.82rem; color: var(--text); }
.ca-note { color: var(--faint); font-size: 0.8rem; }
@media (max-width: 640px) { .case-arc { grid-template-columns: 1fr; } }

/* ---------- Theme boundary rhythm ----------
   Any dark section that directly follows a light block gets full top
   padding (overrides inline padding-top:0), and the light block's last
   section gives up some bottom padding so the cut feels deliberate. */
.theme-light + .section, .theme-light + section { padding-top: clamp(72px, 10vw, 116px) !important; }
.theme-light > .section:last-child, .theme-light > section:last-child { padding-bottom: clamp(48px, 7vw, 76px); }
.theme-light > .section:first-child, .theme-light > section:first-child { padding-top: clamp(64px, 9vw, 104px); }
