/* ================================================================
   NBSA Theme - Dark modern, mobile-first
   ================================================================ */
:root {
  --paper: #0a0a10;
  --paper-alt: #0e0e16;
  --card: #13131d;
  --ink: #f5f5fa;
  --ink-soft: #b8b8c8;
  --ink-muted: #74748a;
  --line: rgba(255,255,255,0.07);
  --line-strong: rgba(255,255,255,0.14);

  --chip-ink: #16150f;

  --cta: #ff4d2e;
  --cta-hover: #ff6a4d;
  --cta-tint: rgba(255,77,46,0.07);

  --hi: #ffe14d;
  --hi-border: #16150f;

  --fresh: #34d399;
  --fresh-tint: rgba(52,211,153,0.12);

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;

  --shadow-card: 0 1px 2px rgba(0,0,0,0.3), 0 4px 20px rgba(0,0,0,0.35);
  --shadow-card-hover: 0 2px 6px rgba(0,0,0,0.4), 0 14px 40px rgba(0,0,0,0.55);
}

/* ---------------- Reset ---------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.accent { color: var(--cta); }

/* ---------------- Header ---------------- */
.site-header {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,16,0.88);
  backdrop-filter: blur(12px);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
  font: 800 18px/1 var(--font-display);
  color: var(--ink);
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
}
.site-logo .red { color: var(--cta); }
.site-logo-img { max-height: 34px; width: auto; }

/* Nav menus - list styles stripped for WP menu output */
.main-nav { display: none; gap: 2px; }
.main-nav ul, .main-nav li,
.mobile-nav ul, .mobile-nav li,
.footer-grid ul, .footer-grid li {
  list-style: none; margin: 0; padding: 0;
}
.main-nav ul { display: flex; gap: 2px; }
.main-nav a {
  font: 600 13px/1 var(--font-body);
  color: var(--ink-muted);
  padding: 8px 14px;
  border-radius: 100px;
  transition: all 0.2s;
  display: inline-block;
}
.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav a.current {
  color: var(--ink);
  background: rgba(255,255,255,0.06);
}
@media (min-width: 701px) { .main-nav { display: flex; } }

.menu-toggle {
  display: block;
  background: none; border: none;
  color: var(--ink); cursor: pointer; padding: 8px;
}
@media (min-width: 701px) { .menu-toggle { display: none; } }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--paper-alt);
  padding: 8px 20px 14px;
}
.mobile-nav a {
  display: block;
  font: 600 14px/1 var(--font-body);
  color: var(--ink-soft);
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child, .mobile-nav li:last-child a { border-bottom: none; }
.mobile-nav a:hover { color: var(--ink); }

/* ---------------- Trust bar ---------------- */
.trust-bar {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
}
.trust-bar .container {
  display: flex; justify-content: center; gap: 8px 18px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font: 600 10px/1 var(--font-body);
  color: var(--ink-muted);
  letter-spacing: 0.2px;
}
.trust-item svg { width: 13px; height: 13px; color: var(--fresh); flex-shrink: 0; }
@media (min-width: 521px) {
  .trust-bar .container { gap: 26px; }
  .trust-item { font-size: 11px; }
}

/* ---------------- Hero ---------------- */
.hero { padding: 38px 0 30px; text-align: center; }
.hero h1 {
  font: 800 30px/1.1 var(--font-display);
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.hero h1 .swipe { position: relative; white-space: nowrap; z-index: 0; }
.hero h1 .swipe::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%; bottom: 4px;
  height: 34%;
  background: var(--cta);
  z-index: -1;
  transform: rotate(-1deg);
  border-radius: 2px;
  box-shadow: 0 0 24px rgba(255,77,46,0.3);
}
.hero .subtitle {
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.hero-meta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  font: 600 12px/1 var(--font-body);
  color: var(--ink-muted);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 100px;
}
.hero-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fresh); }
@media (min-width: 601px) {
  .hero { padding: 56px 0 44px; }
  .hero h1 { font-size: 42px; letter-spacing: -1.5px; }
  .hero .subtitle { font-size: 16px; }
}

