/* ────────────────────────────────────────────────────────────────────
   EOS Modus — shared site styles
   --------------------------------------------------------------------
   Lifted from the ODiGE / EOS Omnia design system so the three sites
   read as one family. The single difference is the accent colour,
   driven by --brand below. Change that one value to reskin the site.

   Scope: global navigation (top-bar, mega-menu, hamburger, mobile
   flatten) plus the shared primitives every page uses (hero, section
   heads, cards, CTAs, footer). Page-specific rules stay inline.
   ──────────────────────────────────────────────────────────────────── */

:root {
  /* ─── Brand ─────────────────────────────────────────────────────── */
  --brand:          #3FD1C7;   /* EOS Modus accent, teal          */
  --brand-soft:     rgba(63, 209, 199, 0.14);
  --brand-line:     rgba(63, 209, 199, 0.35);
  --brand-faint:    rgba(63, 209, 199, 0.06);

  /* ─── Compliance status palette (used across GRC views) ────────── */
  --status-ok:      #4ADE80;
  --status-partial: #FBBF24;
  --status-gap:     #F87171;
  --status-none:    rgba(255, 255, 255, 0.30);

  /* ─── Surface ───────────────────────────────────────────────────── */
  --bg-dark:        #02102c;
  --panel-bg:       rgba(0, 0, 0, 0.50);
  --panel-bg-soft:  rgba(0, 0, 0, 0.35);
  --footer-bg:      #000000;

  /* ─── Type ──────────────────────────────────────────────────────── */
  --text-main:      #ffffff;
  --text-soft:      rgba(255, 255, 255, 0.86);
  --text-dim:       rgba(255, 255, 255, 0.62);
  --border-subtle:  rgba(255, 255, 255, 0.22);

  --overlay:        rgba(0, 55, 206, 0.18);
}

/* ─── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg-dark);
  overflow-y: scroll;
  overflow-x: hidden;
}

/* ─── Anchor scroll offset: clear the fixed nav when jumping to #id ── */
[id]:target { scroll-margin-top: 100px; }

