/* ═══════════════════════════════════════════
   ORBIS IO — SHARED SITE STYLES
   Reset · Tokens · Nav · Footer · Legal · Article
   Page-specific styles (.ob, .int, .con, etc.)
   remain inline per-page.
   ═══════════════════════════════════════════ */

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

html { scroll-behavior: smooth; }

body {
  background: #02002a;
  color: #f0eefa;
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --navy: #02002a;
  --navy-2: #06043a;
  --navy-3: #0a0848;
  --orange: #E8630A;
  --orange-light: #ff7a24;
  --white: #ffffff;
  --text-primary: #f0eefa;
  --text-secondary: #b8b6d0;
  --text-muted: #7a789a;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);
  --card-bg: rgba(255,255,255,0.04);
  --card-bg-hover: rgba(255,255,255,0.07);
  --font-display: 'Barlow Condensed', 'Arial Black', sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
}

/* ─────────────────────────────────────────
   ACCESSIBILITY
───────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2,0,42,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-nav-brand svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.site-nav-wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
}
.site-nav-wordmark em {
  font-style: normal;
  color: var(--orange);
}
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.site-nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.site-nav-links a:hover { color: var(--white); }
.site-nav-links a.is-current {
  color: var(--white);
  position: relative;
}
.site-nav-links a.is-current::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 2px;
  background: var(--orange);
}
.site-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}
.site-nav-cta:hover { background: var(--orange-light); }

.site-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-hover);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text-primary);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .site-nav-inner { padding: 14px 24px; }
  .site-nav-links, .site-nav-cta { display: none; }
  .site-nav-toggle { display: inline-block; }
  .site-nav.nav-open .site-nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
  }
  .site-nav.nav-open .site-nav-links li {
    width: 100%;
    border-top: 1px solid var(--border);
  }
  .site-nav.nav-open .site-nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
  }
  .site-nav.nav-open .site-nav-links a.is-current::after { display: none; }
  .site-nav.nav-open .site-nav-cta {
    display: inline-flex;
    margin-top: 12px;
  }
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  padding: 80px 64px 40px;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.site-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}
.site-footer-brand svg { width: 32px; height: 32px; }
.site-footer-wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
}
.site-footer-wordmark em {
  font-style: normal;
  color: var(--orange);
}
.site-footer-tagline {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 320px;
  margin-bottom: 20px;
}
.site-footer-contact {
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-muted);
}
.site-footer-contact a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer-contact a:hover { color: var(--white); }

.site-footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.site-footer-col ul { list-style: none; }
.site-footer-col li { margin-bottom: 10px; }
.site-footer-col a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer-col a:hover { color: var(--orange); }

.site-footer-meta {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.7;
}
.site-footer-meta-left { max-width: 720px; }
.site-footer-meta-right { text-align: right; }
.site-footer-meta a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.site-footer-meta a:hover {
  color: var(--text-secondary);
  border-bottom-color: var(--border-hover);
}
.site-footer-tm {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 8px;
}

@media (max-width: 960px) {
  .site-footer { padding: 56px 24px 32px; }
  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
  .site-footer-brand-col { grid-column: 1 / -1; }
  .site-footer-meta { flex-direction: column; }
  .site-footer-meta-right { text-align: left; }
}
@media (max-width: 560px) {
  .site-footer-grid { grid-template-columns: 1fr; }
}

/* ═════════════════════════════════════════
   LEGAL PAGES (privacy, legal, complaints)
   Shared layout — narrow column, body prose
   ───────────────────────────────────────── */
