/* Self-hosted fonts (Latin subset, variable). Replaces the Google Fonts request. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-variable.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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-variable.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;
}
/* ============================================================
   OneFirewall Alliance — Corporate Site Design System
   ============================================================ */

:root {
  --navy-900: #0a1628;
  --navy-800: #0e1f38;
  --navy-700: #16304f;
  --brand-blue: #1c4a85;
  --brand-blue-dark: #123561;
  --brand-blue-light: #eaf1fa;
  --accent-orange: #d9631f;
  --accent-orange-dark: #b84f17;
  --ink: #14202f;
  --ink-soft: #3d4c5e;
  --ink-mute: #6b7787;
  --line: #dfe4ea;
  --line-soft: #edf0f4;
  --surface: #ffffff;
  --surface-alt: #f6f8fa;
  --surface-navy: var(--navy-900);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 42, 0.06), 0 1px 1px rgba(15, 26, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 26, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 26, 42, 0.12);
  --container: 1180px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
/* width/height attributes reserve space and stop layout shift; keep the image's own aspect ratio unless a rule sets height */
:where(img[width][height]) { width: auto; height: auto; }
a { color: inherit; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: 96px 0; }
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 0 0 20px;
}
h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { color: var(--ink-soft); margin: 0 0 16px; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent-orange);
  display: inline-block;
}
.eyebrow.on-dark { color: #9cc2f0; }

.section-head {
  max-width: 720px;
  margin: 0 0 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent-orange); color: #fff; }
.btn-primary:hover { background: var(--accent-orange-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-navy { background: var(--brand-blue); color: #fff; }
.btn-navy:hover { background: var(--brand-blue-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-outline-light:hover { border-color: #fff; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Announcement bar ---------- */
.announce-bar {
  background: var(--navy-900);
  color: #fff;
  position: relative;
  z-index: 501;
}
.announce-bar.is-hidden { display: none; }
.announce-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 44px;
  text-align: center;
}
.announce-bar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 0.86rem;
}
.announce-bar-tag {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-orange);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
}
.announce-bar-text { font-weight: 500; }
.announce-bar-cta { font-weight: 700; color: #9cc2f0; white-space: nowrap; }
.announce-bar-link:hover .announce-bar-cta { color: #fff; text-decoration: underline; }
.announce-bar-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
}
.announce-bar-close:hover { color: #fff; }
@media (max-width: 640px) {
  .announce-bar-inner { padding: 10px 36px; }
  .announce-bar-link { font-size: 0.8rem; }
}

/* ---------- Header / Nav ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a.mobile-cta { display: none; }
.nav-links > .lang-switch-mobile { display: none; }
.nav-links > a, .nav-item > button {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  font-family: var(--font-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-links > a:hover, .nav-item > button:hover { color: var(--brand-blue); }
.nav-item { position: relative; }
.nav-item .chev { font-size: 0.6rem; opacity: 0.6; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.15s ease;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(4px); }
.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}
.nav-dropdown a span { display: block; font-weight: 400; color: var(--ink-mute); font-size: 0.78rem; margin-top: 2px; }
.nav-dropdown a:hover { background: var(--surface-alt); color: var(--brand-blue); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; }
.lang-switch { display: flex; align-items: center; gap: 2px; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700; margin-right: 4px; }
.lang-switch a { color: var(--ink-mute); text-decoration: none; padding: 4px 6px; border-radius: 4px; }
.lang-switch a:hover { background: var(--surface-alt); color: var(--navy-900); }
.lang-switch a.active { color: var(--accent-orange); }
.lang-switch span { color: var(--line); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy-900); }

@media (max-width: 980px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line-soft);
    padding: 12px; box-shadow: var(--shadow-md);
  }
  .nav-links.mobile-open .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; padding-left: 16px; }
  .nav-links.mobile-open .nav-item.mobile-open .nav-dropdown { display: block; }
  .nav-links.mobile-open > a.mobile-cta { display: flex; justify-content: center; margin-top: 10px; }
  .nav-links.mobile-open > .lang-switch-mobile { display: flex; justify-content: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
}
@media (max-width: 540px) {
  .nav-wrap { padding: 0 20px; }
  .nav-cta { display: none; }
}

/* ---------- Hero (navy) ---------- */
.hero-navy {
  background: radial-gradient(ellipse at top right, rgba(10,22,40,0.15) 0%, rgba(10,22,40,0.50) 55%), url('../img/hero.webp') center 40%/cover no-repeat;
  color: #fff;
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-navy::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 75%);
  pointer-events: none;
}
.hero-navy .container { position: relative; z-index: 1; }
.hero-navy h1 { color: #fff; max-width: 800px; }
.hero-navy p.lede { color: #b9c6d9; }
.hero-grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid-2 { grid-template-columns: 1fr; } }

.hero-stats-strip {
  display: flex; flex-wrap: wrap; gap: 40px;
  margin-top: 56px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-stats-strip .stat b { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; }
.hero-stats-strip .stat b span { font-size: inherit; font-weight: inherit; color: inherit; }
.hero-stats-strip .stat > span { font-size: 0.78rem; color: #8fa2ba; text-transform: uppercase; letter-spacing: 0.06em; }

/* generic page header (non-home) */
.page-header {
  background: linear-gradient(180deg, rgba(10,22,40,0.25), rgba(10,22,40,0.55)), url('../img/hero.webp') center 35%/cover no-repeat;
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
}
.page-header h1 { color: #fff; max-width: 760px; }
.page-header p.lede { color: #b9c6d9; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.74rem; color: #7f93ad; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }

/* ---------- Logo strip ---------- */
.logo-strip-section { padding: 56px 0; border-bottom: 1px solid var(--line-soft); }
.logo-strip-label { text-align: center; font-size: 0.8rem; color: var(--ink-mute); margin-bottom: 32px; font-weight: 600; letter-spacing: 0.02em; }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px 64px; }
.logo-strip img { height: 44px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.85; transition: all 0.2s ease; }
.logo-strip img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--line); }
.card .icon-badge { margin-bottom: 20px; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { font-size: 0.94rem; margin-bottom: 12px; }
.card a.card-link { font-size: 0.86rem; font-weight: 700; color: var(--brand-blue); text-decoration: none; }
.card a.card-link:hover { text-decoration: underline; }

.icon-badge {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-blue-light);
  border-radius: var(--radius-sm);
  color: var(--brand-blue);
  font-size: 1.1rem;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Stat bar (light) ---------- */
.stat-bar { background: var(--surface-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.stat-bar .grid-4 { text-align: center; }
.stat-bar b { display: block; font-size: 2.1rem; font-weight: 800; color: var(--navy-900); }
.stat-bar b span { font-size: inherit; font-weight: inherit; color: inherit; }
.stat-bar div > span { font-size: 0.8rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Section variants ---------- */
.section-alt { background: var(--surface-alt); }
.section-navy { background: linear-gradient(180deg, rgba(10,22,40,0.55), rgba(10,22,40,0.75)), url('../img/hero.webp') center/cover no-repeat; color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #aebdd2; }

/* ---------- Split feature row ---------- */
.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-row.reverse { direction: rtl; }
.split-row.reverse > * { direction: ltr; }
@media (max-width: 980px) { .split-row, .split-row.reverse { grid-template-columns: 1fr; direction: ltr; } }
.split-visual {
  background: var(--surface-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; }
.feature-list li { display: flex; gap: 12px; padding: 10px 0; font-size: 0.95rem; color: var(--ink-soft); border-top: 1px solid var(--line-soft); }
.feature-list li:first-child { border-top: none; }
.feature-list li::before { content: "\2713"; color: var(--accent-orange); font-weight: 800; flex-shrink: 0; }

/* ---------- Quote / testimonial ---------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--accent-orange);
  border-radius: var(--radius-md);
  padding: 28px 32px;
}
.quote-card p { font-size: 1.05rem; color: var(--ink); font-style: italic; }
.quote-card .attribution { font-size: 0.84rem; color: var(--ink-mute); font-style: normal; margin-top: 12px; }
.quote-card .attribution b { color: var(--navy-900); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -32px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-orange); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent-orange); }
.timeline-year { font-family: var(--font-mono); font-size: 0.78rem; color: var(--brand-blue); font-weight: 700; letter-spacing: 0.05em; }

/* ---------- Table ---------- */
table.clean-table { width: 100%; border-collapse: collapse; }
.clean-table th, .clean-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); font-size: 0.92rem; }
.clean-table th { color: var(--ink-mute); font-weight: 600; text-transform: uppercase; font-size: 0.74rem; letter-spacing: 0.05em; }
.clean-table td { color: var(--ink-soft); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(180deg, rgba(10,22,40,0.6), rgba(10,22,40,0.78)), url('../img/hero.webp') center/cover no-repeat;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  color: #fff;
}
.cta-banner h2 { color: #fff; margin-bottom: 6px; font-size: 1.7rem; }
.cta-banner p { color: #aebdd2; margin: 0; }

/* ---------- Office cards ---------- */
.office-card { border: 1px solid var(--line-soft); border-radius: var(--radius-md); padding: 24px; background: #fff; }
.office-card .tag { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-orange); font-weight: 700; }
.office-card h3 { margin: 8px 0 10px; font-size: 1.05rem; }
.office-card p { font-size: 0.88rem; margin-bottom: 4px; }
.office-card .partner-logo { width: 120px; height: 36px; object-fit: contain; object-position: left center; display: block; margin-bottom: 12px; filter: grayscale(1); opacity: 0.85; transition: all 0.2s ease; }
.office-card .partner-logo:hover { filter: grayscale(0); opacity: 1; }

/* ---------- Partners map ---------- */
.partners-map-wrap { display: block; max-width: 1040px; margin: 0 auto; }
.partners-map-img { display: block; width: 100%; height: auto; }

/* ---------- Footer ---------- */
#site-footer { background: var(--navy-900); color: #b9c6d9; padding: 72px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.2fr repeat(5, 1fr); gap: 32px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 980px) { .footer-top { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand p { color: #8296b1; font-size: 0.88rem; max-width: 280px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.06); color: #9cabc2; font-size: 0.9rem; transition: background 0.2s ease, color 0.2s ease; }
.footer-social a:hover { background: var(--accent-orange); color: #fff; }
.footer-col h3 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #9cabc2; text-decoration: none; font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 24px 0; font-size: 0.8rem; color: #74839a;
}
.footer-bottom a { color: #9cabc2; text-decoration: none; margin-left: 18px; }
.footer-legal-line { color: #5e6d84; font-size: 0.76rem; padding-bottom: 28px; line-height: 1.7; }

/* ---------- Utility ---------- */
.text-orange { color: var(--accent-orange); }
.text-blue { color: var(--brand-blue); }
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
.tag-pill {
  display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 10px; border-radius: 999px;
  background: var(--brand-blue-light); color: var(--brand-blue);
}

/* Form feedback */
.form-input-error{border-color:#e74c3c!important;box-shadow:0 0 0 2px rgba(231,76,60,.2)!important}
.form-status{margin-bottom:.75rem;font-size:.9rem}
.form-status.error{color:#e74c3c;background:rgba(231,76,60,.08);border:1px solid rgba(231,76,60,.3);padding:.5rem .75rem;border-radius:4px;margin-bottom:.5rem}
.btn-primary:disabled{opacity:.45;cursor:not-allowed;pointer-events:none}

/* Threat landscape page */
.tl-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:8px}
.tl-kpi{background:#fff;border:1px solid var(--line-soft);border-radius:var(--radius-md);padding:22px;box-shadow:var(--shadow-sm)}
.tl-kpi-val{font-size:2rem;font-weight:800;color:var(--brand-blue);letter-spacing:-0.02em;line-height:1.1}
.tl-kpi-label{font-size:0.92rem;color:var(--ink-soft);margin-top:8px}
.tl-kpi-sub{font-size:0.85rem;color:var(--accent-orange);font-weight:600;margin-top:6px}
.tl-chart{width:100%;height:340px;margin:24px 0}
.tl-chart.tall{height:420px}
.tl-table{width:100%;border-collapse:collapse;font-size:0.9rem;margin:16px 0 8px}
.tl-table th,.tl-table td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line-soft)}
.tl-table th{color:var(--ink-mute);font-weight:600;font-size:0.8rem;text-transform:uppercase;letter-spacing:0.06em}
.tl-table td.num{text-align:right;font-variant-numeric:tabular-nums}
.tl-table td.up{color:var(--accent-orange);font-weight:600}
.tl-table td.down{color:var(--brand-blue);font-weight:600}
.tl-note{font-size:0.82rem;color:var(--ink-mute);margin-top:6px}
.tl-callout{border-left:4px solid var(--accent-orange);background:var(--surface-alt);padding:18px 22px;border-radius:var(--radius-sm);margin:24px 0}
@media (max-width: 980px){.tl-kpis{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 640px){.tl-kpis{grid-template-columns:1fr}.tl-kpi-val{font-size:1.6rem}}

/* Threat briefing page */
.tb-hours{display:grid;grid-template-columns:repeat(8,1fr);gap:10px;align-items:end;height:260px;margin:28px 0 0;border-bottom:1px solid var(--line)}
.tb-hour{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%}
.tb-hour-val{font-size:0.82rem;font-weight:600;color:var(--ink-mute);margin-bottom:6px;font-variant-numeric:tabular-nums}
.tb-hour.burst .tb-hour-val{color:var(--ink)}
.tb-hour-bar{width:100%;max-width:80px;min-height:2px;background:var(--line);border-radius:4px 4px 0 0}
.tb-hour.burst .tb-hour-bar{background:var(--accent-orange)}
.tb-hour-labels{display:grid;grid-template-columns:repeat(8,1fr);gap:10px;margin-top:8px;font-family:var(--font-mono);font-size:0.76rem;color:var(--ink-mute);text-align:center}
.tb-steps{list-style:none;padding:0;margin:28px 0 8px;display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.tb-steps li{background:#fff;border:1px solid var(--line-soft);border-radius:var(--radius-md);padding:18px;font-size:0.88rem;color:var(--ink-soft)}
.tb-steps li strong{display:block;color:var(--ink);font-size:0.98rem;margin:4px 0 6px}
.tb-steps li.stop{border-color:var(--accent-orange);box-shadow:0 0 0 1px var(--accent-orange)}
.tb-step-n{font-family:var(--font-mono);font-size:0.72rem;font-weight:700;letter-spacing:0.06em;color:var(--ink-mute)}
.tb-step-flag{display:inline-block;margin-top:10px;font-family:var(--font-mono);font-size:0.68rem;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;color:#fff;background:var(--accent-orange);padding:3px 8px;border-radius:4px}
.tb-hbars{margin:24px 0 8px;max-width:760px}
.tb-hbar{display:grid;grid-template-columns:minmax(150px,220px) 1fr 32px;gap:14px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line-soft);font-size:0.92rem;color:var(--ink-soft)}
.tb-hbar-track{height:14px;background:var(--line-soft);border-radius:4px;overflow:hidden}
.tb-hbar-fill{height:100%;background:var(--brand-blue);border-radius:4px}
.tb-hbar.recent .tb-hbar-fill{background:var(--accent-orange)}
.tb-hbar-n{text-align:right;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.tb-stack-label{font-size:0.86rem;font-weight:600;color:var(--ink);margin-top:20px}
.tb-stack{display:flex;gap:2px;height:30px;border-radius:6px;overflow:hidden;margin:8px 0 10px}
.tb-stack span{display:block;height:100%;min-width:3px}
.tb-legend{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:0.84rem;color:var(--ink-soft)}
.tb-legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px}
.tb-crit{background:var(--accent-orange)}
.tb-high{background:#f0a46b}
.tb-med{background:#8fb6e6}
.tb-low{background:var(--brand-blue)}
.tb-ip{font-family:var(--font-mono);font-size:0.86rem}
@media (max-width: 980px){.tb-steps{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 640px){.tb-hours,.tb-hour-labels{gap:4px}.tb-hours{height:220px}.tb-hour-val{font-size:0.64rem}.tb-hour-labels{font-size:0.66rem}.tb-steps{grid-template-columns:1fr}.tb-hbar{grid-template-columns:1fr 28px;gap:6px 10px}.tb-hbar-track{grid-column:1 / -1;grid-row:2}}

/* Social icons are inline SVG now (no icon font) */
.footer-social svg { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }

@media (max-width: 768px) {
/* ---------- Hero (navy) ---------- */
.hero-navy {
  background: radial-gradient(ellipse at top right, rgba(10,22,40,0.15) 0%, rgba(10,22,40,0.50) 55%), url('../img/hero-mobile.webp') center 40%/cover no-repeat;
  color: #fff;
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
}
/* generic page header (non-home) */
.page-header {
  background: linear-gradient(180deg, rgba(10,22,40,0.25), rgba(10,22,40,0.55)), url('../img/hero-mobile.webp') center 35%/cover no-repeat;
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
}
.section-navy { background: linear-gradient(180deg, rgba(10,22,40,0.55), rgba(10,22,40,0.75)), url('../img/hero-mobile.webp') center/cover no-repeat; color: #fff; }
/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(180deg, rgba(10,22,40,0.6), rgba(10,22,40,0.78)), url('../img/hero-mobile.webp') center/cover no-repeat;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  color: #fff;
}
}

/* ---------- Mobile overflow fixes ---------- */
html, body { overflow-x: hidden; }

@media (max-width: 640px) {
  .cta-banner { padding: 32px 24px; flex-direction: column; align-items: stretch; text-align: center; }
  .cta-banner > .btn { width: 100%; justify-content: center; }
  .clean-table, .tl-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .clean-table th, .clean-table td, .tl-table th, .tl-table td { white-space: nowrap; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; justify-content: center; }
}