/* ─── Persistent background ───────────────────────────────────────── */
.bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(to bottom, rgba(2,16,44,0.55) 0%, rgba(2,16,44,0.78) 100%),
    radial-gradient(1200px 600px at 78% -10%, rgba(63,209,199,0.16), transparent 70%),
    url('/images/hero-ot-network.jpg') center / cover no-repeat;
}
.bg-overlay {
  position: absolute; inset: 0;
  background: var(--overlay);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════ */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  gap: 16px;
  background: rgba(2,16,44,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo-img { height: 52px; width: auto; display: block; }
.logo-wordmark {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  display: block;
}
.logo-wordmark .wm-accent { color: var(--brand); }
.logo-wordmark .wm-tm {
  font-size: 0.42em;
  vertical-align: super;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.logo-sub {
  font-family: "Montserrat", sans-serif;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 3px;
  display: block;
}

.nav-links { display: flex; gap: 4px; align-items: center; }

.nav-btn {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.nav-btn:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.nav-btn.active-page {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: var(--brand-line);
}

.nav-chevron { width: 11px; height: 11px; opacity: 0.7; transition: transform 0.2s ease; }

.dropdown-wrap { position: relative; display: inline-block; }
.dropdown-wrap:hover .nav-chevron,
.dropdown-wrap.open .nav-chevron { transform: rotate(180deg); }

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding-top: 14px;
  margin-top: -8px;
  min-width: 400px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 1100;
}
.mega-menu-inner {
  background: rgba(2,16,44,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  box-shadow: 0 26px 60px rgba(0,0,0,0.6);
  padding: 10px;
}
.dropdown-wrap:hover .mega-menu,
.dropdown-wrap.open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-items { display: flex; flex-direction: column; gap: 2px; }

.mega-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}
.mega-item:hover { background: rgba(63,209,199,0.10); }
.mega-item.disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.mega-item.is-current { background: var(--brand-soft); }

.mega-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-faint);
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  color: var(--brand);
}
.mega-icon svg { width: 18px; height: 18px; }

.mega-item-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mega-item-name {
  font-family: "Montserrat", sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; color: #fff;
}
.mega-item-strap {
  font-family: "Montserrat", sans-serif;
  font-size: 11px; font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.mega-item-badge {
  display: inline-block;
  margin-left: 8px;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 2px 7px;
  vertical-align: 1px;
}
.mega-item-badge.badge-live {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: var(--brand-line);
}

.mega-menu-footer {
  margin-top: 8px;
  padding: 10px 12px 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.mega-menu-footer-text {
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.mega-cta {
  font-family: "Montserrat", sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--brand-line);
  transition: all 0.15s ease;
}
.mega-cta:hover { background: var(--brand-soft); color: #fff; }

.hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  z-index: 1200;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .hamburger { display: flex; }
  .top-bar { padding: 12px 20px; }
  .logo-img { height: 44px; }
  .logo-wordmark { font-size: 1.3rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(2,16,44,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 99;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }

  .nav-btn { width: 100%; text-align: left; padding: 11px 14px; font-size: 12px; justify-content: space-between; }
  .dropdown-wrap { width: 100%; }

  .mega-menu {
    position: static; transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    display: none; padding: 0; margin: 0; min-width: 0; width: 100%;
  }
  .mega-menu-inner { background: transparent; border: none; box-shadow: none; padding: 4px 0 8px 12px; }
  .dropdown-wrap.open .mega-menu { display: block; }
  .dropdown-wrap:hover .mega-menu { display: none; }
  .dropdown-wrap.open:hover .mega-menu { display: block; }

  .mega-item { padding: 8px 10px; }
  .mega-icon { width: 30px; height: 30px; }
  .mega-icon svg { width: 16px; height: 16px; }
  .mega-menu-footer { display: none; }
}

/* ══════════════════════════════════════════════════════════════════
   SHARED PAGE PRIMITIVES
   ══════════════════════════════════════════════════════════════════ */
.nav-spacer { height: 92px; }

.container { width: min(1200px, 92%); margin-inline: auto; }
.container-narrow { width: min(940px, 92%); margin-inline: auto; }

.sections-wrapper { position: relative; z-index: 1; }

sup.tm {
  font-size: 0.5em;
  vertical-align: super;
  letter-spacing: 0.05em;
  opacity: 0.85;
  font-weight: 600;
}

/* ─── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 26px 40px 34px;
}
.hero-inner { position: relative; z-index: 1; max-width: 1000px; }
.hero-strap {
  font-family: "Montserrat", sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.8rem;
  opacity: 0.95;
}
.hero h1 {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  font-weight: 500; line-height: 1.08;
  letter-spacing: 0.02em; text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 2px 28px rgba(0,0,0,0.65);
}
.hero h1 .accent { color: var(--brand); font-weight: 700; }
.hero p {
  font-size: clamp(0.82rem, 1.15vw, 0.95rem);
  font-weight: 300; color: var(--text-soft);
  max-width: 760px; margin: 0 auto;
  line-height: 1.75;
}
.hero-cta-row {
  display: flex; gap: 12px;
  justify-content: center; flex-wrap: wrap;
  margin-top: 26px;
}

/* ─── CTAs ────────────────────────────────────────────────────────── */
.cta-primary, .cta-secondary {
  font-family: "Montserrat", sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 24px; border-radius: 6px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.15s ease;
  border: 1px solid transparent; cursor: pointer;
}
.cta-primary { background: var(--brand); color: #02102c; }
.cta-primary:hover { background: #fff; color: #02102c; }
.cta-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--text-soft);
  border-color: rgba(255,255,255,0.22);
}
.cta-secondary:hover { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.4); }

/* ─── Section headings ────────────────────────────────────────────── */
.section-head { text-align: center; max-width: 800px; margin: 0 auto 30px; }
.section-head .eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand);
  display: block; margin-bottom: 9px;
}
.section-head h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.5rem, 2.9vw, 2.2rem);
  font-weight: 500; letter-spacing: 0.02em;
  text-transform: uppercase; line-height: 1.1;
  margin-bottom: 11px;
}
.section-head p { font-size: 0.88rem; font-weight: 300; color: var(--text-soft); line-height: 1.7; }
.section-head.left { text-align: left; margin-inline: 0; }

