:root{
  --bg0:#05070f;
  --bg1:#020617;

  --panel0:rgba(8,14,28,.52);
  --panel1:rgba(8,14,28,.70);
  --panel2:rgba(9,16,32,.86);

  --border:rgba(34, 211, 238, .10);
  --border2:rgba(148,163,184,.14);

  --text:#e6edf6;
  --muted:rgba(230,237,246,.72);

  /* Explorer-like accents */
  --teal:#22d3ee;
  --teal2:#00f28a;
  --blue:#60a5fa;
  --violet:#a78bfa;

  --shadow:0 18px 50px rgba(0,0,0,.55);
  --shadow2:0 10px 24px rgba(0,0,0,.35);

  --r:18px;
  --r2:22px;

  --mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  --sans:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background:linear-gradient(180deg,var(--bg0),var(--bg1));
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.bg{
  position:fixed;inset:0;z-index:-2;
  background:
    radial-gradient(950px 650px at 22% 10%, rgba(0,242,138,.14), transparent 60%),
    radial-gradient(900px 560px at 80% 14%, rgba(34,211,238,.12), transparent 60%),
    radial-gradient(900px 650px at 70% 86%, rgba(96,165,250,.10), transparent 60%),
    linear-gradient(180deg, rgba(2,6,23,0) 0%, rgba(2,6,23,.75) 70%, rgba(2,6,23,1) 100%);
}
.bg::after{
  content:"";
  position:absolute;inset:-20%;
  background-image:radial-gradient(circle at 1px 1px, rgba(148,163,184,.07) 1px, transparent 0);
  background-size:34px 34px;
  opacity:.18;
  mask-image:radial-gradient(closest-side, rgba(0,0,0,.9), rgba(0,0,0,0));
}

/* Links */
a{color:rgba(34,211,238,.95);text-decoration:none}
a:hover{text-decoration:none}
a:visited{color:rgba(34,211,238,.90)}

.container{max-width:1160px;margin:0 auto;padding:0 18px}
.section{margin-top:18px}

/* Explorer-like top bar */
.nav{
  position:sticky;top:0;z-index:80;
  background:rgba(2,6,23,.62);
  backdrop-filter:none;
  border-bottom:1px solid rgba(148,163,184,.12);
}
.nav-inner{
  max-width:1160px;margin:0 auto;padding:12px 18px;
  display:flex;align-items:center;gap:14px;justify-content:space-between;
}
.brand{
  display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;
  min-width:0;
}
.brand:hover{ text-decoration:none; }
.brand *{ text-decoration:none !important; }
.logo{
  width:34px;height:34px;border-radius:12px;
  box-shadow:0 0 0 1px rgba(148,163,184,.18), 0 14px 34px rgba(0,0,0,.35);
}
.brand-stack{display:flex;flex-direction:column;line-height:1.05;min-width:0}
.brand-top{
  font-weight:950;letter-spacing:.14em;text-transform:uppercase;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.brand-sub{
  font-size:11px;
  color:var(--muted);
  opacity:.92;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  max-width:none;
  line-height:1.2;
}
.links{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.links a{
  color:rgba(230,237,246,.82);
  font-weight:900;
  letter-spacing:.02em;
  padding:8px 10px;border-radius:12px;
  border:1px solid transparent;
}
.links a:hover{
  background:rgba(148,163,184,.08);
  border-color:rgba(148,163,184,.10);
  text-decoration:none;
}
.links a.active{
  background:rgba(34,211,238,.08);
  border-color:rgba(34,211,238,.20);
  color:var(--text);
}

/* Pills & tags */
.pill{
  display:inline-flex;gap:10px;align-items:center;
  padding:7px 12px;border-radius:999px;
  border:1px solid rgba(34,211,238,.16);
  background:rgba(8,14,28,.50);
  color:rgba(230,237,246,.86);
  font-weight:950;font-size:12px;letter-spacing:.10em;text-transform:uppercase;
}
.pill .dot{
  width:8px;height:8px;border-radius:999px;
  background:var(--teal2);
  box-shadow:0 0 0 4px rgba(0,242,138,.10);
}
.tag{
  display:inline-flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:950;letter-spacing:.10em;text-transform:uppercase;
  padding:5px 10px;border-radius:999px;
  border:1px solid rgba(34,211,238,.18);
  background:rgba(34,211,238,.07);
  color:rgba(230,237,246,.86);
}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:14px;
  background:linear-gradient(180deg, rgba(34,211,238,1), rgba(0,242,138,.92));
  color:#021018;font-weight:950;
  box-shadow:0 18px 40px rgba(34,211,238,.12);
  border:1px solid rgba(34,211,238,.26);
  transition:transform .15s ease, filter .15s ease;
}
.btn:hover{filter:brightness(1.03);transform:translateY(-1px);text-decoration:none}
.btn:active{transform:translateY(0)}
.btn.ghost{
  background:rgba(8,14,28,.45);
  color:rgba(230,237,246,.92);
  box-shadow:none;border:1px solid rgba(148,163,184,.18);
}
.btn.ghost:hover{border-color:rgba(34,211,238,.30);color:var(--text);text-decoration:none}

/* Typography */
h1{
  margin:12px 0 10px;
  font-size:40px;
  letter-spacing:.01em;
  background:linear-gradient(90deg, rgba(0,242,138,1), rgba(34,211,238,.95), rgba(96,165,250,.92));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
h2{
  margin:0 0 10px;
  font-size:20px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:rgba(230,237,246,.92);
}
h3{margin:0 0 10px;color:rgba(230,237,246,.94)}
.lead{margin:0;color:var(--muted);max-width:80ch;line-height:1.65;font-size:16px}
.muted{color:var(--muted)}
.tiny{font-size:12px}
.mono{font-family:var(--mono); word-break:break-word; overflow-wrap:anywhere}

/* Cards */
.card{
  background:linear-gradient(180deg, var(--panel0), var(--panel1));
  border:1px solid rgba(148,163,184,.14);
  border-radius:var(--r2);
  padding:18px;
  box-shadow:var(--shadow2);
}
.card.soft{
  background:linear-gradient(180deg, rgba(8,14,28,.45), rgba(7,12,24,.70));
}
.card.edge{
  border-color:rgba(34,211,238,.18);
}
.card-h{
  font-weight:950;letter-spacing:.12em;text-transform:uppercase;
  font-size:12px;color:rgba(34,211,238,.95);margin-bottom:12px;
}
.divider{height:1px;background:rgba(148,163,184,.12);margin:14px 0}

/* Layout */
.hero{padding:24px 0 12px}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;align-items:stretch}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}

/* KPI list in right panel */
.kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.kpi{
  border-radius:16px;
  padding:12px;
  background:rgba(2,6,23,.45);
  border:1px solid rgba(148,163,184,.14);
}
.kpi .label{
  font-size:12px;color:rgba(230,237,246,.62);
  letter-spacing:.10em;text-transform:uppercase;font-weight:900
}
.kpi .value{margin-top:6px;font-weight:950}
.kpi .value.green{color:var(--teal2)}
.kpi .value.blue{color:var(--teal)}
.kpi .value.violet{color:var(--blue)}

/* List rows (endpoints/docs) */
.list{display:grid;gap:10px}
.list .row{
  display:grid;
  grid-template-columns: 1fr auto;
  align-items:center;
  gap:12px;
  padding:10px 12px;border-radius:16px;
  border:1px solid rgba(148,163,184,.12);
  background:rgba(2,6,23,.35);
}
.list .row:hover{border-color:rgba(34,211,238,.26)}
.list .row > div:first-child{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  min-width:0;
}
.list .row a{max-width:100%;display:inline-block}

/* Right small pill badges */
.badge{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.14);
  background:rgba(2,6,23,.45);
  color:rgba(230,237,246,.72);
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:11px;
  white-space:nowrap;
}

