/* Capitoken — Global Styles (Brand palette: Deep Green + Gold) */

:root{
  --brand-green-900:#023125;
  --brand-green-800:#0b3a2b;
  --brand-gold:#e9902c;
  --brand-amber:#b55d09;
  --brand-muted:#9daaa5;

  --bg:#050c0a;
  --bg2:#07110e;

  --text:#f2f5f4;
  --muted:rgba(242,245,244,0.72);

  --panel:rgba(255,255,255,0.04);
  --panel2:rgba(255,255,255,0.06);
  --stroke:rgba(255,255,255,0.08);
  --stroke2:rgba(255,255,255,0.12);

  --shadow:rgba(0,0,0,0.35);

  /* site-wide accent */
  --accent:var(--brand-gold);
  --accent2:var(--brand-green-800);
  --accent3:var(--brand-amber);

  --radius-lg:18px;
  --radius-md:14px;
  --radius-sm:12px;

  --container:1120px;
  --nav-offset:190px;
}


*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  overflow-x:hidden;

  background:
    radial-gradient(900px 520px at 18% -10%, rgba(233,144,44,0.16), transparent 62%),
    radial-gradient(860px 520px at 82% 112%, rgba(11,58,43,0.26), transparent 62%),
    linear-gradient(180deg, var(--bg), var(--bg2) 55%, #050b09 100%);
}

img{display:block;max-width:100%;height:auto}
a{color:var(--accent);text-decoration:none}
a:hover{color:rgba(233,144,44,0.85)}
a[aria-disabled="true"]{pointer-events:none;opacity:.55}

.container{
  width:min(var(--container), calc(100% - 36px));
  margin:0 auto;
}

section{padding:24px 0}
.section{padding:24px 0}

/* separators */
.hr{
  border:none;
  border-top:1px solid rgba(255,255,255,0.06);
  margin:28px 0;
}

/* Nav */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(10px);
  background:linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.18));
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.nav__inner{
  height:96px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:12px;
}
.brand:hover{background:rgba(255,255,255,0.04)}
.brand__dot{
  width:10px;height:10px;border-radius:999px;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(233,144,44,0.12);
}
.brand__name{font-weight:700;letter-spacing:.2px}

.nav__links{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav__links a{
  color:rgba(242,245,244,0.86);
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
}
.nav__links a:hover{
  background:rgba(255,255,255,0.04);
  border-color:rgba(255,255,255,0.06);
  color:var(--text);
}

/* Hero */
.hero{padding-top:22px;padding-bottom:10px}
.hero__kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  color:rgba(242,245,244,0.88);
  font-size:13px;
}
.pill__dot{
  width:10px;height:10px;border-radius:999px;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(233,144,44,0.12);
}
.hero h1{
  margin:14px 0 10px;
  font-size:clamp(38px, 4.4vw, 56px);
  line-height:1.05;
  letter-spacing:-0.02em;
}
.hero__lead{
  max-width:760px;
  color:var(--muted);
  line-height:1.55;
  margin:0 0 18px;
}

/* Hero mini-boxes */
.hero-stats{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:12px;
  max-width:760px;
  margin:10px 0 10px;
}
.mini-card{
  background:rgba(0,0,0,0.33);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:14px;
  padding:12px 12px 10px;
  box-shadow:0 10px 30px rgba(0,0,0,0.18);
  backdrop-filter:blur(10px);
}
.mini-card .k{
  font-size:11px;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:rgba(242,245,244,0.62);
  margin-bottom:6px;
}
.mini-card .v{
  font-size:14px;
  font-weight:650;
  color:rgba(242,245,244,0.92);
  line-height:1.2;
}
.mini-card .v.small{font-size:13px;font-weight:600;color:rgba(242,245,244,0.86)}

.mini-card--trust .trustline{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
}
.mini-card--trust .score{
  font-weight:800;
  font-size:16px;
}
.mini-card--trust .outof{
  font-weight:650;
  font-size:11px;
  color:rgba(242,245,244,0.55);
}
.trustbar{
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.08);
  overflow:hidden;
  margin-top:10px;
}
.trustbar__fill{
  height:100%;
  width:0%;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(233,144,44,1), rgba(242,245,244,0.85));
  box-shadow:0 0 0 4px rgba(233,144,44,0.10);
  transition:width .35s ease;
}

@media (max-width: 980px){
  .hero-stats{grid-template-columns:repeat(2, minmax(0, 1fr));max-width:680px}
}
@media (max-width: 520px){
  .hero-stats{grid-template-columns:1fr;}
}

/* Actions */
.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:8px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.04);
  color:var(--text);
  font-weight:650;
  transition:transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover{
  background:rgba(255,255,255,0.06);
  border-color:rgba(255,255,255,0.14);
  transform:translateY(-1px);
}
.btn:not(.btn--primary):hover{
  color:var(--accent);
}
.btn--primary{
  background:linear-gradient(180deg, rgba(233,144,44,1), rgba(181,93,9,1));
  border-color:rgba(0,0,0,0.18);
  color:#0a130f;
  box-shadow:0 10px 26px rgba(233,144,44,0.18);
}
.btn--primary:hover{box-shadow:0 14px 34px rgba(233,144,44,0.22)}
.btn--ghost{
  background:rgba(255,255,255,0.03);
  border-color:rgba(255,255,255,0.08);
  color:rgba(242,245,244,0.80);
}


/* PRO Pack – compact UI helpers */
.btn--mini{
  padding:8px 10px;
  border-radius:12px;
  font-size:13px;
  gap:8px;
}

.addr-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.addr{
  max-width: calc(100% - 170px);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.addr-actions{
  display:flex;
  gap:8px;
  flex-shrink:0;
}
.addr-details{
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(0,0,0,0.18);
}
.addr-details summary{
  cursor:pointer;
  font-size:13px;
  color:rgba(242,245,244,0.78);
}
.addr-details summary:hover{color:rgba(242,245,244,0.92)}

.note{color:rgba(242,245,244,0.70)}

.trust-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:12px 0 4px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(0,0,0,0.18);
  color:rgba(242,245,244,0.86);
  font-size:11px;
  letter-spacing:0.2px;
}

/* Make the market / activity table feel less "placeholder" */
.table{
  background:rgba(0,0,0,0.12);
  border-radius:14px;
  overflow:hidden;
}
.table th{position:sticky; top:0; background:rgba(0,0,0,0.28);}

/* Cards + grids */
.card{
  background:linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border:1px solid rgba(255,255,255,0.08);
  border-radius:var(--radius-lg);
  box-shadow:0 20px 60px rgba(0,0,0,0.22);
  padding:18px;
}

.grid{display:grid;gap:14px}
.col-12{grid-column:span 12}
.col-6{grid-column:span 6}
.col-4{grid-column:span 4}

@media (min-width:980px){
  .grid{grid-template-columns:repeat(12,1fr)}
}
@media (max-width:979px){
  .grid{grid-template-columns:1fr}
  .col-12,.col-6,.col-4{grid-column:auto}
}

/* FAQ (12 cards) */
.faq-grid{ align-items: stretch; }
.faq-card{ display:flex; flex-direction:column; justify-content:flex-start; }
.faq-card h3{ margin:0 0 6px; font-size:16px; letter-spacing:-0.01em; }
.faq-card p{ margin:0; }

/* Typography helpers */
.small{font-size:13px;color:rgba(242,245,244,0.72)}
h2{margin:0 0 8px;font-size:28px;letter-spacing:-0.01em}
h3{margin:0 0 6px;font-size:18px}

/* Mono helpers used in index.astro */
.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: .2px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  color:rgba(242,245,244,0.88);
  font-size:13px;
}

/* Key-value rows used in tokenomics */
.kv{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:8px 0;
  border-top:1px solid rgba(255,255,255,0.06);
}
.kv:first-child{border-top:none}

