/* MesaDados PT — mesadados.pt
   Bento dashboard aesthetic; Geist + Geist Mono;
   electric indigo accent on dark canvas; light theme toggle. */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap');

:root {
  /* dark default */
  --bg:        #0a0a0e;
  --bg-1:      #111116;
  --bg-2:      #16161d;
  --bg-3:      #1c1c25;
  --line:      #232330;
  --line-2:    #2c2c3a;
  --ink:       #f5f5f7;
  --ink-2:     #c7c7d1;
  --ink-3:     #82828f;
  --ink-4:     #545460;

  --accent:       #5b8def;
  --accent-2:     #7fa6ff;
  --accent-deep:  #3a6cd6;
  --accent-glow:  rgba(91,141,239,0.22);

  --violet:    #9d7bf0;
  --green:     #3ec78a;
  --green-bg:  rgba(62,199,138,0.12);
  --amber:     #e7b450;
  --red:       #e5536b;

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
  --shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 8px 24px rgba(0,0,0,0.4);

  --max-w: 1280px;
  --tr: 0.18s ease;
}

[data-theme="light"] {
  --bg:        #f7f7f9;
  --bg-1:      #ffffff;
  --bg-2:      #fafafc;
  --bg-3:      #f0f0f4;
  --line:      #e6e6ec;
  --line-2:    #d8d8e0;
  --ink:       #0a0a0e;
  --ink-2:     #2c2c3a;
  --ink-3:     #6c6c7a;
  --ink-4:     #9c9ca8;

  --accent:       #3a6cd6;
  --accent-2:     #2952b8;
  --accent-deep:  #1f3f8e;
  --accent-glow:  rgba(58,108,214,0.14);

  --shadow: 0 1px 0 rgba(0,0,0,0.02) inset, 0 8px 24px rgba(0,0,0,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', -apple-system, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11','ss01','ss03';
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body { min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: color var(--tr); }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; height: auto; }
.mono { font-family: 'Geist Mono', ui-monospace, monospace; font-feature-settings: 'tnum'; }

/* ========= DOT-GRID BACKDROP ========= */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: radial-gradient(circle, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
}

/* ========= COMPLIANCE TOPBAR ========= */
.topbar {
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-3);
  position: relative;
  z-index: 10;
}
.topbar-in {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.topbar .left, .topbar .right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar .right { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.04em; }
.topbar a { color: var(--ink-3); border-bottom: 1px dotted var(--ink-4); padding-bottom: 1px; }
.topbar a:hover { color: var(--ink); border-color: var(--ink-3); }
.tag-age {
  background: var(--accent); color: #fff;
  padding: 1px 6px; border-radius: 4px;
  font-weight: 600; font-size: 10px; letter-spacing: 0.04em;
}
.dot-live { width: 6px; height: 6px; background: var(--green); border-radius: 50%; box-shadow: 0 0 8px var(--green); display: inline-block; margin-right: 6px; }

/* ========= NAV ========= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,14,0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
[data-theme="light"] .nav { background: rgba(247,247,249,0.78); }
.nav-in {
  max-width: var(--max-w); margin: 0 auto;
  padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
}
.brand-mark {
  width: 24px; height: 24px;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  border-radius: 70px;
  position: relative;
  box-shadow: 0 0 12px var(--accent-glow);
}
.brand-mark::after {
  content: ''; position: absolute; inset: 5px;
  background: var(--bg);
  border-radius: 30px;
}
.brand-1 { color: var(--accent); }
.brand-2 { color: var(--ink); }

.nav-links { display: flex; gap: 4px; font-size: 13px; align-items: center; }
.nav-links a, .nav-drop-trig {
  padding: 7px 12px; border-radius: 8px;
  color: var(--ink-2); transition: all var(--tr);
  font-weight: 500;
  background: transparent; border: none;
  font-family: inherit; font-size: 13px;
  display: inline-flex; align-items: center; gap: 4px;
  cursor: pointer;
}
.nav-links a:hover, .nav-drop-trig:hover { color: var(--ink); background: var(--bg-2); }
.nav-links a.active { color: var(--ink); background: var(--bg-2); }

.nav-drop { position: relative; }
.nav-drop-trig::after {
  content: '⌄'; font-size: 11px; line-height: 1;
  transform: translateY(-2px);
  transition: transform var(--tr); margin-left: 2px;
}
.nav-drop.open .nav-drop-trig::after { transform: translateY(0) rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 220px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 6px;
  display: none;
  box-shadow: var(--shadow);
}
.nav-drop.open .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; font-size: 13px;
  border-radius: 6px;
  color: var(--ink-2);
}
.nav-drop-menu a:hover { background: var(--bg-2); color: var(--ink); }
.nav-drop-menu .meta {
  font-family: 'Geist Mono', monospace;
  font-size: 10px; color: var(--ink-3);
}

.nav-cta { display: flex; gap: 8px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--ink);
  transition: all var(--tr);
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: var(--bg-3); border-color: var(--ink-4); }
.btn-primary {
  background: var(--accent); color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 16px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--line); }

.kbd {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  padding: 1px 5px; border-radius: 3px;
  background: var(--bg-3); border: 1px solid var(--line);
  color: var(--ink-3); margin-left: 4px;
}

.menu-toggle { display: none; }

/* ========= LAYOUT ========= */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: 56px 0; }

/* ========= HERO ========= */
.hero { padding: 56px 0 40px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 6px;
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 12px; color: var(--ink-2);
  margin-bottom: 24px;
}
.hero-tag .pill {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  padding: 2px 8px; background: var(--accent); color: #fff;
  border-radius: 99px; font-weight: 600; letter-spacing: 0.06em;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.03em;
  max-width: 880px; margin-bottom: 22px;
}
.hero h1 .ink-mute { color: var(--ink-3); }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent), var(--violet) 60%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 16px; color: var(--ink-2);
  max-width: 680px; line-height: 1.6;
  margin-bottom: 28px;
}
.hero-cta-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.meta-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 36px;
}
.meta-strip > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.meta-strip .label {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase;
}
.meta-strip .value { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.meta-strip .value.green { color: var(--green); }

/* ========= TICKER ========= */
.ticker {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  margin-top: 32px;
}
.ticker::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 80px;
  background: linear-gradient(90deg, transparent, var(--bg-1));
  pointer-events: none;
}
.ticker-track {
  display: flex; align-items: center; gap: 18px;
  padding: 11px 0;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
}
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; padding: 0 14px; border-right: 1px solid var(--line);
}
.ticker-item .name { color: var(--ink); font-weight: 500; }
.ticker-item .v { font-family: 'Geist Mono', monospace; color: var(--ink-2); }
.ticker-item .delta-up { font-family: 'Geist Mono', monospace; color: var(--green); }
.ticker-item .delta-dn { font-family: 'Geist Mono', monospace; color: var(--red); }

/* ========= BENTO ========= */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin: 32px 0;
}
.cell {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  position: relative; overflow: hidden;
  transition: border-color var(--tr), transform var(--tr);
  min-width: 0;
}
.cell:hover { border-color: var(--line-2); transform: translateY(-1px); }
.cell-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; gap: 8px;
}
.cell-title {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase;
}
.cell-tag {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  padding: 2px 7px; border-radius: 99px;
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--ink-3);
}
.cell-tag.green { background: var(--green-bg); border-color: rgba(62,199,138,0.3); color: var(--green); }
.cell-tag.amber { background: rgba(231,180,80,0.10); border-color: rgba(231,180,80,0.3); color: var(--amber); }

/* sparkline */
.spark { width: 100%; height: 36px; margin-top: 6px; display: block; }
.spark-area { fill: var(--accent-glow); }
.spark-line { fill: none; stroke: var(--accent); stroke-width: 1.6; }

/* mini-bar (for license distribution etc.) */
.mb-row { display: flex; flex-direction: column; gap: 4px; }
.mb-row + .mb-row { margin-top: 12px; }
.mb-row .top { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); }
.mb-row .top .v { font-family: 'Geist Mono', monospace; color: var(--ink-3); font-size: 11px; }
.mb-track { height: 6px; background: var(--bg-3); border-radius: 3px; overflow: hidden; }
.mb-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--violet)); }
.mb-fill.green { background: var(--green); }
.mb-fill.amber { background: var(--amber); }
.mb-fill.dim   { background: var(--ink-4); }