.legal {
  padding: 80px 64px 100px;
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.7;
  color: #e0def0;
}
.legal-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-eyebrow::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 32px;
}
.legal-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  margin: 48px 0 14px;
  line-height: 1.0;
}
.legal h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin: 28px 0 8px;
}
.legal p {
  font-size: 15px;
  color: #c8c6d8;
  margin-bottom: 16px;
  line-height: 1.8;
}
.legal ul {
  list-style: none;
  margin: 12px 0 20px;
  padding: 0;
}
.legal ul li {
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #c8c6d8;
  font-size: 14px;
  line-height: 1.65;
  position: relative;
}
.legal ul li:last-child { border-bottom: none; }
.legal ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 12px;
}
.legal a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(232,99,10,0.3);
  transition: border-color 0.15s;
}
.legal a:hover { border-bottom-color: var(--orange); }
.legal strong {
  color: var(--text-primary);
  font-weight: 600;
}
.legal-callout {
  border-left: 2px solid var(--orange);
  padding: 16px 20px;
  margin: 24px 0;
  background: rgba(232,99,10,0.05);
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: #c8c6d8;
  line-height: 1.7;
}
.legal-address {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  font-size: 13px;
  color: #9896b4;
  line-height: 1.8;
  margin: 20px 0;
}

/* Privacy rights grid */
.legal-rights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.legal-right {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
}
.legal-right h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 6px;
}
.legal-right p {
  font-size: 13px;
  color: #9896b4;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Complaints numbered steps */
.legal-steps {
  counter-reset: steps;
  margin: 20px 0;
}
.legal-step {
  counter-increment: steps;
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.legal-step:last-child { border-bottom: none; }
.legal-step-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--orange);
  flex-shrink: 0;
  min-width: 32px;
  line-height: 1;
}
.legal-step-text {
  font-size: 14px;
  color: #c8c6d8;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .legal { padding: 48px 24px 72px; }
  .legal-rights-grid { grid-template-columns: 1fr; }
}

/* ═════════════════════════════════════════
   ARTICLE (blog posts)
   ───────────────────────────────────────── */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 64px 100px;
  line-height: 1.7;
  color: #e0def0;
}
.article-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-eyebrow::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}
.article-hed {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.98;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.article-hed em {
  font-style: normal;
  color: var(--orange);
}
.article-dek {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.article h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
  margin: 56px 0 18px;
  letter-spacing: -0.005em;
}
.article h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin: 36px 0 12px;
}
.article p {
  font-size: 16px;
  color: #c8c6d8;
  line-height: 1.8;
  margin-bottom: 18px;
}
.article p strong {
  color: var(--white);
  font-weight: 600;
}
.article a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(232,99,10,0.3);
  transition: border-color 0.15s;
}
.article a:hover { border-bottom-color: var(--orange); }

/* Article tables */
.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 14px;
}
.article thead {
  background: rgba(232,99,10,0.08);
  border-bottom: 1px solid var(--border);
}
.article th {
  padding: 14px 18px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.article td {
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #c8c6d8;
  vertical-align: top;
}
.article tbody tr:first-child td { border-top: none; }
.article td:first-child {
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}

/* Callout boxes inside articles */
.article-callout {
  border-left: 2px solid var(--orange);
  padding: 20px 24px;
  margin: 32px 0;
  background: rgba(232,99,10,0.05);
  border-radius: 0 10px 10px 0;
  font-size: 15px;
  color: #c8c6d8;
  line-height: 1.75;
}
.article-callout p { margin-bottom: 0; }

/* Stats row inside articles */
.article-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.article-stat {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 22px;
}
.article-stat-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}
.article-stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Scores grid (OES/ORS/OPCI/OBI) */
.article-scores {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 28px 0 32px;
}
.article-score {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 22px;
}
.article-score-code {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.article-score-name {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.article-score-desc {
  font-size: 13px;
  color: #c8c6d8;
  line-height: 1.6;
}

/* Final in-article CTA */
.article-cta {
  margin-top: 56px;
  padding: 32px 36px;
  background: var(--card-bg);
  border: 1px solid var(--border-hover);
  border-radius: 14px;
  text-align: center;
}
.article-cta p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.article-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s;
}
.article-cta-btn:hover { background: var(--orange-light); }

@media (max-width: 768px) {
  .article { padding: 48px 24px 72px; }
  .article-scores { grid-template-columns: 1fr; }
  .article table { font-size: 13px; }
  .article th, .article td { padding: 10px 12px; }
}