/* ========== Ziaren Design System ========== */
:root {
  /* Colors */
  --bg: #0F1419;
  --bg-alt: #1E2329;
  --bg-alt-2: #262B31;
  --border: #2D3338;
  --border-soft: #242930;
  --text: #FFFFFF;
  --text-muted: #A1A7B0;
  --text-dim: #6B7280;
  --neutral-200: #E5E7EB;
  --bg-light: #F9FAFB;
  --bg-light-2: #EEF0F3;
  --ink: #0F1419;

  /* Brand */
  --orange: #FF6B35;
  --orange-hover: #FF7F50;
  --orange-soft: rgba(255,107,53,0.12);
  --orange-border: rgba(255,107,53,0.28);
  --mint: #00D4A4;
  --mint-soft: rgba(0,212,164,0.10);
  --mint-border: rgba(0,212,164,0.30);
  --red: #E63946;
  --red-soft: rgba(230,57,70,0.12);

  /* Type */
  --font-display: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Radius */
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 20px; --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.25);
  --shadow-md: 0 6px 24px rgba(0,0,0,.28);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.45);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: 180ms;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--orange); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 56px 0; } }
.section-tight { padding: 64px 0; }

/* ========== Header ========== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 20, 25, 0.78);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  display: inline-flex; align-items: center;
}
.logo-dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  margin-left: 3px;
  margin-bottom: 2px;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: color var(--dur) var(--ease);
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.nav-nis2 { color: var(--mint); font-weight: 600; }
.nav a.nav-nis2:hover { color: #5bf0c9; }
.header-right { display: flex; gap: 14px; align-items: center; }
.lang-toggle {
  display: inline-flex; gap: 4px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
}
.lang-toggle button {
  padding: 4px 6px; color: var(--text-dim); letter-spacing: 0.04em;
}
.lang-toggle button.active {
  color: var(--text); border-bottom: 2px solid var(--orange);
}
.login-link { font-size: 13px; color: var(--text-dim); }
.login-link:hover { color: var(--text); }
.mobile-menu-btn { display: none; padding: 8px; }

@media (max-width: 920px) {
  .nav, .login-link { display: none; }
  .mobile-menu-btn { display: inline-flex; }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  font-weight: 600; font-size: 14px;
  border-radius: var(--r-md);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 15px; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-hover); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: #52595f; background: rgba(255,255,255,0.03); }
.btn-mint { background: var(--mint); color: #052c23; }
.btn-mint:hover { background: #2ee0b6; }
.btn-ghost {
  padding: 8px 12px; color: var(--text-muted); font-weight: 500;
}
.btn-ghost:hover { color: var(--text); }

.arrow::after { content: " →"; }

/* ========== Eyebrow / Badges ========== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow-muted { color: var(--text-dim); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.badge-mint {
  background: var(--mint-soft); color: var(--mint);
  border: 1px solid var(--mint-border);
}
.badge-orange {
  background: var(--orange-soft); color: var(--orange);
  border: 1px solid var(--orange-border);
}
.badge-neutral {
  background: rgba(255,255,255,0.05); color: var(--text-muted);
  border: 1px solid var(--border);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ========== Cards ========== */
.card {
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { border-color: var(--border); }
.card-hover:hover { transform: translateY(-2px); }
.card-interactive { cursor: pointer; }
.card-outline-mint { border-color: var(--mint-border); }
.card-outline-orange { border-color: var(--orange-border); }

/* ========== Hero typography ========== */
.display-xxl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.display-xl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.display-lg {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.display-md {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.lead {
  font-size: clamp(17px, 1.35vw, 20px);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 64ch;
}

/* ========== Grid helpers ========== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-5 { gap: 24px; } .gap-6 { gap: 32px; }

/* ========== Trust strip ========== */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 20px 28px;
  color: var(--text-dim);
  font-family: var(--font-mono); font-size: 12px;
  align-items: center;
}
.trust-strip span { display: inline-flex; gap: 8px; align-items: center; }
.trust-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); }

