/* Flux Energy — Single-page marketing */
:root {
  --bg: #07131f;
  --bg-elevated: #0a1b2b;
  --bg-card: #102439;
  --border: #29455d;
  --text: #f1f5f9;
  --text-muted: #b3c3d2;
  /* Logo colors */
  --navy: #dbeafe;
  --navy-subtle: rgba(148, 163, 184, 0.1);
  --orange: #fbbf24;
  --orange-subtle: rgba(251, 191, 36, 0.14);
  /* Logo green + navy (marketing v3) */
  --accent: #16864a;
  --accent-hover: #22a75c;
  --accent-subtle: rgba(74, 222, 128, 0.14);
  --highlight: #38bdf8;
  --error: #f87171;
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-mono: monospace;
  /* Brand tokens (marketing v3) */
  --brand-green: #4ade80;
  --brand-green-dark: #86efac;
  --brand-navy: #e5edf5;
  --brand-navy-soft: rgba(191, 219, 254, 0.1);
  --brand-teal: #5eead4;
  --brand-teal-soft: rgba(94, 234, 212, 0.12);
  --legacy-red-strong: rgba(248, 113, 113, 0.16);
  --legacy-red-wash: rgba(248, 113, 113, 0.08);
  --legacy-red-text: #fca5a5;
  --legacy-teal-column: rgba(94, 234, 212, 0.13);
  --legacy-teal-text: #99f6e4;
  --ink-surface: #0b1f32;
  --font-mono-dm: 'DM Mono', var(--font-mono);
  /* Translucent surfaces so the fixed wind canvas reads through (performance: no backdrop-filter) */
  --surface-white-wind: rgba(11, 28, 45, 0.88);
  --surface-tint-wind: rgba(10, 27, 43, 0.9);
  --card-wind: rgba(16, 36, 57, 0.82);
  --logo-color: #f1f5f9;
}

* {
  box-sizing: border-box;
}