/* method tiles */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-top: 8px;
}
.method-tile {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 12px;
}
.method-tile .lbl {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase;
}
.method-tile .v { font-size: 18px; font-weight: 600; margin-top: 4px; color: var(--ink); }
.method-tile .cov { font-size: 11px; margin-top: 2px; }
.method-tile .cov.full { color: var(--green); }
.method-tile .cov.part { color: var(--amber); }
.method-tile .cov.low  { color: var(--red); }

/* RG resource tiles */
.rg-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-top: 8px; }
.rg-link {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 14px;
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color var(--tr), transform var(--tr);
}
.rg-link:hover { border-color: var(--accent); transform: translateY(-1px); }
.rg-link .name { font-size: 13px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.rg-link .name::after { content: '↗'; color: var(--ink-3); font-size: 11px; margin-left: auto; }
.rg-link .desc { font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--ink-3); letter-spacing: 0.04em; }

/* "top operator" preview */
.top-op-card {
  display: grid; grid-template-columns: 56px 1fr; gap: 14px;
  align-items: center; margin-bottom: 18px;
}
.op-logo {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Geist Mono', monospace; font-weight: 600;
  font-size: 14px; color: #fff; letter-spacing: 0.04em;
  flex-shrink: 0;
}
.op-logo.sm { width: 44px; height: 44px; border-radius: 11px; font-size: 12px; }
.op-logo.lg { width: 72px; height: 72px; border-radius: 18px; font-size: 18px; }
.top-op-name { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.top-op-tag { font-size: 12px; color: var(--ink-3); }
.score-row { display: flex; align-items: end; gap: 8px; }
.score-row .num { font-family: 'Geist Mono', monospace; font-size: 32px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.score-row .denom { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--ink-3); margin-bottom: 5px; }
.score-row .delta { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--green); margin-left: auto; margin-bottom: 5px; }

/* methodology block */
.method-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.method-item {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
}
.method-item .num {
  font-family: 'Geist Mono', monospace;
  font-size: 11px; color: var(--accent);
  letter-spacing: 0.06em; margin-bottom: 8px;
}
.method-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }
.method-item p { font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }

/* SECTION HEAD */
.sec-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; margin-bottom: 24px; flex-wrap: wrap;
}
.sec-head .left { min-width: 0; }
.sec-eyebrow {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 8px; display: inline-block;
}
.sec-h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.15;
}
.sec-sub { font-size: 14px; color: var(--ink-2); margin-top: 8px; max-width: 560px; }

/* OPERATOR RANKING TABLE */
.op-table {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.op-thead {
  display: grid;
  grid-template-columns: 56px 1fr 280px 140px 120px;
  gap: 16px;
  padding: 12px 20px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase;
  align-items: center;
}
.op-row {
  display: grid;
  grid-template-columns: 56px 1fr 280px 140px 120px;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  position: relative;
  transition: background var(--tr);
}
.op-row:last-child { border-bottom: none; }
.op-row:hover { background: var(--bg-2); }
.op-row.top { background: linear-gradient(90deg, var(--accent-glow), transparent 60%); }
.op-row.top::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
}

.op-rank {
  font-family: 'Geist Mono', monospace; font-size: 13px;
  font-weight: 600; color: var(--ink-3);
  letter-spacing: 0.04em;
}
.op-rank.r1 { color: var(--accent); }
.op-name-cell { display: flex; align-items: center; gap: 14px; min-width: 0; }
.op-name-text { display: flex; flex-direction: column; min-width: 0; }
.op-name { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); }
.op-tag { font-family: 'Geist Mono', monospace; font-size: 10.5px; color: var(--ink-3); margin-top: 2px; letter-spacing: 0.04em; }
.op-bonus-cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.op-bonus-cell .bo-line { font-size: 13px; color: var(--ink); font-weight: 500; }
.op-bonus-cell .bo-sub { font-size: 11px; color: var(--ink-3); }

.op-stat-cell { display: flex; flex-direction: column; gap: 1px; }
.op-stat-cell .v { font-family: 'Geist Mono', monospace; font-size: 14px; color: var(--ink); font-weight: 500; }
.op-stat-cell .l { font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; }

.op-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.btn-visit, .btn-review {
  text-align: center; font-size: 12.5px;
  padding: 7px 12px; border-radius: var(--r-sm); font-weight: 500;
  font-family: inherit; cursor: pointer; transition: all var(--tr);
  border: 1px solid var(--line-2);
  white-space: nowrap;
}
.btn-visit {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 16px var(--accent-glow);
}
.btn-visit:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn-review { background: var(--bg-2); color: var(--ink); }
.btn-review:hover { background: var(--bg-3); border-color: var(--ink-4); }

/* compact op row for sidebars */

/* score visual */
.op-score { display: flex; align-items: center; gap: 10px; }
.op-score .n { font-family: 'Geist Mono', monospace; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.op-score .stars { color: var(--accent); font-size: 11px; letter-spacing: 1px; }

/* ========= FAQ ========= */
.faq-wrap { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--tr);
}
.faq-item.open { border-color: var(--accent); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 20px;
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  background: none; border: none; font-family: inherit;
  transition: background var(--tr);
}
.faq-q:hover { background: var(--bg-2); }
.faq-icon {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent);
  font-size: 14px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--tr), background var(--tr);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent-glow); }
.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.7;
  max-width: 880px;
}
.faq-item.open .faq-a { display: block; }

/* ========= REGULATORY STRIP ========= */
.reg-strip {
  background: var(--bg-1);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px 0;
  margin: 24px 0;
}
.reg-strip .row {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 24px; justify-content: center;
}
.reg-strip a, .reg-strip .item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--ink-2);
  padding: 8px 14px; border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: all var(--tr);
}
.reg-strip a:hover { border-color: var(--accent); color: var(--ink); }
.reg-strip .item .badge {
  font-family: 'Geist Mono', monospace; font-size: 9.5px;
  background: var(--accent); color: #fff;
  padding: 2px 6px; border-radius: 3px; letter-spacing: 0.08em;
}
.reg-strip .note {
  text-align: center; max-width: 760px; margin: 16px auto 0;
  font-size: 12.5px; color: var(--ink-3); line-height: 1.7;
}
.reg-strip .note strong { color: var(--ink-2); }