/* Table used in Recent Activity */
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:640px;
}
.table th,.table td{
  text-align:left;
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,0.06);
  color:rgba(242,245,244,0.86);
}
.table th{
  font-size:11px;
  color:rgba(242,245,244,0.68);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.table tbody tr:hover td{
  background:rgba(255,255,255,0.03);
}

/* Footer */
.footer{
  margin-top:36px;
  padding:18px 0 26px;
  border-top:1px solid rgba(255,255,255,0.06);
  color:rgba(242,245,244,0.65);
}

.footer__disclaimer{
  margin:0 0 14px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  background:rgba(0,0,0,0.22);
  color:rgba(242,245,244,0.72);
  line-height:1.45;
}
.footer__disclaimer p{margin:0 0 10px}
.footer__disclaimer p:last-child{margin-bottom:0}
.footer__disclaimer strong{color:rgba(242,245,244,0.92)}
.footer__copyright{color:rgba(242,245,244,0.62)}
/* ===== Launch Panel hard spacing fix ===== */
#launchpanel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#launchpanel > section,
#launchpanel > .card {
  margin: 0 !important;
}
/* === spacing-hotfix-v12 (Launch Panel + cards) === */

/* Secciones dentro de Launch Panel: fuerza separación entre paneles apilados */
#launchpanel > * + * {
  margin-top: 16px !important;
}

/* Si los paneles están dentro de un wrapper, igual aplica separación */
#launchpanel .panel + .panel,
#launchpanel .card + .card {
  margin-top: 16px !important;
}

/* Evita que el borde “toque” visualmente: padding extra dentro del contenedor */
#launchpanel {
  padding-bottom: 6px;
}

/* Chips/botones de rutas: que no queden pegados */
#launchpanel .route-actions,
#launchpanel .route-chips,
#launchpanel .routes,
#launchpanel .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* =====================================================
   Phase 9.3 PRO Pack – Launch Panel GRID (authoritative)
   
   Why this exists:
   - Older CSS added `#launchpanel .card + .card { margin-top:16px !important; }`
     which breaks alignment INSIDE a grid row.
   - We keep the old rule for stacked panels elsewhere, but we MUST neutralize
     it inside the 2-up Launch Panel rows.
   ===================================================== */

.launch-grid{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:14px;
}

.launch-row{
  display:grid;
  gap:14px;
  align-items:stretch;
}

@media (min-width:980px){
  .launch-row{ grid-template-columns: 1fr 1fr; }
}

/* Kill legacy spacing-hotfix inside grid rows */
#launchpanel .launch-row > .card,
#launchpanel .launch-row .card + .card,
#launchpanel .launch-grid .card + .card{
  margin-top:0 !important;
}

/* Ensure consistent internal alignment for cards in the Launch Panel */
@media (min-width:980px){
  #launchpanel .launch-row > .card{
    display:flex;
    flex-direction:column;
  }
  #launchpanel .card__body{ flex: 1 1 auto; }
  #launchpanel .card__footer{ margin-top: 12px; }
}

/* Market/Activity tables should not deform columns */
#launchpanel .table-wrap{ overflow:auto; }

/* --- Brand / Navbar --- */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
.brand__logo{
  width:32px;
  height:32px;
  display:block;
}
.brand__name{
  font-weight:800;
  letter-spacing:0.06em;
  font-size:14px;
  line-height:1;
}

/* === Global full-page background (Option A) === */
body{
  position: relative;
}

body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("/bg-capy.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.40;
  transform: translateZ(0);
}

body::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 18% -10%, rgba(233,144,44,0.16), transparent 62%),
    radial-gradient(860px 520px at 82% 112%, rgba(11,58,43,0.26), transparent 62%),
    linear-gradient(180deg, rgba(5,12,10,0.30), rgba(7,17,14,0.42) 55%, rgba(5,11,9,0.52) 100%);
}

/* === Navbar brand image (Option A) === */
.brand{
  padding: 8px 10px;
}
.brand__dot{display:none}
.brand__name{display:none}

.brand__img{
  height: 110px;
  width: auto;
  display: block;
  border-radius: 10px; /* mantiene look "badge" */
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}

@media (max-width: 900px){
  .nav__inner{height: 86px;}
  .brand__img{height: 88px;}
}

@media (max-width: 520px){
  .nav__inner{height: 78px;}
  .brand__img{height: 64px;}
}

/* =========================
   Phase 8 – Look & Feel PRO + Trust UI
   Additive layer (does NOT change base-path).
   ========================= */

:root{
  --trust-verified:#0F9D58;
  --trust-warn:#F4B400;
  --trust-risk:#DB4437;
  --trust-blue:#1A73E8;
  --glass: rgba(255,255,255,0.06);
}

/* Trust badge + pills */
.trust-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.trust-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.04);
  font-weight:800;
  letter-spacing:.35px;
  color:rgba(242,245,244,0.92);
}

.trust-dot{
  width:10px;height:10px;border-radius:50%;
  background:var(--trust-warn);
  box-shadow:0 0 18px rgba(244,180,0,0.55);
}

.trust-badge.is-verified{
  border-color:rgba(15,157,88,0.45);
  background:rgba(15,157,88,0.10);
  color:var(--trust-verified);
}
.trust-badge.is-verified .trust-dot{
  background:var(--trust-verified);
  box-shadow:0 0 18px rgba(15,157,88,0.75);
  animation:trustGlow 2.8s ease-in-out infinite;
}

.trust-badge.is-warn{
  border-color:rgba(244,180,0,0.45);
  background:rgba(244,180,0,0.10);
  color:rgba(244,180,0,0.95);
}
.trust-badge.is-warn .trust-dot{
  background:var(--trust-warn);
  box-shadow:0 0 18px rgba(244,180,0,0.75);
}

@keyframes trustGlow{
  0%,100%{filter:drop-shadow(0 0 0 rgba(15,157,88,0.0))}
  50%{filter:drop-shadow(0 0 10px rgba(15,157,88,0.55))}
}

.pill-dot{
  width:10px;height:10px;border-radius:999px;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(233,144,44,0.12);
}

/* Trust score bar */
.trust-score{
  margin-top:16px;
  max-width:760px;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:16px;
  padding:14px 14px 12px;
}

.trust-score__row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.trust-score__value{font-weight:900;font-size:18px}
.trust-score__hint{margin-top:10px}

.trust-bar{
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.10);
  overflow:hidden;
}
.trust-bar__fill{
  height:100%;
  width:0%;
  background:linear-gradient(90deg, rgba(244,180,0,1), rgba(15,157,88,1));
  transition:width .85s ease;
}

/* Safety checklist */
.checklist{
  display:grid;
  gap:10px;
  margin-top:10px;
}
.check{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
}
.check i{
  width:18px;height:18px;flex:0 0 18px;
  border-radius:6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(15,157,88,0.14);
  border:1px solid rgba(15,157,88,0.28);
  color:var(--trust-verified);
  font-style:normal;
  font-weight:900;
  margin-top:1px;
}

/* Modal */
.modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:200;
}
.modal.is-open{display:flex}
.modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.62);
  backdrop-filter: blur(4px);
}
.modal__card{
  position:relative;
  width:min(620px, 100%);
  border-radius:18px;
  background:rgba(0,0,0,0.62);
  border:1px solid rgba(255,255,255,0.14);
  box-shadow:0 30px 90px rgba(0,0,0,0.55);
  padding:18px;
}
.modal__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.modal__title{font-size:18px;font-weight:900;margin:0}
.modal__x{
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.05);
  color:rgba(242,245,244,0.9);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
}
.modal__x:hover{transform:translateY(-1px)}
.modal__body{margin-top:12px}
.modal__row{
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
  padding:8px 0;border-top:1px solid rgba(255,255,255,0.08);
}
.modal__row:first-child{border-top:none}
.modal__footer{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.modal__note{opacity:.78;font-size:13px;margin-top:10px}

/* Live dashboard cards */
.grid3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
@media (max-width:980px){ .grid3{grid-template-columns:1fr} }

.panel{
  background:linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border:1px solid rgba(255,255,255,0.08);
  border-radius:var(--radius-lg);
  box-shadow:0 20px 60px rgba(0,0,0,0.22);
  padding:16px;
}
.panel__k{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:rgba(242,245,244,0.68);font-weight:800}
.panel__v{margin-top:8px;font-size:22px;font-weight:900}

/* Embedded chart wrapper */
.embed{
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.03);
}
.embed iframe{width:100%;height:520px;border:0;display:block}
@media (max-width:700px){ .embed iframe{height:560px} }