/* Visually hidden until focused; first tab stop on every page */
.skip-to-main {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.skip-to-main:focus,
.skip-to-main:focus-visible {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  overflow: visible;
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
html {
  scroll-behavior: smooth;
  /* .site-header is sticky (~81px tall) and sits above every in-page anchor
     target (#contact, #fortress-intro-heading, …) — without this, jumping to
     one lands its top edge under the header instead of below it. */
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}
h1,
h2,
h3 {
  font-family: var(--font-serif);
}
a {
  color: var(--accent);
}

/* Wind particle canvas — single full-viewport layer behind page chrome */
#wind-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  contain: strict;
}
body > main,
body > header {
  position: relative;
  z-index: 2;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
/* The frosted bar lives on a pseudo-element, not the header itself: an element with
   backdrop-filter becomes a backdrop root and a fixed-position containing block for
   everything inside it, which would stop the mobile nav sheet from blurring the page. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(248, 250, 252, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
/* Logo styles: see /logo.css (single source of truth) */
.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  justify-content: flex-end;
}
.site-header nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.site-header nav a:hover {
  color: var(--brand-teal);
}
.site-header nav a[aria-current='page'] {
  color: var(--navy);
  font-weight: 600;
}
/* Primary navigation flyouts — a compact command-surface, not a browser-default menu. */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > summary {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.35rem 0.6rem;
  list-style: none;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: 999px;
  font-size: 0.9rem;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}
.nav-dropdown > summary::after {
  content: '';
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin: -0.2rem 0 0 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.nav-dropdown > summary:hover {
  background: var(--brand-navy-soft);
  color: var(--brand-teal);
}
.nav-dropdown[open] > summary,
.nav-dropdown:has(> .nav-dropdown-menu a[aria-current='page']) > summary {
  color: var(--navy);
  font-weight: 600;
}
.nav-dropdown[open] > summary {
  background: var(--brand-navy-soft);
}
.nav-dropdown[open] > summary::after {
  margin-top: 0.15rem;
  transform: rotate(225deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  min-width: 238px;
  padding: 0.45rem;
  overflow: visible;
  background: #fff;
  border: 1px solid var(--brand-teal);
  border-radius: 0.5rem;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
  animation: nav-flyout-in 0.18s cubic-bezier(0.2, 0.85, 0.3, 1) both;
}
.nav-dropdown-menu::before {
  position: absolute;
  top: -0.35rem;
  left: 1.15rem;
  width: 0.65rem;
  height: 0.65rem;
  background: #fff;
  border-top: 1px solid var(--brand-teal);
  border-left: 1px solid var(--brand-teal);
  content: '';
  transform: rotate(45deg);
}
@keyframes nav-flyout-in {
  from {
    opacity: 0;
    transform: translateY(-0.35rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.nav-dropdown-menu a {
  position: relative;
  padding: 0.65rem 0.8rem 0.65rem 1rem;
  border-radius: 0.55rem;
  color: var(--text-muted) !important;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
.nav-dropdown-menu a:hover {
  background: var(--brand-teal-soft);
  color: var(--brand-navy) !important;
  transform: translateX(0.2rem);
}
.nav-dropdown-menu a[aria-current='page'] {
  background: var(--brand-teal-soft);
  color: var(--brand-teal) !important;
}
.nav-dropdown-menu a[aria-current='page']::before {
  position: absolute;
  top: 0.65rem;
  bottom: 0.65rem;
  left: 0.38rem;
  width: 2px;
  border-radius: 999px;
  background: var(--brand-teal);
  content: '';
}
.nav-dropdown--platform .nav-dropdown-menu {
  min-width: 178px;
}
.nav-dropdown--company .nav-dropdown-menu {
  min-width: 158px;
}
#session {
  margin-left: 0.5rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
#session .btn-signin,
.site-header nav a.btn-signin {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  text-decoration: none;
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--accent);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}
#session .btn-signin:hover,
.site-header nav a.btn-signin:hover {
  background: #fff;
  color: var(--brand-teal);
  border-color: var(--brand-teal);
}
#session .muted {
  color: var(--text-muted);
}
#session button {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.875rem;
  cursor: pointer;
}
#session button:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* Hero */
.hero {
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--orange-subtle);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--navy);
  border-color: var(--navy);
}
.btn-block {
  width: 100%;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

/* Sections */
section {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
section h2,
section h1.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  text-align: center;
}
.section-lead {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.section-lead--wide {
  max-width: 40rem;
  line-height: 1.65;
}

/* Problem section */
.problem-section {
  background: var(--navy-subtle);
  border-top: 1px solid var(--border);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.problem-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.problem-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.problem-content {
  flex: 1;
  min-width: 0;
}
.problem-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.problem-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Outcomes section */
.outcomes-section {
  padding-bottom: 3rem;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
/* Six cards: force 3×2 on wide screens instead of a ragged 4+2 wrap */
@media (min-width: 900px) {
  .outcomes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.outcome-card {
  background: var(--card-wind);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.outcome-value {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.outcome-value i,
.stat-callout-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  font-size: 1.05rem;
  color: var(--brand-teal);
  background: var(--brand-teal-soft);
  border: 1px solid var(--brand-teal);
}
.outcome-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Features — full-bleed background (global `section` max-width would clip the tint) */
.features {
  background: var(--bg-elevated);
  position: relative;
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 58, 95, 0.06) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.features h2,
.features .section-lead,
.features .features-grid {
  position: relative;
  z-index: 1;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.features-grid--two-by-two > * {
  min-width: 0;
}
@media (min-width: 700px) {
  .features-grid--two-by-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.feature-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 0.75rem;
  display: block;
}
/* Mimic the PNG icon family: white disc with a soft gray ring */
.feature-icon--badge {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--border);
  color: var(--brand-navy);
  font-size: 1.5rem;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.pricing-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}
.pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0.5rem 0 1rem;
}
.pricing-card .price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}
.pricing-card li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.pricing-card li:last-child {
  border-bottom: none;
}
.pricing-card .btn {
  margin-top: auto;
}
.pricing-skeleton .skeleton {
  height: 24px;
  background: linear-gradient(90deg, var(--border) 25%, var(--bg-elevated) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.2s ease-in-out infinite;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
@keyframes skeleton {
  to {
    background-position: 200% 0;
  }
}

/* Auth section */
.auth-section {
  background: var(--bg-elevated);
  padding-bottom: 5rem;
}
.auth-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.auth-tabs .tab {
  flex: 1;
  padding: 0.75rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.auth-tabs .tab:hover {
  color: var(--text);
}
.auth-tabs .tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.auth-forms {
  max-width: 360px;
  margin: 0 auto;
  position: relative;
}
.auth-form {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.auth-form.active {
  display: block;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
}
.form-group input:focus:not(:focus-visible) {
  outline: none;
  border-color: var(--accent);
}
.form-group input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}
.auth-form .btn {
  margin-top: 0.5rem;
}
.auth-signin-link {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}
.auth-signin-link a {
  color: var(--accent);
  text-decoration: none;
}
.auth-signin-link a:hover {
  text-decoration: underline;
}
.msg {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(239, 68, 68, 0.15);
  color: var(--error);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

/* Footer */
.site-footer {
  padding: 4rem 1.5rem 2.25rem;
  background: #fff;
  border-top: 1px solid var(--border);
}
.site-footer .logo {
  display: inline-flex;
}
.footer-links {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 1fr 1.25fr;
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto;
  padding-bottom: 3.25rem;
}
.footer-links__group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}
.footer-links__group a {
  color: #5b6677;
  font-size: 0.84rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-links__group a:hover {
  color: var(--brand-navy);
}
.footer-links__label {
  margin-bottom: 0.55rem;
  color: var(--brand-navy);
  font-family: var(--font-mono-dm);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-brand .footer-tagline {
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.875rem;
  margin: 0.5rem 0 0.25rem;
}
.footer-brand .footer-tagline sup {
  font-size: 0.6em;
}
.footer-contact {
  color: var(--brand-navy);
  font-size: 0.8rem;
  text-decoration: none;
}
.footer-contact:hover {
  text-decoration: underline;
}
.footer-meta {
  align-self: end;
}
.footer-meta .theme-toggle-label {
  margin: 0 0 0.35rem;
  font-weight: 600;
}
.theme-toggle {
  display: inline-flex;
  gap: 0.15rem;
  margin: 0 0 0.9rem auto;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.theme-toggle button {
  padding: 0.35rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: 600 0.75rem/1 var(--font);
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
.theme-toggle button:hover {
  color: var(--accent-hover);
}
.theme-toggle button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.theme-toggle button[aria-checked='true'] {
  background: var(--accent);
  color: #fff;
}
.footer-meta p {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.55;
  margin: 0;
}
.footer-meta p + p {
  margin-top: 0.35rem;
}
.footer-meta a {
  color: inherit;
}
.footer-meta a:hover {
  color: var(--brand-navy);
}

/* Mobile nav toggle — hidden on desktop */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--brand-navy);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.nav-toggle:hover {
  background: var(--brand-teal-soft);
  border-color: var(--brand-teal);
}
.nav-toggle i {
  font-size: 1.1rem;
}
.nav-overlay {
  display: none;
}
.mobile-nav-meta {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 1002;
  }
  .nav-overlay {
    display: none;
  }
  .site-header {
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }
  .site-header .logo {
    position: relative;
    z-index: 1001;
  }
  /* Hide-on-scroll (mobile-nav.js toggles .is-hidden). No transform at rest, so the
     header is not a containing block for the fixed nav sheet when it opens. */
  .site-header {
    transition: transform 0.3s ease;
  }
  .site-header.is-hidden {
    transform: translateY(-100%);
  }
  /* A deliberately quiet mobile menu: a structured navigation sheet rather than
     a scaled-up version of the desktop flyouts. */
  .site-header nav {
    position: fixed;
    top: 4.25rem;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100vw;
    height: calc(100vh - 4.25rem);
    height: calc(100dvh - 4.25rem);
    margin: 0;
    padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.1);
    transform: translateY(-1rem);
    visibility: hidden;
    transition:
      transform 0.5s cubic-bezier(0.22, 0.9, 0.24, 1),
      visibility 0s linear 0.5s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-header nav.is-open {
    transform: translateY(0);
    visibility: visible;
    transition:
      transform 0.5s cubic-bezier(0.22, 0.9, 0.24, 1),
      visibility 0s;
  }
  /* Each group has a crisp, mobile-specific hierarchy. */
  .site-header nav > * {
    opacity: 0;
    transform: translateY(-0.5rem);
    filter: none;
    transition:
      opacity 0.45s ease,
      transform 0.55s cubic-bezier(0.22, 0.9, 0.24, 1),
      filter 0.45s ease;
  }
  .site-header nav.is-open > * {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
  .site-header nav.is-open > :nth-child(1) {
    transition-delay: 0.16s;
  }
  .site-header nav.is-open > :nth-child(2) {
    transition-delay: 0.22s;
  }
  .site-header nav.is-open > :nth-child(3) {
    transition-delay: 0.28s;
  }
  .site-header nav.is-open > :nth-child(4) {
    transition-delay: 0.34s;
  }
  .site-header nav.is-open > :nth-child(5) {
    transition-delay: 0.4s;
  }
  .site-header nav.is-open > :nth-child(6) {
    transition-delay: 0.46s;
  }
  .site-header nav.is-open > :nth-child(7) {
    transition-delay: 0.54s;
  }
  .site-header nav a,
  .nav-dropdown > summary {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    min-height: 3.25rem;
    padding: 0.9rem 1rem;
    font-family: var(--font-mono-dm);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--navy);
  }
  .site-header nav > a:not(.btn-signin),
  .nav-dropdown > summary {
    border: 1px solid var(--border);
    border-radius: 0.625rem;
    background: #fff;
  }
  .site-header nav a[aria-current='page'] {
    color: var(--brand-teal);
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown > summary::after {
    margin-left: auto;
    width: 0.55rem;
    height: 0.55rem;
    margin: -0.25rem 0 0 0.5em;
    border-top: 0;
    border-left: 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
  }
  .nav-dropdown[open] > summary::after {
    margin-top: 0.2rem;
    transform: rotate(225deg);
  }
  .nav-dropdown[open] > summary,
  .nav-dropdown:has(> .nav-dropdown-menu a[aria-current='page']) > summary {
    color: var(--navy);
  }
  .nav-dropdown[open] > summary {
    background: #fff;
    border-color: var(--brand-teal);
  }
  /* Feature links: the secondary tier, sans, indented under the teal rule. */
  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin: 0.45rem 0 0;
    padding: 0.45rem 1rem;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border: 1px solid var(--brand-teal);
    border-radius: 0.625rem;
    box-shadow: none;
  }
  .nav-dropdown-menu::before {
    display: none;
  }
  .site-header nav .nav-dropdown-menu a {
    min-height: 2.6rem;
    padding: 0.65rem 0.25rem;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-muted) !important;
    border-radius: 0;
  }
  .site-header nav .nav-dropdown-menu a + a {
    border-top: 1px solid rgba(30, 58, 95, 0.1);
  }
  .site-header nav .nav-dropdown-menu a:hover {
    background: transparent;
    color: var(--brand-teal);
  }
  .site-header nav .nav-dropdown-menu a[aria-current='page'] {
    color: var(--brand-teal) !important;
  }
  .site-header nav a.btn-signin,
  .site-header nav #session .btn-signin {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    min-height: 3rem;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827 !important;
    background: #fff;
    border: 1px solid var(--brand-teal);
    border-radius: 0.625rem;
  }
  .site-header nav a.btn-signin:hover,
  .site-header nav #session .btn-signin:hover {
    background: var(--brand-teal-soft);
    color: var(--navy) !important;
  }
  .mobile-nav-meta {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 1.1rem 0 0.25rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.7rem;
    line-height: 1.55;
  }
  .mobile-nav-meta p {
    margin: 0;
  }
  .mobile-nav-meta p + p {
    margin-top: 0.35rem;
  }
  .site-header nav .mobile-nav-meta a {
    display: inline;
    width: auto;
    min-height: 0;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    letter-spacing: 0;
    line-height: inherit;
    text-decoration: underline;
    text-transform: none;
  }
  .site-header nav .mobile-nav-meta a:hover {
    color: var(--brand-teal);
  }
  .site-header nav #session {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0.5rem 0 0;
    gap: 0.5rem;
  }
  body.mobile-nav-open {
    overflow: hidden;
  }
  @media (prefers-reduced-motion: reduce) {
    .site-header nav,
    .site-header nav.is-open,
    .site-header nav > *,
    .site-header nav.is-open > * {
      transition: none;
      transition-delay: 0s;
      filter: none;
    }
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3rem 1rem 3rem;
  }
  .hero--v3 {
    padding: 3rem 1rem 2.5rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn,
  .hero-ctas .btn-outline-brand {
    width: 100%;
    justify-content: center;
  }
  .trust-bar {
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 1.25rem;
  }
  .trust-bar li + li::before {
    display: none;
  }
  .problem-list {
    grid-template-columns: 1fr;
  }
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .problem-grid--spec {
    grid-template-columns: 1fr;
  }
  /* Prev sits with its arrow on the left edge, next with its arrow on the right. */
  .page-flow-nav {
    align-items: flex-start;
    gap: 1rem;
  }
  .page-flow-nav__prev,
  .page-flow-nav__next {
    flex: 1 1 0;
    min-width: 0;
  }
  .page-flow-nav__prev {
    justify-content: flex-start;
    text-align: left;
  }
  .page-flow-nav__next {
    justify-content: flex-end;
    text-align: right;
  }
  .footer-inner {
    text-align: center;
  }
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
    padding-bottom: 2.5rem;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .footer-meta {
    align-self: auto;
  }
  .final-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .final-cta-actions .btn {
    width: 100%;
  }
}

/* ——— Marketing v3: light shell, logo navy (#1e3a5f) + green (#22c55e) ——— */
.font-mono-spec {
  font-family: var(--font-mono-dm);
  font-weight: 700;
}

.text-accent-spec {
  color: var(--brand-green);
}

.fa-icon-inline {
  margin-right: 0.35em;
  color: var(--brand-navy);
}

.trust-bar .fa-fw {
  width: 1.1em;
  color: var(--brand-green-dark);
}

/* Hero v3 — light, like original, with brand accents */
.hero--v3 {
  max-width: none;
  margin: 0;
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
/* Hero-only wind layer: above grid, below copy (opaque hero blocks fixed #wind-canvas) */
.hero--v3 #hero-wind-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero--v3::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(30, 58, 95, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 95, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.5;
}
.hero-v3-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 72rem);
  max-width: none;
  margin: 0 auto;
}
.hero-badge--brand {
  background: var(--accent-subtle);
  color: var(--brand-green-dark);
  border: 1px solid rgba(21, 128, 61, 0.28);
  border-radius: 6px;
  font-family: var(--font-mono-dm);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: capitalize;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.25rem;
}
.hero-badge--brand .fa-bolt {
  color: var(--brand-green);
  animation: pulse-soft 2.5s ease-in-out infinite;
}
@keyframes pulse-soft {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}
.hero-title-v3 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  color: var(--brand-navy);
}
.hero-line2 {
  display: block;
  margin-top: 0.12em;
}
.hero-lead--v3 {
  color: var(--text-muted);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  font-weight: 400;
}
.hero--v3 .hero-ctas {
  justify-content: center;
  margin-bottom: 2rem;
}
.btn--brand-solid {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 0.75rem;
  border: 2px solid transparent;
}
.btn--brand-solid:hover {
  background: #fff;
  color: var(--brand-teal);
  border-color: var(--brand-teal);
}
.btn-outline-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  border: 1px solid var(--brand-navy);
  color: var(--brand-navy);
  background: #fff;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.btn-outline-brand:hover {
  background: var(--brand-teal-soft);
  border-color: var(--brand-teal);
  color: var(--brand-teal);
}
.trust-bar {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  padding: 1.5rem 0 0;
  margin: 0 auto;
  max-width: 62rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.trust-bar li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
/* Decorative separators live in CSS so screen readers don't announce empty list items */
.trust-bar li + li::before {
  content: '';
  width: 1px;
  height: 0.95em;
  margin-right: 0.75rem;
  background: var(--border);
}
.hero-video {
  position: relative;
  z-index: 2;
  max-width: 68rem;
  margin: 2.5rem auto 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(30, 58, 95, 0.18);
}
.hero-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* Section rhythm — alternating light tints */
.section--tint {
  background: linear-gradient(180deg, rgba(30, 58, 95, 0.05) 0%, var(--surface-tint-wind) 100%);
  max-width: none;
  padding: 4rem 1.5rem;
}
.section--white {
  background: var(--surface-white-wind);
  max-width: none;
}

.section-label {
  text-align: center;
  color: var(--brand-green-dark);
  font-family: var(--font-mono-dm);
  font-size: 1.05625rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: capitalize;
  margin: 0 0 0.75rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 8px;
  margin-bottom: 2px;
  background: var(--brand-green);
  vertical-align: middle;
}

/* About — founder letter and profiles */
.about-hero {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 1.5rem clamp(3.5rem, 7vw, 5.5rem);
  text-align: center;
}
.about-hero h1 {
  max-width: 760px;
  margin: 0 auto 1.25rem;
  color: var(--brand-navy);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.about-hero > p:last-child {
  max-width: 610px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}
.founders-letter {
  max-width: 940px;
  margin: 0 auto clamp(4rem, 9vw, 7rem);
  padding: clamp(2rem, 6vw, 5rem);
  background: var(--surface-white-wind);
  border: 1px solid rgba(30, 58, 95, 0.12);
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px rgba(30, 58, 95, 0.07);
}
.founders-letter__header {
  max-width: 640px;
  margin: 0 auto clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
}
.founders-letter h2,
.founders-section h2,
.about-contact h2 {
  margin: 0;
  color: var(--brand-navy);
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.founders-letter__body {
  max-width: 670px;
  margin: 0 auto;
  color: #334155;
  font-size: 1.0625rem;
  line-height: 1.8;
}
.founders-letter__body > p {
  margin: 0 0 1.55rem;
}
.mission-statement {
  position: relative;
  margin: clamp(2.5rem, 6vw, 4rem) -1rem;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 3.5rem);
  overflow: hidden;
  background: var(--brand-navy);
  border-radius: var(--radius);
  color: #fff;
  text-align: center;
}
.mission-statement__lighthouse {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  opacity: 0.42;
  mix-blend-mode: screen;
  pointer-events: none;
}
.mission-statement span {
  position: relative;
  z-index: 1;
  color: #a7f3d0;
  font-family: var(--font-mono-dm);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mission-statement p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0.75rem auto 0;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  font-weight: 500;
  line-height: 1.16;
}
.founders-letter__signature {
  margin: 0 !important;
  color: var(--brand-navy);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.35;
}
.founders-letter__signature span {
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.85rem;
  font-style: normal;
}
.founders-section {
  text-align: center;
}
.founders-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  max-width: 860px;
  margin: 2.5rem auto 0;
  text-align: left;
}
.founder-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2rem);
  align-items: start;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--card-wind);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.founder-portrait {
  display: block;
  width: 132px;
  height: 132px;
  object-fit: cover;
  object-position: center 30%;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(30, 58, 95, 0.14);
}
.founder-card h3 {
  margin: -0.25rem 0 0.1rem;
  color: var(--brand-navy);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
}
.founder-card__title {
  margin: 0 0 0.8rem;
  color: var(--brand-green-dark);
  font-family: var(--font-mono-dm);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.founder-card__content > p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
.about-contact {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 6.5rem) 1.5rem;
  text-align: center;
}
.about-contact > p:not(.section-label) {
  margin: 1rem auto 1.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}
@media (max-width: 720px) {
  .founders-letter {
    margin-right: 1rem;
    margin-left: 1rem;
  }
}
@media (max-width: 460px) {
  .founder-card {
    grid-template-columns: 1fr;
  }
  .founder-portrait {
    width: 112px;
    height: 112px;
  }
}

/* Problem spec */
.problem-section--spec h2 {
  color: var(--brand-navy);
}
.problem-grid--spec {
  max-width: 960px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 640px) {
  /* Re-assert the mobile 1-column fallback: this unconditional rule comes after the
     @media (max-width: 640px) block above in source order, so without this it would
     win the cascade at every width and defeat the responsive collapse. */
  .problem-grid--spec {
    grid-template-columns: 1fr;
  }
}

/* Pipeline — light cards */
.pipeline-section .section-label,
.pipeline-section h1,
.pipeline-section h2 {
  text-align: center;
}
.pipeline-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.25rem;
  max-width: 1100px;
  margin: 2rem auto 2.5rem;
  padding: 1rem;
}
.pipeline-node {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  transition:
    border-color 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}
.pipeline-node.pipeline-node--lit {
  border-color: var(--brand-green);
  color: var(--brand-navy);
  box-shadow: 0 0 0 1px var(--accent-subtle);
}
.pipeline-arrow {
  color: var(--brand-green);
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  .pipeline-flow {
    flex-direction: column;
  }
  .pipeline-arrow {
    transform: rotate(90deg);
  }
}
.pipeline-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.pipeline-stat-num {
  display: block;
  font-size: clamp(2.25rem, 5vw, 3rem);
  color: var(--brand-green);
  line-height: 1.1;
}
.pipeline-stat-label {
  display: block;
  font-weight: 600;
  color: var(--brand-navy);
  margin-top: 0.5rem;
}
.pipeline-stat-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
  line-height: 1.5;
}

/* Market */
.market-section .section-label,
.market-section h2 {
  text-align: center;
}
.market-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto 1.5rem;
  text-align: center;
}
.stat-callout-icon {
  margin: 0 auto 0.75rem;
}
.market-stats--six .stat-callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.stat-callout-value {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brand-green);
  display: block;
}
@media (min-width: 769px) {
  .market-stats--six {
    grid-template-columns: repeat(3, 1fr);
  }
  .market-stats--six .stat-callout-value {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    white-space: nowrap;
  }
}
.stat-callout-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-top: auto;
  padding-top: 1rem;
  display: block;
}