/* ========= FOOTER ========= */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer h4 {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: var(--ink-3); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer ul a { font-size: 13px; color: var(--ink-2); }
.footer ul a:hover { color: var(--ink); }
.footer-about { font-size: 13px; color: var(--ink-2); max-width: 380px; line-height: 1.6; margin-top: 12px; }
.footer-addr {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--ink-3); margin-top: 14px; line-height: 1.7;
}
.footer-addr strong { color: var(--ink-2); font-weight: 500; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: 'Geist Mono', monospace; font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.footer-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.f-badge {
  background: var(--bg-2); border: 1px solid var(--line);
  padding: 4px 8px; border-radius: 4px;
  font-size: 9.5px; letter-spacing: 0.1em;
}

/* ========= AGE GATE ========= */
.agegate {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,10,14,0.96);
  backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.agegate.show { display: flex; }
.agegate-box {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  max-width: 460px; width: 100%;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.agegate-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 18px;
  margin-bottom: 16px;
  box-shadow: 0 0 24px var(--accent-glow);
}
.agegate-box h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.agegate-box .sub { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.agegate-box ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.agegate-box ul li {
  font-size: 12.5px; color: var(--ink-2); padding-left: 18px;
  position: relative; line-height: 1.55;
}
.agegate-box ul li::before {
  content: '·'; color: var(--accent);
  position: absolute; left: 6px; top: 0; font-weight: 700;
}
.agegate-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12.5px; color: var(--ink-2); cursor: pointer;
  padding: 10px 12px; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  margin-bottom: 16px;
}
.agegate-check input { accent-color: var(--accent); margin-top: 2px; }
.agegate-check a { color: var(--accent); border-bottom: 1px solid var(--accent-glow); }
.agegate-btns { display: flex; gap: 8px; }
.agegate-yes, .agegate-no {
  flex: 1; padding: 11px 14px;
  border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  font-family: inherit; cursor: pointer;
  transition: all var(--tr);
  border: 1px solid;
  letter-spacing: 0.02em;
}
.agegate-yes {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.agegate-yes:disabled { background: var(--bg-3); color: var(--ink-4); border-color: var(--line); cursor: not-allowed; }
.agegate-yes:not(:disabled):hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.agegate-no { background: transparent; color: var(--ink-2); border-color: var(--line-2); }
.agegate-no:hover { background: var(--bg-2); }

/* ========= COOKIE BANNER ========= */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 9000;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 18px;
  display: none; gap: 14px;
  align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  max-width: 720px; margin: 0 auto;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: 12.5px; color: var(--ink-2); flex: 1; min-width: 240px; }
.cookie-banner a { color: var(--accent); border-bottom: 1px solid var(--accent-glow); }
.cookie-btns { display: flex; gap: 8px; }
.cookie-decline, .cookie-accept {
  font-size: 12px; padding: 7px 13px;
  border-radius: var(--r-sm); font-family: inherit; cursor: pointer; font-weight: 500;
  border: 1px solid;
}
.cookie-decline { background: transparent; color: var(--ink-2); border-color: var(--line-2); }
.cookie-decline:hover { background: var(--bg-2); }
.cookie-accept { background: var(--accent); color: #fff; border-color: var(--accent); }
.cookie-accept:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* ========= COMPLIANCE MODAL (REDIRECT) ========= */
.cmodal {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(10,10,14,0.85);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.cmodal.show { display: flex; }
.cmodal-box {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  max-width: 480px; width: 100%;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  position: relative;
}
.cmodal-icon {
  width: 44px; height: 44px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--accent);
  margin-bottom: 14px;
}
.cmodal-box h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.cmodal-box p { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-bottom: 14px; }
.cmodal-list {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 12px 14px;
  margin-bottom: 18px;
}
.cmodal-list li {
  font-size: 12px; color: var(--ink-2); padding-left: 18px;
  position: relative; line-height: 1.55;
}
.cmodal-list li::before {
  content: '✓'; color: var(--accent);
  position: absolute; left: 0; top: 0; font-size: 11px;
}
.cmodal-btns { display: flex; gap: 8px; }
.cmodal-ok, .cmodal-cancel {
  flex: 1; padding: 11px 14px;
  border-radius: var(--r-sm); font-size: 13px; font-weight: 600;
  font-family: inherit; cursor: pointer; transition: all var(--tr);
  border: 1px solid; letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.cmodal-ok { background: var(--accent); color: #fff; border-color: var(--accent); }
.cmodal-ok:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.cmodal-cancel { background: transparent; color: var(--ink-2); border-color: var(--line-2); }
.cmodal-cancel:hover { background: var(--bg-2); }
.cmodal-foot {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: var(--ink-3); letter-spacing: 0.06em;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.cmodal-foot a { color: var(--ink-3); border-bottom: 1px dotted var(--ink-4); }
.cmodal-foot a:hover { color: var(--accent); border-color: var(--accent); }

/* ========= OPERATOR REVIEW PAGE ========= */
.crumbs {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.04em;
  padding: 24px 0 0;
}
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--ink-4); }

.review-hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding: 40px 0 28px;
  align-items: start;
}
.review-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.05;
  margin: 14px 0 10px;
}
.review-hero .lede {
  font-size: 15.5px; color: var(--ink-2);
  line-height: 1.65; max-width: 620px;
  margin-bottom: 22px;
}
.review-quick {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 12px;
}
.qstat {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px;
}
.qstat .l {
  font-family: 'Geist Mono', monospace; font-size: 9.5px;
  color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase;
}
.qstat .v { font-family: 'Geist Mono', monospace; font-size: 16px; font-weight: 600; margin-top: 4px; color: var(--ink); }

.review-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  position: sticky; top: 80px;
}
.review-card .head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.review-card .name { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.review-card .sub { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }
.review-card .score-big {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.review-card .score-big .num { font-family: 'Geist Mono', monospace; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.review-card .score-big .denom { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.review-card .score-big .stars { color: var(--accent); font-size: 13px; letter-spacing: 1.5px; }
.review-card .bonus-line {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 12px 14px; margin-bottom: 14px;
}
.review-card .bonus-line .lbl {
  font-family: 'Geist Mono', monospace; font-size: 9.5px;
  color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase;
}
.review-card .bonus-line .txt { font-size: 13.5px; color: var(--ink); margin-top: 4px; line-height: 1.45; }
.review-card .bonus-line .terms { font-size: 11px; color: var(--ink-3); margin-top: 6px; line-height: 1.55; }
.review-card .visit-btn {
  display: block; text-align: center; padding: 13px;
  background: var(--accent); color: #fff;
  border-radius: var(--r); font-weight: 600; font-size: 14px;
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 18px var(--accent-glow);
  transition: all var(--tr);
}
.review-card .visit-btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.review-card .legal-note {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: var(--ink-3); letter-spacing: 0.04em;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--line);
  text-align: center;
}

/* fact sheet rows */
.fact-sheet {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
}
.fact-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.fact-row:nth-child(odd) { border-right: 1px solid var(--line); }
.fact-row:nth-last-child(-n+2) { border-bottom: none; }
.fact-row .l {
  font-family: 'Geist Mono', monospace; font-size: 10.5px;
  color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase;
}
.fact-row .v { font-family: 'Geist Mono', monospace; font-size: 13.5px; color: var(--ink); font-weight: 500; }

/* pros / cons */
.pc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.pc-card {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px;
}
.pc-card h4 {
  font-size: 12px; font-family: 'Geist Mono', monospace;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px;
}
.pc-card.pros h4 { color: var(--green); }
.pc-card.cons h4 { color: var(--amber); }
.pc-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pc-card li {
  font-size: 13px; color: var(--ink-2); padding-left: 22px;
  position: relative; line-height: 1.55;
}
.pc-card.pros li::before { content: '+'; color: var(--green); position: absolute; left: 6px; top: 0; font-weight: 600; }
.pc-card.cons li::before { content: '−'; color: var(--amber); position: absolute; left: 6px; top: 0; font-weight: 600; }

/* license & regulation block */
.lic-block {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px;
}
.lic-block .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line); gap: 16px;
}
.lic-block .row:last-child { border-bottom: none; }
.lic-block .row .l {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase;
}
.lic-block .row .v { font-family: 'Geist Mono', monospace; font-size: 13px; color: var(--ink); }
.lic-block .row a.v { color: var(--accent); border-bottom: 1px dotted var(--accent-glow); }

.review-prose { font-size: 14.5px; color: var(--ink-2); line-height: 1.72; max-width: 780px; }
.review-prose p + p { margin-top: 14px; }
.review-prose p strong { color: var(--ink); font-weight: 600; }

/* ========= RESPONSIVE ========= */




/* ========= ERROR PAGES (403 / 404) ========= */
.err-page {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 40px 24px;
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto;
}
.err-icon {
  width: 80px; height: 80px;
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.err-code {
  font-family: 'Geist Mono', monospace;
  font-size: 96px; font-weight: 600;
  letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(120deg, var(--accent), var(--violet) 70%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.err-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.err-msg {
  font-size: 15px; color: var(--ink-2);
  line-height: 1.65; max-width: 560px;
  margin: 0 auto 28px;
}
.err-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.err-quick {
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--line);
  width: 100%; max-width: 560px;
}
.err-quick .lbl {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.err-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.err-link {
  font-size: 12px; padding: 6px 12px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 99px; color: var(--ink-2);
  transition: all var(--tr);
}
.err-link:hover { background: var(--bg-3); border-color: var(--accent); color: var(--ink); }

/* ========= GENERIC PAGE HEADER (sobre, contacto, faq, legais) ========= */
.page-header {
  padding: 56px 0 32px;
  position: relative;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.page-header h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 600; letter-spacing: -0.03em;
  line-height: 1.08; margin: 14px 0 12px;
  max-width: 900px;
}
.page-header h1 .grad {
  background: linear-gradient(120deg, var(--accent), var(--violet) 60%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-header .lede {
  font-size: 16px; color: var(--ink-2);
  line-height: 1.65; max-width: 720px;
}

/* ========= LONG-FORM CONTENT (legais, sobre) ========= */
.long-prose {
  max-width: 820px;
  font-size: 15px; color: var(--ink-2);
  line-height: 1.75;
}
.long-prose h2 {
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--ink);
  margin: 36px 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 12px;
}
.long-prose h2::before {
  content: counter(legal-h2, decimal-leading-zero);
  counter-increment: legal-h2;
  font-family: 'Geist Mono', monospace;
  font-size: 12px; color: var(--accent);
  letter-spacing: 0.06em;
}
.long-prose { counter-reset: legal-h2; }
.long-prose h2:first-child { padding-top: 0; border-top: none; margin-top: 0; }
.long-prose h3 {
  font-size: 16px; font-weight: 600; color: var(--ink);
  margin: 24px 0 8px;
}
.long-prose p + p { margin-top: 14px; }
.long-prose ul, .long-prose ol { margin: 12px 0 12px 22px; }
.long-prose li { margin-bottom: 6px; }
.long-prose a { color: var(--accent); border-bottom: 1px dotted var(--accent-glow); }
.long-prose a:hover { border-color: var(--accent); }
.long-prose strong { color: var(--ink); font-weight: 600; }
.long-prose .meta-row {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-bottom: 32px; padding: 14px 18px;
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.04em;
}
.long-prose .meta-row strong { color: var(--ink-2); font-weight: 500; }

/* ========= CONTACT FORM ========= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-family: 'Geist Mono', monospace; font-size: 10.5px;
  color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase;
}
.contact-form input, .contact-form textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 11px 13px;
  color: var(--ink); font-family: 'Geist', sans-serif;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: border-color var(--tr);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form button {
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent);
  padding: 12px 20px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: all var(--tr);
  align-self: flex-start;
  box-shadow: 0 0 0 1px var(--accent), 0 0 16px var(--accent-glow);
}
.contact-form button:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.contact-side {
  display: flex; flex-direction: column; gap: 16px;
}
.contact-block {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px;
}
.contact-block .lbl {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-block .v {
  font-size: 14px; color: var(--ink); line-height: 1.6;
}
.contact-block .v a { color: var(--accent); border-bottom: 1px dotted var(--accent-glow); }

.contact-success {
  background: var(--green-bg); border: 1px solid rgba(62,199,138,0.3);
  border-radius: var(--r); padding: 24px;
  text-align: center; display: none;
}
.contact-success h3 { color: var(--green); font-size: 17px; margin-bottom: 8px; }
.contact-success p { font-size: 13px; color: var(--ink-2); }

/* ========= LICENCAS TABLE ========= */
.lic-table {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  margin-bottom: 24px;
}
.lic-table-head, .lic-table-row {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
  gap: 16px;
  padding: 14px 20px;
  align-items: center;
}
.lic-table-head {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase;
}
.lic-table-row {
  border-bottom: 1px solid var(--line);
  transition: background var(--tr);
}
.lic-table-row:last-child { border-bottom: none; }
.lic-table-row:hover { background: var(--bg-2); }
.lic-table-row .opn {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 14px; color: var(--ink);
}
.lic-table-row .opn .op-logo.sm { width: 36px; height: 36px; font-size: 11px; border-radius: 9px; }
.lic-table-row .v {
  font-family: 'Geist Mono', monospace; font-size: 13px; color: var(--ink-2);
}
.lic-table-row .status {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--green); letter-spacing: 0.04em;
}
.lic-table-row a.v { color: var(--accent); border-bottom: 1px dotted var(--accent-glow); }

/* ========= FAQ PAGE INTRO/CATEGORIES ========= */
.faq-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 32px;
}
.faq-cat {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px;
  display: block; transition: all var(--tr);
}
.faq-cat:hover { border-color: var(--accent); transform: translateY(-1px); }
.faq-cat .num {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--accent); letter-spacing: 0.06em; margin-bottom: 6px;
}
.faq-cat h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.faq-cat p { font-size: 12px; color: var(--ink-3); line-height: 1.55; }

/* ============= extracted inline styles ============= */
.s-0453274{color:var(--ink-4)}
.s-f7d9249{color:var(--ink)}
.s-6078f2c{padding:32px 0 16px;}
.s-5baaccb{font-size:clamp(2rem,4vw,3rem);font-weight:600;letter-spacing:-0.03em;line-height:1.1;margin-bottom:14px;}
.s-f812fbf{padding:32px 0 64px;}
.s-6dfb82b{background:var(--bg-1);border:1px solid var(--line);border-radius:var(--r-lg);padding:40px;max-width:680px;}
.s-558bbbb{font-size:13px;color:var(--accent);letter-spacing:.16em;text-transform:uppercase;margin-bottom:14px;}
.s-285fcdd{font-size:28px;font-weight:600;letter-spacing:-0.02em;margin-bottom:14px;}
.s-1384995{font-size:14.5px;color:var(--ink-2);line-height:1.65;margin-bottom:22px;}
.s-ceb45c5{display:flex;gap:10px;flex-wrap:wrap;}
.s-157a9c7{margin-bottom:14px;}
.s-da86124{padding:16px 0 32px;}
.s-709e6b7{max-width:880px;}
.s-0f39ea8{font-size:18px;font-weight:600;margin:24px 0 10px;color:var(--ink);}
.s-14eb3a9{font-family:'Geist Mono',monospace;font-size:11px;color:var(--ink-3);margin-top:24px;letter-spacing:.04em;}
.s-7af7c0c{background:linear-gradient(135deg,#5b8def,#2952b8);}
.s-d994cb3{text-align:right;font-family:'Geist Mono',monospace;font-size:10px;color:var(--ink-3);letter-spacing:.06em;}
.s-c506ba7{color:var(--accent);border:none;}
.s-e01e60b{padding:24px 0;}
.s-4bfd80b{color:var(--green)}
.s-617a256{margin-top:18px;font-size:12.5px;color:var(--ink-3);line-height:1.7;font-family:'Geist Mono',monospace;letter-spacing:.04em;}
.s-c020b30{background:linear-gradient(135deg,#ff6900,#c64200);}
.s-f86bb7b{background:linear-gradient(135deg,#2a8454,#0e3624);}
.s-b7f9f85{display:grid;grid-template-columns:1.4fr 1fr;gap:32px;}
.s-844aa78{font-size:15px;color:var(--ink-2);line-height:1.65;margin-bottom:24px;}
.s-dfe621d{display:flex;flex-direction:column;gap:14px;max-width:520px;}
.s-e47f6ec{display:flex;flex-direction:column;gap:6px;}
.s-72b3a88{font-family:'Geist Mono',monospace;font-size:11px;color:var(--ink-3);letter-spacing:.08em;text-transform:uppercase;}
.s-9443a4b{background:var(--bg-1);border:1px solid var(--line);border-radius:var(--r-sm);padding:10px 12px;color:var(--ink);font-family:inherit;font-size:14px;}
.s-e252756{background:var(--bg-1);border:1px solid var(--line);border-radius:var(--r-sm);padding:10px 12px;color:var(--ink);font-family:inherit;font-size:14px;resize:vertical;}
.s-1d820af{display:flex;align-items:flex-start;gap:10px;font-size:12.5px;color:var(--ink-2);cursor:pointer;padding:10px 12px;background:var(--bg-2);border:1px solid var(--line);border-radius:var(--r-sm);}
.s-b2867e0{accent-color:var(--accent);margin-top:2px;}
.s-d70f0b7{color:var(--accent);}
.s-41c86af{align-self:flex-start;padding:11px 22px;}
.s-754a5eb{display:none;background:var(--green-bg);border:1px solid var(--green);border-radius:var(--r);padding:18px;color:var(--ink);max-width:520px;}
.s-cfb6c12{color:var(--green);}
.s-9f5edae{font-size:13.5px;color:var(--ink-2);}
.s-851d4b0{position:relative;top:auto;}
.s-5f8530a{font-size:14px;font-family:'Geist Mono',monospace;letter-spacing:.1em;color:var(--ink-3);text-transform:uppercase;margin-bottom:14px;}
.s-4096069{display:flex;flex-direction:column;gap:14px;font-size:13px;line-height:1.6;}
.s-9b5b737{font-family:'Geist Mono',monospace;font-size:10px;color:var(--ink-3);letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px;}
.s-a372106{color:var(--ink);}
.s-b7c542f{padding-top:12px;border-top:1px solid var(--line);font-family:'Geist Mono',monospace;font-size:10.5px;color:var(--ink-3);letter-spacing:.04em;line-height:1.7;}
.s-8320230{color:var(--accent);border-bottom:1px dotted var(--accent-glow);}
.s-2b8205b{font-size:15px;color:var(--ink-2);line-height:1.65;margin-bottom:28px;max-width:720px;}
.s-f528955{padding-top:24px;}
.s-1952d60{display:flex;gap:8px;}
.s-a1faff8{background:linear-gradient(135deg,#f5b800,#b87a00);}
.s-44c8148{background:linear-gradient(135deg,#d63848,#6e1722);}
.s-f7f6172{margin-top:18px;font-size:11.5px;color:var(--ink-3);line-height:1.7;font-family:'Geist Mono',monospace;letter-spacing:.04em;}
.s-bb2b0e5{color:var(--accent)}
.s-ccba424{grid-column: span 4;}
.s-518cc75{width:60%}
.s-51d488e{width:40%}
.s-9c33ea5{width:0%}
.s-f422c91{display:flex;justify-content:space-between;margin-top:14px;padding-top:10px;border-top:1px solid var(--line);font-size:10px;font-family:'Geist Mono',monospace;color:var(--ink-3);letter-spacing:.06em;text-transform:uppercase;}
.s-b538eb5{display:flex;align-items:end;gap:8px;}
.s-27edef3{font-size:42px;font-weight:600;letter-spacing:-0.03em;line-height:1;}
.s-dfbff12{font-size:13px;color:var(--ink-3);margin-bottom:8px;}
.s-c0704ac{font-size:13px;color:var(--ink-2);margin-top:12px;line-height:1.55;}
.s-f65e7d9{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;margin-top:14px;}
.s-74d04dc{height:24px;background:var(--green);border-radius:2px;}
.s-26d353a{height:24px;background:var(--green);border-radius:2px;opacity:.85;}
.s-d516f6e{height:24px;background:var(--green);border-radius:2px;opacity:.65;}
.s-7b03a66{height:24px;background:var(--amber);border-radius:2px;opacity:.55;}
.s-c9b78c6{height:24px;background:var(--amber);border-radius:2px;opacity:.45;}
.s-fccab5d{height:24px;background:var(--amber);border-radius:2px;opacity:.35;}
.s-dc3b01f{height:24px;background:var(--bg-3);border-radius:2px;}
.s-e826a55{display:flex;justify-content:space-between;font-size:9.5px;color:var(--ink-3);margin-top:4px;letter-spacing:.06em;}
.s-ff9d785{grid-column: span 6;}
.s-5b5736e{margin-top:14px;padding-top:12px;border-top:1px solid var(--line);font-size:12px;color:var(--ink-3);line-height:1.55;}
.s-da65e5f{grid-template-columns:repeat(4,1fr);gap:12px;}
.s-c6bd67e{margin-top:28px;display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.s-d1ac9f1{background:var(--bg-1);}
.s-911dfd6{margin-top:24px;font-family:'Geist Mono',monospace;font-size:11px;color:var(--ink-3);letter-spacing:.04em;line-height:1.7;}
.s-c2e8ff9{margin:8px 0 14px 22px;color:var(--ink-2);}
.s-4917e94{font-family:'Geist Mono',monospace;font-size:13px;color:var(--ink-2);}

/* ============= 403 page ============= */
.page-403 { display:flex; align-items:center; justify-content:center; min-height:100vh; padding:40px 20px; }
  .err-card {
    background: var(--bg-1); border:1px solid var(--line);
    border-radius: var(--r-lg); padding: 48px 40px;
    max-width: 560px; width:100%;
    box-shadow: var(--shadow);
  }
  .err-code {
    font-family:'Geist Mono',monospace; font-size:14px;
    color: var(--accent); letter-spacing:.16em; text-transform:uppercase;
    margin-bottom: 18px;
  }
  .err-h1 { font-size: 36px; font-weight:600; letter-spacing:-0.02em; line-height:1.1; margin-bottom:14px; }
  .err-p { font-size: 14.5px; color: var(--ink-2); line-height:1.65; margin-bottom: 14px; }
  .err-mark { width:32px; height:32px; background:linear-gradient(135deg,var(--accent),var(--violet)); border-radius:9px; box-shadow: 0 0 16px var(--accent-glow); margin-bottom: 24px; }
  .err-meta {
    font-family:'Geist Mono',monospace; font-size:11px;
    color: var(--ink-3); letter-spacing:.04em; margin-top: 28px;
    padding-top: 18px; border-top: 1px solid var(--line);
    line-height: 1.7;
  }

/* ============= responsive (must come last) ============= */
@media (max-width: 1100px) {
  .meta-strip { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .review-hero { grid-template-columns: 1fr; }
  .review-card { position: relative; top: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg-1); border-bottom: 1px solid var(--line);
    padding: 12px 24px; gap: 4px;
  }
  .menu-toggle {
    display: inline-flex;
    background: var(--bg-2); border: 1px solid var(--line-2);
    color: var(--ink-2); font-size: 13px;
    padding: 7px 11px; border-radius: var(--r-sm);
    cursor: pointer;
  }
  .nav-cta .btn:not(.btn-primary):not(.btn-ghost) { display: none; }

  .hero { padding: 40px 0 28px; }
  .hero h1 { font-size: 2rem; }
  .meta-strip { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* bento collapses to 1-2 cols */
  .cell { grid-column: span 12 !important; }

  .method-list { grid-template-columns: repeat(2,1fr); }
  .method-grid { grid-template-columns: repeat(2,1fr); }

  /* op table → cards */
  .op-thead { display: none; }
  .op-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }
  .op-row.top::before { width: 100%; height: 3px; bottom: auto; }

  .review-quick { grid-template-columns: repeat(2,1fr); }
  .fact-sheet { grid-template-columns: 1fr; }
  .fact-row:nth-child(odd) { border-right: none; }
  .fact-row:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .pc-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 880px) {
  .err-code { font-size: 64px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq-cats { grid-template-columns: 1fr; }

  .lic-table-head { display: none; }
  .lic-table-row {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 8px;
  }
  .lic-table-row .v::before {
    content: attr(data-l);
    display: block;
    font-family: 'Geist Mono', monospace; font-size: 9.5px;
    color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 2px;
  }
}

@media (max-width: 540px) {
  .topbar-in { font-size: 10.5px; padding: 8px 16px; }
  .nav-in { padding: 10px 16px; gap: 12px; }
  .container { padding: 0 16px; }
  .review-quick { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .err-code { font-size: 56px; }
  .err-icon { width: 64px; height: 64px; font-size: 24px; }
}


@media (max-width: 880px) {
  .s-b7f9f85, .s-da65e5f, .s-c6bd67e {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}


/* ============= mobile header (compact) ============= */
@media (max-width: 880px) {
  /* topbar: keep only 18+ tag + green-dot status; hide rest */
  .topbar-in .left > *:nth-child(n+3) { display: none; }
  .topbar-in .right { display: none; }
  /* nav: brand on left, menu hamburger + theme toggle on right */
  .menu-toggle { margin-left: auto; }
  .nav-cta .btn:not(.btn-ghost) { display: none; }
}

/* =====================================================================
   ============= MESADADOS PT — Terminal/Bloomberg override ============
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg:        #0a0d0e;
  --bg-1:      #11151b;
  --bg-2:      #181d24;
  --bg-3:      #232930;
  --line:      #2a323b;
  --line-2:    #3d4750;
  --ink:       #d4dadf;
  --ink-2:     #9aa3aa;
  --ink-3:     #6a7178;
  --ink-4:     #4a5158;
  --accent:        #00d97e;
  --accent-2:      #80ffaa;
  --accent-deep:   #008855;
  --accent-glow:   rgba(0,217,126,0.14);
  --green:     #00d97e;
  --green-bg:  rgba(0,217,126,0.10);
  --amber:     #ffb000;
  --amber-bg:  rgba(255,176,0,0.10);
  --cyan:      #00d9ff;
  --red:       #ff4d6d;
  --red-bg:    rgba(255,77,109,0.10);
  --violet:    #00d9ff;
  --shadow: 0 1px 2px rgba(0,0,0,0.4), 0 6px 20px rgba(0,0,0,0.5);
  --max-w: 1240px;
  --mono:  'IBM Plex Mono', ui-monospace, 'Menlo', monospace;
  --sans:  'IBM Plex Sans', -apple-system, system-ui, sans-serif;
}

[data-theme="light"] {
  --bg:        #f6f7fa;
  --bg-1:      #ffffff;
  --bg-2:      #f0f2f6;
  --bg-3:      #e4e7ec;
  --line:      #d4d8de;
  --line-2:    #b5bbc4;
  --ink:       #11151b;
  --ink-2:     #3d4750;
  --ink-3:     #6a7178;
  --ink-4:     #9aa3aa;
  --accent:    #008855;
  --accent-deep: #006640;
  --amber:     #cc8800;
  --red:       #d92c4d;
}

/* ===== reset overrides ===== */
html, body {
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.55;
  font-feature-settings: 'tnum', 'cv11', 'ss03';
  letter-spacing: 0;
}

body { background: var(--bg); }
body::before {
  background-image:
    linear-gradient(var(--bg-3) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-3) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  opacity: 0.35;
}

/* ===== tag & dot ===== */
.tag-age { background: var(--amber); color: var(--bg); padding: 1px 6px; border-radius: 0; font-family: var(--mono); font-weight: 600; font-size: 10px; letter-spacing: 0.04em; }
.dot-live { background: var(--green); box-shadow: 0 0 6px var(--green); }

/* ===== topbar = system status bar ===== */
.topbar { background: var(--bg-1); border-bottom: 1px solid var(--line); }
.topbar-in { padding: 7px 22px; font-family: var(--mono); font-size: 11px; letter-spacing: 0; text-transform: uppercase; color: var(--ink-2); }
.topbar a { color: var(--ink-2); border-bottom: none; }
.topbar a:hover { color: var(--green); }
.topbar-in .left { gap: 18px; }
.topbar-in .left > span { display: inline-flex; align-items: center; gap: 6px; }

/* ===== nav = command bar ===== */
.nav { background: var(--bg); border-bottom: 1px solid var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-in { padding: 14px 22px; max-width: var(--max-w); }
.brand { font-family: var(--mono); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; gap: 8px; }
.brand-mark {
  width: 30px; height: 30px;
  background: var(--green); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  border-radius: 90px;
  box-shadow: 0 0 12px rgba(0,217,126,0.25);
}
.brand-1 { color: var(--ink); font-weight: 600; }
.brand-2 { color: var(--green); font-weight: 600; }

.nav-links { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; gap: 2px; }
.nav-links a, .nav-drop-trig {
  font-family: var(--mono) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 0;
  color: var(--ink-2);
  font-size: 11.5px;
  border: 1px solid transparent;
}
.nav-links a:hover, .nav-drop-trig:hover { background: var(--bg-2); color: var(--green); border-color: var(--line); }
.nav-links a.active { background: var(--bg-2); color: var(--green); border: 1px solid var(--green); }
.nav-drop-menu { background: var(--bg-1); border: 1px solid var(--line); border-radius: 0; box-shadow: var(--shadow); padding: 4px; }
.nav-drop-menu a { font-family: var(--mono); border-radius: 0; font-size: 11.5px; letter-spacing: 0.02em; }
.nav-drop-menu a:hover { background: var(--bg-2); color: var(--green); }
.nav-drop-menu .meta { font-family: var(--mono); color: var(--amber); }

.btn { border-radius: 0; font-family: var(--mono); font-weight: 500; font-size: 11px; padding: 8px 14px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); letter-spacing: 0.04em; text-transform: uppercase; }
.btn:hover { border-color: var(--green); color: var(--green); background: var(--bg-2); }
.btn-primary { background: var(--green); color: var(--bg); border-color: var(--green); box-shadow: 0 0 14px rgba(0,217,126,0.25); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--bg); box-shadow: 0 0 18px rgba(128,255,170,0.4); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink-3); }
.btn-ghost:hover { background: var(--bg-2); color: var(--ink); border-color: transparent; }

/* ===== container ===== */
.container { max-width: var(--max-w); padding: 0 24px; }

/* ===== terminal pane ===== */
.term-pane {
  background: var(--bg-1);
  border: 1px solid var(--line);
  font-family: var(--mono);
  position: relative;
}
.term-pane::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 28px;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  pointer-events: none;
}
.term-pane.no-head::before { display: none; }
.term-head {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 14px; font-size: 10.5px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.06em;
  position: relative; z-index: 1;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.term-head .dots { display: flex; gap: 5px; }
.term-head .dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4); }
.term-head .dots .g { background: var(--green); }
.term-head .dots .a { background: var(--amber); }
.term-head .dots .r { background: var(--red); }
.term-head .label { color: var(--ink-2); }
.term-head .right { margin-left: auto; color: var(--ink-3); display: flex; gap: 14px; align-items: center; }
.term-head .right span { color: var(--green); }
.term-body { padding: 18px 22px; }

/* ===== hero ===== */
.hero { padding: 36px 0 32px; text-align: left; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; border: none; padding: 0; border-radius: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 18px;
}
.hero-tag .pill { background: transparent; color: var(--green); padding: 0 0 0 12px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; border: none; position: relative; }
.hero-tag .pill::before { content: "●"; position: absolute; left: 0; color: var(--green); }

.hero-prompt {
  font-family: var(--mono); font-size: 12px; color: var(--ink-3);
  margin-bottom: 20px; line-height: 1.7;
}
.hero-prompt .p { color: var(--green); margin-right: 8px; }
.hero-prompt .c { color: var(--amber); }
.hero-prompt .ok { color: var(--green); }
.hero-prompt .err { color: var(--red); }

.hero h1 {
  font-family: var(--mono);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: var(--ink);
}
.hero h1 .grad { color: var(--green); -webkit-background-clip: initial; background-clip: initial; background: none; font-weight: 600; }
.hero h1 .ink-mute { color: var(--ink-3); font-weight: 500; }

.hero-sub {
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  color: var(--ink-2); max-width: 720px; margin: 0 0 28px;
  font-weight: 400;
}

/* meta-strip = system metrics ribbon */
.meta-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--bg-1);
  margin-top: 28px;
  font-family: var(--mono);
}
.meta-strip > div {
  padding: 14px 18px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.meta-strip > div:last-child { border-right: none; }
.meta-strip .label { font-family: var(--mono); font-size: 10px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.meta-strip .value { font-family: var(--mono); font-size: 22px; color: var(--green); font-weight: 600; letter-spacing: -0.01em; font-feature-settings: 'tnum'; }
.meta-strip .value.amber { color: var(--amber); }
.meta-strip .value.green { color: var(--green); }
.meta-strip .value .hint { font-size: 11px; color: var(--ink-3); margin-left: 6px; font-weight: 400; }

/* ===== section heads ===== */
.sec-head {
  display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line); padding-bottom: 12px;
}
.sec-eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  color: var(--ink-3); text-transform: uppercase;
  background: var(--bg-2); padding: 4px 9px; border: 1px solid var(--line);
  display: inline-flex; align-items: center; gap: 6px;
}
.sec-eyebrow::before { content: "›"; color: var(--green); }
.sec-h2 {
  font-family: var(--mono); font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.15;
  color: var(--ink); margin: 0;
}
.sec-sub { font-family: var(--sans); color: var(--ink-2); font-size: 14px; margin-left: auto; max-width: 460px; text-align: right; }

.section { padding: 56px 0; }

/* ===== INDEX (operator data table) ===== */
.idx-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 13px;
  background: var(--bg-1);
  border: 1px solid var(--line);
}
.idx-table th, .idx-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.idx-table thead { background: var(--bg-2); }
.idx-table th {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 500;
}
.idx-table th.num, .idx-table td.num { text-align: right; font-feature-settings: 'tnum'; }
.idx-table tbody tr { transition: background 0.15s; }
.idx-table tbody tr:hover { background: var(--bg-2); }
.idx-table .rk { color: var(--ink-3); width: 36px; }
.idx-table .rk.r1 { color: var(--green); }
.idx-table .id { color: var(--amber); font-weight: 500; }
.idx-table .nm { color: var(--ink); font-weight: 600; font-size: 14px; }
.idx-table .lic { color: var(--ink-2); font-size: 11.5px; }
.idx-table .cat { color: var(--cyan); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.idx-table .rt { font-feature-settings: 'tnum'; color: var(--ink); font-weight: 500; }
.idx-table .rt small { color: var(--ink-3); font-size: 10.5px; }
.idx-table .tr { font-family: var(--mono); font-weight: 600; }
.idx-table .tr.up { color: var(--green); }
.idx-table .tr.flat { color: var(--amber); }
.idx-table .tr.dn { color: var(--red); }
.idx-table .chg { font-feature-settings: 'tnum'; font-size: 11.5px; color: var(--ink-3); }
.idx-table .chg.pos { color: var(--green); }
.idx-table .chg.neg { color: var(--red); }
.idx-table .act a {
  font-family: var(--mono); font-size: 10.5px;
  padding: 6px 10px;
  background: var(--bg-3); border: 1px solid var(--line-2); color: var(--ink);
  text-transform: uppercase; letter-spacing: 0.06em;
  display: inline-block;
}
.idx-table .act a:hover { background: var(--green); color: var(--bg); border-color: var(--green); }
.idx-table .act a + a { margin-left: 4px; background: var(--bg-2); }

/* highlight top row */
.idx-table tbody tr.top { background: linear-gradient(90deg, var(--accent-glow) 0%, transparent 50%); }
.idx-table tbody tr.top:hover { background: linear-gradient(90deg, var(--accent-glow) 0%, var(--bg-2) 50%); }

/* ===== operator panels (detail cards) ===== */
.op-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(460px, 1fr)); gap: 16px; }
.op-panel { background: var(--bg-1); border: 1px solid var(--line); font-family: var(--mono); }
.op-panel-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase;
}
.op-panel-head .id { color: var(--amber); font-weight: 600; }
.op-panel-head .lic { color: var(--cyan); margin-left: auto; }
.op-panel-body { padding: 18px 18px 16px; }
.op-panel h3 { font-family: var(--mono); font-size: 22px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 8px; }
.op-panel h3 a { color: inherit; }
.op-panel h3 a:hover { color: var(--green); }
.op-panel .lead { font-family: var(--sans); font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0 0 14px; }

.op-panel .kv-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); margin-bottom: 14px;
  background: var(--bg);
}
.op-panel .kv {
  display: flex; flex-direction: column; gap: 2px;
  padding: 9px 12px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.op-panel .kv:nth-child(2n) { border-right: none; }
.op-panel .kv:nth-last-child(-n+2) { border-bottom: none; }
.op-panel .kv .k { font-family: var(--mono); font-size: 9.5px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.op-panel .kv .v { font-family: var(--mono); font-size: 13px; color: var(--ink); font-weight: 500; font-feature-settings: 'tnum'; }
.op-panel .kv .v.green { color: var(--green); }
.op-panel .kv .v.amber { color: var(--amber); }

.op-panel .bonus-row {
  font-family: var(--sans); font-size: 12px; color: var(--ink-3);
  background: var(--bg-2); border: 1px solid var(--line);
  padding: 9px 12px; margin-bottom: 14px; line-height: 1.5;
}
.op-panel .bonus-row .lbl { color: var(--amber); font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; margin-right: 8px; }
.op-panel .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.op-panel .actions a {
  font-family: var(--mono); font-size: 11px; padding: 9px 14px;
  border-radius: 0; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
}
.op-panel .actions .btn-visit { background: var(--green); color: var(--bg); border: 1px solid var(--green); box-shadow: 0 0 10px rgba(0,217,126,0.2); }
.op-panel .actions .btn-visit:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--bg); }
.op-panel .actions .btn-review { background: var(--bg-3); color: var(--ink); border: 1px solid var(--line-2); }
.op-panel .actions .btn-review:hover { border-color: var(--green); color: var(--green); }

/* ===== methodology spec sheet ===== */
.spec-sheet { background: var(--bg-1); border: 1px solid var(--line); font-family: var(--mono); }
.spec-sheet .head {
  display: grid; grid-template-columns: 60px 1fr 100px 80px;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  padding: 10px 16px; gap: 18px;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 500;
}
.spec-row {
  display: grid; grid-template-columns: 60px 1fr 100px 80px;
  padding: 14px 16px; gap: 18px; align-items: start;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.spec-row:last-child { border-bottom: none; }
.spec-row:hover { background: var(--bg-2); }
.spec-row .ix { font-family: var(--mono); font-weight: 600; color: var(--green); font-size: 13px; }
.spec-row .nm { font-family: var(--mono); font-weight: 600; color: var(--ink); font-size: 14px; }
.spec-row .nm small { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.55; font-weight: 400; }
.spec-row .pri { font-family: var(--mono); color: var(--amber); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.spec-row .wt { font-family: var(--mono); font-weight: 600; color: var(--green); text-align: right; font-feature-settings: 'tnum'; font-size: 14px; }

/* ===== resources grid ===== */
.rg-link { background: var(--bg-1); border-color: var(--line); border-radius: 0; }
.rg-link:hover { border-color: var(--green); }
.rg-link .name { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--ink); }
.rg-link .desc { font-family: var(--mono); color: var(--ink-3); font-size: 11px; }

/* ===== faq ===== */
.faq-item { background: var(--bg-1); border: 1px solid var(--line); border-radius: 0; margin-bottom: 4px; }
.faq-item.open { border-color: var(--green); }
.faq-q { padding: 14px 16px; font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: -0.005em; color: var(--ink); }
.faq-q:hover { background: var(--bg-2); color: var(--green); }
.faq-q::before { content: "?"; color: var(--amber); font-weight: 600; margin-right: 10px; }
.faq-icon { border-color: var(--line-2); color: var(--ink-2); border-radius: 0; background: var(--bg-2); }
.faq-item.open .faq-icon { border-color: var(--green); color: var(--green); }
.faq-a { padding: 0 16px 16px; font-family: var(--sans); font-size: 13.5px; color: var(--ink-2); line-height: 1.65; max-width: 760px; }

/* ===== reg strip ===== */
.reg-strip { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reg-strip a, .reg-strip .item { background: var(--bg-2); border: 1px solid var(--line); border-radius: 0; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
.reg-strip a:hover { border-color: var(--green); color: var(--green); }
.reg-strip .item .badge { font-family: var(--mono); background: var(--green); color: var(--bg); border-radius: 0; font-weight: 700; }
.reg-strip .note { font-family: var(--sans); font-size: 13px; color: var(--ink-2); }

/* ===== footer ===== */
.footer { background: var(--bg-1); border-top: 1px solid var(--green); padding: 48px 0 28px; }
.footer h4 { font-family: var(--mono); color: var(--green); letter-spacing: 0.1em; font-size: 11px; text-transform: uppercase; }
.footer ul a { font-family: var(--mono); color: var(--ink-2); font-size: 12.5px; }
.footer ul a:hover { color: var(--green); }
.footer-about { font-family: var(--sans); color: var(--ink-2); font-size: 13.5px; }
.footer-addr { font-family: var(--mono); color: var(--ink-3); font-size: 11.5px; line-height: 1.65; }
.footer-addr strong { color: var(--ink); font-family: var(--mono); font-weight: 600; }
.footer-bottom { border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.f-badge { background: var(--bg-2); border-color: var(--line); border-radius: 0; font-family: var(--mono); color: var(--ink-2); font-size: 10px; }

/* ===== modals ===== */
.agegate-box, .cmodal-box { border-radius: 0; background: var(--bg-1); border-color: var(--green); border-width: 1px; box-shadow: 0 0 40px rgba(0,217,126,0.15); }
.agegate-icon, .cmodal-icon { background: var(--amber); color: var(--bg); border-radius: 0; }
.agegate-box h2, .cmodal-box h3 { font-family: var(--mono); font-weight: 600; }
.agegate-box .sub, .cmodal-box p { font-family: var(--sans); font-size: 14px; }
.agegate-yes, .cmodal-ok { background: var(--green); border-color: var(--green); border-radius: 0; font-family: var(--mono); color: var(--bg); text-transform: uppercase; letter-spacing: 0.06em; }
.agegate-yes:hover, .cmodal-ok:hover { background: var(--accent-2); border-color: var(--accent-2); }
.agegate-no, .cmodal-cancel { border-radius: 0; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }

.cookie-banner { border-radius: 0; background: var(--bg-1); border-color: var(--green); }
.cookie-banner p { font-family: var(--sans); font-size: 13.5px; }
.cookie-accept { background: var(--green); border-color: var(--green); border-radius: 0; font-family: var(--mono); color: var(--bg); text-transform: uppercase; letter-spacing: 0.06em; }
.cookie-decline { font-family: var(--mono); border-radius: 0; text-transform: uppercase; letter-spacing: 0.06em; }

/* ===== legacy components for inner pages ===== */
.review-prose { font-family: var(--sans); font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.review-prose p strong { color: var(--ink); font-weight: 600; }
.review-prose h3 { font-family: var(--mono) !important; font-weight: 600 !important; color: var(--ink); }
.review-card { background: var(--bg-1); border-color: var(--line); border-radius: 0; }
.review-card .name { font-family: var(--mono); font-weight: 600; }
.review-card .score-big .num { font-family: var(--mono); color: var(--green); }
.fact-sheet { border-color: var(--line); border-radius: 0; background: var(--bg-1); }
.fact-row { border-color: var(--line); }
.fact-row .l { font-family: var(--mono); color: var(--ink-3); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.fact-row .v { font-family: var(--mono); color: var(--green); font-feature-settings: 'tnum'; }
.lic-block { background: var(--bg-1); border-color: var(--line); border-radius: 0; }
.lic-block .row { border-color: var(--line); }
.lic-block .row .l { font-family: var(--mono); color: var(--ink-3); }
.lic-block .row .v { font-family: var(--mono); color: var(--green); }
.pc-card { background: var(--bg-1); border-color: var(--line); border-radius: 0; }
.pc-card h4 { font-family: var(--mono); }
.pc-card.pros h4 { color: var(--green); }
.pc-card li { font-family: var(--sans); font-size: 14px; }
.op-table { border-color: var(--line); border-radius: 0; background: var(--bg-1); }
.op-row.top { background: linear-gradient(90deg, var(--accent-glow), transparent 60%); }
.op-row.top::before { background: var(--green); }
.op-rank { font-family: var(--mono); color: var(--amber); }
.op-rank.r1 { color: var(--green); }
.op-name { font-family: var(--mono); font-size: 16px; font-weight: 600; }
.crumbs { font-family: var(--mono); color: var(--ink-3); font-size: 11px; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--green); }
.review-hero h1 { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.review-hero .lede { font-family: var(--sans); font-size: 15px; color: var(--ink-2); }
.qstat { background: var(--bg-1); border-color: var(--line); border-radius: 0; }
.qstat .l { font-family: var(--mono); color: var(--ink-3); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.qstat .v { font-family: var(--mono); color: var(--green); font-feature-settings: 'tnum'; }
.btn-visit, .visit-btn { background: var(--green); color: var(--bg); border-color: var(--green); border-radius: 0; box-shadow: 0 0 10px rgba(0,217,126,0.2); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.btn-visit:hover, .visit-btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--bg); }
.btn-review { border-radius: 0; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }

/* ===== responsive ===== */
@media (max-width: 880px) {
  .container { padding: 0 22px; }
  .nav-links.mobile-open { padding: 14px 22px; }
  .nav-links a, .nav-links .nav-drop-trig {
    font-family: var(--mono) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    font-size: 12px;
    padding: 10px 14px;
    text-align: center;
    border: none;
  }
  .meta-strip { grid-template-columns: 1fr 1fr; }
  .meta-strip > div { border-bottom: 1px solid var(--line); }
  .meta-strip > div:nth-child(2n) { border-right: none; }
  .meta-strip > div:nth-last-child(-n+2) { border-bottom: none; }
  .sec-head { flex-direction: column; gap: 10px; align-items: flex-start; }
  .sec-sub { margin-left: 0; text-align: left; max-width: none; }
  .op-panels { grid-template-columns: 1fr; }
  .op-panel .kv-grid { grid-template-columns: 1fr 1fr; }
  /* index table → cards */
  .idx-table thead { display: none; }
  .idx-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 14px; border-bottom: 1px solid var(--line); }
  .idx-table tr.top { background: var(--accent-glow); }
  .idx-table td { padding: 0; border: none; }
  .idx-table .rk, .idx-table .id { grid-column: span 1; font-size: 11px; color: var(--ink-3); }
  .idx-table .nm { grid-column: span 2; font-size: 16px; padding-bottom: 4px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
  .idx-table .lic { color: var(--cyan); }
  .idx-table .act { grid-column: span 2; margin-top: 6px; }
  .idx-table .act a { display: inline-block; font-size: 11px; padding: 8px 12px; }
  /* spec sheet */
  .spec-sheet .head { display: none; }
  .spec-row { grid-template-columns: 50px 1fr; row-gap: 6px; }
  .spec-row .pri, .spec-row .wt { grid-column: 2; padding-left: 0; text-align: left; }
}
@media (max-width: 540px) {
  .container { padding: 0 22px; }
  html, body { font-size: 13px; }
  .term-head .right span:first-child { display: none; }
}

/* ===== fix v2: operator logos + no horizontal scroll ===== */

/* defensive — prevent ANY accidental horizontal overflow */
html { overflow-x: clip; }
body { overflow-x: hidden; max-width: 100%; }
img, svg, video { max-width: 100%; height: auto; }

/* operator logo bar at top of each op-panel */
.op-panel-logo {
  height: 78px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 14px 20px;
  position: relative;
  overflow: hidden;
}
.op-panel-logo::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.18;
  pointer-events: none;
}
.op-panel-logo img {
  max-height: 100%;
  max-width: 250px;
  width: auto;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 12px rgba(0,0,0,0.3));
}
/* BacanaPlay raster has white inner bg; give it slight tone-down */
.op-panel-logo img[src$=".webp"] {
  max-height: 60px;
  border-radius: 2px;
}

/* === horizontal scroll fixes === */
/* hero-prompt is a <pre> — must wrap on narrow viewports */
.hero-prompt { white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word; }

/* meta-strip values shouldn't push beyond cell on narrow screens */
.meta-strip > div { min-width: 0; }
.meta-strip .value { overflow-wrap: break-word; }

/* idx-table — table element forces min-width by default; convert to block layout entirely on mobile */
@media (max-width: 880px) {
  .idx-table, .idx-table thead, .idx-table tbody { display: block; width: 100%; }
  .idx-table tbody tr { display: grid; }
  .idx-table .nm { word-break: break-word; }

  /* op-panels — force 1 col, no minmax overflow */
  .op-panels { grid-template-columns: 1fr !important; gap: 14px; }
  .op-panel { min-width: 0; max-width: 100%; }
  .op-panel-body { min-width: 0; }
  .op-panel .kv-grid { min-width: 0; }
  .op-panel .kv .v { word-break: break-word; }

  /* term-head can have many children; allow wrap */
  .term-head { flex-wrap: wrap; gap: 8px 12px; }
  .term-head .right { margin-left: auto; }

  /* topbar items wrap properly */
  .topbar-in { flex-wrap: wrap; gap: 4px 0; padding: 6px 16px; }
  .topbar-in .left { flex-wrap: wrap; gap: 6px 14px; min-width: 0; }

  /* nav: brand can shrink */
  .brand { min-width: 0; }
  .brand-1, .brand-2 { white-space: nowrap; }
}

@media (max-width: 540px) {
  .container { padding: 0 18px; }
  html, body { font-size: 13px; }
  .hero { padding: 28px 0 24px; }
  .hero-tag { flex-wrap: wrap; gap: 6px 10px; font-size: 10px; }
  .hero-prompt { font-size: 11px; line-height: 1.6; }
  .hero h1 { font-size: 1.7rem; line-height: 1.1; }
  .hero-sub { font-size: 14.5px; }
  .nav-in { padding: 12px 16px; }

  /* op-panel head: id+name+lic stack on tiny screens */
  .op-panel-head { flex-wrap: wrap; padding: 10px 14px; gap: 8px 12px; font-size: 10px; }
  .op-panel-head .lic { margin-left: auto; }
  .op-panel-body { padding: 16px 14px; }
  .op-panel-logo { height: 64px; padding: 10px 14px; }
  .op-panel-logo img { max-width: 200px; }
  .op-panel-logo img[src$=".webp"] { max-height: 48px; }
  .op-panel h3 { font-size: 19px; }
  .op-panel .kv-grid { grid-template-columns: 1fr; }
  .op-panel .kv { border-right: none; }

  /* spec-sheet on tiny: simpler */
  .spec-row { padding: 12px 14px; gap: 4px 12px; }
  .spec-row .nm { font-size: 13px; }
  .spec-row .nm small { font-size: 12px; }

  /* index table — looser cells on tiny */
  .idx-table tbody tr { padding: 12px; gap: 4px 12px; }
  .idx-table .act a { padding: 8px 10px; font-size: 10.5px; }

  /* sec-head: stack */
  .sec-h2 { font-size: 1.3rem; }
}

/* ===== fix v3: idx-table mobile layout + hero padding ===== */

@media (max-width: 880px) {
  /* table → block layout, but KEEP thead hidden + KEEP grid template */
  .idx-table { display: block; width: 100%; }
  .idx-table thead { display: none !important; }
  .idx-table tbody { display: block; width: 100%; }
  .idx-table tbody tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px 14px;
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }
  .idx-table td { display: block; padding: 0; border: none; }
  /* enforce cell positions inside the 2-col grid */
  .idx-table .rk { grid-column: 1; font-size: 11px; color: var(--ink-3); }
  .idx-table .id { grid-column: 2; text-align: right; font-size: 11px; }
  .idx-table .nm {
    grid-column: 1 / -1;
    font-size: 17px;
    padding-bottom: 6px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
  }
  .idx-table .lic { grid-column: 1; color: var(--cyan); }
  .idx-table .cat { grid-column: 2; text-align: right; }
  .idx-table .rt { grid-column: 1; text-align: left !important; }
  .idx-table .tr { grid-column: 2; text-align: right !important; }
  .idx-table .chg { grid-column: 1; text-align: left !important; }
  .idx-table .act { grid-column: 1 / -1; margin-top: 6px; text-align: left !important; }
  .idx-table .act a { display: inline-block; }
}

@media (max-width: 540px) {
  /* breathing room — bump from 18 to 22 to match wider mobile */
  .container { padding: 0 22px; }
}