/* =========================
   Phase 8.2 – Hero Polish (PRO)
   Additive overrides only
   ========================= */

.hero h1{
  letter-spacing:-0.02em;
  line-height:1.05;
  max-width: 920px;
}

.hero__lead{
  max-width: 820px;
  font-size: 18px;
  line-height: 1.55;
  opacity: .92;
}

@media (max-width: 720px){
  .hero h1{ font-size: 42px; }
  .hero__lead{ font-size: 16px; }
}

/* Make trust row feel more premium */
.trust-row{
  padding: 10px 0 6px;
}

/* Pills: cleaner + consistent */
.pill{
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.pill:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}

/* Buttons: more professional hover */
.btn{
  transition: transform .12s ease, filter .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.btn:active{
  transform: translateY(0px);
}

/* Trust score card: tighter + glass */
.trust-score{
  padding: 14px 16px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 70px rgba(0,0,0,0.28);
}

.trust-score__row{
  margin-bottom: 12px;
}

.trust-score__value{
  font-size: 20px;
  letter-spacing: -0.01em;
}

.trust-bar{
  height: 9px;
  border-radius: 999px;
}

.trust-bar__fill{
  border-radius: 999px;
}

/* Badge: stronger contrast */
.trust-badge{
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}
.trust-badge.is-verified{
  box-shadow: 0 0 0 4px rgba(15,157,88,0.10);
}
.trust-badge.is-warn{
  box-shadow: 0 0 0 4px rgba(244,180,0,0.10);
}
/* Capitoken — Global Styles (Brand palette: Deep Green + Gold) */

:root{
  --brand-green-900:#023125;
  --brand-green-800:#0b3a2b;
  --brand-gold:#e9902c;
  --brand-amber:#b55d09;
  --brand-muted:#9daaa5;

  --bg:#050c0a;
  --bg2:#07110e;

  --text:#f2f5f4;
  --muted:rgba(242,245,244,0.72);

  --panel:rgba(255,255,255,0.04);
  --panel2:rgba(255,255,255,0.06);
  --stroke:rgba(255,255,255,0.08);
  --stroke2:rgba(255,255,255,0.12);

  --shadow:rgba(0,0,0,0.35);

  /* site-wide accent */
  --accent:var(--brand-gold);
  --accent2:var(--brand-green-800);
  --accent3:var(--brand-amber);

  --radius-lg:18px;
  --radius-md:14px;
  --radius-sm:12px;

  --container:1120px;
  --nav-offset:190px;
}


*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  overflow-x:hidden;

  background:
    radial-gradient(900px 520px at 18% -10%, rgba(233,144,44,0.16), transparent 62%),
    radial-gradient(860px 520px at 82% 112%, rgba(11,58,43,0.26), transparent 62%),
    linear-gradient(180deg, var(--bg), var(--bg2) 55%, #050b09 100%);
}

img{display:block;max-width:100%;height:auto}
a{color:var(--accent);text-decoration:none}
a:hover{color:rgba(233,144,44,0.85)}
a[aria-disabled="true"]{pointer-events:none;opacity:.55}

.container{
  width:min(var(--container), calc(100% - 36px));
  margin:0 auto;
}

section{padding:24px 0}
.section{padding:24px 0}

/* separators */
.hr{
  border:none;
  border-top:1px solid rgba(255,255,255,0.06);
  margin:28px 0;
}

/* Nav */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(10px);
  background:linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.18));
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.nav__inner{
  height:96px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:12px;
}
.brand:hover{background:rgba(255,255,255,0.04)}
.brand__dot{
  width:10px;height:10px;border-radius:999px;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(233,144,44,0.12);
}
.brand__name{font-weight:700;letter-spacing:.2px}

.nav__links{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav__links a{
  color:rgba(242,245,244,0.86);
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
}
.nav__links a:hover{
  background:rgba(255,255,255,0.04);
  border-color:rgba(255,255,255,0.06);
  color:var(--text);
}

/* Hero */
.hero{padding-top:22px;padding-bottom:10px}
.hero__kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  color:rgba(242,245,244,0.88);
  font-size:13px;
}
.pill__dot{
  width:10px;height:10px;border-radius:999px;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(233,144,44,0.12);
}
.hero h1{
  margin:14px 0 10px;
  font-size:clamp(38px, 4.4vw, 56px);
  line-height:1.05;
  letter-spacing:-0.02em;
}
.hero__lead{
  max-width:760px;
  color:var(--muted);
  line-height:1.55;
  margin:0 0 18px;
}

/* Actions */
.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:8px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.04);
  color:var(--text);
  font-weight:650;
  transition:transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover{
  background:rgba(255,255,255,0.06);
  border-color:rgba(255,255,255,0.14);
  transform:translateY(-1px);
}
.btn:not(.btn--primary):hover{
  color:var(--accent);
}
.btn--primary{
  background:linear-gradient(180deg, rgba(233,144,44,1), rgba(181,93,9,1));
  border-color:rgba(0,0,0,0.18);
  color:#0a130f;
  box-shadow:0 10px 26px rgba(233,144,44,0.18);
}
.btn--primary:hover{box-shadow:0 14px 34px rgba(233,144,44,0.22)}
.btn--ghost{
  background:rgba(255,255,255,0.03);
  border-color:rgba(255,255,255,0.08);
  color:rgba(242,245,244,0.80);
}

/* Cards + grids */
.card{
  background:linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border:1px solid rgba(255,255,255,0.08);
  border-radius:var(--radius-lg);
  box-shadow:0 20px 60px rgba(0,0,0,0.22);
  padding:18px;
}

.grid{display:grid;gap:14px}
.col-12{grid-column:span 12}
.col-6{grid-column:span 6}
.col-4{grid-column:span 4}

@media (min-width:980px){
  .grid{grid-template-columns:repeat(12,1fr)}
}
@media (max-width:979px){
  .grid{grid-template-columns:1fr}
  .col-12,.col-6,.col-4{grid-column:auto}
}

/* Typography helpers */
.small{font-size:13px;color:rgba(242,245,244,0.72)}
h2{margin:0 0 8px;font-size:28px;letter-spacing:-0.01em}
h3{margin:0 0 6px;font-size:18px}

/* Mono helpers used in index.astro */
.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: .2px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  color:rgba(242,245,244,0.88);
  font-size:13px;
}

/* Key-value rows used in tokenomics */
.kv{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:8px 0;
  border-top:1px solid rgba(255,255,255,0.06);
}
.kv:first-child{border-top:none}

/* Table used in Recent Activity */
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:640px;
}
.table th,.table td{
  text-align:left;
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,0.06);
  color:rgba(242,245,244,0.86);
}
.table th{
  font-size:11px;
  color:rgba(242,245,244,0.68);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.table tbody tr:hover td{
  background:rgba(255,255,255,0.03);
}

/* Footer */
.footer{
  margin-top:36px;
  padding:18px 0 26px;
  border-top:1px solid rgba(255,255,255,0.06);
  color:rgba(242,245,244,0.65);
}
/* ===== Launch Panel hard spacing fix ===== */
#launchpanel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#launchpanel > section,
#launchpanel > .card {
  margin: 0 !important;
}
/* === spacing-hotfix-v12 (Launch Panel + cards) === */