/* ---------------- Sections ---------------- */
section { padding: 40px 0; }
.bg-alt { background: var(--paper-alt); }
.section-head { margin-bottom: 24px; }
.section-eyebrow {
  display: inline-block;
  font: 700 11px/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cta);
  margin-bottom: 10px;
}
.section-title {
  font: 800 23px/1.15 var(--font-display);
  color: var(--ink);
  letter-spacing: -0.6px;
  margin-bottom: 6px;
}
.section-subtitle { font-size: 14px; color: var(--ink-muted); }
@media (min-width: 601px) {
  section { padding: 44px 0; }
  .section-title { font-size: 27px; }
}

/* ---------------- Featured cards ---------------- */
.bk-list { display: flex; flex-direction: column; gap: 14px; }

.bk-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
}
.bk-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--line-strong);
}
.bk-info { display: flex; align-items: flex-start; gap: 12px; }
.bk-logo {
  width: 46px; height: 46px; border-radius: 11px;
  overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--paper-alt);
  display: flex; align-items: center; justify-content: center;
}
.bk-logo img { width: 100%; height: 100%; object-fit: cover; }
.logo-initials {
  font: 800 15px/1 var(--font-display);
  color: var(--ink-muted);
}
.bk-details { flex: 1; min-width: 0; }
.bk-name {
  font: 700 15px/1.2 var(--font-display);
  color: var(--ink);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  letter-spacing: -0.3px;
}
.launch-tag {
  font: 700 10px/1 var(--font-body);
  color: var(--fresh);
  background: var(--fresh-tint);
  padding: 4px 9px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.badge-tag {
  font: 700 10px/1 var(--font-body);
  color: var(--cta);
  background: var(--cta-tint);
  padding: 4px 9px;
  border-radius: 100px;
  white-space: nowrap;
}
.bk-tagline {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 4px;
  line-height: 1.5;
}
.bk-features { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.bk-feat {
  font: 500 11px/1 var(--font-body);
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 100px;
}

/* Action row */
.bk-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 13px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.bk-code-wrap { min-width: 0; text-align: center; }
.bk-code-label {
  font: 800 10.5px/1 var(--font-body);
  color: var(--cta);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 7px;
}
.bk-code-label.is-muted { color: var(--ink-muted); }
.bk-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 800 16px/1 var(--font-display);
  color: var(--chip-ink);
  background: var(--hi);
  border: 1.5px dashed var(--hi-border);
  padding: 8px 15px;
  border-radius: 7px;
  letter-spacing: 1.5px;
  transform: rotate(-1deg);
  cursor: pointer;
  position: relative;
}
.bk-code .code-text { transition: filter 0.3s; }
.bk-code[data-revealed="false"] .code-text { filter: blur(5px); user-select: none; }
.bk-code .reveal-prompt {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font: 800 11px/1 var(--font-body);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--chip-ink);
  white-space: nowrap;
}
.bk-code[data-revealed="false"] .reveal-prompt { display: inline-flex; }
.bk-code[data-revealed="false"] { min-width: 150px; justify-content: center; }
.bk-code .copied-tag {
  display: none;
  font: 700 9px/1 var(--font-body);
  color: #06281c;
  background: var(--fresh);
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  animation: nbsa-pop 0.25s ease;
}
.bk-code[data-copied="true"] .copied-tag { display: inline-block; }
@keyframes nbsa-pop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.bk-code-none {
  display: inline-block;
  font: 600 13px/1 var(--font-body);
  color: var(--ink-muted);
  background: var(--paper);
  border: 1.5px dashed var(--line-strong);
  padding: 9px 15px;
  border-radius: 7px;
}
.bk-code-terms {
  font-size: 10.5px;
  color: var(--ink-muted);
  margin-top: 7px;
}
.bk-cta {
  display: inline-flex;
  justify-content: center;
  text-align: center;
  font: 700 14.5px/1 var(--font-display);
  color: #fff;
  background: var(--cta);
  padding: 15px;
  border-radius: var(--r-md);
  white-space: nowrap;
  transition: background 0.2s;
  letter-spacing: -0.2px;
}
.bk-cta:hover { background: var(--cta-hover); }