/* Platform Overview: asset-agnostic strip under the lifecycle stats. */
.asset-classes {
  max-width: 1000px;
  margin: 3rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.asset-classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  font-weight: 600;
  color: var(--brand-navy);
}
.asset-classes-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  margin-bottom: 0.6rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--ink-surface) 0%, var(--brand-green) 100%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.75rem;
}
.asset-classes-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Compact, data-shaped visuals for the Platform Overview market signals. */
.kpi-donut,
.kpi-sparkline,
.kpi-trend,
.kpi-bars {
  min-height: 9.75rem;
}
.kpi-visual {
  min-height: 9.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kpi-donut {
  --kpi-share: 50%;
  width: 8.25rem;
  height: 8.25rem;
  margin: 0 auto;
  border-radius: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--brand-teal) 0 var(--kpi-share), var(--brand-navy-soft) var(--kpi-share) 100%);
}
.kpi-donut::after {
  content: '';
  position: absolute;
  inset: 0.78rem;
  border-radius: 50%;
  background: var(--bg-card);
}
.kpi-donut--data-center {
  --kpi-share: 11.8%;
  width: 6.8rem;
  height: 6.8rem;
}
.kpi-donut--aging {
  --kpi-share: 49%;
}
.kpi-donut__value,
.kpi-donut__subvalue {
  position: relative;
  z-index: 1;
}
.kpi-donut__value {
  color: var(--brand-green);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.05;
}
.kpi-donut__subvalue {
  color: var(--text-muted);
  font-size: 0.62rem;
  margin-top: 0.25rem;
}
.kpi-sparkline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.kpi-sparkline svg {
  width: 100%;
  height: 7.1rem;
  overflow: visible;
}
.kpi-sparkline__grid {
  stroke: var(--border);
  stroke-width: 1;
}
.kpi-sparkline__area {
  fill: var(--brand-teal-soft);
}
.kpi-sparkline__line {
  fill: none;
  stroke: var(--brand-teal);
  stroke-width: 3;
  stroke-linecap: round;
}
.kpi-sparkline__point {
  fill: var(--bg-card);
  stroke: var(--brand-teal);
  stroke-width: 3;
}
.kpi-sparkline__number {
  fill: var(--brand-green);
  font-family: var(--font-mono-dm);
  font-size: 0.78rem;
  font-weight: 600;
}
.kpi-sparkline__year {
  fill: var(--text-muted);
  font-family: var(--font-mono-dm);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}