/* Secciones dentro de Launch Panel: fuerza separación entre paneles apilados */
#launchpanel > * + * {
  margin-top: 16px !important;
}

/* Si los paneles están dentro de un wrapper, igual aplica separación */
#launchpanel .panel + .panel,
#launchpanel .card + .card {
  margin-top: 16px !important;
}

/* Evita que el borde “toque” visualmente: padding extra dentro del contenedor */
#launchpanel {
  padding-bottom: 6px;
}

/* Chips/botones de rutas: que no queden pegados */
#launchpanel .route-actions,
#launchpanel .route-chips,
#launchpanel .routes,
#launchpanel .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* --- Brand / Navbar --- */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
.brand__logo{
  width:32px;
  height:32px;
  display:block;
}
.brand__name{
  font-weight:800;
  letter-spacing:0.06em;
  font-size:14px;
  line-height:1;
}

/* =========================
   Phase 8.4 – Icon System (SVG)
   Public assets in /public/icons
   ========================= */
.icon{width:18px;height:18px;display:inline-block;vertical-align:-3px}
.icon--sm{width:16px;height:16px;vertical-align:-3px}
.icon--lg{width:20px;height:20px;vertical-align:-4px}
.iconwrap{display:inline-flex;align-items:center;gap:8px}
.icon-verified{color:var(--trust-verified)}
.icon-warn{color:var(--trust-warn)}
.icon-risk{color:var(--trust-risk)}
.icon-neutral{color:rgba(242,245,244,0.86)}

/* =========================
   Phase 9 – Trading Venues (DEX/CEX)
   ========================= */
.section__head{margin-bottom:14px}
.venues{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:14px}
@media(max-width:900px){.venues{grid-template-columns:1fr}}

.venue-block{
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 22px 80px rgba(0,0,0,0.28);
}

.venue-title{
  font-weight:900;
  letter-spacing:-0.01em;
  margin-bottom:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.venue-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
@media(max-width:520px){.venue-grid{grid-template-columns:1fr}}

.venue-tile{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  text-decoration:none;
  color: inherit;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
}
.venue-tile:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 14px 50px rgba(0,0,0,0.22);
}

.venue-tile.is-disabled{
  opacity: .62;
  cursor: not-allowed;
}
.venue-tile.is-disabled:hover{
  transform:none;
  box-shadow:none;
  border-color: rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}

/* Icon wrapper: aumenta visibilidad y evita glitches cuando el favicon falla */
.venue-iconwrap{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}

.venue-icon{
  width:26px;
  height:26px;
  border-radius: 8px;
  display:block;
  object-fit: contain;
  image-rendering: auto;
  /* Mejora contraste sobre fondos oscuros sin cambiar colores del icono */
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

/* Simple-icons SVGs are monochrome; invert them for visibility on dark UI */
.venue-icon.is-mono{
  filter: invert(1) drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

.venue-icon-fallback{
  width:26px;
  height:26px;
  border-radius: 8px;
  display:grid;
  place-items:center;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 12px;
  color: rgba(255,255,255,0.92);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.14);
}

.venue-meta{display:flex;flex-direction:column;gap:2px;min-width:0}
.venue-name{font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.venue-note{opacity:.82}
.venue-hint{margin-top:10px;opacity:.75}

/* =========================
   Phase 9 – Layout priority helpers
   ========================= */
/* Keep legacy id-specific offsets aligned with global sticky header */
#venues{ scroll-margin-top: calc(var(--nav-h) + 18px); }
.section{ padding-top: 34px; padding-bottom: 34px; }
.section + .section{ border-top: 1px solid rgba(255,255,255,0.06); }

/* =========================
   Phase 9.3 – Launch Panel layout (PRO aligned)
   ========================= */

/* Grid grouped into two rows in markup (.launch-row) */
.launch-grid{display:grid;gap:14px;}
.launch-row{display:grid;gap:14px;align-items:stretch;}

/* Desktop: 2 columns inside each row */
@media (min-width: 980px){
  .launch-row{grid-template-columns:repeat(2, minmax(0, 1fr));}
}

/* Mobile: 1 column */
@media (max-width: 979px){
  .launch-row{grid-template-columns:1fr;}
}

/* Cards stretch to match tallest card in the row */
.launch-row > .card{
  align-self:stretch;
  display:flex;
  flex-direction:column;
}

/* New internal structure for perfect alignment */
.card__body{flex:1 1 auto;}
.card__footer{margin-top:10px;}

/* Actions spacing (no invalid CSS) */
.card__footer .actions{margin-top:10px;}
.card__footer .actions:first-child{margin-top:0;}

/* Table containment so it doesn't break the grid */
.table-wrap{overflow:auto;}
@media (min-width: 980px){ .table{min-width:520px;} }
@media (max-width: 979px){ .table{min-width:560px;} }

/* =====================================================
   Phase 9.3 – CRITICAL alignment guard
   Neutralize legacy spacing hotfixes that push the 2nd card down
   (e.g., `#launchpanel .card + .card { margin-top:16px !important; }`).
   ===================================================== */

/* inside the Launch Panel grid, cards must NOT get vertical margins */
#launchpanel .launch-row > .card{ margin-top:0 !important; }
#launchpanel .launch-row .card + .card{ margin-top:0 !important; }



/* ===== Phase 9.4 (additive) – match existing card/table styles ===== */
#launchpanel .table td.buy,
#launchpanel .table td.sell{
  font-weight: 800;
}

/* Keep same spacing rules as top cards */
#launchpanel .launch-grid{
  gap: 14px;
}
#launchpanel .launch-row{
  gap: 14px;
}

/* Ensure cards inside launch grid don't get any legacy margin-top stacking */
#launchpanel .launch-row > .card{
  margin-top: 0 !important;
}

/* =========================================================
   Capitoken UI Patch v6 — Stats row alignment + zoom drift fix
   - Keeps Trust as a compact tile (no hero bar)
   - Prevents horizontal drift when zooming out
   - Fixes favicon "double background" tiles
   ========================================================= */

/* Prevent horizontal drift/overflow when zooming */
html, body{
  max-width: 100%;
  overflow-x: hidden;
}

/* Make sure main containers remain centered */
.container{
  margin-left: auto;
  margin-right: auto;
}

/* If any old trust progress bar survives in markup, hide it (we use the Trust tile now) */
.trust-bar,
.trust-bar__fill{
  display: none !important;
}

/* Stat tiles row (Chain / Status / Focus / Symbol / Trust) */
.stats-row{
  display: flex;
  gap: 12px;
  align-items: stretch;
  width: 100%;
}

/* Desktop: keep on one line; smaller screens: wrap naturally */
@media (min-width: 1100px){
  .stats-row{ flex-wrap: nowrap; }
}
@media (max-width: 1099px){
  .stats-row{ flex-wrap: wrap; }
}

/* Match vertical rhythm so Trust tile aligns with others */
.stat-tile{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 14px 12px;
  border-radius: 12px;
}
.stat-tile .small{
  line-height: 1.1;
  margin-bottom: 2px;
}
.stat-tile b,
.stat-tile strong{
  line-height: 1.15;
}

