/* Shared chrome — design tokens, reset, header/nav/dropdown/hamburger/mobile-nav, footer,
 * reveal-on-scroll base classes, and the header/footer responsive overrides. Verified
 * byte-identical (or a strict subset) across every page before extraction — see the dedupe
 * pass in git history. Each page keeps its own unique content CSS (including
 * .reveal-left/.reveal-right, which differ page to page and are NOT shared), and the
 * cross-page "marketing component library" (page-hero, breadcrumb, who/how/stack/values/cta
 * sections, prose-section, etc.) lives in components.css. */

:root {
  --bg: #060606;
  --surface: #0f0f0f;
  --surface-2: #161616;
  --border: #1e1e1e;
  --border-light: #2a2a2a;
  --text: #ffffff;
  --text-secondary: #888888;
  --text-muted: #444444;
  --radius: 6px;
  --radius-lg: 12px;
  --accent: #2e4ea0;
  --max-w: 1200px;
  --header-h: 64px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
ul,
ol {
  list-style: none;
}
.section-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 4px 12px;
  border: 1px solid #8fc7e8;
  background: #8fc7e8;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0b0b0b;
  margin: 0 auto 32px;
}
.section-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0b0b0b;
}
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
section {
  padding: 120px 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}
.btn-primary {
  background: #2e4ea0;
  color: #ffffff;
}
.btn-ghost {
  border: 1px solid var(--border-light);
  color: var(--text);
}
@media (hover: hover) {
  .btn-primary:hover {
    background: #8fc7e8;
    color: #0b0b0b;
  }
  .btn-ghost:hover {
    border-color: #555;
    background: rgba(255, 255, 255, 0.04);
  }
}
.btn-accent {
  background: #2e4ea0;
  color: #ffffff;
}
@media (hover: hover) {
  .btn-accent:hover {
    background: #8fc7e8;
    color: #0b0b0b;
  }
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: #12181f;
  border-bottom: 1px solid transparent;
  transition:
    background var(--transition),
    border-color var(--transition),
    backdrop-filter var(--transition);
}
.site-header.scrolled {
  background: #12181f;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #2e4ea0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.logo span {
  color: var(--text-secondary);
  font-weight: 400;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition:
    color var(--transition),
    background var(--transition);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.nav-link.active {
  color: #8fc7e8;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition:
    color var(--transition),
    background var(--transition);
  cursor: pointer;
}
.nav-dropdown-toggle:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.nav-dropdown-toggle.active {
  color: #8fc7e8;
}
.nav-dropdown-toggle svg {
  transition: transform var(--transition);
}
.nav-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  transform: translateX(-50%) scale(0.98);
  transform-origin: top center;
  min-width: 260px;
  padding-top: 14px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--transition),
    transform var(--transition);
}
.dropdown-menu-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
}
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}
.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
}
.dropdown-item-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.dropdown-item.active .dropdown-item-title {
  color: #8fc7e8;
}
.dropdown-item-sub {
  font-size: 12px;
  color: var(--text-secondary);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 999;
  padding: 32px 40px;
  overflow-y: auto;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav-link {
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--border);
  display: block;
}
.mobile-nav-link.active {
  color: #8fc7e8;
}
.mobile-nav-sub {
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  display: block;
}
.mobile-nav-sub:hover {
  color: var(--text);
}
.mobile-nav-sub.active {
  color: #8fc7e8;
}
.site-footer {
  background: #12181f;
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-logo {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 240px;
  margin-bottom: 24px;
}
.footer-legal-entity {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 260px;
}
.footer-legal-entity strong {
  display: block;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-legal-entity .footer-link {
  display: inline-block;
  margin-top: 4px;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-link:hover {
  color: var(--text);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-legal-links {
  display: flex;
  gap: 24px;
}
.footer-legal-link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-legal-link:hover {
  color: var(--text-secondary);
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
@media (max-width: 960px) {
  .container {
    padding: 0 24px;
  }
  .main-nav,
  .header-cta .btn-ghost {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .logo {
    font-size: 15px;
  }
  .header-cta {
    gap: 8px;
  }
  .header-cta .btn-accent {
    padding: 10px 16px;
    font-size: 13px;
  }
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1200;
  padding: 12px 20px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 16px;
}
.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 620px;
  padding: 18px 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: rgba(15, 15, 15, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner-copy {
  min-width: 0;
}
.cookie-banner-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.cookie-banner-copy p {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}
.cookie-banner-copy a {
  color: #8fc7e8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-actions {
  display: flex;
  flex: none;
  gap: 8px;
}
.cookie-banner-btn {
  padding: 9px 16px;
  font-size: 13px;
}
@media (max-width: 640px) {
  .cookie-banner {
    right: 16px;
    bottom: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .cookie-banner-actions {
    flex-direction: column-reverse;
  }
  .cookie-banner-btn {
    width: 100%;
    justify-content: center;
  }
}