.kpi-delta {
  display: inline-flex;
  align-items: center;
  align-self: center;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.kpi-delta--up {
  color: var(--brand-green);
  background: var(--brand-teal-soft);
}
.kpi-trend {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  justify-content: center;
  column-gap: 0.8rem;
  text-align: left;
}
.kpi-trend i {
  grid-row: 1 / 3;
  align-self: center;
  font-size: 3.15rem;
}
.kpi-trend--up i {
  color: var(--orange);
}
.kpi-trend--down i {
  color: var(--brand-teal);
}
.kpi-trend__value {
  color: var(--brand-green);
  font-size: 2.15rem;
  line-height: 1.1;
}
.kpi-trend__direction {
  color: var(--text-muted);
  font-family: var(--font-mono-dm);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.kpi-visual--queue .kpi-trend {
  min-height: 6.4rem;
}
.kpi-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
}
.kpi-bars__row {
  display: grid;
  grid-template-columns: 4.5rem minmax(4rem, 1fr) 2.4rem;
  gap: 0.55rem;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-align: left;
}
.kpi-bars__track {
  height: 0.7rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--brand-navy-soft);
}
.kpi-bars__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}
.kpi-bars__fill--wind {
  width: 55.3%;
  background: var(--brand-green);
}
.kpi-bars__fill--block {
  width: 100%;
  background: var(--brand-teal);
}
.kpi-bars__row strong {
  color: var(--brand-navy);
  font-size: 0.8rem;
  text-align: right;
}
.kpi-bars__footer {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--brand-green);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.why-now {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}
.why-now-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--brand-navy);
}
.why-now-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.why-now-list li::marker {
  color: var(--brand-green);
}

/* Simplified KPI treatment: one comparison per card, with fixed circular geometry. */
.kpi-donut {
  min-height: 0;
  aspect-ratio: 1;
  flex: 0 0 auto;
}
.kpi-context {
  display: block;
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.6rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.kpi-context i {
  margin-right: 0.35rem;
  color: var(--brand-green);
}
.kpi-visual--queue .kpi-trend {
  min-height: 0;
}
.kpi-curtailment {
  align-items: stretch;
  justify-content: center;
}
.kpi-two-point {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.8rem;
}
.kpi-two-point > span {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.kpi-two-point strong {
  color: var(--brand-navy);
  font-size: 1.65rem;
  line-height: 1;
}
.kpi-two-point small {
  color: var(--text-muted);
  font-size: 0.65rem;
}
.kpi-two-point > i {
  color: var(--brand-teal);
  font-size: 1.35rem;
}
.kpi-two-point__current strong {
  color: var(--brand-green);
}
.kpi-bars__footer {
  justify-content: flex-start;
}
.why-now {
  max-width: 1000px;
  margin: 2.5rem auto 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.why-now-heading {
  max-width: 660px;
  margin: 0 auto 1.25rem;
  text-align: center;
}
.why-now-heading .section-label {
  margin-bottom: 0.45rem;
}
.why-now-title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.2;
}
.why-now-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}
.why-now-grid article {
  min-height: 10rem;
  padding: 1.35rem 1.5rem;
  background: var(--bg-card);
}
.why-now-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.why-now-keyword {
  display: block;
  margin-bottom: 0;
  color: var(--brand-green);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.why-now-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: 0.85rem;
  background: var(--brand-teal-soft);
  color: var(--brand-teal);
  font-size: 1.2rem;
}
.why-now-grid h4 {
  margin: 0 0 0.45rem;
  color: var(--brand-navy);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.25;
}
.why-now-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.research-sources {
  max-width: 1000px;
  margin: 1.1rem auto 0;
  text-align: left;
}
.research-sources summary {
  width: fit-content;
  margin: 0 auto;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-mono-dm);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.research-sources[open] summary {
  margin-bottom: 0.75rem;
}
.research-sources .compare-source-note {
  margin-top: 0;
}
@media (max-width: 680px) {
  .why-now-grid {
    grid-template-columns: 1fr;
  }
  .why-now-grid article {
    min-height: 0;
  }
}

/* Analytics */
.analytics-callout .section-label,
.analytics-callout h2 {
  text-align: center;
}
.analytics-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 2rem auto 0;
  align-items: start;
}
@media (min-width: 900px) {
  .analytics-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.analytics-chart {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}
.analytics-chart-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}
.bar-row {
  display: grid;
  grid-template-columns: 1fr minmax(80px, 45%) auto;
  gap: 0.5rem 0.75rem;
  align-items: center;
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
}
.bar-label {
  color: var(--text-muted);
}
.bar-wrap {
  height: 10px;
  background: var(--bg-elevated);
  border-radius: 4px;
  overflow: hidden;
}
.bar {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand-green-dark), var(--brand-green));
  min-width: 4px;
}
.bar--b {
  background: linear-gradient(90deg, #15803d, #4ade80);
}
.bar--c {
  background: linear-gradient(90deg, var(--brand-teal), #2dd4bf);
}
.bar--d {
  background: linear-gradient(90deg, #0f766e, #5eead4);
}
.bar--e {
  background: linear-gradient(90deg, #166534, #86efac);
}
.bar-val {
  font-family: var(--font-mono-dm);
  font-size: 0.75rem;
  color: var(--brand-navy);
  white-space: nowrap;
}
.bar-total {
  margin: 1rem 0 0;
  text-align: right;
  color: var(--brand-green-dark);
  font-size: 0.95rem;
}
.daily-question-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-green);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
}
.daily-q {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
  color: var(--brand-navy);
  line-height: 1.45;
}
.daily-a {
  color: var(--brand-green-dark);
  font-weight: 600;
  margin: 0 0 1.25rem;
}
.attr-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.85;
}
.attr-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.attr-list .fa-fw {
  width: 1.25em;
  color: var(--brand-green);
}

/* Displacement — full-bleed tint (do not set max-width; .section--tint handles width) */
.displacement-section {
  padding: 4rem 1.5rem;
}
.displacement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 0.5rem auto 0;
  max-width: 1100px;
}
.displacement-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.displacement-old {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.55);
}
.displacement-reason {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}
.displacement-new {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-green-dark);
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.displacement-new .fa-circle-check {
  color: var(--brand-green);
  margin-top: 0.15rem;
}

/* ROI */
.roi-section .section-label,
.roi-section h1,
.roi-section h2 {
  text-align: center;
}
.roi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto 0;
}
@media (min-width: 800px) {
  .roi-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
.roi-table-card,
.roi-econ-card,
.roi-drivers-card,
.roi-multiple-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}
.roi-grid--public {
  max-width: 960px;
}
@media (min-width: 800px) {
  .roi-grid--public {
    grid-template-columns: 1fr 1fr;
  }
}
.roi-driver-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.roi-driver-list li {
  margin-bottom: 0.75rem;
}
.roi-driver-list li:last-child {
  margin-bottom: 0;
}
.roi-multiple-explainer {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.roi-nda-line {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}
.roi-card-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--brand-navy);
}
.roi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.roi-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.roi-table td:first-child {
  padding-right: 1rem;
}
.roi-num {
  font-family: var(--font-mono-dm);
  color: var(--brand-green-dark);
  text-align: right;
  white-space: nowrap;
}
.roi-total td {
  font-weight: 700;
  color: var(--text);
  border-bottom: none;
  padding-top: 0.75rem;
}
.roi-total .roi-num {
  background: var(--accent-subtle);
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
}
.roi-econ-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.roi-econ-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.roi-econ-total {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0 0 1.5rem;
}
.roi-multiple {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.roi-multiple-num {
  font-size: 4rem;
  line-height: 1;
  color: var(--brand-green);
}
.roi-multiple-label {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-navy);
}
.roi-multiple-sub {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Comparison */
.compare-section {
  padding: 4rem 1.5rem;
  max-width: 1100px;
}
.compare-table-wrap {
  position: relative;
  isolation: isolate;
  max-height: 35rem;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  margin-top: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.compare-table-wrap:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.compare-corner-label {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  width: 245px;
  height: 49px;
  margin-bottom: -49px;
  padding: 0.8rem 0.75rem;
  background: var(--bg-elevated);
  color: var(--brand-navy);
  border-bottom: 1px solid var(--border);
  box-shadow: 1px 1px 0 var(--border);
  font-size: 0.8rem;
  font-weight: 600;
}
.compare-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}
.compare-scroll-hint__icon {
  color: var(--brand-green);
  font-family: var(--font-mono-dm);
  font-weight: 700;
}
.compare-table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.8rem;
}
.compare-table thead {
  position: relative;
  z-index: 10;
}
.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg-elevated);
  color: var(--brand-navy);
  min-width: 150px;
  padding: 0.8rem 0.75rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--border);
}
.compare-table thead th:first-child {
  left: 0;
  z-index: 11;
  min-width: 245px;
  background: var(--bg-elevated);
}
.compare-table tbody td,
.compare-table tbody th[scope='row'] {
  min-width: 150px;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  text-align: left;
  vertical-align: middle;
}
.compare-table tbody td {
  position: relative;
  z-index: 0;
}
.compare-table tbody th[scope='row'] {
  position: sticky;
  left: 0;
  z-index: 5;
  min-width: 245px;
  max-width: 245px;
  background: var(--bg-card);
  color: var(--text);
  font-weight: 600;
  box-shadow: 1px 0 0 var(--border);
}
.compare-table tbody th[scope='rowgroup'] {
  position: sticky;
  left: 0;
  z-index: 6;
  padding: 0.65rem 0.75rem;
  background: var(--bg-elevated);
  color: var(--brand-teal);
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.compare-table tbody tr:not(.compare-group-row):hover td,
.compare-table tbody tr:not(.compare-group-row):hover th[scope='row'] {
  background: var(--bg);
}
.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th {
  border-bottom: 0;
}
.col-flux {
  border-left: 3px solid var(--brand-green);
  background: rgba(34, 197, 94, 0.06);
  font-weight: 500;
  color: var(--text);
}
.cell-yes {
  color: var(--brand-green-dark);
  font-weight: 600;
}
.cell-no {
  color: #94a3b8;
}
.cell-part {
  color: #d97706;
  font-weight: 500;
}
.compare-source-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}
@media (max-width: 640px) {
  .compare-table-wrap {
    max-height: 30rem;
  }
  .compare-table thead th:first-child,
  .compare-table tbody th[scope='row'],
  .compare-corner-label {
    min-width: 205px;
    max-width: 205px;
    width: 205px;
  }
}