/* Accessible visually-hidden helper (used by Trust tile hint) */
.sr-only{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

/* Fix: remove extra background/border around favicons that already include their own tile */
.venue-icon{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  object-fit: contain;
}


/* === HERO: Inline mini boxes (left) + Trust Score panel (right) ===
   Authoritative layout for GitHub Pages build.
   Matches index.astro markup:
   .hero-stats-row > (.hero-stats-mini) + (.hero-trustbar)
   .hero-trustbar contains: .trustbar-head, .trustbar, .trustbar__fill, .trustbar-hint
*/

.hero-stats-row{
  display:flex;
  align-items:stretch;
  gap:12px;
  margin-top:14px;
  flex-wrap:nowrap;
}

.hero-stats-mini{
  display:flex;
  gap:12px;
  flex:0 0 auto;
  flex-wrap:nowrap;
}

/* Left mini boxes — premium */
.hero-stat{
  width: 160px;
  min-width: 160px;
  min-height: 96px;
  padding: 12px 12px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,0.33);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  backdrop-filter: blur(10px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.hero-stat .k{
  font-size:11px;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:rgba(242,245,244,0.62);
  margin-bottom:4px;
  line-height:1.1;
}

.hero-stat .v{
  font-size:14px;
  font-weight:650;
  color:rgba(242,245,244,0.92);
  line-height:1.2;
}

/* Trust Score panel (right) — aligned to TOP with the mini boxes */
.hero-trustbar{
  flex: 1 1 520px;
  min-width: 320px;
  max-width: none;
  padding: 12px 14px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  backdrop-filter: blur(10px);

  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.hero-trustbar .trustbar-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin: 0 0 10px 0;
}

.hero-trustbar .trustbar-label{
  font-size:11px;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:rgba(242,245,244,0.62);
  line-height:1.1;
}

.hero-trustbar .trustbar-value{
  display:flex;
  align-items:baseline;
  gap:6px;
  font-weight:800;
  font-size:16px;
  color:rgba(242,245,244,0.92);
  line-height:1.1;
}

.hero-trustbar .muted{
  font-weight:650;
  font-size:11px;
  color:rgba(242,245,244,0.55);
}

/* Force progress bar visible (protect against earlier overrides) */
.hero-trustbar .trustbar{
  display:block;
  height:8px !important;
  min-height:8px !important;
  border-radius:999px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.08);
  overflow:hidden;
  margin-top:0;
}

.hero-trustbar .trustbar__fill{
  display:block;
  height: 100% !important;
  min-height: 8px !important;
  border-radius: 999px;

  /* Orange → Yellow → Green (trust progression) */
  background: linear-gradient(
    90deg,
    #e9902c 0%,    /* orange */
    #f2c94c 50%,   /* yellow */
    #2ecc71 100%   /* green */
  );

  box-shadow:
    0 0 0 4px rgba(233,144,44,0.10),
    0 0 12px rgba(46,204,113,0.25); /* subtle green glow near high trust */

  transition: width .35s ease;
}

.hero-trustbar .trustbar-hint{
  margin-top:10px;
  font-size:13px;
  color:rgba(242,245,244,0.72);
  line-height:1.25;
}

@media (max-width: 980px){
  .hero-stats-row{flex-wrap:wrap;}
  .hero-stats-mini{flex-wrap:wrap;}
  .hero-trustbar{flex-basis:100%; min-width:0;}
}


/* =====================================================
   Phase 9 UX – Section Framing + Standardized Panel Titles
   Additive only: does not change paths or architecture.
   ===================================================== */

.section-block{
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.028));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  padding: 18px 18px 20px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
}

.section-block::before{
  content:"";
  position:absolute;
  left: 14px;
  right: 14px;
  top: 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(233,144,44,0.95), rgba(244, 212, 89, 0.92), rgba(15,157,88,0.90));
  opacity: 0.75;
}

.section-title{
  margin: 8px 0 6px;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: left;
}

/* Split section titles: White main title + orange kicker after a "/" */
.section-title--split{
  display: flex;
  align-items: baseline;
  gap: 0;
  flex-wrap: wrap;
}

.section-title--split .title-main{
  color: rgba(242,245,244,0.98);
}

.section-title--split .title-slash{
  margin: 0 10px;
  color: rgba(233,144,44,0.95);
  opacity: 0.92;
}

.section-title--split .title-kicker{
  font-size: 0.62em;
  font-style: italic;
  letter-spacing: 0.01em;
  color: rgba(233,144,44,0.95);
  opacity: 0.92;
}

/* Backwards compatibility (older tokenomics markup) */
.section-title--tokenomics{ display:flex; align-items: baseline; gap:12px; flex-wrap:wrap; }
.tokenomics-kicker{ font-size:0.62em; font-style: italic; letter-spacing:0.01em; color: rgba(233,144,44,0.95); opacity:0.92; }
.tokenomics-sep{ margin: 0 10px; color: rgba(233,144,44,0.95); opacity:0.92; }

/* A small subtitle under section titles, if present */
.section-block > .small,
.section-block .section__head .small{
  color: rgba(242,245,244,0.72);
}

/* Launch Panel / Venues top spacing refinement */
#launchpanel .section-title,
#venues .section-title{
  margin-top: 10px;
}

/* Standard title inside panels (Contract, DEX Pair, etc.) */
.card__title,
.venue-title{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(242,245,244,0.90);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.26);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  margin: 0 0 10px;
}

/* Keep compatibility with previous headings used in some cards */
#launchpanel .h3{ display:none; }
#launchpanel .label{ display:none; }

/* Make inner mini-notes consistent */
.note{ color: rgba(242,245,244,0.72); }

/* Remove any accidental black stroke outlines on inline SVG icons (safety net) */
.icon, svg.icon{ filter: none; }

@media (max-width: 720px){
  .section-block{ padding: 16px 14px 18px; border-radius: 20px; }
  .section-title{ text-align:left; }
}

/* =====================================================
   Tokenomics – Trust Ring Narrative (Phase 9 UX)
   Additive only.
   ===================================================== */

.tokenomics-wrap{
  display: grid;
  /* Two columns: left (message box + ring) and right (rule cards).
     Use explicit min/max so the two areas don't collide.
  */
  /* Slightly smaller minimums so the layout fits comfortably on common laptop widths */
  grid-template-columns: minmax(580px, 1fr) minmax(340px, 420px);
  gap: 34px;
  /* Center align to keep all three visual blocks equidistant */
  align-items: center;
}

/* Tokenomics: supply quick facts bar (from Whitepaper Key Facts) */
.tokenomics-supplybar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  /* Keep the supply bar visually centered under the title */
  justify-content:center;
  text-align:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(0,0,0,0.22);
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 14px 40px rgba(0,0,0,0.18);
}
.tokenomics-supplybar__label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:rgba(242,245,244,0.72);
}
.tokenomics-supplybar__value{
  font-weight:800;
  color:var(--accent);
}
.tokenomics-supplybar__sep{
  color:rgba(233,144,44,0.75);
}
.tokenomics-supplybar__meta{
  color:rgba(242,245,244,0.80);
}

.tokenomics-ring{
  position: relative;
  min-height: 420px;
  display: grid;
  /* Push the ring + notes down (more breathing room under the section title) */
  place-items: center;
  padding-bottom: 6px;
}

/* Stage keeps ring size stable and positions notes outside (crisp, no blur). */
.tokenomics-stage{
  position: relative;
  width: 340px;
  max-width: 340px;
  aspect-ratio: 1 / 1;
}

/* Ring + notes layout (notes sit beside the ring; fixed positions, no hover motion) */
.tokenomics-ringrow{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Bring bubbles closer to the ring (no negative offsets that can affect other sections) */
  gap: 24px;
  margin-left: 0;
}

/* Notes stack (left of ring): 4 bubbles, same width, veiled by default.
   Active bubble "slides right" when the matching ring segment is hovered.
*/
.tokenomics-notes-stack{
  width: 280px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  /* No negative margins: they were causing overlap/collisions */
  margin-right: 0;
}

/* Mascot + Single Message Box (unified) */
.tokenomics-mascot-card{
  width: 280px;
  max-width: 280px;
  height: 110px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
}
.tokenomics-mascot-img{
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35));
}

/* Big unified message box (replaces multiple visible boxes) */
.tokenomics-unibox{
  width: 290px;
  max-width: 290px;
  min-height: 420px; /* reach bottom beside the ring */
  border-radius: 18px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 18px 55px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  padding: 14px 14px;
}