/* ========== Hero visual / graph ========== */
.hero-visual {
  position: relative;
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, #13181E 0%, #0F1419 100%);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/10;
}
.hv-topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
}
.hv-dots { display: flex; gap: 6px; }
.hv-dot { width: 10px; height: 10px; border-radius: 50%; background: #3a3f44; }
.hv-body {
  position: relative;
  padding: 24px;
  height: calc(100% - 45px);
}
.graph-svg { width: 100%; height: 100%; }
.graph-node {
  transition: fill 0.3s var(--ease);
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes pulse-ring {
  0% { r: 14; opacity: 0.6; }
  100% { r: 42; opacity: 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s var(--ease) both; }

/* ========== Scanner ========== */
.scanner {
  background: linear-gradient(180deg, #13181E 0%, #0F1419 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.scanner.active {
  border-color: var(--orange-border);
  box-shadow: 0 0 0 4px rgba(255,107,53,0.06);
}
.scanner-input-row {
  display: flex; gap: 8px; align-items: stretch;
}
.scanner-input {
  flex: 1;
  font-family: var(--font-mono); font-size: 16px;
  background: #0a0d10;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  color: var(--text);
  transition: border-color var(--dur) var(--ease);
}
.scanner-input:focus { outline: none; border-color: var(--orange); }
.scanner-input:disabled { opacity: 0.7; }
.scanner-progress {
  margin-top: 20px;
}
.scanner-progress-bar {
  height: 6px; background: var(--bg-alt-2); border-radius: var(--r-pill);
  overflow: hidden;
}
.scanner-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--orange), #FF9566);
  transition: width 0.4s var(--ease);
}
.scanner-steps {
  display: flex; justify-content: space-between; margin-top: 12px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
}
.scanner-step.active { color: var(--orange); }
.scanner-step.done { color: var(--mint); }

.scanner-results {
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}
.result-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 700px) { .result-grid { grid-template-columns: 1fr; } }
.result-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 16px;
}
.result-card h4 {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.result-list {
  font-family: var(--font-mono); font-size: 13px;
  max-height: 200px; overflow: auto;
  list-style: none; padding: 0; margin: 0;
}
.result-list li {
  padding: 5px 0;
  border-bottom: 1px dashed var(--border-soft);
  color: var(--text-muted);
  display: flex; justify-content: space-between; gap: 12px;
}
.result-list li:last-child { border-bottom: 0; }
.result-list .port { color: var(--orange); }
.result-summary {
  margin-top: 16px; padding: 16px;
  background: var(--orange-soft); border: 1px solid var(--orange-border);
  border-radius: var(--r-md);
  font-size: 14px;
}
.result-error {
  margin-top: 12px; padding: 10px 14px;
  background: var(--red-soft); border: 1px solid rgba(230,57,70,0.3);
  border-radius: var(--r-md);
  color: #F8A7AD; font-size: 13px;
}

/* ========== NIS2 Beta banner ========== */
.beta-banner {
  background:
    radial-gradient(1200px 300px at 80% 50%, rgba(0,212,164,0.07), transparent),
    #13181E;
  border: 1px solid var(--mint-border);
  border-radius: var(--r-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) { .beta-banner { padding: 28px; } }
.beta-banner-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 900px) { .beta-banner-grid { grid-template-columns: 1fr; gap: 28px; } }
.counter {
  display: inline-flex; gap: 10px; align-items: baseline;
  font-family: var(--font-mono); font-size: 13px; color: var(--text-muted);
}
.counter-bar {
  width: 160px; height: 8px; background: var(--bg-alt-2);
  border-radius: var(--r-pill);
  overflow: hidden; position: relative;
}
.counter-fill { height: 100%; background: var(--mint); border-radius: var(--r-pill); }

.nis2-icons {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.nis2-icon {
  aspect-ratio: 1;
  background: rgba(0,212,164,0.06);
  border: 1px solid var(--mint-border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--mint);
}

/* ========== Sections ========== */
.section-light {
  background: var(--bg-light);
  color: var(--ink);
}
.section-light h1, .section-light h2, .section-light h3 { color: var(--ink); }
.section-light .lead { color: #4B5563; }
.section-light .card {
  background: #fff;
  border: 1px solid #E5E7EB;
}
.section-light .eyebrow { color: var(--orange); }

.statement {
  max-width: 18ch;
  margin: 0 auto;
  text-align: center;
}

/* ========== Problema (iceberg) ========== */
.problema-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 840px) {
  .problema-grid { grid-template-columns: 1fr; gap: 48px; }
  .problema-right { order: -1; }
}
.problema-left { min-width: 0; }
.problema-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 18ch;
  color: var(--text);
}
.problema-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}
.problema-stat {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: baseline;
}
@media (max-width: 560px) {
  .problema-stat { grid-template-columns: 1fr; gap: 6px; }
}
.problema-stat-num {
  font-family: var(--font-display, var(--font-sans));
  font-size: 40px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.problema-stat-lbl {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 38ch;
}

.problema-right {
  position: relative;
  min-height: 560px;
}
.iceberg-wrap {
  position: relative;
  background: linear-gradient(180deg, #0D1115 0%, #080A0D 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.6);
}
.iceberg-chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.02);
}
.iceberg-chrome-dots { display: flex; gap: 6px; }
.iceberg-chrome-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.iceberg-chrome-dots span:first-child { background: rgba(255,107,53,0.7); }
.iceberg-chrome-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  flex: 1;
  text-align: center;
}
.iceberg-chrome-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--orange);
  padding: 3px 8px;
  border: 1px solid var(--orange-border);
  border-radius: 999px;
  position: relative;
}
.iceberg-chrome-badge::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 6px;
  vertical-align: middle;
  animation: icebergPulse 1.6s ease-in-out infinite;
}
@keyframes icebergPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,107,53,0.6); }
  50%      { opacity: 0.4; box-shadow: 0 0 0 6px rgba(255,107,53,0); }
}
.iceberg-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
}
.iceberg-legend {
  display: flex;
  gap: 20px;
  padding: 12px 16px;
  border-top: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.02);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.iceberg-legend-item {
  display: inline-flex; align-items: center; gap: 8px;
}
.iceberg-dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block;
}