/* Pricing spec */
.pricing--spec {
  max-width: 1100px;
}
.pricing-grid--three {
  margin-top: 1rem;
}
.pricing-tier {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 0.25rem;
}
.pricing--spec .price span {
  font-size: 0.95rem;
  font-weight: 500;
}
.analytics-addon-banner {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-green);
  border-radius: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.analytics-addon-banner strong {
  color: var(--brand-navy);
  display: block;
  margin-bottom: 0.35rem;
}
.analytics-addon-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 42rem;
}

/* Timeline */
.impl-section .section-label,
.impl-section h2 {
  text-align: center;
}
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto 0;
}
@media (min-width: 768px) {
  .timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}
.timeline-phase {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}
.timeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ink-surface);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}
.timeline-phase h3 {
  margin: 0;
  font-size: 0.85rem;
  color: var(--brand-green-dark);
  font-weight: 600;
}
.timeline-phase h4 {
  margin: 0.35rem 0 0.75rem;
  font-size: 1rem;
  color: var(--brand-navy);
}
.timeline-phase ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* Security — full-bleed band + icon cards */
.security-section {
  position: relative;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(94, 234, 212, 0.08) 0%, transparent 42%),
    linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 38%, var(--bg-elevated) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.security-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34, 197, 94, 0.12), transparent 55%);
  pointer-events: none;
}
.security-section__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem 4.5rem;
}
.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
@media (min-width: 700px) {
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }
  /* Odd card count: stretch the last card across both columns instead of orphaning it */
  .security-grid > .security-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
.security-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.35rem 1.35rem 1.4rem 1.25rem;
  box-shadow: 0 4px 20px rgba(30, 58, 95, 0.06);
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
}
.security-card:hover {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 12px 36px rgba(30, 58, 95, 0.1);
  transform: translateY(-2px);
}
.security-card__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--brand-green-dark);
  background: linear-gradient(145deg, var(--brand-navy-soft), rgba(34, 197, 94, 0.14));
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.security-card__body {
  min-width: 0;
}
.security-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
}
.security-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.68;
}
@media (max-width: 480px) {
  .security-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1.25rem;
  }
  .security-card__icon {
    margin-bottom: 0.15rem;
  }
}

/* Final CTA — light */
.final-cta {
  text-align: center;
  padding: 4rem 1.5rem;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.08) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}
.final-cta .section-lead {
  color: var(--text-muted);
}
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}
/* mailto fallback: button that copies the sales address for users without a mail client */
.btn-copy-email.is-copied {
  border-color: var(--brand-green);
  color: var(--brand-green-dark);
  background: var(--accent-subtle);
}

.contact-form {
  max-width: 420px;
  margin: 1.5rem auto 0;
  text-align: left;
}
.contact-form .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}
.contact-form .msg {
  text-align: center;
}
.contact-form .msg.success {
  background: rgba(34, 197, 94, 0.15);
  color: var(--accent);
}
.contact-form button.btn--brand-solid {
  display: flex;
  margin: 0.5rem auto 0;
}
.contact-form + .footer-contact {
  margin-top: 1.5rem;
}

/* Homepage: subpage cards */
.page-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}
/* Each feature page's "Explore the rest of the platform" grid: the other 5 features, in a
   3 + 2 layout on desktop. On narrow screens it becomes a touch-scrollable single row with the
   next card peeking in, instead of stacking 5-deep. */
.page-nav-grid--quad {
  max-width: 900px;
}
.page-nav-grid--overview-modules {
  max-width: 1000px;
}
@media (min-width: 769px) {
  .page-nav-grid--overview-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 769px) {
  /* Five cards: 3 + 2, last row centered. */
  .page-nav-grid--quad {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .page-nav-grid--quad .page-nav-card {
    flex: 0 0 calc((100% - (2 * var(--space-grid))) / 3);
  }
}
@media (max-width: 768px) {
  .page-nav-grid--quad {
    display: flex;
    max-width: none;
    gap: 1.5rem;
    margin: 0 -1.5rem;
    padding: 1rem 1.5rem 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .page-nav-grid--quad .page-nav-card {
    flex: 0 0 68%;
    scroll-snap-align: start;
  }
}
@media (max-width: 480px) {
  .page-nav-grid--quad .page-nav-card {
    flex: 0 0 74%;
  }
}
.page-nav-card__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  margin: -1.5rem -1.5rem 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(135deg, var(--ink-surface) 0%, var(--brand-green) 100%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.75rem;
}
.page-nav-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--card-wind);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.page-nav-card:hover {
  border-color: var(--brand-teal);
  box-shadow: 0 8px 28px rgba(30, 58, 95, 0.1);
}
.page-nav-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--brand-navy);
}
.page-nav-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.page-nav-card .label-today {
  color: var(--orange);
}
.page-nav-card .label-flux {
  color: var(--brand-teal);
}
.page-nav-card p + p {
  margin-top: 0.5rem;
}
.page-nav-card .more {
  display: inline-block;
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: var(--type-body);
  font-weight: 600;
  color: var(--brand-green-dark);
}

