/* Self-hosted Outfit (WOFF2, 0 external requests, strict CSP safe) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/outfit-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/outfit-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Integrity Harness — Shared Site Shell (CSP 'self' only, zero external assets) */
:root {
  --bg: #090b0f;
  --bg-elev: #10141c;
  --bg-card: #131822;
  --bg-code: #0b0e14;
  --border: #222a38;
  --border-strong: #323e52;
  --text: #e6edf5;
  --text-muted: #8b97a8;
  --text-dim: #5c6778;
  --green: #10b981;
  --green-bg: rgba(16, 185, 129, 0.12);
  --green-border: rgba(16, 185, 129, 0.34);
  --red: #ef4444;
  --red-bg: rgba(239, 68, 68, 0.1);
  --red-border: rgba(239, 68, 68, 0.32);
  --amber: #f59e0b;
  --amber-bg: rgba(245, 158, 11, 0.1);
  --amber-border: rgba(245, 158, 11, 0.32);
  --accent: #60a5fa;
  --accent-bg: rgba(96, 165, 250, 0.12);
  --accent-border: rgba(96, 165, 250, 0.34);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --radius: 8px;
  --shell-maxw: 1120px;
}

/* Outfit Display Typography — Headings, Buttons & Key Numbers */
body h1,
body h2,
body h3,
body h4,
body .btn,
body .site-btn,
body .site-brand,
body .faq-item summary,
body .metric-num,
body .metric-box.highlight .metric-num,
body .bench-kpi-val,
body .slider-val,
body .kpi-val,
body .kpi .val,
body .score-big,
body .stat-num,
body .stat-value,
body .metric-value,
body .price,
body .price-old,
body .price-amount,
body .tier-price,
body .kpi-value {
  font-family: var(--display);
}
body h1,
body h2,
body h3 {
  letter-spacing: -0.02em;
}
body .metric-num,
body .metric-box.highlight .metric-num,
body .bench-kpi-val,
body .slider-val,
body .kpi-val,
body .kpi .val,
body .score-big,
body .stat-num,
body .stat-value,
body .metric-value,
body .price,
body .price-old,
body .price-amount,
body .tier-price,
body .kpi-value {
  font-variant-numeric: tabular-nums;
}

/* Global overflow & focus hygiene */
html {
  overflow-x: clip;
}
body {
  overflow-x: clip;
}
img, svg {
  max-width: 100%;
}
pre {
  max-width: 100%;
  overflow-x: auto;
}
.site-header a:focus-visible,
.site-header button:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Shell container */
.site-container {
  max-width: var(--shell-maxw);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Unified Single-Row Top Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(9, 11, 15, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  font-family: var(--sans);
}
.site-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 14px;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.015em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-brand:hover {
  color: #ffffff;
  text-decoration: none;
}
.site-brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.65);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
  min-width: 0;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
}
.site-nav a.is-active {
  color: var(--text);
  font-weight: 600;
  border-bottom-color: var(--green);
}
.site-nav a.nav-audit {
  color: var(--text);
  font-weight: 500;
}
.site-nav a.nav-audit:hover,
.site-nav a.nav-audit.is-active {
  color: var(--green);
}
.site-nav a.nav-neon {
  color: var(--text);
  font-weight: 500;
}
.site-nav a.nav-neon:hover,
.site-nav a.nav-neon.is-active {
  color: var(--green);
}
.site-nav a.nav-radar {
  color: var(--text);
  font-weight: 500;
}
.site-nav a.nav-radar:hover,
.site-nav a.nav-radar.is-active {
  color: var(--accent);
}

.nav-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-badge-new {
  background: var(--green-bg);
  border-color: var(--green-border);
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}
.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 13px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.site-btn:hover {
  text-decoration: none;
}
.site-btn:active {
  transform: translateY(1px);
}
.site-btn-secondary {
  background: var(--bg-elev);
  color: var(--text);
  border-color: var(--border-strong);
}
.site-btn-secondary:hover {
  background: #171d29;
  border-color: #465672;
  color: #ffffff;
}
.site-btn-green {
  background: var(--green);
  color: #04130d;
  border-color: var(--green);
}
.site-btn-green:hover {
  background: #14cf91;
  border-color: #14cf91;
  color: #04130d;
}

.site-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.site-menu-btn:hover {
  background: #171d29;
  border-color: #465672;
}

.site-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
}
.site-mobile-nav[hidden] {
  display: none;
}
.site-mobile-nav > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(34, 42, 56, 0.7);
  text-decoration: none;
}
.site-mobile-nav > a:hover,
.site-mobile-nav > a.is-active {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.site-mobile-cta {
  display: none;
  gap: 10px;
  margin-top: 14px;
}
.site-mobile-cta .site-btn {
  flex: 1;
  padding: 10px 12px;
}

@media (max-width: 1140px) {
  .site-container {
    padding: 0 16px;
  }
  .site-nav-bar {
    gap: 10px;
  }
  .site-brand {
    font-size: 14px;
    gap: 8px;
  }
  .site-nav {
    gap: 10px;
    font-size: 12.5px;
  }
  .nav-badge {
    font-size: 9.5px;
    padding: 2px 4px;
  }
  .site-cta {
    gap: 6px;
  }
  .site-btn {
    padding: 7px 10px;
    font-size: 12px;
  }
}
@media (max-width: 899px) {
  .site-nav {
    display: none;
  }
  .site-menu-btn {
    display: inline-flex;
  }
}
@media (max-width: 560px) {
  .site-container {
    padding: 0 16px;
  }
  .site-cta .site-btn {
    display: none;
  }
  .site-mobile-cta {
    display: flex;
  }
}

/* Unified 3-Column Footer */
.site-footer {
  margin-top: 64px;
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: rgba(11, 14, 20, 0.72);
  font-family: var(--sans);
  color: var(--text-muted);
}
.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.site-footer-brand {
  min-width: 0;
}
.site-footer-desc {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 320px;
}
.site-footer-support {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-dim);
}
.site-footer-support a {
  color: var(--accent);
  text-decoration: none;
}
.site-footer-support a:hover {
  text-decoration: underline;
}
.site-footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.site-footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin: 0 0 4px 0;
}
.site-footer-col a {
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
  width: fit-content;
}
.site-footer-col a:hover {
  color: var(--text);
  text-decoration: none;
}
.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
}

@media (max-width: 860px) {
  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .site-footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .site-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