/* ========== Step columns ========== */
.step-col {
  padding: 32px 4px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  margin-bottom: 16px;
}
.step-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: rgba(255,107,53,0.08);
  border: 1px solid var(--orange-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  margin-bottom: 20px;
}

/* ========== Differentiator cards ========== */
.diff-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  height: 100%;
}
.diff-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim); letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.diff-icon {
  width: 48px; height: 48px;
  color: var(--orange);
  margin-bottom: 24px;
}

/* ========== Footer ========== */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: 72px 0 32px;
  background: #0B0F13;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer h5 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--text-muted); font-size: 14px; transition: color var(--dur) var(--ease); }
.footer a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--text-dim);
}
.footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ========== Pricing ========== */
.pricing-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured {
  border: 1.5px solid var(--mint);
  background: linear-gradient(180deg, rgba(0,212,164,0.05), transparent), var(--bg-alt);
}
.price-card.featured::before {
  content: "★ Acceso temprano · 30 plazas";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--mint); color: #052c23;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; padding: 6px 12px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.price-name { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; }
.price-amount {
  font-family: var(--font-display); font-size: 40px; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px;
}
.price-suffix { color: var(--text-dim); font-size: 14px; font-weight: 400; }
.price-sub { color: var(--text-muted); font-size: 14px; margin: 12px 0 24px; min-height: 40px; }
.price-features { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-features li {
  font-size: 14px; color: var(--text-muted);
  display: flex; gap: 8px; align-items: flex-start;
}
.price-features li::before { content: "✓"; color: var(--mint); font-weight: 700; flex-shrink: 0; }

/* ========== Tables ========== */
.ztable {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.ztable th, .ztable td {
  padding: 14px 16px; text-align: left;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}
.ztable th {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim);
}
.ztable .col-ziaren { background: rgba(255,107,53,0.04); }
.ztable .check { color: var(--mint); font-weight: 700; }
.ztable .x { color: var(--red); font-weight: 700; }
.ztable .partial { color: #F5B942; font-weight: 700; }

/* ========== FAQ ========== */
.faq-item {
  border-bottom: 1px solid var(--border-soft);
}
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-toggle {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-alt); color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq-a {
  padding: 0 0 20px;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 70ch;
}

/* ========== Calculator ========== */
.calc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
}
.calc-progress {
  height: 4px; background: var(--bg-alt-2);
  border-radius: var(--r-pill);
  margin-bottom: 32px; overflow: hidden;
}
.calc-progress-fill {
  height: 100%; background: var(--mint); transition: width 0.3s var(--ease);
}
.calc-question {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mint); margin-bottom: 12px;
}
.calc-h { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 20px; }
.calc-options {
  display: flex; flex-direction: column; gap: 10px;
  margin: 24px 0 32px;
}
.calc-option {
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  text-align: left;
  font-size: 15px;
  transition: all var(--dur) var(--ease);
  display: flex; align-items: center; gap: 12px;
}
.calc-option:hover { border-color: var(--mint-border); background: rgba(0,212,164,0.03); }
.calc-option.selected { border-color: var(--mint); background: var(--mint-soft); }
.calc-option-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--border); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.calc-option.selected .calc-option-radio { border-color: var(--mint); }
.calc-option.selected .calc-option-radio::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint);
}
.calc-nav { display: flex; justify-content: space-between; }