.intro-blurb {
  max-width: 40rem;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.intro-blurb + .intro-deeper-look {
  text-align: center;
  margin: -1rem auto 2.25rem;
  padding: 0 1.5rem;
}

.footer-contact {
  margin: 0.25rem 0 0.5rem;
}
.footer-contact a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.footer-contact a:hover {
  color: var(--brand-teal);
  text-decoration: underline;
}
.footer-copyright a {
  color: var(--text-muted);
}

/* Prev/next page strip + full-bleed bottom CTA (marketing) */
.page-bottom-cta {
  max-width: none !important;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

.page-flow-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.25rem 1.5rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.page-flow-nav__prev,
.page-flow-nav__next {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-navy);
  transition: color 0.2s;
}
.page-flow-nav__prev {
  justify-content: flex-start;
  text-align: left;
}
.page-flow-nav__next {
  justify-content: flex-end;
  text-align: right;
}
.page-flow-nav__prev:hover,
.page-flow-nav__next:hover {
  color: var(--brand-teal);
}
.page-flow-nav__prev i,
.page-flow-nav__next i {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Security page — reference architecture diagram + legacy table */
.sec-arch-section__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 3.5rem;
}
.sec-arch-section h2 {
  color: var(--brand-navy);
}
.sec-arch-diagram {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 2rem auto 1.25rem;
  max-width: 36rem;
}
.sec-arch-layer {
  position: relative;
  padding: 0.85rem 1rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), var(--brand-navy-soft));
  box-shadow: 0 2px 12px rgba(30, 58, 95, 0.06);
  animation: secArchBreathe 4.5s ease-in-out infinite;
}
.sec-arch-layer:nth-child(1) {
  animation-delay: 0s;
}
.sec-arch-layer:nth-child(3) {
  animation-delay: 0.35s;
}
.sec-arch-layer:nth-child(5) {
  animation-delay: 0.7s;
}
.sec-arch-layer:nth-child(7) {
  animation-delay: 1.05s;
}
.sec-arch-layer:nth-child(9) {
  animation-delay: 1.4s;
}
@keyframes secArchBreathe {
  0%,
  100% {
    box-shadow: 0 2px 12px rgba(30, 58, 95, 0.06);
    border-color: var(--border);
  }
  50% {
    box-shadow: 0 4px 22px rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.35);
  }
}
.sec-arch-layer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.sec-arch-layer__label {
  font-family: var(--font-mono-dm);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-green-dark);
}
.sec-arch-layer__title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-top: 0.2rem;
}
.sec-arch-layer__detail {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.5;
}
.sec-arch-connector {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1;
  user-select: none;
}
.sec-arch-caption {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}
.sec-arch-caption strong {
  color: var(--brand-navy);
}
.sec-legacy-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}
.sec-legacy-section h2 {
  color: var(--brand-navy);
}
.sec-legacy-table-wrap {
  margin-top: 1.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 1rem;
  border: 1px solid var(--border);
}
.sec-legacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.55;
  background: var(--bg-card);
}
.sec-legacy-table th,
.sec-legacy-table td {
  padding: 0.95rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.sec-legacy-table th {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand-navy);
  background: var(--brand-navy-soft);
}
.sec-legacy-table th:first-child,
.sec-legacy-table td:first-child {
  color: var(--legacy-red-text);
  background: var(--legacy-red-strong);
}
.sec-legacy-table th:nth-child(2),
.sec-legacy-table td:nth-child(2) {
  background: var(--legacy-red-wash);
}
.sec-legacy-table th:nth-child(2) {
  color: var(--legacy-red-text);
}
.sec-legacy-table th:nth-child(3),
.sec-legacy-table .sec-legacy-flux {
  background: var(--legacy-teal-column);
}
.sec-legacy-table th:nth-child(3) {
  color: var(--legacy-teal-text);
}
.sec-legacy-table tbody tr:last-child td {
  border-bottom: none;
}
.sec-legacy-table td {
  color: var(--text-muted);
}
.sec-legacy-table .sec-legacy-flux {
  color: var(--text);
}
.sec-legacy-table-wrap .sec-legacy-table {
  min-width: 560px;
}
.sec-comply-block {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.sec-comply-follow {
  margin-top: -1.25rem;
}
.sec-page-hero .trust-bar {
  border-top: none;
  padding-top: 0.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Dark marketing shell ———
   The public site is intentionally dark by default. These overrides cover the
   handful of legacy light-only surfaces while the shared tokens above carry the
   theme through every page, including the legal and platform content. */
.site-header::before {
  background: rgba(7, 19, 31, 0.88);
}

.skip-to-main,
.mission-statement,
.roi-impact-number,
.final-cta,
.assessment-step__number {
  background-color: #0b1f32;
}

.nav-dropdown-menu,
.nav-dropdown-menu::before,
.site-footer,
.nav-toggle {
  background: var(--bg-card);
}

.nav-dropdown-menu {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.site-footer {
  border-top-color: var(--border);
}

.footer-links__group a {
  color: var(--text-muted);
}

.footer-links__group a:hover,
.footer-contact,
.footer-meta a:hover {
  color: var(--brand-teal);
}

.feature-icon--badge {
  background: var(--bg-elevated);
  color: var(--brand-teal);
}

.btn-primary:hover,
.btn--brand-solid:hover,
#session .btn-signin:hover,
.site-header nav a.btn-signin:hover {
  background: var(--bg-card);
  color: var(--brand-teal);
  border-color: var(--brand-teal);
}

.btn-outline-brand {
  background: var(--bg-card);
  border-color: var(--brand-teal);
  color: var(--brand-teal);
}

.btn-outline-brand:hover {
  background: var(--brand-teal-soft);
  color: var(--brand-teal);
}

.hero--v3 {
  background: linear-gradient(180deg, #0c2236 0%, var(--bg) 100%);
}

.hero--v3::before {
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.09) 1px, transparent 1px);
}

.features::before {
  background: linear-gradient(180deg, rgba(94, 234, 212, 0.07) 0%, transparent 55%);
}

.section--tint {
  background: linear-gradient(180deg, rgba(94, 234, 212, 0.06) 0%, var(--surface-tint-wind) 100%);
}

.founders-letter {
  border-color: rgba(191, 219, 254, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.founders-letter__body {
  color: var(--text-muted);
}

.sec-arch-layer {
  background: linear-gradient(135deg, rgba(16, 36, 57, 0.96), var(--brand-navy-soft));
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* Deeper teal feature surfaces for the default dark theme. */
:root:not([data-theme='light']) .features::before {
  background:
    radial-gradient(circle at 50% -34%, rgba(45, 212, 191, 0.14) 0%, transparent 48%),
    linear-gradient(180deg, rgba(13, 148, 136, 0.16) 0%, transparent 62%);
}

:root:not([data-theme='light']) .section--tint {
  background:
    linear-gradient(150deg, rgba(13, 148, 136, 0.14) 0%, rgba(7, 19, 31, 0) 56%),
    linear-gradient(180deg, #09212e 0%, var(--surface-tint-wind) 100%);
}

:root:not([data-theme='light']) .security-section {
  background:
    linear-gradient(160deg, rgba(45, 212, 191, 0.14) 0%, transparent 48%),
    linear-gradient(180deg, #0b2937 0%, var(--bg) 48%, #09212d 100%);
}

:root:not([data-theme='light']) .security-section::before {
  background: radial-gradient(circle, rgba(45, 212, 191, 0.14) 0%, rgba(13, 148, 136, 0.04) 42%, transparent 72%);
}

:root:not([data-theme='light']) .security-card__icon {
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.24), rgba(45, 212, 191, 0.1));
  border-color: rgba(94, 234, 212, 0.24);
}

:root:not([data-theme='light']) .final-cta {
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.16) 0%, var(--bg) 100%);
}

:root:not([data-theme='light']) .page-nav-card__thumb {
  background: linear-gradient(135deg, #082b38 0%, #0f766e 58%, #14b8a6 100%);
}

@media (max-width: 768px) {
  .site-header nav,
  .site-header nav > a:not(.btn-signin),
  .nav-dropdown > summary,
  .nav-dropdown[open] > summary,
  .nav-dropdown-menu,
  .site-header nav a.btn-signin,
  .site-header nav #session .btn-signin {
    background: var(--bg-card);
  }

  .site-header nav a,
  .nav-dropdown > summary,
  .nav-dropdown[open] > summary,
  .site-header nav a.btn-signin,
  .site-header nav #session .btn-signin {
    color: var(--text) !important;
  }

  .site-header nav .nav-dropdown-menu a + a {
    border-top-color: rgba(191, 219, 254, 0.14);
  }
}

/* The footer control switches the same shared tokens back to the original
   daylight palette, so every marketing, platform, and policy page follows it. */
:root[data-theme='light'] {
  --bg: #f8fafc;
  --bg-elevated: #f1f5f9;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #556173;
  --navy: #1e3a5f;
  --navy-subtle: rgba(30, 58, 95, 0.06);
  --orange: #d97706;
  --orange-subtle: rgba(217, 119, 6, 0.12);
  --accent: #15803d;
  --accent-hover: #166534;
  --accent-subtle: rgba(34, 197, 94, 0.14);
  --highlight: #0ea5e9;
  --error: #dc2626;
  --brand-green: #15803d;
  --brand-green-dark: #166534;
  --brand-navy: #1e3a5f;
  --brand-navy-soft: rgba(30, 58, 95, 0.08);
  --brand-teal: #0d9488;
  --brand-teal-soft: rgba(13, 148, 136, 0.1);
  --legacy-red-strong: rgba(220, 38, 38, 0.12);
  --legacy-red-wash: rgba(220, 38, 38, 0.06);
  --legacy-red-text: #b91c1c;
  --legacy-teal-column: rgba(13, 148, 136, 0.12);
  --legacy-teal-text: #0f766e;
  --ink-surface: #1e3a5f;
  --surface-white-wind: rgba(255, 255, 255, 0.82);
  --surface-tint-wind: rgba(248, 250, 252, 0.86);
  --card-wind: rgba(255, 255, 255, 0.68);
  --logo-color: #1e293b;
}

:root[data-theme='light'] .site-header::before {
  background: rgba(248, 250, 252, 0.9);
}

:root[data-theme='light'] .skip-to-main,
:root[data-theme='light'] .mission-statement {
  background-color: var(--brand-navy);
}

:root[data-theme='light'] .final-cta {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.08) 0%, var(--bg) 100%);
}

:root[data-theme='light'] .nav-dropdown-menu {
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
}

:root[data-theme='light'] .hero--v3 {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

:root[data-theme='light'] .hero--v3::before {
  background-image:
    linear-gradient(rgba(30, 58, 95, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 95, 0.06) 1px, transparent 1px);
}

:root[data-theme='light'] .features::before {
  background: linear-gradient(180deg, rgba(30, 58, 95, 0.06) 0%, transparent 55%);
}

:root[data-theme='light'] .section--tint {
  background: linear-gradient(180deg, rgba(30, 58, 95, 0.05) 0%, var(--surface-tint-wind) 100%);
}

:root[data-theme='light'] .founders-letter {
  border-color: rgba(30, 58, 95, 0.12);
  box-shadow: 0 20px 50px rgba(30, 58, 95, 0.07);
}

:root[data-theme='light'] .founders-letter__body {
  color: #334155;
}

:root[data-theme='light'] .sec-arch-layer {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), var(--brand-navy-soft));
  box-shadow: 0 2px 12px rgba(30, 58, 95, 0.06);
}

@media (max-width: 768px) {
  :root[data-theme='light'] .site-header nav .nav-dropdown-menu a + a {
    border-top-color: rgba(30, 58, 95, 0.1);
  }
}

/* Home security banner — full-bleed fortress image, frosted text card. Card is always dark glass
   (light text) so it reads over the image in both themes. */
.fortress-banner {
  position: relative;
  max-width: none;
  display: grid;
  place-items: center;
  padding: 6rem 1.5rem;
  overflow: hidden;
  background: #0b1118;
}
/* Fixed-background effect with no JS: the image is pinned to the viewport and clip-path (unlike
   overflow) also clips fixed children, so the banner acts as a window onto it. Compositor-only, no jitter. */