/* ─── Panel cards ─────────────────────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-grid.two { grid-template-columns: repeat(2, 1fr); }

.panel-card {
  background: var(--panel-bg);
  border-radius: 18px;
  box-shadow: 0 26px 50px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.panel-card:hover { border-color: var(--brand-line); transform: translateY(-2px); }

.panel-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.panel-number {
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--brand); font-weight: 600;
}
.panel-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.6rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05;
}
.panel-subtitle {
  font-size: 12px; font-weight: 500;
  color: var(--text-soft); line-height: 1.55;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}
.panel-text {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.62); line-height: 1.75;
  display: flex; flex-direction: column; gap: 10px;
}
.panel-cta {
  margin-top: auto; padding-top: 16px;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: "Montserrat", sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand); text-decoration: none;
  align-self: flex-start;
  transition: opacity 0.2s ease;
}
.panel-cta:hover { opacity: 0.8; }
.panel-cta .arrow { display: inline-block; transition: transform 0.2s ease; }
.panel-cta:hover .arrow { transform: translateX(3px); }

@media (max-width: 900px) {
  .cards-grid, .cards-grid.two { grid-template-columns: 1fr; }
}

/* ─── Feature blocks ──────────────────────────────────────────────── */
.feature-block {
  background: var(--panel-bg-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}
.feature-eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px; display: block;
}
.feature-block h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.02em;
  line-height: 1.1; color: #fff; margin-bottom: 12px;
}
.feature-block p {
  font-size: 13.5px; font-weight: 300;
  color: rgba(255,255,255,0.72); line-height: 1.85;
  margin-bottom: 0.9em;
}
.feature-block p:last-child { margin-bottom: 0; }

/* ─── Data card ───────────────────────────────────────────────────── */
.data-card {
  clear: both; margin-top: 20px;
  background: var(--brand-faint);
  border: 1px solid rgba(63,209,199,0.22);
  border-radius: 10px;
  padding: 16px 20px 14px;
}
.data-card-title {
  font-family: "Montserrat", sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 10px;
}
.data-card-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 22px;
}
.data-card-list li {
  font-size: 12px; font-weight: 300;
  color: rgba(255,255,255,0.78); line-height: 1.55;
  padding-left: 14px; position: relative;
}
.data-card-list li::before {
  content: ""; position: absolute; left: 0; top: 0.58em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand); opacity: 0.75;
}
.data-card-foot {
  margin-top: 10px; padding-top: 8px;
  border-top: 1px solid rgba(63,209,199,0.15);
  font-size: 10px; color: rgba(255,255,255,0.5);
  font-style: italic; letter-spacing: 0.02em;
}
@media (max-width: 620px) { .data-card-list { grid-template-columns: 1fr; } }

/* ─── Callout ─────────────────────────────────────────────────────── */
.callout {
  clear: both; margin-top: 20px;
  background: linear-gradient(135deg, rgba(63,209,199,0.10), rgba(0,0,0,0.4));
  border: 1px solid var(--brand-line);
  border-left: 3px solid var(--brand);
  border-radius: 10px;
  padding: 18px 22px;
}
.callout-eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 10px;
}
.callout-body p { font-size: 12.5px; color: rgba(255,255,255,0.78); line-height: 1.7; margin-bottom: 0.7em; }
.callout-body p:last-child { margin-bottom: 0; }

/* ─── Draft-copy marker, remove before go live ───────────────────── */
.review-flag {
  display: inline-block;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #FBBF24;
  background: rgba(251,191,36,0.10);
  border: 1px solid rgba(251,191,36,0.35);
  border-radius: 999px;
  padding: 2px 8px; margin-left: 8px;
  vertical-align: 2px;
}

/* ─── Final CTA ───────────────────────────────────────────────────── */
.final-cta { padding: 30px 0 88px; }
.final-cta-card {
  background: linear-gradient(135deg, rgba(63,209,199,0.10) 0%, rgba(0,0,0,0.5) 100%), rgba(0,0,0,0.55);
  border: 1px solid rgba(63,209,199,0.28);
  border-radius: 22px;
  padding: 50px 40px; text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}
.final-cta-card h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 500; letter-spacing: 0.02em;
  text-transform: uppercase; line-height: 1.1; margin-bottom: 14px;
}
.final-cta-card p {
  font-size: 0.95rem; font-weight: 300;
  color: var(--text-soft); max-width: 640px;
  margin: 0 auto 26px; line-height: 1.7;
}

/* ─── Footer ──────────────────────────────────────────────────────── */
footer {
  position: relative; z-index: 2;
  background: var(--footer-bg);
  color: rgba(255,255,255,0.8);
  font-size: 11px; padding: 14px 40px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
footer span { opacity: 0.8; }
footer .footer-product {
  color: var(--brand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
footer a:hover { color: var(--brand); }

@media (max-width: 880px) { .hero { padding: 22px 20px 30px; } .final-cta-card { padding: 40px 24px; } .feature-block { padding: 22px 20px; } }
@media (max-width: 540px) { footer { padding: 12px 18px; flex-direction: column; align-items: flex-start; gap: 6px; } }