.calc-result {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px; margin-top: 8px;
}
.calc-verdict {
  display: inline-flex; padding: 8px 14px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em;
}
.calc-verdict.yes { background: var(--mint-soft); color: var(--mint); border: 1px solid var(--mint-border); }
.calc-verdict.no { background: var(--bg-alt-2); color: var(--text-muted); }

/* ========== Sector cards ========== */
.sector-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color var(--dur) var(--ease);
  cursor: pointer;
}
.sector-card:hover { border-color: var(--orange); }
.sector-card h3 { color: var(--ink); font-size: 22px; margin: 16px 0 10px; }
.sector-card p { color: #4B5563; font-size: 15px; margin: 0 0 16px; }
.sector-card .link { color: var(--orange); font-weight: 600; font-size: 14px; }
.sector-icon {
  width: 44px; height: 44px;
  background: #FFF1EB; color: var(--orange);
  border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ========== Logo carousel ========== */
.logo-row {
  display: flex; gap: 48px; align-items: center; justify-content: center;
  flex-wrap: wrap; opacity: 0.6;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: var(--text-muted);
  letter-spacing: -0.02em;
}
.logo-row .logo-pill {
  padding: 8px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 12px;
  font-weight: 500; letter-spacing: 0.05em;
  color: var(--text-dim);
}

/* ========== Placeholders ========== */
.placeholder {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 10px, transparent 10px 20px),
    var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 40px 20px; text-align: center;
  min-height: 200px;
}
.placeholder-orange {
  border: 2px dashed var(--orange);
  background: var(--bg);
  color: var(--orange);
}
.placeholder-booking {
  padding: 60px 32px;
  min-height: 600px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
  font-family: var(--font-body); font-size: 15px;
  color: var(--text-muted);
  text-transform: none; letter-spacing: normal;
}
.placeholder-booking .cal-icon {
  width: 72px; height: 72px; color: var(--orange);
}
.placeholder-booking .ph-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  color: var(--text); letter-spacing: -0.01em;
}

/* ========== Product screenshots ========== */
.product-shot {
  background: #0A0D10;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.product-shot-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
}
.product-shot-body { padding: 20px; }

.sev-badge {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: var(--r-sm);
  display: inline-block;
}
.sev-critical { background: rgba(230,57,70,0.15); color: #F8A7AD; border: 1px solid rgba(230,57,70,0.3); }
.sev-high { background: rgba(245,158,66,0.12); color: #F5B942; border: 1px solid rgba(245,158,66,0.3); }
.sev-medium { background: rgba(100,180,255,0.1); color: #78BEFF; border: 1px solid rgba(100,180,255,0.25); }
.sev-low { background: rgba(0,212,164,0.1); color: var(--mint); border: 1px solid var(--mint-border); }

/* ========== Commit list ========== */
.commit-list { list-style: none; padding: 0; margin: 0; }
.commit-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex; gap: 16px; align-items: flex-start;
  font-size: 17px;
}
.commit-list li:last-child { border-bottom: 0; }
.commit-check {
  width: 28px; height: 28px;
  background: var(--mint-soft); color: var(--mint);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-weight: 700;
}

/* ========== Mobile menu drawer ========== */
.mobile-drawer {
  position: fixed; inset: 68px 0 0 0;
  background: var(--bg);
  z-index: 40;
  padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.mobile-drawer a {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 18px;
  font-family: var(--font-display); font-weight: 600;
}

/* ========== Utilities ========== */
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 24px; } .mt-6 { margin-top: 32px; } .mt-7 { margin-top: 48px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 24px; } .mb-6 { margin-bottom: 32px; } .mb-7 { margin-bottom: 48px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-orange { color: var(--orange); }
.text-mint { color: var(--mint); }
.mono { font-family: var(--font-mono); }
.w-100 { width: 100%; }
.max-w-70 { max-width: 70ch; }
.max-w-60 { max-width: 60ch; }

hr.hr { border: 0; height: 1px; background: var(--border-soft); margin: 0; }

/* Page fade - intentionally no animation to avoid hidden-tab pause bugs */
.page-fade { opacity: 1; }