/* Messages live inside the same box; only active one slides in */
.tok-msg{ position: absolute; inset: 18px; display: grid; align-content: start; }
.tok-msg__text{
  display:block;
  /* Make the left message box feel like a primary panel (not a tooltip) */
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(0,0,0,0.30);
  max-width: 100%;
  white-space: normal;
  word-break: normal;
  color: rgba(242,245,244,0.92);
  transform: translateX(-420px);
  transition: transform .28s ease;
}

/* Safety reset: hide all unless a state is active */
.tokenomics-ringrow[data-active="none"] .tok-msg__text{
  transform: translateX(-420px) !important;
}

/* Veil overlay to make "hidden" feel intentional */
.tokenomics-unibox::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0,0,0,0.74) 0%, rgba(0,0,0,0.40) 42%, rgba(0,0,0,0.0) 82%);
  opacity: 0.65;
  pointer-events:none;
}

/* Reveal only the active message */
.tokenomics-ringrow[data-active="community"] .tok-msg[data-whisper="community"] .tok-msg__text,
.tokenomics-ringrow[data-active="ops"] .tok-msg[data-whisper="ops"] .tok-msg__text,
.tokenomics-ringrow[data-active="growth"] .tok-msg[data-whisper="growth"] .tok-msg__text,
.tokenomics-ringrow[data-active="ambient"] .tok-msg[data-whisper="ambient"] .tok-msg__text,
.tokenomics-ringrow[data-active="fixed"] .tok-msg[data-whisper="fixed"] .tok-msg__text,
.tokenomics-ringrow[data-active="taxes"] .tok-msg[data-whisper="taxes"] .tok-msg__text,
.tokenomics-ringrow[data-active="renounce"] .tok-msg[data-whisper="renounce"] .tok-msg__text{
  transform: translateX(0);
}


.whisper--stack{
  width: 290px;
  max-width: 290px;
  overflow: hidden;
}

.whisper--stack .whisper__text{
  display: block;
  transform: translateX(-420px);
  transition: transform .28s ease;
}

/* Safety reset: never show any bubble text unless a specific state is active */
.tokenomics-ringrow[data-active="none"] .whisper--stack .whisper__text{
  transform: translateX(-420px) !important;
}

/* Veil overlay to make "hidden" state feel intentional */
.whisper--stack::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0,0,0,0.74) 0%, rgba(0,0,0,0.42) 40%, rgba(0,0,0,0.0) 78%);
  opacity: 0.72;
}

/* Reveal only the active bubble */
.tokenomics-ringrow[data-active="community"] .whisper--stack[data-whisper="community"] .whisper__text,
.tokenomics-ringrow[data-active="ops"] .whisper--stack[data-whisper="ops"] .whisper__text,
.tokenomics-ringrow[data-active="growth"] .whisper--stack[data-whisper="growth"] .whisper__text,
.tokenomics-ringrow[data-active="ambient"] .whisper--stack[data-whisper="ambient"] .whisper__text,
.tokenomics-ringrow[data-active="fixed"] .whisper--stack[data-whisper="fixed"] .whisper__text,
.tokenomics-ringrow[data-active="taxes"] .whisper--stack[data-whisper="taxes"] .whisper__text,
.tokenomics-ringrow[data-active="renounce"] .whisper--stack[data-whisper="renounce"] .whisper__text{
  transform: translateX(0);
}

.tokenomics-ringrow[data-active="community"] .whisper--stack[data-whisper="community"]::before,
.tokenomics-ringrow[data-active="ops"] .whisper--stack[data-whisper="ops"]::before,
.tokenomics-ringrow[data-active="growth"] .whisper--stack[data-whisper="growth"]::before,
.tokenomics-ringrow[data-active="ambient"] .whisper--stack[data-whisper="ambient"]::before,
.tokenomics-ringrow[data-active="fixed"] .whisper--stack[data-whisper="fixed"]::before,
.tokenomics-ringrow[data-active="taxes"] .whisper--stack[data-whisper="taxes"]::before,
.tokenomics-ringrow[data-active="renounce"] .whisper--stack[data-whisper="renounce"]::before{
  opacity: 0.12;
}

/* The ring uses a conic gradient to exaggerate 97% visually */
.trust-ring{
  --p-community: 97;
  --p-ops: 2;
  --p-growth: 1;

  position: relative;
  width: 340px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  padding: 16px;
  background:
    conic-gradient(
      rgba(15,157,88,0.95) 0deg,
      rgba(15,157,88,0.95) calc(var(--p-community) * 3.6deg),
      rgba(244, 212, 89, 0.92) calc(var(--p-community) * 3.6deg),
      rgba(244, 212, 89, 0.92) calc((var(--p-community) + var(--p-ops)) * 3.6deg),
      rgba(233,144,44,0.95) calc((var(--p-community) + var(--p-ops)) * 3.6deg),
      rgba(233,144,44,0.95) 360deg
    );
  box-shadow:
    0 30px 90px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  animation: none; /* no motion on the ring itself */
}

.trust-ring::after{
  content:"";
  position:absolute;
  inset: 18px;
  border-radius: 999px;
  background: rgba(0,0,0,0.34);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.trust-ring__core{
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px;
}

.trust-ring__pct{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(46px, 6vw, 64px);
}

.trust-ring__label{
  margin-top: 2px;
  font-weight: 800;
  font-size: 16px;
  color: rgba(242,245,244,0.92);
}

.trust-ring__sub{
  margin-top: 10px;
  color: rgba(242,245,244,0.70);
  max-width: 22ch;
}

/* (intentionally removed ring motion) */

.whisper{
  position: relative;
  z-index: 3;
  max-width: 34ch;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(0,0,0,0.46);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 18px 55px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.06);
  color: rgba(242,245,244,0.92);
  font-size: 12px;
  line-height: 1.25;
  opacity: 0.92;
}

/* Stack bubbles: no tails */
.whisper--stack::after{ display:none; }


.tokenomics-rules{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tokenomics-rule{
  padding: 14px;
}

.tokenomics-rule__top{
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.tokenomics-split{
  grid-column: 1 / -1;
  padding: 14px;
}

.tokenomics-split__row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.08);
  margin: 8px 0;
}

/* Reduce perceived "gap" between label and % */
.tokenomics-split__row span{ flex: 1; }
.tokenomics-split__row strong{ width: 56px; text-align: right; }

@media (max-width: 980px){
  .tokenomics-wrap{ grid-template-columns: 1fr; }
  .tokenomics-ring{ min-height: auto; }
  .tokenomics-stage{ width: 340px; max-width: 100%; }
  .trust-ring{ width: 340px; max-width: 100%; }
  .tokenomics-ringrow{ flex-direction: column; align-items: center; margin-left: 0; }
  .tokenomics-notes-stack{ width: 100%; max-width: 520px; }
  .whisper--stack{ width: 100%; max-width: 100%; }
  .whisper--stack .whisper__text{ transform: translateX(0); }
  .whisper--stack::before{ opacity: 0.12; }
}

@media (max-width: 520px){
  .tokenomics-rules{ grid-template-columns: 1fr; }
}


/* Tokenomics micro-tune V35: bring left whispers 2px closer to ring */
.tokenomics .tokenomics-notes-stack{
  margin-right: 0;
}

/* Title separator styling */
.section-title--tokenomics{
  display:flex;
  align-items:baseline;
  gap: 10px;
  flex-wrap:wrap;
}
.section-title--tokenomics .tokenomics-sep{
  color: rgba(255, 156, 50, .95);
  font-style: italic;
  font-weight: 700;
}


/* =====================================================
   Phase 9.6 – Community Split (X + YouTube)
   Additive only — does not affect Trust/Launch layouts.
   ===================================================== */

.community-grid{
  align-items: stretch;
}

.community-card{
  display:flex;
  flex-direction:column;
}

.community-embed{
  border-radius: 16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
}