@media (min-width: 541px) {
  .bk-card { padding: 20px 22px; }
  .bk-logo { width: 54px; height: 54px; border-radius: 13px; }
  .bk-name { font-size: 17px; }
  .bk-action {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .bk-code-wrap { text-align: left; }
  .bk-cta { padding: 15px 28px; flex-shrink: 0; }
}

/* ---------------- Full list table (desktop) ---------------- */
.full-list-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.full-list-table { width: 100%; border-collapse: collapse; }
.full-list-table thead th {
  font: 700 10.5px/1 var(--font-body);
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 13px 16px;
  text-align: left;
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line);
}
.full-list-table tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
  cursor: pointer;
}
.full-list-table tbody tr:last-child { border-bottom: none; }
.full-list-table tbody tr:hover { background: var(--cta-tint); }
.full-list-table td { padding: 15px 16px; vertical-align: middle; }

.tbl-bk-cell { display: flex; align-items: center; gap: 12px; }
.tbl-logo {
  width: 38px; height: 38px; border-radius: 10px;
  overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--paper-alt);
  display: flex; align-items: center; justify-content: center;
}
.tbl-logo img { width: 100%; height: 100%; object-fit: cover; }
.tbl-logo .logo-initials { font-size: 12px; }
.tbl-name {
  font: 700 14px/1.2 var(--font-display);
  color: var(--ink);
  display: flex; align-items: center; gap: 7px;
}
.tbl-tagline { font-size: 11.5px; color: var(--ink-muted); margin-top: 2px; }
.mini-new {
  font: 800 8.5px/1 var(--font-body);
  color: #06281c;
  background: var(--fresh);
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.6px;
}
.tbl-launch {
  font: 600 12.5px/1 var(--font-body);
  color: var(--ink-soft);
  white-space: nowrap;
}
.tbl-code {
  font: 800 12.5px/1 var(--font-display);
  color: var(--chip-ink);
  background: var(--hi);
  border: 1.5px dashed var(--hi-border);
  padding: 6px 11px;
  border-radius: 6px;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
}
.tbl-code .code-text { transition: filter 0.3s; }
.tbl-code[data-revealed="false"] .code-text { filter: blur(4px); user-select: none; }
.tbl-code .reveal-prompt {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font: 800 9px/1 var(--font-body);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--chip-ink);
  white-space: nowrap;
}
.tbl-code[data-revealed="false"] .reveal-prompt { display: inline-flex; }
.tbl-code[data-revealed="false"] { min-width: 92px; justify-content: center; }
.tbl-code .copied-tag {
  display: none;
  font: 700 8px/1 var(--font-body);
  color: #06281c;
  background: var(--fresh);
  padding: 2px 5px;
  border-radius: 3px;
}
.tbl-code[data-copied="true"] .copied-tag { display: inline-block; }
.tbl-code-none {
  font: 500 12px/1 var(--font-body);
  color: var(--ink-muted);
  font-style: italic;
}
.tbl-cta {
  font: 700 12.5px/1 var(--font-display);
  color: #fff;
  background: var(--cta);
  padding: 10px 18px;
  border-radius: 9px;
  white-space: nowrap;
  display: inline-block;
  transition: background 0.2s;
}
.tbl-cta:hover { background: var(--cta-hover); }

.desktop-table { display: none; }
.mobile-list { display: block; }
@media (min-width: 701px) {
  .desktop-table { display: block; }
  .mobile-list { display: none; }
}