/* Code blocks */
code.block{
  display:block;padding:12px 12px;border-radius:16px;
  background:rgba(2,6,23,.60);
  border:1px solid rgba(34,211,238,.22);
  color:rgba(34,211,238,.92);
  white-space:break-spaces;
  overflow:auto;
}

/* Footer */
.footer{
  margin-top:34px;padding:22px 0;border-top:1px solid rgba(148,163,184,.12);
  background:rgba(2,6,23,.55);
}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px}
.foot-title{font-weight:950;color:var(--text);margin-bottom:10px;letter-spacing:.04em}
.footer a{display:block;margin:7px 0;color:rgba(34,211,238,.95)}
.footer a:hover{text-decoration:none}

@media (max-width:980px){
  h1{font-size:36px}
  .hero-grid{grid-template-columns:1fr}
  .grid2,.grid3{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
}


/* --- Fix: keep button text visible after visit/focus/active (CTA + nav) --- */
/* Default buttons on dark UI should stay light. */
a.btn, a.btn:visited, a.btn:hover, a.btn:active, a.btn:focus {
  color: var(--text) !important;
  text-decoration: none !important;
}
/* Primary CTA keeps dark text on bright gradient. */
a.btn.primary, a.btn.primary:visited, a.btn.primary:hover, a.btn.primary:active, a.btn.primary:focus {
  color: #061018 !important;
}
/* Ghost buttons: ensure high contrast + readable label. */
a.btn.ghost, a.btn.ghost:visited, a.btn.ghost:hover, a.btn.ghost:active, a.btn.ghost:focus {
  color: rgba(231,239,255,.92) !important;
}
/* Pills (top-left status) should remain readable. */
a.pill, a.pill:visited, a.pill:hover, a.pill:active, a.pill:focus {
  color: rgba(231,239,255,.86) !important;
  text-decoration: none !important;
}
/* --- Fix: keep nav link label visible on the green Bootstrap pill --- */
.topbar .nav a.bootstrap, .topbar .nav a.bootstrap:visited,
.topbar .nav a.bootstrap:hover, .topbar .nav a.bootstrap:active, .topbar .nav a.bootstrap:focus {
  color: #061018 !important;
}
/* --- Fix: logo visibility & sizing --- */
.topbar .brand img, .topbar .brand .logo {
  opacity: 1 !important;
  filter: none !important;
}


/* Docs: keep subtle underline on hover for in-text links */
.doc a:hover { text-decoration: none; }

/* Ensure brand never underlines */
.brand:hover{ text-decoration:none !important; }
.brand a:hover{ text-decoration:none !important; }



/* === ULTRA POLISH PATCH (homogeneous, premium) === */
:root{
  --accent: #18e6b8;
  --accent2:#1dd6ff;
  --text:#d8e6ee;
  --muted:#91a7b6;
  --card: rgba(8,14,18,.72);
  --stroke: rgba(255,255,255,.08);
  --stroke2: rgba(24,230,184,.22);
  --shadow: 0 18px 60px rgba(0,0,0,.55);
}

/* Links: never underline (brand + nav + buttons) */
a, a:visited { color: inherit; text-decoration: none; }
a:hover, a:focus { text-decoration: none; }

/* Buttons: keep text visible in all states (visited/active/focus) */
.btn, .btn:visited, .btn:active, .btn:focus { color: var(--text); text-decoration:none; }
.btn.primary, .btn.primary:visited, .btn.primary:active, .btn.primary:focus { color:#001011; }
.btn.ghost, .btn.ghost:visited, .btn.ghost:active, .btn.ghost:focus { color: var(--text); }
.btn:focus-visible { outline: 2px solid rgba(29,214,255,.55); outline-offset: 3px; }

/* Nav hover/active: pill highlight like Explorer (no underline) */
.nav a { position: relative; }
.nav a.nav-link{ padding:10px 12px; border-radius: 12px; transition: background .15s ease, box-shadow .15s ease, color .15s ease; }
.nav a.nav-link:hover{ background: rgba(255,255,255,.06); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.nav a.nav-link.active{ background: rgba(24,230,184,.10); box-shadow: 0 0 0 1px rgba(24,230,184,.25) inset; color: #eafff9; }

/* Brand link: same hover style as nav, no underline */
.brand a{ display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius: 12px; }
.brand a:hover{ background: rgba(255,255,255,.06); box-shadow: 0 10px 30px rgba(0,0,0,.25); }

/* Long hashes/URLs: wrap safely without breaking layout */
.hash, code, pre, .mono, .kpi-value, .endpoint-url{
  overflow-wrap: anywhere;
  word-break: break-word;
}
table{ width:100%; border-collapse: collapse; }
table th, table td{ vertical-align: top; }

/* Cards: consistent spacing */
.card{ background: var(--card); border:1px solid var(--stroke); box-shadow: var(--shadow); }
.card .card-title{ letter-spacing: .02em; }

/* Section titles: subtle gradient accent */
h1,h2,h3{ text-wrap: balance; }
.section-title, .page-title {
margin: 0;
font-weight: 900;
letter-spacing: 0.02em;
line-height: 1.02;
font-size: clamp(40px, 5vw, 56px);
text-transform: uppercase;
background: linear-gradient(90deg, rgba(245,255,252,0.98) 0%, rgba(0,255,187,0.95) 70%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;

  text-shadow: 0 10px 24px rgba(0,0,0,.45);
}


/* Top gradient band: smoother */
.hero, .page-hero{
  background:
    radial-gradient(900px 540px at 18% 10%, rgba(24,230,184,.22), rgba(0,0,0,0) 58%),
    radial-gradient(700px 520px at 82% 0%, rgba(29,214,255,.16), rgba(0,0,0,0) 60%),
    radial-gradient(900px 700px at 50% 120%, rgba(24,230,184,.12), rgba(0,0,0,0) 60%);
}

/* Make the Bootstrap button text always visible */
.nav .btn.primary{ text-shadow: none; }
.nav .btn.primary:hover{ filter: brightness(1.02); }

/* --- Bible helpers (from legacy style.css) --- */

    .subtitle {
      font-size: 0.95rem;
      color: var(--muted);
      letter-spacing: 0.25em;
      text-transform: uppercase;
      margin-bottom: 12px;
    }
    h1 {
      font-size: 2.3rem;
      margin: 0 0 4px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
      text-shadow: 0 0 18px rgba(34,197,94,0.55);
    }
    .tagline {
      font-size: 1.05rem;
      font-weight: 500;
      color: #e5e7eb;
      margin-bottom: 8px;
    }
    .meta {
      font-size: 0.9rem;
      color: var(--muted);
    }
    .meta span {
      color: var(--accent);
      font-weight: 500;
    }
    h2 {
      margin-top: 32px;
      font-size: 1.4rem;
      border-left: 3px solid var(--accent);
      padding-left: 10px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #e5e7eb;
    }
    h3 {
      margin-top: 20px;
      font-size: 1.12rem;
      color: #e5e7eb;
    }
    p {
      margin: 8px 0 12px;
      color: #e5e7eb;
    }
    ul, ol {
      margin: 6px 0 12px 20px;
      padding-left: 18px;
    }
    li {
      margin: 3px 0;
      color: #e5e7eb;
    }
    .pill {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 0.75rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      border: 1px solid var(--accent-soft);
      color: var(--accent);
      background: rgba(15,23,42,0.8);
    }
    .section {
      margin-top: 28px;
      padding: 18px 16px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: radial-gradient(circle at top left, #0b1120 0, #020617 52%);
    }
    .section-accent {
      border-color: var(--accent-soft);
      background: radial-gradient(circle at top right, #064e3b 0, #020617 55%);
    }
    .quote {
      border-left: 3px solid var(--accent);
      padding-left: 10px;
      font-style: italic;
      color: var(--muted);
      margin: 10px 0 14px;
    }
    .table {
      margin: 12px 0 16px;
      border-collapse: collapse;
      width: 100%;
      font-size: 0.92rem;
    }
    .table th, .table td {
      border: 1px solid #1f2933;
      padding: 6px 8px;
      text-align: left;
    }
    .table th {
      background: #020617;
      color: #e5e7eb;
      font-weight: 600;
    }
    .table tr:nth-child(even) td {
      background: #020617;
    }
    code {
      font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      font-size: 0.85rem;
      background: var(--code-bg);
      padding: 2px 4px;
      border-radius: 4px;
      color: #93c5fd;
    }
    pre {
      background: var(--code-bg);
      padding: 10px 12px;
      border-radius: 8px;
      overflow-x: auto;
      font-size: 0.85rem;
      border: 1px solid #111827;
    }
    .footer {
      margin-top: 32px;
      padding-top: 18px;
      border-top: 1px solid var(--border);
      text-align: center;
      font-size: 0.9rem;
      color: var(--muted);
    }
    .footer span {
      color: var(--accent);
    }
  

/* --- Bible additions (kept consistent with WP v5) --- */
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1px solid rgba(148,163,184,.18);background:rgba(15,23,42,.7);border-radius:999px;padding:6px 10px;color:#e2e8f0;font-size:12px}
.chip.ok{border-color:rgba(0,242,138,.35);color:#00f28a}
.chip.danger{border-color:rgba(248,113,113,.35);color:#f87171}
.badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 10px;font-weight:800;font-size:12px}
.badge.ok{background:rgba(0,242,138,.12);color:#00f28a;border:1px solid rgba(0,242,138,.25)}
.badge.pro{background:rgba(59,130,246,.12);color:#93c5fd;border:1px solid rgba(59,130,246,.25)}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(25,242,179,.22);
  background: rgba(25,242,179,.10);
  color: rgba(233,238,247,.92);
  font-weight: 700;
  letter-spacing: .02em;
}
.badge .dot{ width:8px; height:8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(25,242,179,.18); }


/* === Unified layout patch v13 === */
:root{
  --accent: var(--phc-accent, #14f195);
  --accent2: var(--phc-accent2, #00d1ff);
}

.page{max-width:1180px;margin:0 auto;padding:28px 22px;}
@media (max-width: 720px){.page{padding:18px 14px;}}

.hero-grid{display:grid;grid-template-columns: 1.25fr .75fr;gap:18px;align-items:stretch;}
@media (max-width: 980px){.hero-grid{grid-template-columns:1fr;}}
.hero-card{padding:22px;border-radius:22px;background:linear-gradient(180deg, rgba(10,20,30,.86), rgba(10,20,30,.62));border:1px solid rgba(255,255,255,.08);box-shadow:0 18px 60px rgba(0,0,0,.45);backdrop-filter:none;}
.hero-title{font-size:38px;line-height:1.05;letter-spacing:.02em;margin:0 0 10px 0;color:var(--accent);}
@media (max-width:720px){.hero-title{font-size:38px;}}
.hero-sub{color:rgba(255,255,255,.78);font-size:15.5px;line-height:1.55;margin:0 0 16px 0;}
.kv{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px;}
.kv .kv-item{padding:14px 14px;border-radius:16px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.06);}
.kv .kv-k{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.55);margin-bottom:6px;}
.kv .kv-v{font-weight:700;color:rgba(255,255,255,.90)}
.kv .kv-v.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;font-weight:600;word-break:break-all;}

.nav a, .nav .nav-links a{text-decoration:none;}
.nav .nav-links a{padding:10px 12px;border-radius:12px;color:rgba(255,255,255,.82);transition: background .15s ease, color .15s ease, border-color .15s ease;}
.nav .nav-links a:hover{background:rgba(20,241,149,.10);color:#fff;}
.nav .nav-links a.active{background:rgba(20,241,149,.16);border:1px solid rgba(20,241,149,.30);color:#fff;}
.brand a:hover{background:rgba(20,241,149,.10);} /* no underline */
a:hover{text-decoration:none;}

.section-title{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:rgba(0,209,255,.80);margin:0 0 10px 0;}
.card{border-radius:22px;}
.card h2,.card h3{color:rgba(255,255,255,.92);}
.card h2{font-size:22px;margin-top:0}
.card h3{font-size:18px;margin-top:0}

.badge{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border-radius:999px;background:rgba(20,241,149,.10);border:1px solid rgba(20,241,149,.22);color:rgba(255,255,255,.90);font-size:12px;letter-spacing:.08em;text-transform:uppercase;}
.badge .dot{width:8px;height:8px;border-radius:999px;background:var(--accent);box-shadow:0 0 14px rgba(20,241,149,.65);}

.btn{border-radius:14px;}
.btn.secondary{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.88);}
.btn.secondary:hover{background:rgba(255,255,255,.10);}
.btn.primary{background:linear-gradient(90deg, rgba(20,241,149,.92), rgba(0,209,255,.72));color:#031016;border:none;}
.btn.primary:hover{filter:brightness(1.05);}

.table{border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.08);}
.table th{background:rgba(0,0,0,.35);color:rgba(0,209,255,.85);}
.table td{color:rgba(255,255,255,.88);}

.footer{padding:26px 0;color:rgba(255,255,255,.55);}


/* === Unified UI fixes (v14) === */
a{ text-decoration:none; }
a:hover{ text-decoration:none; }
.topbar a, header a, .brand a{ text-decoration:none !important; }
.nav a{ text-decoration:none !important; border-radius:12px; padding:10px 12px; display:inline-flex; gap:10px; align-items:center; }
.nav a:hover{ background: rgba(30,255,200,0.08); box-shadow: 0 0 0 1px rgba(30,255,200,0.18) inset; }
.nav a.active{ background: rgba(30,255,200,0.12); box-shadow: 0 0 0 1px rgba(30,255,200,0.22) inset; }
.brand img{ display:block; width:28px; height:28px; border-radius:8px; }
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px; border-radius:999px;
  background: rgba(0,0,0,0.28);
  box-shadow: 0 0 0 1px rgba(30,255,200,0.18) inset;
  color: rgba(235,255,250,0.86);
  font-weight:600; letter-spacing:0.08em; text-transform:uppercase;
  font-size:12px;
  margin: 14px 0 14px;
}
.kicker .dot{
  width:9px; height:9px; border-radius:999px;
  background: #20ffd0;
  box-shadow: 0 0 18px rgba(32,255,208,0.55);
}
.page-title{
  font-size: clamp(34px, 4.2vw, 58px);
  line-height:1.05;
  margin: 6px 0 10px;
  letter-spacing: -0.02em;
}
.page-lead{
  color: rgba(235,255,250,0.78);
  font-size: 16px;
  line-height:1.55;
  margin: 0 0 18px;
  max-width: 82ch;
}



/* --- Unified Topbar (Premium) --- */
.topbar{position:sticky;top:0;z-index:50;background:rgba(6,10,14,.72);backdrop-filter:none;border-bottom:1px solid rgba(255,255,255,.06)}
.topbar-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:18px;padding:14px 18px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.brand:hover{filter:brightness(1.06)}
.brand-logo{width:36px;height:36px;display:block;border-radius:10px;box-shadow:0 10px 24px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06)}
.brand-title {
font-weight: 800;
letter-spacing: .08em;
text-transform: uppercase;
font-size: 14px;
line-height: 1.1;
/* Use the same brand tint as the Explorer */
color: var(--accent);
text-shadow:
  0 0 14px rgba(0, 255, 187, 0.35),
  0 0 2px rgba(0, 0, 0, 0.6);
}
.brand-sub{
  font-size:11px;
  color:var(--muted);
  opacity:.92;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  max-width:none;
  line-height:1.2;
}
.nav{margin-left:auto;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.nav-link{font-size:13px;font-weight:650;letter-spacing:.02em;color:rgba(255,255,255,.84);text-decoration:none;padding:10px 12px;border-radius:12px}
.nav-link:hover{background:rgba(255,255,255,.05);color:#fff}
.nav-link.active{background:rgba(0,255,179,.10);box-shadow:0 0 0 1px rgba(0,255,179,.22) inset;color:#fff}
.nav-cta{margin-left:6px;display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:14px;text-decoration:none;font-weight:800;color:#04130d;background:linear-gradient(90deg, rgba(0,255,179,.96), rgba(0,204,255,.90));box-shadow:0 14px 40px rgba(0,255,179,.18)}
.nav-cta:hover{filter:brightness(1.05)}

/* Remove any underline on brand text */
.brand *{text-decoration:none}

/* --- Hero helpers used by Bible/Docs --- */
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.hero-actions .btn, .hero-actions a.btn{display:inline-flex}
.side-card{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:18px;box-shadow:0 18px 60px rgba(0,0,0,.35)}
.kicker{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:999px;background:rgba(0,255,179,.10);box-shadow:0 0 0 1px rgba(0,255,179,.18) inset;color:#eafff8;font-weight:750;letter-spacing:.06em;font-size:12px;text-transform:uppercase}
.kicker .dot{width:8px;height:8px;border-radius:50%;background:rgba(0,255,179,.95);box-shadow:0 0 0 6px rgba(0,255,179,.12)}

.mono-break{word-break:break-all;overflow-wrap:anywhere}


/* v16 heading scale */
@media (max-width: 720px){
  h1{font-size:30px;}
  .hero-title{font-size:38px;}
}


/* Link behavior (no underline in header) */
.topbar a, .topbar a:hover, .topbar a:active, .topbar a:visited {
  text-decoration: none !important;
}
.nav-link:hover { opacity: 1; }
.brand:hover .brand-title { text-shadow: 0 0 18px rgba(0,255,187,.45), 0 0 2px rgba(0,0,0,.6); }


a.brand, a.brand:hover{ text-decoration:none; }

.site-footer a{ color:var(--accent); text-decoration:none; }
.site-footer a:hover{ color:var(--accent2); text-decoration:none; }

/* Canonical Whitepaper subtitle (keep crisp, avoid blur/glow) */
.hero-subtitle{
  display:block;
  margin-top: 6px;
  font-size: 26px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,255,252,.92);
  text-shadow: none;
}
@media (max-width: 720px){
  .hero-subtitle{ font-size: 22px; }
}


/* Whitepaper hero kicker (avoid blur/opacity differences across browsers) */
.hero-kicker{
  display:block;
  margin-top:10px;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  /* Keep it crisp (no large glow that can look like blur on some displays) */
  text-shadow: 0 0 0 rgba(0,0,0,0);
}

/* Whitepaper: the CANONICAL WHITEPAPER line under the big title */
.kickerline{
  margin-top: 14px;
  opacity: .98;
}

::selection{ background: rgba(0,255,187,.25); }

.brand-name{color:var(--accent);} 

.header .brand a:hover{ text-decoration:none; }


/* === Mobile: desktop-like tabs (no overlap, clean) === */
@media (max-width: 560px){

  .topbar-inner{
    display:flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  /* Brand stays on one compact row */
  .brand{
    display:flex;
    align-items:center;
    gap:10px;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  .brand-logo{
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
  }

  /* Prevent brand text from growing into multiple lines */
  .brand-text{
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .brand-title{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 1.1;
  }

  .brand-sub{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    line-height: 1.1;
    opacity: .85;
  }

  /* CTA stays on the first row to the right */
  .nav-cta{
    flex: 0 0 auto;
    margin-left: auto;
    order: 2;
  }

  /* Tabs row: full width, single line, horizontal scroll */
  nav.nav{
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 10px 2px 2px;
    margin-top: 6px;
  }
  nav.nav::-webkit-scrollbar{ height: 0; }

  nav.nav .nav-link{
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 14px;
    padding: 10px 12px;
  }
}