.fortress-banner__bg {
  position: absolute;
  inset: 0;
  clip-path: inset(0);
}
.fortress-banner__bg img {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  object-fit: cover;
}
.fortress-banner__card {
  position: relative;
  width: 100%;
  max-width: 44rem;
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--brand-teal);
  background: rgba(8, 20, 32, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  color: #f1f5f9;
}
.fortress-banner__card h2 {
  color: #f1f5f9;
}
.fortress-banner__card .section-label {
  color: var(--brand-green);
}
.fortress-banner__card .section-lead {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}
.fortress-banner__card .btn-outline-brand {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.fortress-banner__card .btn-outline-brand:hover {
  background: rgba(94, 234, 212, 0.2);
  border-color: #5eead4;
  color: #fff;
}

/* Light theme: frosted white glass, dark text. */
:root[data-theme='light'] .fortress-banner__card {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  color: #0f172a;
}
:root[data-theme='light'] .fortress-banner__card h2 {
  color: #0f172a;
}
/* Darker green than --brand-green so the label stays legible on the light glass. */
:root[data-theme='light'] .fortress-banner__card .section-label {
  color: #15803d;
}
:root[data-theme='light'] .fortress-banner__card .section-label::before {
  background: #15803d;
}
:root[data-theme='light'] .fortress-banner__card .section-lead {
  color: #1e293b;
}
:root[data-theme='light'] .fortress-banner__card .btn-outline-brand {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(15, 23, 42, 0.55);
  color: #0f172a;
}
:root[data-theme='light'] .fortress-banner__card .btn-outline-brand:hover {
  background: rgba(94, 234, 212, 0.35);
  border-color: #0d9488;
  color: #0f172a;
}

/* Site-wide type scale. About remains intentionally unchanged. */
:root {
  --type-min: 0.875rem;
  --type-body: 1.125rem;
  --type-subhead: 1.5rem;
  --type-heading: clamp(2rem, 4vw, 3rem);
  --type-display: clamp(2.5rem, 6vw, 4rem);
}

body {
  font-size: var(--type-body);
}

/* Compact interface text never drops below 14px. */
body :is(
    .skip-to-main,
    .site-header nav a,
    .nav-dropdown > summary,
    .nav-dropdown-menu a,
    #session,
    #session .btn-signin,
    .site-header nav a.btn-signin,
    #session button,
    .hero-badge,
    .hero-badge--brand,
    .stat,
    .footer-links__group a,
    .footer-links__label,
    .footer-brand .footer-tagline,
    .footer-brand .footer-tagline sup,
    .footer-contact,
    .footer-meta p,
    .theme-toggle button,
    .site-header nav .nav-dropdown-menu a,
    .mobile-nav-meta,
    .trust-bar,
    .mission-statement span,
    .founders-letter__signature span,
    .founder-card__title,
    .pipeline-node,
    .kpi-donut__subvalue,
    .kpi-sparkline__number,
    .kpi-sparkline__year,
    .kpi-delta,
    .kpi-trend__direction,
    .kpi-bars__row,
    .kpi-bars__row strong,
    .kpi-bars__footer,
    .kpi-context,
    .kpi-two-point small,
    .why-now-keyword,
    .research-sources summary,
    .analytics-chart-title,
    .bar-row,
    .bar-val,
    .compare-table,
    .compare-source-note,
    .pricing-tier,
    .timeline-num,
    .timeline-phase h3,
    .timeline-phase ul,
    .roi-nda-line,
    .roi-table,
    .roi-multiple-sub,
    .sec-arch-layer__label,
    .sec-arch-layer__detail,
    .sec-arch-caption,
    .sec-legacy-table,
    .sec-legacy-table th
  ) {
  font-size: var(--type-min);
}

/* Reading copy uses the 18px body step. */
body :is(
    .hero-lead,
    .hero-lead--v3,
    .section-lead,
    .problem-card,
    .problem-card p,
    .outcome-card p,
    .feature-card p,
    .pricing-card li,
    .pricing-card .price span,
    .auth-tabs .tab,
    .form-group input,
    .contact-form .form-group textarea,
    .auth-signin-link,
    .stat-callout-label,
    .why-now-grid p,
    .attr-list,
    .displacement-old,
    .displacement-reason,
    .displacement-new,
    .roi-driver-list,
    .roi-multiple-explainer,
    .roi-econ-list,
    .roi-econ-total,
    .analytics-addon-banner p,
    .security-card p,
    .page-nav-card p,
    .intro-blurb,
    .about-hero > p:last-child,
    .founders-letter__body,
    .founder-card__content > p:last-child,
    .about-contact > p:not(.section-label)
  ) {
  font-size: var(--type-body);
}

body :is(
    .problem-card h3,
    .feature-card h3,
    .why-now-grid h4,
    .daily-q,
    .roi-card-title,
    .timeline-phase h4,
    .security-card h3,
    .page-nav-card h3
  ) {
  font-size: var(--type-subhead);
  line-height: 1.25;
}

body :is(section h2, section h1.section-title, .why-now-title) {
  font-size: var(--type-heading);
  line-height: 1.15;
}

body :is(.hero h1, .hero-title-v3) {
  font-size: var(--type-display);
  line-height: 1.08;
}

body .section-label {
  font-size: var(--type-body);
}

/* Give the primary navigation more presence without enlarging Log in. */
body .site-header nav > a:not(.btn-signin),
body .site-header nav .nav-dropdown > summary {
  font-size: 1rem !important;
}

body .site-header nav a.btn-signin,
body .site-header nav #session .btn-signin {
  font-size: 0.875rem;
  color: var(--accent) !important;
  background: #fff;
  border-color: var(--accent);
}

body .site-header nav a.btn-signin:hover,
body .site-header nav a.btn-signin:focus-visible,
body .site-header nav #session .btn-signin:hover,
body .site-header nav #session .btn-signin:focus-visible {
  color: var(--accent-hover) !important;
  background: #f0fdf4;
  border-color: var(--accent-hover);
}

:root:not([data-theme='light']) body .site-header nav a.btn-signin,
:root:not([data-theme='light']) body .site-header nav #session .btn-signin {
  color: var(--brand-green-dark) !important;
  background: var(--bg-card);
  border-color: var(--brand-green);
}

:root:not([data-theme='light']) body .site-header nav a.btn-signin:hover,
:root:not([data-theme='light']) body .site-header nav a.btn-signin:focus-visible,
:root:not([data-theme='light']) body .site-header nav #session .btn-signin:hover,
:root:not([data-theme='light']) body .site-header nav #session .btn-signin:focus-visible {
  color: var(--brand-green-dark) !important;
  background: var(--accent-subtle);
  border-color: var(--brand-green-dark);
}

/* Keep the five-card Explore grid readable without changing its 3 + 2 desktop layout. */
body .page-nav-grid--quad .page-nav-card h3 {
  font-size: clamp(1.15rem, 1.4vw, 1.25rem);
  line-height: 1.25;
}
body .page-nav-grid--quad .page-nav-card p {
  font-size: 1rem;
  line-height: 1.55;
}
body .page-nav-grid--quad .page-nav-card .more {
  font-size: 0.95rem;
}

/* The overview's eight capability summaries are denser supporting copy. */
body .capabilities-section .feature-card p {
  font-size: 1rem;
}

/* Shared spacing rhythm. About remains intentionally unchanged. */
:root {
  --space-section-y: clamp(5.5rem, 8vw, 7rem);
  --space-section-x: clamp(1.5rem, 4vw, 2.5rem);
  --space-card: clamp(1.75rem, 2.5vw, 2.25rem);
  --space-grid: clamp(1.5rem, 2.5vw, 2rem);
}

body:not(:has(.about-hero)) section:not(.security-section) {
  padding-top: var(--space-section-y);
  padding-right: var(--space-section-x);
  padding-bottom: var(--space-section-y);
  padding-left: var(--space-section-x);
}

body:not(:has(.about-hero)) .security-section__inner {
  padding: var(--space-section-y) var(--space-section-x);
}

body:not(:has(.about-hero)) :is(
    .problem-card,
    .outcome-card,
    .feature-card,
    .pricing-card,
    .auth-form,
    .market-stats--six .stat-callout,
    .analytics-chart,
    .daily-question-card,
    .displacement-card,
    .roi-table-card,
    .roi-econ-card,
    .roi-drivers-card,
    .roi-multiple-card,
    .timeline-phase,
    .security-card,
    .page-nav-card,
    .sec-arch-layer
  ) {
  padding: var(--space-card);
}

body:not(:has(.about-hero)) :is(
    .problem-grid,
    .outcomes-grid,
    .features-grid,
    .pricing-grid,
    .market-stats,
    .analytics-layout,
    .displacement-grid,
    .roi-grid,
    .timeline,
    .security-grid,
    .page-nav-grid
  ) {
  gap: var(--space-grid);
}