/* ---------------- Mobile slim rows ---------------- */
.mobile-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 4px 14px;
  box-shadow: var(--shadow-card);
}
.ml-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.ml-card:last-child { border-bottom: none; }
.ml-logo {
  width: 40px; height: 40px; border-radius: 10px;
  overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--paper-alt);
  display: flex; align-items: center; justify-content: center;
}
.ml-logo img { width: 100%; height: 100%; object-fit: cover; }
.ml-logo .logo-initials { font-size: 12px; }
.ml-info { flex: 1; min-width: 0; }
.ml-name {
  font: 700 13px/1.2 var(--font-display);
  color: var(--ink);
  display: flex; align-items: center; gap: 6px;
}
.ml-meta {
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 3px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.ml-code {
  font: 800 10.5px/1 var(--font-display);
  color: var(--chip-ink);
  background: var(--hi);
  border: 1px dashed var(--hi-border);
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.6px;
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.ml-code .code-text { transition: filter 0.3s; }
.ml-code[data-revealed="false"] .code-text { filter: blur(3.5px); user-select: none; }
.ml-code .reveal-prompt {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font: 800 7.5px/1 var(--font-body);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--chip-ink);
  white-space: nowrap;
}
.ml-code[data-revealed="false"] .reveal-prompt { display: inline-flex; }
.ml-code[data-revealed="false"] { min-width: 78px; justify-content: center; }
.ml-code .copied-tag { display: none; }
.ml-code-none { color: var(--ink-muted); font-style: italic; font-size: 11px; }
.ml-cta {
  font: 700 12px/1 var(--font-display);
  color: #fff;
  background: var(--cta);
  padding: 10px 15px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---------------- Content ---------------- */
.content-block { max-width: 700px; margin: 0 auto; }
.content-block h2 {
  font: 800 20px/1.25 var(--font-display);
  color: var(--ink);
  margin: 32px 0 12px;
  letter-spacing: -0.5px;
}
.content-block h2:first-child { margin-top: 0; }
.content-block h3 {
  font: 700 17px/1.3 var(--font-display);
  color: var(--ink);
  margin: 24px 0 10px;
}
.content-block p { color: var(--ink-soft); margin-bottom: 14px; line-height: 1.75; }
.content-block a { color: var(--cta); }
.content-block a:hover { text-decoration: underline; }
.content-block ul, .content-block ol { margin: 0 0 14px 20px; color: var(--ink-soft); }
.content-block li { margin-bottom: 6px; }
@media (min-width: 601px) {
  .content-block h2 { font-size: 22px; }
}

/* ---------------- Page header (inner pages) ---------------- */
.page-header {
  padding: 36px 0 8px;
  text-align: center;
}
.page-header h1 {
  font: 800 28px/1.15 var(--font-display);
  color: var(--ink);
  letter-spacing: -0.8px;
}
.last-updated {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 10px;
}

/* ---------------- RG (white bg, black text - legal) ---------------- */
.rg-message {
  background: #ffffff;
  color: #000000;
  padding: 20px;
  border-radius: var(--r-md);
  margin-top: 28px;
  text-align: center;
}
.rg-message h3, .rg-message h4, .rg-message p, .rg-message strong { color: #000000; }
.rg-message h3 { font: 700 16px/1.3 var(--font-display); margin-bottom: 4px; }
.rg-message h4 { font: 400 14px/1.3 var(--font-body); }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 44px 0 32px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 401px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 701px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; } }
.footer-brand p {
  font-size: 12.5px; color: var(--ink-muted); margin-top: 12px; line-height: 1.6;
}
.footer-col-title {
  font: 700 10.5px/1 var(--font-body); color: var(--ink-muted);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
}
.footer-link,
.footer-grid li a {
  display: block; font-size: 13px; color: var(--ink-soft);
  padding: 3px 0; transition: color 0.2s;
}
.footer-link:hover,
.footer-grid li a:hover { color: var(--cta); }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 32px; padding-top: 4px;
}
.footer-bottom .rg-message { margin-top: 18px; margin-bottom: 16px; }
.footer-disclosure { margin-bottom: 12px; }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.footer-badge {
  font: 600 10px/1 var(--font-body); color: var(--ink-muted);
  border: 1px solid var(--line-strong); padding: 5px 11px;
  border-radius: 100px; text-transform: uppercase; letter-spacing: 0.5px;
}
.footer-disclaimer { font-size: 11.5px; color: var(--ink-muted); line-height: 1.7; }
.footer-logo-text {
  font: 800 17px/1 var(--font-display); color: var(--ink);
}
.footer-logo-text .red { color: var(--cta); }

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