/* X embed: keep readable and avoid giant heights */
.community-embed--x{
  padding: 12px;
  min-height: 360px;
}
.community-embed--x .twitter-timeline{
  width: 100% !important;
}

/* YouTube embed: responsive 16:9 */
.yt-embed{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,0.25);
}
.yt-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  display:block;
}

/* Placeholder when YT_VIDEO_ID is not set */
.yt-placeholder{
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.14);
}

/* Mobile refinement: make embeds comfortable */
@media (max-width: 979px){
  .community-embed--x{ min-height: 420px; }
}

/* =====================================================
   Phase 10 – Navbar polish + Anchor offset fix
   Goals:
   1) Bigger, more dominant navbar (logo + menu) without breaking layout.
   2) Nav links glow/orange on hover.
   3) Clicking Launch/Panel/Tokenomics/etc. should not hide section titles
      behind the sticky navbar.
   ===================================================== */

/*
  Sticky header offset
  - --nav-top-h controls ONLY the top row sizing (logo + menu)
  - --nav-h is the TOTAL sticky header height (top row + socials + ticker)
    and is used for anchor offsets. It is auto-updated by JS in BaseLayout.
*/
:root{
  --nav-top-h: 112px;
  --nav-h: 190px; /* safe fallback if JS is blocked */
}

/* Make anchors respect sticky navbar */
html{ scroll-padding-top: calc(var(--nav-h) + 18px); }

/* Apply to any element with an id (not only <section>) */
[id]{ scroll-margin-top: calc(var(--nav-h) + 18px); }

/* Navbar overall presence (top row only) */
.nav__inner{ height: var(--nav-top-h); }

/* Brand/logo sizing (keep proportion) */
.brand{
  padding: 10px 12px;
  border-radius: 16px;
  min-width: 250px;
  background: rgba(0,0,0,0.26);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 14px 44px rgba(0,0,0,0.30);
}
.brand:hover{ background: rgba(233,144,44,0.06); }

.brand__img{
  height: 86px;
  width: auto;
  max-height: calc(var(--nav-top-h) - 22px);
  border-radius: 12px;
}

/* Menu sizing + orange hover */
.nav__links a{
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 12px;
}

/* Keep many nav items readable when they wrap */
.nav__links{ gap: 8px; }

.nav__links a:hover{
  color: var(--accent);
  background: rgba(233,144,44,0.08);
  border-color: rgba(233,144,44,0.18);
  box-shadow: 0 10px 26px rgba(233,144,44,0.10);
}

@media (max-width: 900px){
  :root{ --nav-h: 124px; }
  .brand{ min-width: 240px; padding: 12px 14px; border-radius: 16px; }
  .brand__img{ height: 74px; }
  .nav__links a{ font-size: 14px; padding: 10px 12px; }
}

@media (max-width: 520px){
  :root{ --nav-h: 108px; }
  .brand{ min-width: 200px; padding: 10px 12px; border-radius: 14px; }
  .brand__img{ height: 64px; }
  .nav__links{ gap: 6px; }
}

/* =========================================================
   Roadmap (Expandable Panels) — Phase Cards
   NOTE: Styles are scoped to .rm-* to avoid side effects.
   ========================================================= */
.rm-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:18px;
  margin-top:18px;
}
@media (max-width: 880px){
  .rm-grid{ grid-template-columns: 1fr; }
}

.rm-card{
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  overflow:hidden;
}

.rm-summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  padding:18px 18px 14px;
}
.rm-summary::-webkit-details-marker{ display:none; }

.rm-top{ min-width: 0; }
.rm-phase{
  font-size:11px;
  color: rgba(255,255,255,0.65);
  margin-bottom:6px;
}
.rm-title{
  font-size:22px;
  font-weight:800;
  letter-spacing:-0.02em;
  margin-bottom:8px;
}
.rm-obj{
  font-size:14px;
  color: rgba(255,255,255,0.78);
  line-height:1.35;
}
.rm-obj-label{
  color: rgba(255,255,255,0.55);
  margin-right:6px;
}

.rm-cta{
  display:flex;
  align-items:center;
  gap:10px;
  color: rgba(233,144,44,0.95); /* orange accent */
  font-weight:800;
  white-space:nowrap;
}
.rm-chevron{
  display:inline-block;
  transform: rotate(0deg);
  transition: transform .18s ease;
  opacity:.95;
}
.rm-card[open] .rm-chevron{ transform: rotate(180deg); }

.rm-body{
  padding: 0 18px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.rm-points{
  margin: 14px 0 10px;
  padding-left: 18px;
  color: rgba(255,255,255,0.80);

  font-size: 14.5px;
}
.rm-points li{ margin: 8px 0; line-height:1.45; }

.rm-points{
  font-size: 14px;
}

.rm-note{
  display: inline;

  color: rgba(255,255,255,0.74);
  font-weight: 500;
}

.rm-points strong{ color: rgba(255,255,255,0.92); }

.rm-text p{
  margin: 10px 0;
  color: rgba(255,255,255,0.74);
  line-height:1.65;
}
.rm-note{
  display: inline;

  padding:10px 12px;
  border-radius: 12px;
  background: rgba(25, 230, 211, 0.10);
  border: 1px solid rgba(25, 230, 211, 0.22);
  color: rgba(255,255,255,0.86);
}

/* Small accessibility helper (if not already present) */
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}


/* ===============================
   NAV/Ticker patches (v53)
   - Social icons: force SVG display (no letters)
   - Ticker: start from right edge (variable-based)
   - Alternate colors: white/yellow
   - Pills: green active dots
   =============================== */

:root{
  --ok: #19c37d;
  --ok-glow: rgba(25,195,125,0.18);
}

/* Make Verify/Mainnet pills green */
.pill-dot{
  background: var(--ok) !important;
  box-shadow: 0 0 0 4px var(--ok-glow) !important;
}

/* Socials row */
.nav--stack .nav__meta{
  border-top:1px solid rgba(255,255,255,0.06);
}
.nav--stack .nav__meta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 0;
}
.nav__socials{display:inline-flex;align-items:center;gap:8px;}
.social__icon{
  width:32px;height:32px;border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(0,0,0,0.22);
  display:inline-flex;align-items:center;justify-content:center;
  text-decoration:none;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
}
.social__icon:hover{
  transform: translateY(-1px);
  border-color: rgba(242,201,76,0.28);
  background: rgba(0,0,0,0.18);
  box-shadow: 0 10px 22px rgba(0,0,0,0.32);
}
.social__svg{display:inline-flex;align-items:center;justify-content:center;}
.social__svg svg{width:15px;height:15px;fill:rgba(255,255,255,0.9);display:block;}
.social__img{width:18px;height:18px;border-radius:4px;display:block;}
.social__icon.is-disabled{opacity:.35;pointer-events:none;}
.nav__clock{
  white-space:nowrap;
  padding:6px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.22));
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  line-height:1.05;
}

.nav__clock .clock__time{
  font-size:13px;
  font-weight:900;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.95);
}

.nav__clock .clock__sec{
  font-size:11px;
  font-weight:800;
  opacity:0.75;
}

.nav__clock .clock__date{
  margin-top:4px;
  font-size:11px;
  font-weight:650;
  color: rgba(255,255,255,0.72);
}

.nav__clock .clock__tz{
  opacity:0.7;
}