body:not(:has(.about-hero)) .section-lead {
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

body:not(:has(.about-hero)) .section-label {
  margin-bottom: 1rem;
}

body:not(:has(.about-hero)) .market-stats {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

body:not(:has(.about-hero)) .why-now {
  margin-top: clamp(3.5rem, 6vw, 5rem);
}

body:not(:has(.about-hero)) .why-now-heading {
  margin-bottom: 2rem;
}

body:not(:has(.about-hero)) .why-now-grid article {
  padding: var(--space-card);
}

body:not(:has(.about-hero)) .page-nav-card__thumb {
  margin: calc(-1 * var(--space-card)) calc(-1 * var(--space-card)) 1.5rem;
}

body:not(:has(.about-hero)) .fortress-banner__card {
  padding: clamp(2.5rem, 5vw, 3.5rem);
}

body:not(:has(.about-hero)) .contact-form {
  margin-top: 2.5rem;
}

body:not(:has(.about-hero)) .form-group {
  margin-bottom: 1.25rem;
}

body:not(:has(.about-hero)) .site-footer {
  padding: 5rem var(--space-section-x) 3rem;
}

body:not(:has(.about-hero)) .footer-links {
  column-gap: 3rem;
  row-gap: 2.5rem;
  padding-bottom: 4rem;
}

body:not(:has(.about-hero)) .page-flow-nav {
  padding: 3rem var(--space-section-x) 1.5rem;
}

body .page-flow-nav__prev,
body .page-flow-nav__next {
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--type-body);
  line-height: 1.3;
}

body .page-flow-nav__prev i,
body .page-flow-nav__next i {
  flex: 0 0 auto;
  font-size: var(--type-body);
}

body .page-flow-nav__prev:hover,
body .page-flow-nav__next:hover {
  background: var(--brand-teal-soft);
}

@media (max-width: 768px) {
  :root {
    --space-section-y: 4.5rem;
    --space-section-x: 1.25rem;
    --space-card: 1.5rem;
    --space-grid: 1.25rem;
  }

  body:not(:has(.about-hero)) .section-lead {
    margin-bottom: 2.5rem;
  }

  body:not(:has(.about-hero)) .market-stats {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }

  body:not(:has(.about-hero)) .why-now {
    margin-top: 3rem;
  }
}

/* Feature-page problem statements: large, scannable points instead of a loose text list. */
body section[aria-labelledby='problem-heading'] .why-now {
  max-width: 900px;
  margin-top: 2.5rem;
  padding: 0;
  background: transparent;
  border: 0;
}

body section[aria-labelledby='problem-heading'] .why-now-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  font-size: var(--type-body);
  line-height: 1.65;
  list-style: none;
}

body section[aria-labelledby='problem-heading'] .why-now-list li {
  --problem-marker: #2b7a4d;
  --problem-marker-top: 2rem;
  --problem-marker-left: 1.65rem;
  position: relative;
  padding: 1.5rem 1.75rem 1.5rem 3.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

body section[aria-labelledby='problem-heading'] .why-now-list li:nth-child(2) {
  --problem-marker: #1e72b8;
}

body section[aria-labelledby='problem-heading'] .why-now-list li:nth-child(3) {
  --problem-marker: #203568;
}

body section[aria-labelledby='problem-heading'] .why-now-list li::before {
  position: absolute;
  z-index: 1;
  top: var(--problem-marker-top);
  left: var(--problem-marker-left);
  width: 0.75rem;
  height: 0.75rem;
  background: var(--problem-marker);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.16),
    0 0 0 2px rgba(255, 255, 255, 0.04);
  content: '';
}

body section[aria-labelledby='problem-heading'] .why-now-list li::after {
  position: absolute;
  top: calc(var(--problem-marker-top) - 0.3125rem);
  left: calc(var(--problem-marker-left) - 0.3125rem);
  width: 1.375rem;
  height: 1.375rem;
  border: 1px solid var(--problem-marker);
  border-radius: 50%;
  content: '';
  opacity: 0;
  pointer-events: none;
  transform: scale(0.72);
  animation: problem-marker-pulse 4.8s ease-out infinite;
}

body section[aria-labelledby='problem-heading'] .why-now-list li:nth-child(2)::after {
  animation-delay: 1.1s;
}

body section[aria-labelledby='problem-heading'] .why-now-list li:nth-child(3)::after {
  animation-delay: 2.2s;
}

@keyframes problem-marker-pulse {
  0%,
  55%,
  100% {
    opacity: 0;
    transform: scale(0.72);
  }
  16% {
    opacity: 0.28;
  }
  34% {
    opacity: 0;
    transform: scale(1.3);
  }
}

@media (max-width: 640px) {
  body section[aria-labelledby='problem-heading'] .why-now-list li {
    --problem-marker-top: 1.85rem;
    --problem-marker-left: 1.35rem;
    padding: 1.35rem 1.25rem 1.35rem 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body section[aria-labelledby='problem-heading'] .why-now-list li::after {
    animation: none;
    opacity: 0.16;
    transform: scale(1);
  }
}

/* Feature-page editorial quote bands. The image files reserve their center for copy;
   the dark glass keeps that copy readable without hiding the surrounding scene. */
body:not(:has(.about-hero)) section.quote-band {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(30rem, 45vw, 39rem);
  max-width: none;
  margin: 0;
  padding: clamp(5rem, 9vw, 8rem) var(--space-section-x);
  overflow: hidden;
  background-color: #07131f;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.06),
    inset 0 -1px rgba(0, 0, 0, 0.35);
}

.quote-band__media {
  position: absolute;
  z-index: -2;
  inset: 0;
  clip-path: inset(0); /* window onto the viewport-pinned image below; overflow would not clip it */
}

.quote-band__media img {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  object-fit: cover;
  object-position: center;
}

/* Show the whole image width instead of cropping to the viewport shape. The image keeps its aspect
   ratio, centers in the viewport, and fades into the image's own dark navy where it is shorter than the viewport. */
.quote-band__media--fit {
  background: #07131f;
}
.quote-band__media--fit img {
  height: auto;
  margin: auto 0;
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
}

.quote-band::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 16, 27, 0.06), rgba(5, 16, 27, 0.2));
  content: '';
  pointer-events: none;
}

body:not(:has(.about-hero)) .quote-band .daily-question-card {
  position: relative;
  width: min(100%, 47rem);
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 3.75rem);
  border: 0;
  border-radius: 1.5rem;
  background: rgba(5, 19, 31, 0.56);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  backdrop-filter: blur(10px) saturate(1.05);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  color: #f4f8f9;
  text-align: center;
}

body .quote-band .daily-eyebrow {
  margin: 0 0 1.35rem;
  color: var(--brand-teal);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body .quote-band .daily-q {
  max-width: 40rem;
  margin: 0 auto;
  color: #f4f8f9;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.25vw, 3.45rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

body .quote-band .daily-a {
  max-width: 36rem;
  margin: 1.75rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(94, 234, 212, 0.3);
  color: #c8d7dc;
  font-family: var(--font);
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  font-weight: 400;
  line-height: 1.65;
  text-wrap: balance;
}

/* Match the homepage fortress panel in light mode: translucent white glass over the
   same photography, with ink and brand colors tuned for the brighter surface. */
:root[data-theme='light'] body:not(:has(.about-hero)) section.quote-band {
  background-color: #e8eef2;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.72),
    inset 0 -1px rgba(30, 58, 95, 0.12);
}

:root[data-theme='light'] body:not(:has(.about-hero)) section.quote-band::after {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.04), rgba(226, 232, 240, 0.14));
}

:root[data-theme='light'] body:not(:has(.about-hero)) .quote-band .daily-question-card {
  border: 0;
  background: rgba(7, 19, 31, 0.18);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  backdrop-filter: blur(10px) saturate(1.05);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
  color: #f8fafc;
}

:root[data-theme='light'] body .quote-band .daily-eyebrow {
  color: #5eead4;
}

:root[data-theme='light'] body .quote-band .daily-q {
  color: #f8fafc;
}

:root[data-theme='light'] body .quote-band .daily-a {
  border-top-color: rgba(94, 234, 212, 0.38);
  color: #e2e8f0;
}

@media (max-width: 640px) {
  body:not(:has(.about-hero)) section.quote-band {
    min-height: 31rem;
    padding: 4rem 1rem;
  }

  body:not(:has(.about-hero)) .quote-band .daily-question-card {
    padding: 2.25rem 1.35rem;
    border-radius: 1.25rem;
  }

  body .quote-band .daily-q {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }
}

/* Connected architecture film — poster trigger + modal (platform.html) */
.arch-film-trigger {
  position: relative;
  display: block;
  max-width: 56rem;
  margin: 2.5rem auto 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(30, 58, 95, 0.18);
  color: #fff;
  text-decoration: none;
}
.arch-film-trigger img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}
.arch-film-trigger:hover img,
.arch-film-trigger:focus-visible img {
  transform: scale(1.02);
}
.arch-film-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 2rem;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.arch-film-play[hidden] {
  display: none;
}
.arch-film-play i {
  margin-left: 0.3rem;
}
.arch-film-trigger:hover .arch-film-play,
.arch-film-play--button:hover {
  background: var(--accent-hover);
  transform: translate(-50%, -50%) scale(1.06);
}
.arch-film-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(7, 19, 31, 0.78);
  font-size: 0.875rem;
  font-weight: 600;
}
.arch-film-modal {
  width: min(64rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--bg-elevated);
  color: var(--text);
}
.arch-film-modal::backdrop {
  background: rgba(7, 19, 31, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.arch-film-panel {
  position: relative;
  padding: 1rem 1rem 1.5rem;
}
.arch-film-player {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
}
.arch-film-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.arch-film-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 19, 31, 0.78);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}
.arch-film-title {
  margin: 1.25rem 0.5rem 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.6rem;
}
.arch-film-desc {
  margin: 0 0.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}
@media (max-width: 640px) {
  .arch-film-play {
    width: 4rem;
    height: 4rem;
    font-size: 1.5rem;
  }
}