/* Ticker aligned */
.nav--stack .nav__ticker{
  border-top:1px solid rgba(255,255,255,0.06);
  border-bottom:1px solid rgba(255,255,255,0.06);
  background:rgba(0,0,0,0.28);
}
.tickerbar__inner{
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 0;
}
.tickerbar__tag{
  display:inline-flex;align-items:center;justify-content:center;
  padding:5px 10px;border-radius:999px;
  font-weight:800;font-size:11px;letter-spacing:.03em;
  background:rgba(242,201,76,0.16);
  border:1px solid rgba(242,201,76,0.35);
  color:rgba(242,201,76,0.95);
}
.tickerbar__viewport{position:relative;overflow:hidden;flex:1;min-width:0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.tickerbar__track{
  display:inline-flex;align-items:center;gap:28px;width:max-content;
  will-change:transform;
  --marquee-start: 0px;
  --marquee-end: -600px;
}
.tickerbar__track.is-animating{
  animation: ticker-marquee-var 22s linear infinite;
}
@keyframes ticker-marquee-var{
  0%{ transform: translateX(var(--marquee-start)); }
  100%{ transform: translateX(var(--marquee-end)); }
}
.tickerbar__viewport:hover .tickerbar__track.is-animating{ animation-play-state:paused; }

.ticker{white-space:nowrap;font-size:13px;color:rgba(255,255,255,0.92);}
.ticker--clone{padding-left:28px;}
.ticker__item{color:#fff;font-weight:650;}
.ticker__item--alt{color:var(--brand-gold);font-weight:650;}
.ticker__item--capi{
  display:inline-flex;align-items:center;
  padding:4px 10px;
  border-radius:999px;
  font-weight:900;
  color:rgba(255,255,255,0.96);
  background: linear-gradient(90deg, rgba(25,195,125,0.18), rgba(233,144,44,0.14));
  border: 1px solid rgba(25,195,125,0.28);
  box-shadow: 0 10px 25px rgba(25,195,125,0.12);
}

.ticker__sep{color:rgba(255,255,255,0.55);}


/* =========================================================
   Roadmap (WOW) — Add-ons (safe)
   - Keeps existing .rm-* base intact
   - Adds image placeholders + status pills + legal note
   ========================================================= */

.rm-card{
  box-shadow: 0 22px 70px rgba(0,0,0,0.45);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.rm-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.075);
}

.rm-status{
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
}

.rm-status[data-status="ACTIVE"]{
  border-color: rgba(25, 230, 211, 0.38);
  background: rgba(25, 230, 211, 0.12);
  color: rgba(107, 243, 230, 0.98);
}
.rm-status[data-status="NEXT"]{
  border-color: rgba(233,144,44,0.38);
  background: rgba(233,144,44,0.12);
  color: rgba(255, 214, 153, 0.96);
}
.rm-status[data-status="PLANNED"]{
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.70);
}
.rm-status[data-status="COMMUNITY-LED"]{
  border-color: rgba(153,119,255,0.40);
  background: rgba(153,119,255,0.12);
  color: rgba(205, 190, 255, 0.98);
}

.rm-objective{
  margin: 10px 0 0 0;
  color: rgba(255,255,255,0.74);
  line-height: 1.55;
  font-size: 14px;
}

.rm-obj-label{
  color: rgba(255,255,255,0.92);
  font-weight: 900;
  margin-right: 6px;
}

.rm-media{
  /* more vertical room; fill horizontally */
  position: relative;
  height: 280px; /* more vertical room */
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  border-radius: 12px;
  background: rgba(0,0,0,0.18);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* fill horizontally */
}


.rm-media::after{ content:""; display:none; }

.rm-media--1{
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.62)),
    url("img/roadmap/roadmap-phase-1.webp");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.rm-media--2{
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.62)),
    url("img/roadmap/roadmap-phase-2.webp");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.rm-media--3{
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.62)),
    url("img/roadmap/roadmap-phase-3.webp");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.rm-media--4{
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.62)),
    url("img/roadmap/roadmap-phase-4.webp");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.rm-subhead{
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 900;
  margin: 14px 0 10px;
}

.rm-legal{
  margin-top: 16px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(0,0,0,0.42), rgba(0,0,0,0.30));
  position: relative;
  overflow: hidden;
}

.rm-legal::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(233,144,44,0.65);
}

.rm-legal__icon{
  width: 28px;
  height: 28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 10px;
  background: rgba(233,144,44,0.14);
  border: 1px solid rgba(233,144,44,0.26);
}

.rm-legal__text strong{ color: rgba(255,255,255,0.94); }
.rm-legal__text .small{ color: rgba(255,255,255,0.68); line-height:1.45; }



/* Roadmap headings (Tokenomics-style) */
.rm-headrow{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}

.rm-heading{
  margin: 0;
  line-height: 1.15;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.rm-heading__phase{
  color: var(--accent);
  font-weight: 800;
}

.rm-heading__dash{
  color: rgba(255,255,255,0.65);
  margin: 0 8px;
  font-weight: 700;
}

.rm-heading__title{
  color: #fff;
  font-weight: 800;
}

/* Objective label in accent */
.rm-obj-label{
  color: var(--accent);
  font-weight: 800;
}

/* Status pills (fintech clean) */
.rm-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.22);
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
}

.rm-status[data-status="ACTIVE"]{
  border-color: rgba(0, 255, 174, 0.22);
  background: rgba(0, 255, 174, 0.10);
}

.rm-status[data-status="COMPLETED"]{
  border-color: rgba(88, 214, 141, 0.26);
  background: rgba(88, 214, 141, 0.10);
}

.rm-status[data-status="IN-PROGRESS"]{
  border-color: rgba(241, 196, 15, 0.26);
  background: rgba(241, 196, 15, 0.10);
}

.rm-status[data-status="COMMUNITY-LED"]{
  border-color: rgba(155, 89, 182, 0.26);
  background: rgba(155, 89, 182, 0.10);
}

/* Roadmap cards (less shadow, cleaner borders) */
.rm-card{
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: none;
}

.rm-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.14);
}

/* Spacing tweaks */
.rm-card > .rm-top{
  padding: 18px 18px 10px;
}
.rm-top{
  padding-bottom: 10px;
}

.rm-objective{
  margin-top: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.86);
}

.rm-points li strong{
  font-weight: 700;
}

/* Roadmap title styling */
.section-title--split .title-main{
  color: #fff;
}
.section-title--split .title-kicker{
  color: var(--accent);
}

/* Legal box refinement */
.rm-legal{
  margin-top: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.28);
  box-shadow: none;
}

/* Responsive */
@media (max-width: 840px){
  .rm-heading{ font-size: 20px; }
  .rm-media{ height: 240px; }
}


.rm-card .rm-subhead{ color: var(--accent) !important; }


/* === ROADMAP COSMETIC FIX v54 === */
/* Removes boxes from Key Notes descriptions */

/* Key Notes header */
.rm-subhead {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Key Notes list */
.rm-notes {
  list-style: disc;
  padding-left: 18px;
}

/* Key Notes title */
.rm-notes li strong {
  color: #ffffff;
  font-weight: 600;
}

/* Key Notes description (NO boxes) */
.rm-note {
  background: none;
  border: none;
  padding: 0;
  margin-left: 6px;
  border-radius: 0;
  color: rgba(255,255,255,0.72);
  font-weight: 400;
}

/* Legal box final polish */
.rm-legal {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.02)
  );
  border-radius: 10px;
}


/* --- NAV: Renounce Countdown (Token Contract) --- */
#navRenounce{
  display:flex;
  align-items:center;
  gap:10px;
  padding:6px 10px;
  border-radius:14px;
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.10);
}

#navRenounce .renounce__title{
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .85;
  margin-right: 6px;
  white-space: nowrap;
}

#navRenounce .renounce__label{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
}

#navRenounce .renounce__timer{
  display:flex;
  gap:6px;
  align-items:stretch;
}

#navRenounce .renounce__box{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:4px 8px;
  border-radius:12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  min-width: 44px;
}

#navRenounce .renounce__num{
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

#navRenounce .renounce__unit{
  font-size: 10px;
  letter-spacing: .08em;
  opacity: .85;
  margin-top: 2px;
}

/* On smaller widths, keep it compact */
@media (max-width: 720px){
  #navRenounce .renounce__title{ display:none; }
  #navRenounce{ padding:5px 8px; gap:8px; }
  #navRenounce .renounce__box{ min-width: 40px; padding:4px 7px; }
}
