/* ============================================================
   Seismos Design System
   Color: Rich Black #1A1A1B | Bold Red #EC1D24 | White #F8F7F4 | Light Black #1E1E1F
   2026 Brand Guide aligned
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --color-black: #1A1A1B;
  --color-red: #EC1D24;
  --color-red-hover: #F53940;
  --color-red-dark: #C9181E;
  --color-red-light: rgba(236, 29, 36, 0.1);
  --color-red-glow: rgba(236, 29, 36, 0.4);
  --color-white: #F8F7F4;
  --color-dark: #1E1E1F;
  --color-gray-100: #F3F2EF;  /* Brand: Soft Gray */
  --color-gray-200: #DADCDE;  /* Brand: Soft Gray */
  --color-gray-300: #D2D1CE;
  --color-gray-400: #A3A2A0;
  --color-gray-500: #8A8A8E;  /* Brand: Medium Gray — bumped from #626366 for WCAG AA contrast */
  --color-gray-600: #404040;  /* Brand: Deep Gray */
  --color-gray-700: #2E2E2F;
  --color-gray-800: #232324;
  --color-text: #E3E2DF;
  --color-text-light: #A3A2A0;
  --color-text-on-dark: #E3E2DF;

  --font-sans: 'Proxima Nova', 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --fs-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
  --fs-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --fs-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --fs-lg: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --fs-md: clamp(0.95rem, 0.875rem + 0.375vw, 1.0625rem);
  --fs-xl: clamp(1.15rem, 1rem + 0.75vw, 1.375rem);
  --fs-xxl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --fs-2xl: clamp(1.35rem, 1.1rem + 1.25vw, 1.75rem);
  --fs-3xl: clamp(1.6rem, 1.2rem + 2vw, 2.25rem);
  --fs-4xl: clamp(1.85rem, 1.3rem + 2.75vw, 2.75rem);
  --fs-5xl: clamp(2.1rem, 1.4rem + 3.5vw, 3.5rem);
  --fs-6xl: 3.75rem;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  --spacing-4xl: 8rem;
  --spacing-0-5: 0.125rem;
  --spacing-1: 0.25rem;
  --spacing-1-5: 0.375rem;

  --max-width: 1200px;
  --max-width-narrow: 800px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --transition: 0.2s ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.6);

  --color-badge-blue: #60A5FA;
  --color-badge-green: #4ADE80;
  --color-badge-green-alt: #34D399;
  --color-badge-amber: #FBBF24;
  --color-badge-purple: #A78BFA;
  --color-badge-gray: #D1D5DB;
  --color-success: #22c55e;

  --border-radius-sm: 4px;
  --border-radius-md: 6px;
  --border-radius-pill: 100px;

  /* Elevation System */
  --surface-0: #1A1A1B;
  --surface-1: #1E1E1F;
  --surface-2: #232324;
  --surface-3: #2E2E2F;

  /* Border System */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.15);

  /* Text Hierarchy */
  --text-primary: #E3E2DF;
  --text-secondary: #A3A2A0;
  --text-tertiary: #6B6B69;
  --text-quaternary: #4A4A48;

  /* Typography Tuning */
  --ls-tight: -0.03em;
  --ls-snug: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.08em;
  --lh-tight: 1.08;
  --lh-snug: 1.2;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;
}

/* --- Accessibility --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
  background: var(--color-red);
  color: var(--color-white);
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  border-radius: 0 0 var(--border-radius) 0;
}
.skip-link:focus {
  position: fixed;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  overflow: visible;
}

*:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

/* --- Screen-reader only (visually hidden, accessible to AT) --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: 5rem;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-red);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-red-hover);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: var(--fw-bold);
  color: var(--color-white);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--spacing-3xl) 0;
  background: var(--color-black);
  color: var(--color-text);
}

@media (max-width: 600px) {
  .section { padding: var(--spacing-2xl) 0; }
}

.section--dark {
  position: relative;
  background: linear-gradient(180deg, #111111 0%, #0D0D0D 100%);
  color: var(--color-text-on-dark);
}

.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/seismos-marketing/images/acoustic-pattern.svg') center/cover no-repeat;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

.section--dark > * {
  position: relative;
  z-index: 1;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--black {
  background: var(--color-black);
  color: var(--color-text-on-dark);
}

.section--black h2,
.section--black h3,
.section--black h4 {
  color: var(--color-white);
}

.section--gray {
  background: var(--surface-2, #232324);
  color: var(--color-text-on-dark);
}

.section-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-red);
  margin-bottom: var(--spacing-sm);
}

.section-title {
  font-size: var(--fs-4xl);
  margin-bottom: var(--spacing-sm);
}

.section-title,
.hero__title {
  letter-spacing: 0.03em;
}

.section-title--xl {
  font-size: var(--fs-5xl);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--color-gray-400);
  max-width: 700px;
}


.section-header {
  margin-bottom: var(--spacing-2xl);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin: 0 auto;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nav.is-scrolled {
  background: rgba(26, 26, 27, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.nav__logo {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__logo:hover {
  color: var(--color-white);
}

.nav__logo-mark {
  width: 32px;
  height: 32px;
  background: var(--color-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: white;
}

.nav__logo-o {
  color: var(--color-red);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.875rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.03em;
  color: var(--color-gray-400);
  text-decoration: none;
  border-radius: var(--border-radius-md);
  transition: all 0.25s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: width 0.25s ease, left 0.25s ease;
}

.nav__link:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.06);
}

.nav__link:hover::after {
  width: 60%;
  left: 20%;
}

.nav__link--active {
  color: var(--color-red);
  background: rgba(255,255,255,0.06);
}

.nav__link--active::after {
  width: 60%;
  left: 20%;
}

.nav__link svg {
  width: 12px;
  height: 12px;
  opacity: 0.5;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__item:hover .nav__link svg,
.nav__item--open .nav__link svg {
  transform: rotate(180deg);
  opacity: 0.8;
}

/* Mega menu dropdown */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--surface-1, var(--color-dark));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-sm);
  padding-top: calc(var(--spacing-sm) + 8px);
  min-width: 220px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.nav__item:hover .nav__dropdown,
.nav__item--open .nav__dropdown {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav__dropdown-link {
  display: block;
  padding: 0.625rem 0.875rem;
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  text-decoration: none;
  border-radius: var(--border-radius-md);
  transition: color 0.15s ease, background 0.15s ease, padding-left 0.15s ease;
}

.nav__dropdown-link:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.06);
  padding-left: 1rem;
}

.nav__dropdown-link--active {
  color: var(--color-red);
}

/* --- Mega Menu --- */
.nav__mega {
  display: grid;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--surface-1, var(--color-dark));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  min-width: 560px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  pointer-events: none;
  z-index: 1000;
}
.nav__item:hover .nav__mega,
.nav__item--open .nav__mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav__mega--platform {
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  min-width: 480px;
}
.nav__mega-column-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-sm);
  padding-bottom: 0.375rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__mega-link {
  display: block;
  padding: var(--spacing-xs) 0.5rem;
  margin: 0 -0.5rem;
  color: var(--color-gray-300);
  text-decoration: none;
  font-size: var(--fs-sm);
  border-radius: var(--border-radius-md);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav__mega-link:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.05);
}
.nav__mega-desc {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
  margin-top: 2px;
}
.nav__mega-preview {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.nav__mega-preview img {
  width: 100%;
  height: auto;
  display: block;
}

/* Applications mega-menu — single column with sub-links */
.nav__mega--applications {
  grid-template-columns: 1fr;
  gap: 0;
  min-width: 320px;
  max-width: 360px;
}
.nav__mega-sublink {
  display: block;
  padding: 0.25rem 0 0.25rem 1.25rem;
  color: var(--color-gray-400);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.15s;
}
.nav__mega-sublink:hover {
  color: var(--color-white);
  border-left: 2px solid var(--color-red);
  padding-left: calc(1.25rem - 2px);
}

/* Market labels in mega-menu By Market column */
.nav__mega-market {
  display: block;
  padding: 0.375rem 0 0.125rem;
  color: var(--color-gray-300);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

/* Mobile nav sub-items */
.nav__mobile-link.nav__mobile-link--sub {
  padding-left: 2.5rem;
  font-size: 0.85rem;
  color: var(--color-gray-400);
}
.nav__mobile-sublabel.nav__mobile-sublabel--market {
  display: block;
  padding: 0.25rem 0 0.125rem 1.25rem;
  color: var(--color-gray-300);
  font-size: 0.85rem;
  font-weight: var(--fw-medium);
  text-transform: none;
  letter-spacing: normal;
}

@media (max-width: 900px) {
  .nav__mega { display: none !important; visibility: hidden !important; }
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  background: var(--color-red);
  border-radius: var(--border-radius-md);
  text-decoration: none;
  transition: all var(--transition);
  margin-left: var(--spacing-sm);
}

.nav__cta:hover {
  background: var(--color-red-hover);
  color: var(--color-white);
  box-shadow: 0 0 20px var(--color-red-glow);
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav__hamburger.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav — uses absolute + explicit height because parent nav has
   backdrop-filter which creates a containing block, breaking position:fixed */
.nav__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - 72px);
  background: var(--color-black);
  padding: var(--spacing-lg);
  overflow-y: auto;
  z-index: 999;
}

.nav__mobile.is-open {
  display: block;
}

.nav__mobile-group {
  margin-bottom: var(--spacing-lg);
}

.nav__mobile-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-500);
  margin-bottom: var(--spacing-xs);
  padding: 0 var(--spacing-sm);
}

.nav__mobile-sublabel {
  font-size: 0.65rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray-600);
  padding: var(--spacing-xs) var(--spacing-sm) 0;
  margin-top: var(--spacing-xs);
}
.nav__mobile-sublabel:first-of-type { margin-top: 0; }

.nav__mobile-link {
  display: block;
  padding: 0.75rem var(--spacing-sm);
  font-size: var(--fs-lg);
  color: var(--color-gray-300);
  text-decoration: none;
  border-radius: var(--border-radius-md);
  transition: all var(--transition);
}

.nav__mobile-link:hover,
.nav__mobile-link--active {
  color: var(--color-white);
  background: rgba(255,255,255,0.04);
}

.nav__mobile-cta {
  display: block;
  text-align: center;
  padding: 1rem;
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  background: var(--color-red);
  border-radius: var(--border-radius);
  text-decoration: none;
  margin-top: var(--spacing-lg);
}

/* Mobile nav accordion */
.nav__mobile-label {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__mobile-label::after {
  content: '+';
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
  transition: transform 0.3s ease;
}
.nav__mobile-group.is-expanded .nav__mobile-label::after {
  content: '\2212';
}
.nav__mobile-group-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.nav__mobile-group.is-expanded .nav__mobile-group-body {
  max-height: 600px;
}

@media (max-width: 900px) {
  .nav__links {
    display: none;
  }
  .nav__hamburger {
    display: flex;
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--color-black);
  color: var(--color-white);
  padding-top: 72px;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/seismos-marketing/images/hero-waveform.svg');
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: 100% auto;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hero--short {
  min-height: 50vh;
}

.hero--placeholder {
  min-height: 45vh;
}

.hero--signal {
  overflow: hidden;
}

.hero__signal-animation {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(236, 29, 36, 0.08) 0%, transparent 50%, rgba(236, 29, 36, 0.04) 100%);
  animation: signal-sweep 6s ease-in-out infinite;
}

@keyframes signal-sweep {
  0%, 100% { opacity: 0.3; transform: translateX(-5%); }
  50% { opacity: 1; transform: translateX(5%); }
}

.hero--signal .hero__content {
  position: relative;
  z-index: 1;
}

.hero__waveform {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.clf-diagram-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.clf-diagram-wrapper svg {
  width: 100%;
  height: auto;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(236, 29, 36, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(236, 29, 36, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 750px;
  text-align: left;
}

.hero__label {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-red);
  margin-bottom: var(--spacing-md);
}

.hero__title {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-bold);
  line-height: 1.08;
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: var(--fs-xl);
  line-height: 1.5;
  color: var(--color-gray-300);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
}

.hero__actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: calc(72px + var(--spacing-2xl));
    padding-bottom: var(--spacing-2xl);
  }
  .hero__title {
    font-size: var(--fs-4xl);
  }
  .hero__subtitle {
    font-size: var(--fs-lg);
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: var(--fs-3xl);
  }
  .hero__subtitle {
    font-size: var(--fs-sm);
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-red);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-red-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--color-red-glow), 0 2px 8px rgba(0,0,0,0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn--secondary:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.4);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-red);
  border: 1px solid var(--color-red);
}

.btn--outline:hover {
  background: var(--color-red);
  color: var(--color-white);
}

.btn--dark {
  background: var(--color-black);
  color: var(--color-white);
}

.btn--dark:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.5);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: var(--fs-sm);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: var(--fs-lg);
}

/* --- Trust Bar --- */
.trust-bar {
  padding: var(--spacing-xl) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: var(--color-black);
}

.trust-bar__stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-2xl);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}

.trust-bar__stat {
  text-align: center;
}

.trust-bar__stat-value {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
}

.trust-bar__stat-label {
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
  margin-top: 4px;
}

.trust-bar__partners {
  display: flex;
  justify-content: center;
  gap: var(--spacing-2xl);
  flex-wrap: wrap;
}

.trust-bar__partner {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-gray-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  gap: var(--spacing-lg);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1100px) {
  .card-grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .card-grid--3, .card-grid--4, .card-grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .card-grid--2, .card-grid--3, .card-grid--4, .card-grid--5 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(236, 29, 36, 0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.card--dark {
  background: var(--color-gray-800);
  border-color: rgba(255,255,255,0.06);
}

.card--dark:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-red-light);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  font-size: var(--fs-xl);
  color: var(--color-red);
}

.card--dark .card__icon {
  background: rgba(236, 29, 36, 0.15);
}

.card__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-red);
  margin-bottom: var(--spacing-xs);
}

.card__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--spacing-xs);
  color: var(--color-white);
}


.card__text {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--color-gray-400);
}


.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-1-5);
  transition: transform 0.2s;
  margin-top: var(--spacing-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-red);
}

.card__link:hover {
  transform: translateX(2px);
}

/* --- Stat Cards --- */
.stat-card {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-lg);
}

.stat-card__value {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-bold);
  color: var(--color-red);
  line-height: 1;
  margin-bottom: var(--spacing-xs);
}

.stat-card__label {
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
}

.section--dark .stat-card__label {
  color: var(--color-gray-400);
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 2px;
  background: linear-gradient(to right, var(--color-red), var(--color-gray-700));
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step__number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-dark);
  border: 2px solid var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-red);
}

.step__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-red);
  margin-bottom: var(--spacing-xs);
}

.step__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--spacing-sm);
}

.section--dark .step__title {
  color: var(--color-white);
}

.step__text {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--color-gray-500);
  max-width: 320px;
  margin: 0 auto;
}

.section--dark .step__text {
  color: var(--color-gray-400);
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  .steps::before {
    display: none;
  }
}

/* --- Tables --- */
.table-wrapper {
  overflow-x: auto;
  margin: var(--spacing-lg) 0;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
}


.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.data-table thead {
  background: rgba(255,255,255,0.04);
}


.data-table th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray-400);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
}


.data-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--color-gray-400);
  vertical-align: top;
}


.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}


.data-table td:first-child {
  font-weight: var(--fw-medium);
  color: var(--color-white);
}


.table-yes {
  color: var(--color-success);
  font-weight: var(--fw-semibold);
}

.table-no {
  color: var(--color-gray-400);
}

.table-highlight {
  color: var(--color-red);
  font-weight: var(--fw-semibold);
}

/* --- Forms --- */
.form {
  display: grid;
  gap: var(--spacing-md);
}

.form--inline {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 600px) {
  .form--inline {
    grid-template-columns: 1fr;
  }
}

.form__name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

@media (max-width: 600px) {
  .form__name-grid {
    grid-template-columns: 1fr;
  }
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__group--full {
  grid-column: 1 / -1;
}

.form__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-gray-400);
}


.form__input,
.form__select,
.form__textarea {
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  color: var(--color-white);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius-md);
  transition: all var(--transition);
  outline: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-red-light);
}


.form__textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- Result Cards (for metrics) --- */
.result-card {
  padding: var(--spacing-xl) var(--spacing-lg);
  border-left: 3px solid var(--color-red);
}

.result-card__metric {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-red);
  margin-bottom: var(--spacing-xs);
  line-height: 1.1;
}

.result-card__context {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  line-height: 1.65;
  margin-bottom: var(--spacing-sm);
}

.result-card__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- Quote / Testimonial --- */
.quote {
  border-left: 3px solid var(--color-red);
  padding: var(--spacing-lg) var(--spacing-xl);
  margin: var(--spacing-lg) 0;
}

@media (max-width: 600px) {
  .quote { padding: var(--spacing-md) var(--spacing-lg); }
}

.quote__text {
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--color-gray-300);
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}


.quote__source {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-gray-500);
}

/* --- Placeholder Page --- */
.placeholder {
  text-align: center;
  padding: var(--spacing-3xl) var(--spacing-lg);
}

.placeholder__icon {
  width: 80px;
  height: 80px;
  background: rgba(236, 29, 36, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  font-size: var(--fs-3xl);
}

.placeholder__title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--spacing-sm);
  color: var(--color-white);
}

.placeholder__text {
  font-size: var(--fs-lg);
  color: var(--color-gray-400);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Loudmob Placeholders (hidden until assets are provided) --- */
[data-loudmob] {
  display: none;
}
.placeholder {
  border: 2px dashed rgba(236, 29, 36, 0.4);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
  background: rgba(236, 29, 36, 0.03);
}
.placeholder__icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  opacity: 0.6;
}
.placeholder__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-red);
  margin-bottom: var(--spacing-xs);
}
.placeholder__desc {
  font-size: var(--fs-base);
  color: var(--color-gray-400);
  max-width: 400px;
}

/* --- Comparison Table --- */
.comparison-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.comparison-table th,
.comparison-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-gray-700);
}
.comparison-table th {
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.comparison-table th:nth-child(2) {
  color: var(--color-red);
}
.comparison-table td:first-child {
  color: var(--color-gray-400);
  white-space: nowrap;
}
.comparison-table td:nth-child(2) {
  color: var(--color-white);
}
.comparison-table td:nth-child(3) {
  color: var(--color-gray-500);
}
.comparison-table tbody tr:hover {
  background: rgba(236, 29, 36, 0.03);
}

/* --- Footer --- */
.footer {
  background: var(--color-black);
  color: var(--color-gray-400);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-3xl);
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
  }
}

@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__tagline {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--color-gray-500);
  margin-bottom: var(--spacing-lg);
}

.footer__newsletter {
  display: flex;
  gap: var(--spacing-xs);
}

@media (max-width: 600px) {
  .footer__newsletter {
    flex-direction: column;
  }
}

.footer__newsletter-input {
  flex: 1;
  padding: 0.625rem 0.875rem;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-radius-md);
  color: var(--color-white);
  outline: none;
}

.footer__newsletter-input:focus {
  border-color: var(--color-red);
}

.footer__newsletter-btn {
  padding: 0.625rem 1rem;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  background: var(--color-red);
  color: var(--color-white);
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.footer__newsletter-btn:hover {
  background: var(--color-red-hover);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer__social-link {
  color: var(--color-gray-500);
  transition: color 0.2s ease;
}
.footer__social-link:hover {
  color: var(--color-red);
}

.footer__copyright {
  font-size: var(--fs-xs);
  color: var(--text-tertiary, #6B6B69);
}

.footer__heading {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-500);
  margin-bottom: var(--spacing-md);
}

.footer__link {
  display: block;
  padding: var(--spacing-1) 0;
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
}

@media (max-width: 600px) {
  .footer__bottom {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
  }
}

.footer__bottom-links {
  display: flex;
  gap: var(--spacing-md);
}

.footer__bottom-links a {
  color: var(--color-gray-500);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__bottom-links a:hover {
  color: var(--color-gray-400);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-red { color: var(--color-red); }
.text-muted { color: var(--color-gray-400); }
.text-muted-sm { color: var(--color-gray-500); font-size: var(--fs-sm); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mt-2xl { margin-top: var(--spacing-2xl); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Subtitle variant for CTA sections: centered with top/bottom spacing */
.section-subtitle--cta {
  margin: var(--spacing-sm) auto var(--spacing-xl);
}

/* Body text for prose blocks on dark backgrounds */
.body-text {
  color: var(--color-gray-400);
  line-height: 1.7;
  max-width: 800px;
}

.body-text--muted {
  color: var(--color-gray-500);
  line-height: 1.7;
}

/* Centered section body text */
.section-body {
  color: var(--color-gray-300);
  line-height: 1.8;
  text-align: center;
  font-size: var(--fs-md);
}

/* Large stat title modifier */
.card__title--stat {
  font-size: var(--fs-xxl);
  margin-bottom: var(--spacing-xs);
}

/* Section footnote */
.section-footnote {
  text-align: center;
  color: var(--color-gray-400);
  margin-top: var(--spacing-lg);
  font-size: var(--fs-sm);
}

/* Card padding override */
.card--padded { padding: var(--spacing-xl); }

/* Card with featured left border */
.card--featured {
  border-left: 3px solid var(--color-red);
}

.card--featured:hover {
  border-color: var(--color-red);
  box-shadow: 0 8px 30px rgba(236, 29, 36, 0.15);
}

/* Event metadata line (date, location) */
.event-meta {
  color: var(--color-gray-400);
  font-size: var(--fs-sm);
  margin-top: var(--spacing-sm);
}

/* Constrained width containers */
.container--xs { max-width: 400px; margin-left: auto; margin-right: auto; }
.container--sm { max-width: 600px; margin-left: auto; margin-right: auto; }
.container--md { max-width: 700px; margin-left: auto; margin-right: auto; }

/* Full-width button */
.btn--full { width: 100%; justify-content: center; }

/* Inline text max-width constraint */
.max-w-700 { max-width: 700px; }

/* Section divider for consecutive same-tone sections */
.section--divided {
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* --- Footnotes --- */
.footnotes {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255,255,255,0.06);
}


.footnotes p {
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
  line-height: 1.6;
  margin-bottom: var(--spacing-xs);
}

/* --- Video Placeholder --- */
.video-placeholder {
  background: rgba(255,255,255,0.03);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-3xl);
  text-align: center;
  border: 2px dashed rgba(255,255,255,0.1);
}


.video-placeholder__icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  opacity: 0.5;
}

.video-placeholder__text {
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
}

/* --- Objectives Grid (2x3) --- */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

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

@media (max-width: 600px) {
  .objectives-grid {
    grid-template-columns: 1fr;
  }
}

.objective {
  padding: var(--spacing-lg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition);
  background: var(--color-dark);
}

.objective:hover {
  border-color: var(--color-red);
  box-shadow: var(--shadow-sm);
}

.objective__number {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-red);
  margin-bottom: var(--spacing-xs);
}

.objective__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--spacing-xs);
}

.objective__text {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  line-height: 1.65;
}

/* --- Partner Section --- */
.partner-block {
  padding: var(--spacing-xl);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--spacing-lg);
  background: var(--color-dark);
}

.partner-block:last-child {
  margin-bottom: 0;
}

.partner-block__name {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--spacing-xs);
}

.partner-block__text {
  font-size: var(--fs-base);
  color: var(--color-gray-400);
  line-height: 1.65;
}

/* --- Paper Cards --- */
.paper-card {
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  transition: all var(--transition);
}

.paper-card:last-child {
  margin-bottom: 0;
}

.paper-card:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.paper-card__badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--spacing-md);
}

.paper-card__badge--spe {
  background: rgba(236, 29, 36, 0.15);
  color: var(--color-red);
}

.paper-card__badge--whitepaper {
  background: rgba(59, 130, 246, 0.15);
  color: var(--color-badge-blue);
}

.paper-card__badge--brief {
  background: rgba(34, 197, 94, 0.15);
  color: var(--color-badge-green);
}

.paper-card__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
  line-height: 1.35;
}

.paper-card__meta {
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
  margin-bottom: var(--spacing-md);
  line-height: 1.5;
}

.paper-card__abstract {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

.paper-card__actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

/* --- Case Study Card --- */
.case-study {
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  transition: all var(--transition);
}

.case-study:hover {
  border-color: rgba(255,255,255,0.12);
}

.case-study__header {
  margin-bottom: var(--spacing-xl);
}

.case-study__badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--border-radius-sm);
  background: rgba(236, 29, 36, 0.15);
  color: var(--color-red);
  margin-bottom: var(--spacing-md);
}

.case-study__title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
}

.case-study__subtitle {
  font-size: var(--fs-base);
  color: var(--color-gray-400);
  line-height: 1.6;
}

.case-study__comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

@media (max-width: 900px) {
  .case-study__comparison {
    grid-template-columns: 1fr;
  }
}

.case-study__scenario {
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,0.06);
}

.case-study__scenario--control {
  background: rgba(255,255,255,0.03);
}

.case-study__scenario--intervention {
  background: rgba(236, 29, 36, 0.06);
  border-color: rgba(236, 29, 36, 0.2);
}

.case-study__scenario-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-md);
}

.case-study__scenario--control .case-study__scenario-label {
  color: var(--color-gray-500);
}

.case-study__scenario--intervention .case-study__scenario-label {
  color: var(--color-red);
}

.case-study__metric {
  margin-bottom: var(--spacing-sm);
}

.case-study__metric:last-child {
  margin-bottom: 0;
}

.case-study__metric-value {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

.case-study__scenario--control .case-study__metric-value {
  color: var(--color-gray-300);
}

.case-study__scenario--intervention .case-study__metric-value {
  color: var(--color-red);
}

.case-study__metric-label {
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
}

.case-study__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: rgba(255,255,255,0.02);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 600px) {
  .case-study__highlights {
    grid-template-columns: 1fr;
  }
}

.case-study__highlight {
  text-align: center;
}

.case-study__highlight-value {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-red);
  line-height: 1.2;
  margin-bottom: 4px;
}

.case-study__highlight-label {
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Resource Search --- */
.resource-search {
  margin-bottom: var(--spacing-lg);
  position: relative;
  max-width: 480px;
}
.resource-search__clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: var(--color-gray-400);
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.resource-search__clear:hover {
  background: rgba(255,255,255,0.2);
  color: var(--color-white);
}
.resource-search__clear--visible {
  display: flex;
}
.resource-count {
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
  margin-bottom: var(--spacing-md);
}
.resource-search__input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 2.75rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--surface-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23626366' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E") 1rem center no-repeat;
  color: var(--color-white);
  font-size: var(--fs-base);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.resource-search__input::placeholder {
  color: var(--color-gray-400);
}
.resource-search__input:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(236, 29, 36, 0.15);
}

/* --- Resource Filter Bar --- */
.resource-filter {
  display: flex;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-2xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.resource-filter__btn {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-gray-400);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.resource-filter__btn:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.resource-filter__btn--active {
  color: var(--color-white);
  background: var(--color-red);
  border-color: var(--color-red);
}

.resource-filter__btn--active:hover {
  background: var(--color-red-hover);
  border-color: var(--color-red-hover);
}

@media (max-width: 600px) {
  .resource-filter {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: var(--spacing-xs);
  }
  .resource-filter__btn {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: var(--fs-xs);
  }
}

.resource-filter--secondary {
  margin-top: calc(-1 * var(--spacing-xl));
  margin-bottom: var(--spacing-2xl);
  padding-top: var(--spacing-md);
  border-top: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.resource-filter--secondary .resource-filter__btn {
  font-size: var(--fs-xs);
  padding: 0.375rem 1rem;
}

/* --- Resource Grid --- */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

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

/* --- Resource Cards --- */
.resource-card {
  position: relative;
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  border-color: rgba(255,255,255,0.12);
  border-left: 3px solid var(--color-red);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3), -2px 0 12px rgba(236, 29, 36, 0.1);
  transform: translateY(-2px);
}

.resource-card__badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--spacing-sm);
  align-self: flex-start;
}

.resource-card__badge--paper {
  background: rgba(236, 29, 36, 0.15);
  color: var(--color-red);
}

.resource-card__badge--whitepaper {
  background: rgba(59, 130, 246, 0.15);
  color: var(--color-badge-blue);
}

.resource-card__badge--brief {
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-badge-green-alt);
}

.resource-card__badge--casestudy {
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-badge-amber);
}

.resource-card__badge--presentation {
  background: rgba(139, 92, 246, 0.15);
  color: var(--color-badge-purple);
}

.resource-card__badge--news {
  background: rgba(156, 163, 175, 0.15);
  color: var(--color-badge-gray);
}

.resource-card__badge--blog {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.resource-filter__label {
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: var(--spacing-sm);
  white-space: nowrap;
  align-self: center;
}

.resource-card__date {
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
  margin-bottom: var(--spacing-xs);
}

.resource-card__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1.35;
  margin-bottom: var(--spacing-xs);
}

.resource-card__meta {
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
  font-style: italic;
  margin-bottom: var(--spacing-md);
  line-height: 1.5;
}

.resource-card__abstract {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
  flex-grow: 1;
}

.resource-card__pills {
  display: flex;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}

.resource-card__pill {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  padding: 4px 10px;
  border-radius: var(--border-radius-pill);
  background: rgba(236, 29, 36, 0.12);
  color: var(--color-red);
}

.resource-card__quote {
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--color-gray-300);
  line-height: 1.65;
  border-left: 3px solid var(--color-red);
  padding-left: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.resource-card__quote-source {
  display: block;
  font-style: normal;
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
  margin-top: var(--spacing-xs);
}

.resource-card__actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-top: auto;
}

/* Gated / Locked overlay */
.resource-card--locked {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.resource-card--locked::after {
  content: '\1F512 Unlock with work email';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-md);
  background: linear-gradient(transparent, rgba(10, 10, 10, 0.95) 40%);
  color: var(--color-gray-400);
  font-size: var(--fs-sm);
  text-align: center;
  pointer-events: none;
}

.resource-card--locked .resource-card__actions {
  visibility: hidden;
}

.resource-card--unlocked::after {
  display: none;
}

.resource-card--unlocked .resource-card__actions {
  visibility: visible;
}

/* Page-level content gate */
.page-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-gate--hidden {
  display: none;
}

.page-gate__content {
  max-width: 420px;
  padding: var(--spacing-2xl);
  text-align: center;
}

.page-gate__icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.page-gate__title {
  color: var(--color-white);
  font-size: var(--fs-xl);
  margin-bottom: var(--spacing-sm);
}

.page-gate__text {
  color: var(--color-gray-400);
  font-size: var(--fs-base);
  margin-bottom: var(--spacing-lg);
}

.page-gate__form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

/* Equation blocks (How It Works) */
.equation-block {
  margin-top: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--color-red);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.equation-block__label {
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-xs);
  font-weight: var(--fw-semibold);
}

.equation-block__formula {
  font-family: 'Cambria Math', 'Latin Modern Math', 'STIX Two Math', Georgia, serif;
  font-size: var(--fs-xl);
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.equation-block__formula sub {
  font-size: 0.7em;
  vertical-align: baseline;
  position: relative;
  bottom: -0.3em;
}

.equation-block__desc {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .equation-block__formula {
    font-size: var(--fs-lg);
    overflow-x: auto;
    white-space: nowrap;
  }
  .equation-block__formula::-webkit-scrollbar { height: 4px; }
  .equation-block__formula::-webkit-scrollbar-track { background: transparent; }
  .equation-block__formula::-webkit-scrollbar-thumb { background: var(--color-gray-700, #404040); border-radius: 2px; }
}

.resource-card__gate {
  padding: var(--spacing-md) 0;
  text-align: center;
  cursor: pointer;
}


/* Lock icon on gated download buttons */
.btn--locked {
  position: relative;
  padding-left: 2rem;
}

.btn--locked::before {
  content: '\1F512';
  position: absolute;
  left: 0.75rem;
  font-size: var(--fs-xs);
}

/* --- Key Findings List --- */
.key-findings {
  margin: var(--spacing-lg) 0;
}

.key-findings h4 {
  font-size: var(--fs-xl);
  margin-bottom: var(--spacing-md);
}

.key-findings__list {
  list-style: none;
  padding: 0;
}

.key-findings__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--spacing-sm);
  font-size: var(--fs-base);
  color: var(--color-gray-300);
  line-height: 1.65;
}

.key-findings__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-red);
}

/* --- Related Resources --- */
.related-resources {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

@media (max-width: 900px) {
  .related-resources {
    grid-template-columns: 1fr;
  }
}

.related-resource-link {
  display: block;
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  text-decoration: none;
  transition: all var(--transition);
}

.related-resource-link:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.related-resource-link__badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--spacing-xs);
}

.related-resource-link__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1.35;
  margin-bottom: var(--spacing-xs);
}

.related-resource-link__arrow {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-red);
}

/* --- Animations removed: now using scroll-reveal (see below) --- */

/* --- Partner Cards --- */
.partner-card {
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  transition: all var(--transition);
  margin-bottom: var(--spacing-lg);
}

.partner-card:last-child {
  margin-bottom: 0;
}

.partner-card:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.partner-card__logo {
  width: 64px;
  height: 64px;
  background: rgba(236, 29, 36, 0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-red);
  margin-bottom: var(--spacing-md);
}

.partner-card__name {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
}

.partner-card__focus {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-red);
  margin-bottom: var(--spacing-md);
}

.partner-card__text {
  font-size: var(--fs-base);
  color: var(--color-gray-400);
  line-height: 1.65;
  margin-bottom: var(--spacing-md);
}

.partner-card__quote {
  border-left: 3px solid var(--color-red);
  padding-left: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.partner-card__quote-text {
  font-size: var(--fs-base);
  font-style: italic;
  color: var(--color-gray-300);
  line-height: 1.65;
  margin-bottom: var(--spacing-xs);
}

.partner-card__quote-source {
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
}

/* --- Press Cards --- */
.press-card {
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  transition: all var(--transition);
  margin-bottom: var(--spacing-lg);
}

.press-card:last-child {
  margin-bottom: 0;
}

.press-card:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.press-card__date {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-red);
  margin-bottom: var(--spacing-xs);
}

.press-card__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
  line-height: 1.35;
}

.press-card__subtitle {
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.press-card__summary {
  font-size: var(--fs-base);
  color: var(--color-gray-400);
  line-height: 1.65;
  margin-bottom: var(--spacing-md);
}

.press-card__quote {
  border-left: 3px solid var(--color-red);
  padding-left: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.press-card__quote-text {
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--color-gray-300);
  line-height: 1.65;
  margin-bottom: var(--spacing-xs);
}

.press-card__quote-source {
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
}

/* --- Team Member --- */
.team-member {
  text-align: center;
  padding: var(--spacing-lg);
}

.team-member__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(236, 29, 36, 0.1);
  border: 2px solid rgba(236, 29, 36, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-red);
}

.team-member__name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: 4px;
}

.team-member__title {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
}

/* --- Calculator --- */
.calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: start;
}

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

@media (max-width: 480px) {
  .calculator__form,
  .calculator__results {
    padding: var(--spacing-md);
  }
  .calculator__result-value {
    font-size: var(--fs-2xl);
  }
}

.calculator__form {
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
}

.calculator__group {
  margin-bottom: var(--spacing-lg);
}

.calculator__group:last-child {
  margin-bottom: 0;
}

.calculator__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-gray-400);
  margin-bottom: var(--spacing-xs);
}

.calculator__value {
  font-weight: var(--fw-bold);
  color: var(--color-white);
  font-size: var(--fs-lg);
}

.calculator__select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius-md, 8px);
  color: var(--color-white);
  font-size: var(--fs-base);
  font-family: var(--font-sans);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23A3A3A3' stroke-width='2'%3E%3Cpath d='M3 5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  transition: border-color 0.2s ease;
}

.calculator__select:hover {
  border-color: rgba(255,255,255,0.25);
}

.calculator__select:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 2px rgba(236, 29, 36, 0.2);
}

.calculator__select option {
  background: #1A1A1A;
  color: var(--color-white);
}

.calculator__label-row {
  margin-bottom: var(--spacing-xs);
}

.calculator__label-text {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-gray-400);
}

.calculator__slider {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(
    to right,
    var(--color-red) 0%,
    var(--color-red) var(--fill, 50%),
    rgba(255,255,255,0.1) var(--fill, 50%),
    rgba(255,255,255,0.1) 100%
  ) !important;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.calculator__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-red);
  cursor: pointer;
  border: 2px solid var(--color-white);
}

.calculator__slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-red);
  cursor: pointer;
  border: 2px solid var(--color-white);
}

.calculator__results {
  background: var(--color-dark);
  border: 1px solid rgba(236, 29, 36, 0.3);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
}

.calculator__results-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--spacing-lg);
}

.calculator__result-item {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.calculator__result-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.calculator__result-label {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  margin-bottom: 4px;
}

.calculator__result-value {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-red);
  line-height: 1.1;
}

.calculator__result-note {
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
  margin-top: 4px;
}

/* --- Blog Cards --- */
.blog-card {
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

.blog-card__badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--spacing-sm);
  align-self: flex-start;
}

.blog-card__badge--technology {
  background: rgba(236, 29, 36, 0.15);
  color: var(--color-red);
}

.blog-card__badge--events {
  background: rgba(139, 92, 246, 0.15);
  color: var(--color-badge-purple);
}

.blog-card__badge--industry {
  background: rgba(59, 130, 246, 0.15);
  color: var(--color-badge-blue);
}

.blog-card__date {
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
  margin-bottom: var(--spacing-xs);
}

.blog-card__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1.35;
  margin-bottom: var(--spacing-sm);
}

.blog-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  line-height: 1.65;
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.blog-card__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card__link:hover {
  gap: 10px;
}

/* --- Event Cards --- */
.event-card {
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  transition: all var(--transition);
  display: flex;
  gap: var(--spacing-lg);
  align-items: flex-start;
}

.event-card:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

@media (max-width: 600px) {
  .event-card {
    flex-direction: column;
  }
}

.event-card__date-badge {
  flex-shrink: 0;
  width: 72px;
  text-align: center;
  background: rgba(236, 29, 36, 0.1);
  border-radius: var(--border-radius);
  padding: var(--spacing-sm);
}

.event-card__date-month {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-red);
}

.event-card__date-year {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-white);
}

.event-card__content {
  flex: 1;
}

.event-card__name {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: 4px;
}

.event-card__location {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  margin-bottom: var(--spacing-sm);
}

.event-card__description {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  line-height: 1.65;
  margin-bottom: var(--spacing-md);
}

.event-card__status {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
}

.event-card__status--completed {
  background: rgba(156, 163, 175, 0.15);
  color: var(--color-badge-gray);
}

.event-card__status--upcoming {
  background: rgba(34, 197, 94, 0.15);
  color: var(--color-badge-green);
}

/* --- Trust Bar (media logos + operator names) --- */
.trust-bar__section {
  text-align: center;
}

.trust-bar__label {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: var(--fw-semibold);
}

.trust-bar__divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gray-800), transparent);
  margin: var(--spacing-lg) 0;
}

/* Media feature logos */
.trust-bar__media {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
  padding: var(--spacing-xs) 0;
}

.trust-bar__media-logo {
  font-size: 1.1rem;
  font-weight: 700;
  font-style: italic;
  color: var(--color-gray-400);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

a.trust-bar__media-logo:hover {
  opacity: 1;
  color: var(--color-white);
}

/* Operator names */
.trust-bar__companies {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
  padding: var(--spacing-xs) 0;
}

.trust-bar__company {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.trust-bar__company:hover {
  opacity: 0.8;
}

@media (max-width: 600px) {
  .trust-bar__media {
    gap: var(--spacing-md);
  }
  .trust-bar__media-logo {
    font-size: var(--fs-base);
  }
  .trust-bar__companies {
    gap: var(--spacing-md);
  }
}

/* --- Value Cards (Careers) --- */
.value-card {
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  border-color: rgba(236, 29, 36, 0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(236, 29, 36, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  font-size: var(--fs-xl);
  color: var(--color-red);
}

.value-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
}

.value-card__text {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  line-height: 1.65;
}

/* --- Media Contact Sidebar --- */
.sidebar {
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
}

.sidebar__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.sidebar__text {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  line-height: 1.65;
}

.sidebar__link {
  display: block;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--color-red);
  margin-top: var(--spacing-sm);
}

/* --- Content Layout (main + sidebar) --- */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--spacing-2xl);
  align-items: start;
}

@media (max-width: 900px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }
}

/* --- Ecosystem Badge --- */
.ecosystem-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  background: rgba(236, 29, 36, 0.06);
  border: 1px solid rgba(236, 29, 36, 0.2);
  border-radius: var(--border-radius-lg);
  font-size: var(--fs-base);
  color: var(--color-gray-300);
}

.ecosystem-badge__icon {
  color: var(--color-red);
  font-size: var(--fs-xl);
}

/* --- Media Mention Cards --- */
.media-mention {
  display: flex;
  flex-direction: column;
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  text-decoration: none;
  transition: all var(--transition);
}

.media-mention:hover {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  transform: translateY(-2px);
  color: inherit;
}

.media-mention__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--border-radius-sm);
  background: rgba(236, 29, 36, 0.15);
  color: var(--color-red);
  margin-bottom: var(--spacing-sm);
}

.media-mention__date {
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
  margin-bottom: var(--spacing-xs);
}

.media-mention__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  line-height: 1.4;
}

/* --- Award Cards --- */
.award-card {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  transition: all var(--transition);
}

.award-card:hover {
  border-color: rgba(236, 29, 36, 0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.award-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(236, 29, 36, 0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-red);
}

.award-card__content {
  flex: 1;
}

.award-card__source {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.award-card__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: 4px;
  line-height: 1.35;
}

.award-card__detail {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  line-height: 1.5;
}

/* --- Podcast Cards --- */
.podcast-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.podcast-card {
  display: block;
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg) var(--spacing-xl);
  text-decoration: none;
  transition: all var(--transition);
}

.podcast-card:hover {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  color: inherit;
}

.podcast-card__show {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-red);
  margin-bottom: var(--spacing-xs);
}

.podcast-card__date {
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
  margin-bottom: var(--spacing-xs);
}

.podcast-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1.35;
  margin-bottom: var(--spacing-xs);
}

.podcast-card__meta {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  line-height: 1.5;
}

.podcast-card__link {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-red);
  margin-top: var(--spacing-sm);
}

/* --- Resource Card Inline Download Forms --- */
.resource-card__download-form {
  display: flex;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-sm);
}

.resource-card__download-form input[type="email"] {
  flex: 1;
  padding: 8px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius-md);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  outline: none;
  transition: border-color var(--transition);
}

.resource-card__download-form input[type="email"]::placeholder {
  color: var(--color-gray-500);
}

.resource-card__download-form input[type="email"]:focus {
  border-color: var(--color-red);
}

.resource-card__download-form button {
  padding: 8px 16px;
  background: var(--color-red);
  color: var(--color-white);
  border: none;
  border-radius: var(--border-radius-md);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}

.resource-card__download-form button:hover {
  background: var(--color-red-hover);
}

/* --- Newsletter Cards --- */
.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

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

@media (max-width: 600px) {
  .newsletter-grid {
    grid-template-columns: 1fr;
  }
}

.newsletter-card {
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.newsletter-card:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

.newsletter-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--border-radius-sm);
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-badge-amber);
  margin-bottom: 0.75rem;
}

.newsletter-card__date {
  font-size: 0.75rem;
  color: #737373;
  margin-bottom: 0.5rem;
}

.newsletter-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.newsletter-card__excerpt {
  font-size: 0.875rem;
  color: #A3A3A3;
  line-height: 1.65;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.newsletter-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #737373;
  font-style: italic;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-red), rgba(236, 29, 36, 0.2));
}

.timeline__item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2.5rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-red);
  border: 3px solid var(--color-black);
  transform: translateX(-5px);
}

.timeline__year {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.timeline__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.timeline__text {
  font-size: 0.875rem;
  color: #A3A3A3;
  line-height: 1.65;
}

/* --- Enhanced Resource Card Indicators --- */
.resource-card__indicator {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}

.resource-card__indicator--peer-reviewed {
  background: rgba(34, 197, 94, 0.12);
  color: var(--color-badge-green);
}

.resource-card__indicator--deep-dive {
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-badge-green-alt);
}

.resource-card__indicator--analysis {
  background: rgba(59, 130, 246, 0.12);
  color: var(--color-badge-blue);
}

.resource-card__authors {
  font-size: 0.9375rem;
  color: #D4D4D4;
  font-style: normal;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.5;
}

.resource-card__conference {
  font-size: 0.8125rem;
  color: #737373;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* --- Presentation Featured Card --- */
.resource-card--presentation-featured {
  grid-column: 1 / -1;
}

.presentation-thumbnail {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1A1A1A 0%, #0D0D0D 50%, #1A1A1A 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.presentation-thumbnail::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(236, 29, 36, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.presentation-thumbnail__logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  position: relative;
  z-index: 1;
}

.presentation-thumbnail__logo img {
  height: 32px;
  width: auto;
  opacity: 0.7;
}

.presentation-thumbnail__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  background: rgba(139, 92, 246, 0.2);
  color: var(--color-badge-purple);
  z-index: 1;
}

/* --- Past Event Accordion --- */
.past-events {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.past-event {
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}

.past-event:hover {
  border-color: rgba(255,255,255,0.12);
}

.past-event__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg) var(--spacing-xl);
  cursor: pointer;
  user-select: none;
}

.past-event__header:hover {
  background: rgba(255,255,255,0.02);
}

.past-event__info {
  flex: 1;
}

.past-event__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: 4px;
}

.past-event__toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-500);
  transition: transform 0.3s ease;
}

.past-event__toggle svg {
  width: 20px;
  height: 20px;
}

.past-event--open .past-event__toggle {
  transform: rotate(180deg);
}

.past-event__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
  overflow: hidden;
}

.past-event--open .past-event__body {
  grid-template-rows: 1fr;
}

.past-event__body > * {
  overflow: hidden;
}

.past-event__summary {
  padding: 0 var(--spacing-xl) var(--spacing-md);
  color: var(--color-gray-400);
  font-size: var(--fs-sm);
  line-height: 1.65;
}

.past-event__highlights {
  padding: 0 var(--spacing-xl) var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.past-event__highlight {
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255,255,255,0.03);
  border-radius: var(--border-radius);
  border-left: 3px solid var(--color-red);
}

.past-event__highlight-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-red);
  margin-bottom: 2px;
}

.past-event__highlight-value {
  font-size: var(--fs-sm);
  color: var(--color-gray-300);
  line-height: 1.5;
}

.past-event__resources {
  padding: var(--spacing-sm) var(--spacing-xl) var(--spacing-xl);
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.past-event__meeting-link {
  display: inline-block;
  margin-top: var(--spacing-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-red);
  text-decoration: none;
  transition: gap var(--transition);
}

.past-event__meeting-link:hover {
  color: var(--color-red-hover);
}

/* --- Modal --- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2001;
  align-items: center;
  justify-content: center;
}

.modal--open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-2xl);
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--color-gray-500);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--spacing-xs);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color var(--transition);
}

.modal__close:hover {
  color: var(--color-white);
}

.modal__icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.modal__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
}

.modal__text {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.modal__input {
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius-md);
  color: var(--color-white);
  outline: none;
  transition: border-color var(--transition);
}

.modal__input::placeholder {
  color: var(--color-gray-500);
}

.modal__input:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-red-light);
}

/* Case study slide-in modal variant */
.modal--slide-in .modal__content {
  animation: modal-slide-in 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.modal--slide-in .modal__backdrop {
  animation: modal-fade-in 0.3s ease forwards;
}
@keyframes modal-slide-in {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal__select {
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius-md);
  color: var(--color-white);
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  cursor: pointer;
}
.modal__select:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-red-light);
}

/* Unlocked state — hide gate overlay */
.resource-card--unlocked .resource-card__gate {
  display: none;
}

/* Hide gated actions until unlocked */
.resource-card--locked .resource-card__actions--gated {
  display: none;
}
.resource-card--unlocked .resource-card__actions--gated {
  display: flex;
}

/* --- Form Success State --- */
.btn--success {
  background: var(--color-success);
  border-color: var(--color-success);
}
.form--submitted .form__input,
.form--submitted .form__select,
.form--submitted .form__textarea {
  opacity: 0.5;
  pointer-events: none;
}

/* --- Sticky CTA Bar --- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-lg);
  background: var(--color-dark);
  border-top: 1px solid var(--color-gray-800);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22,0.61,0.36,1), opacity 0.4s ease;
  pointer-events: none;
}
.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-cta__text {
  font-size: var(--fs-sm);
  color: var(--color-gray-300);
}
@media (max-width: 600px) {
  .sticky-cta {
    flex-direction: column;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
  }
  .sticky-cta__text { font-size: var(--fs-xs); }
}

/* --- CLF Diagram mobile --- */
@media (max-width: 600px) {
  .clf-diagram-wrapper { display: none; }
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Interactive Stat Bar --- */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-2xl);
}
.stat-bar__item {
  background: var(--color-dark);
  border: 1px solid var(--color-gray-800);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  font-family: var(--font-sans);
  color: inherit;
}
.stat-bar__item:hover,
.stat-bar__item[aria-expanded="true"] {
  border-color: var(--color-red);
  background: rgba(236, 29, 36, 0.05);
}
.stat-bar__number {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-red);
}
.stat-bar__label {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--spacing-xs);
}
.stat-bar__detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  line-height: 1.6;
  margin-top: 0;
}
.stat-bar__item[aria-expanded="true"] .stat-bar__detail {
  max-height: 200px;
  opacity: 1;
  margin-top: var(--spacing-sm);
}
@media (max-width: 900px) {
  .stat-bar { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stat-bar { grid-template-columns: 1fr; }
}

/* --- Contact Layout --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-layout > :last-child { order: -1; }
}

/* --- Blog Post --- */
.blog-post__back { display: inline-block; font-size: var(--fs-sm); color: var(--color-gray-400); margin-bottom: var(--spacing-lg); }
.blog-post__back:hover { color: var(--color-red); }
.blog-post__date { font-size: var(--fs-sm); color: var(--color-gray-400); margin-bottom: var(--spacing-xs); }
.blog-post__title { font-size: var(--fs-4xl); font-weight: var(--fw-bold); line-height: 1.2; margin-bottom: var(--spacing-sm); }
.blog-post__meta { font-size: var(--fs-sm); color: var(--color-gray-500); margin-bottom: var(--spacing-2xl); padding-bottom: var(--spacing-lg); border-bottom: 1px solid var(--color-gray-800); }
.blog-post__content h2 { font-size: var(--fs-xl); font-weight: var(--fw-bold); margin-top: var(--spacing-2xl); margin-bottom: var(--spacing-sm); color: var(--color-white); }
.blog-post__content p { margin-bottom: var(--spacing-md); color: var(--color-gray-300); line-height: 1.8; }
.blog-post__content strong { color: var(--color-white); }
.blog-post__content ul, .blog-post__content ol { margin-bottom: var(--spacing-md); padding-left: var(--spacing-lg); color: var(--color-gray-300); }
.blog-post__content li { margin-bottom: var(--spacing-xs); line-height: 1.6; }
.blog-post__content a { color: var(--color-red); }
.blog-post__content a:hover { color: var(--color-red-hover); }

/* --- Mobile Content Overflow --- */
@media (max-width: 600px) {
  .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
  pre, table {
    overflow-x: auto;
    max-width: 100%;
  }
}

/* --- Mobile Touch Targets --- */
@media (max-width: 768px) {
  .nav__mobile-link,
  .nav__mobile-cta,
  .footer__link,
  .resource-filter__btn {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--color-red);
  z-index: 10001;
  transition: width 0.1s linear;
}

/* --- Collapsible Sections --- */
.collapsible__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: var(--spacing-md) 0;
  margin: 0;
  border: none;
  background: none;
  color: var(--color-white);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  width: 100%;
  text-align: left;
}
.collapsible__trigger svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.collapsible--open .collapsible__trigger svg {
  transform: rotate(180deg);
}
.collapsible__content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}
.collapsible--open .collapsible__content {
  max-height: 5000px;
  opacity: 1;
}

/* --- Bento Grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--spacing-lg);
}
.bento-grid__item {
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.bento-grid__item:hover {
  border-color: rgba(236, 29, 36, 0.3);
  transform: translateY(-2px);
}
.bento-grid__metric {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-red);
  margin-bottom: var(--spacing-xs);
}
.bento-grid__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--spacing-xs);
}
.bento-grid__desc {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  margin-bottom: var(--spacing-md);
}
.bento-grid__link {
  font-size: var(--fs-sm);
  color: var(--color-red);
  text-decoration: none;
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Mobile UX Fixes
   ============================================================ */

/* Hamburger — meet 44x44 WCAG touch target */
@media (max-width: 900px) {
  .nav__hamburger {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
}

/* Newsletter form styles (was missing entirely) */
.newsletter-form {
  display: flex;
  gap: var(--spacing-xs);
  max-width: 400px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.625rem 0.875rem;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius-md);
  color: var(--color-white);
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-red-light);
}

.newsletter-form button {
  padding: 0.625rem 1.25rem;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  background: var(--color-red);
  color: var(--color-white);
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}

.newsletter-form button:hover {
  background: var(--color-red-hover);
}

/* Hover states — only on devices that support hover */
@media (hover: hover) and (pointer: fine) {
  .newsletter-form button:hover {
    background: var(--color-red-hover);
  }
}

/* Font size floor — ensure minimum readability */
@media (max-width: 480px) {
  :root {
    --fs-xs: max(0.75rem, 12px);
  }

  /* Modal padding reduction on small screens */
  .modal__content {
    padding: var(--spacing-md);
  }

  /* Newsletter form stacks on mobile */
  .newsletter-form {
    flex-direction: column;
  }
}

/* Section image utility class (replaces inline styles) */
.section-image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
}

/* ============================================================
   Contact Page Components
   ============================================================ */
.contact-card {
  background: var(--color-dark);
  border: 1px solid var(--color-gray-800);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
}

.contact-card + .contact-card {
  margin-top: var(--spacing-lg);
}

.contact-card__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

.contact-card__field {
  margin-bottom: var(--spacing-md);
}

.contact-card__field:last-child {
  margin-bottom: 0;
}

.contact-card__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-card__value {
  color: var(--color-gray-300);
}

.contact-card__value a {
  font-size: var(--fs-base);
}

/* Expect items (icon + text rows) */
.expect-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.expect-item {
  display: flex;
  gap: var(--spacing-sm);
}

.expect-item__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--color-red-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expect-item__title {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
}

.expect-item__desc {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
}

.contact-form__heading {
  font-size: var(--fs-2xl);
  margin-bottom: var(--spacing-xs);
}

.contact-form__subtext {
  color: var(--color-gray-500);
  font-size: var(--fs-sm);
  margin-bottom: var(--spacing-xl);
}

.btn--block {
  width: 100%;
}

/* ── Share Bar ──────────────────────────────── */
.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: var(--spacing-sm) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin: var(--spacing-md) 0;
}
.share-bar__label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray-500);
  margin-right: var(--spacing-1);
}
.share-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: var(--color-gray-400);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}
.share-bar__btn:hover,
.share-bar__btn:focus-visible {
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.25);
}
.share-bar__btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.share-bar__btn--copied::after {
  content: 'Copied!';
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--color-white);
  background: var(--color-gray-800);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  animation: share-fade 1.5s ease forwards;
}
@keyframes share-fade {
  0%, 60% { opacity: 1; }
  100% { opacity: 0; }
}
@media (max-width: 600px) {
  .share-bar__btn svg {
    width: 18px;
    height: 18px;
  }
}

/* ── Touch Target & Accessibility Fixes ─────── */
@media (max-width: 768px) {
  .btn--sm {
    min-height: 44px;
    padding: 0.625rem 1rem;
  }
  .form__input,
  .form__select,
  .form__textarea {
    min-height: 44px;
  }
  .card__link,
  .blog-card__link,
  .result-card__link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .timeline {
    padding-left: 1.5rem;
  }
  .timeline__item {
    padding-left: 1.5rem;
  }
  .timeline__item::before {
    left: -1.5rem;
  }
}

/* --- Site Search --- */
.nav__search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--color-gray-400);
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.nav__search:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.08);
}
.nav__search svg { width: 18px; height: 18px; }

.search-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2001;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
}
.search-modal--open { display: flex; }
.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}
@supports (backdrop-filter: blur(1px)) {
  .search-modal__backdrop {
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
  }
}
.search-modal__content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 640px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
}
.search-modal__kbd {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: var(--fs-xs);
  color: var(--color-gray-400);
  margin-top: var(--spacing-sm);
}
.search-modal__kbd kbd {
  display: inline-block;
  padding: 2px 6px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
}

/* Pagefind UI dark theme overrides */
.search-modal .pagefind-ui {
  --pagefind-ui-scale: 0.9;
  --pagefind-ui-primary: var(--color-red);
  --pagefind-ui-text: var(--color-white);
  --pagefind-ui-background: var(--color-dark);
  --pagefind-ui-border: rgba(255,255,255,0.15);
  --pagefind-ui-tag: rgba(255,255,255,0.08);
  --pagefind-ui-border-width: 1px;
  --pagefind-ui-border-radius: 8px;
  --pagefind-ui-font: var(--font-sans);
}
.search-modal .pagefind-ui__search-input {
  background: var(--color-dark) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: var(--color-white) !important;
  font-weight: var(--fw-normal);
}
.search-modal .pagefind-ui__search-input::placeholder {
  color: var(--color-gray-400);
}
.search-modal .pagefind-ui__result-link {
  color: var(--color-white) !important;
}
.search-modal .pagefind-ui__result-link:hover {
  color: var(--color-red) !important;
}
.search-modal .pagefind-ui__result-excerpt {
  color: var(--color-gray-300) !important;
}
.search-modal .pagefind-ui__result {
  border-top-color: rgba(255,255,255,0.08) !important;
}
.search-modal .pagefind-ui__button {
  background: var(--color-red) !important;
  color: var(--color-white) !important;
  border-radius: var(--border-radius) !important;
}
.search-modal .pagefind-ui__message {
  color: var(--color-gray-400) !important;
}

@media (max-width: 900px) {
  .search-modal { padding-top: 8vh; }
  .search-modal__content { width: 95%; max-height: 80vh; }
}

@media (max-width: 480px) {
  .search-modal__content { width: 98%; padding: var(--spacing-md); }
}

/* ── Logo Image ────────────────────────────── */
.nav__logo-img {
  height: 28px;
  width: auto;
}
@media (max-width: 480px) {
  .nav__logo-img { height: 24px; }
}

/* ── Content Images ───────────────────────── */
.content-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
}

/* ── Focus-visible outlines ───────────────── */
.nav__search:focus-visible,
.btn:focus-visible,
.card__link:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

/* ── Code overflow ────────────────────────── */
pre, code {
  overflow-x: auto;
  max-width: 100%;
}

/* ── Footer newsletter input at 600px ─────── */
@media (max-width: 600px) {
  .footer__newsletter-input {
    width: 100%;
    min-height: 44px;
  }
}

/* ── Tablet breakpoints ──────────────────── */
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
  }
  .related-resources {
    grid-template-columns: 1fr;
  }
  .data-table {
    display: block;
    overflow-x: auto;
  }
}

/* ── Steps at 1024px ─────────────────────── */
@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps::before {
    display: none;
  }
}

/* ── Card icon responsive at 600px ────────── */
@media (max-width: 600px) {
  .card__icon {
    width: 40px;
    height: 40px;
    font-size: var(--fs-lg);
  }
}

/* ══════════════════════════════════════════════
   UI Enhancement Layer (2026-03-29)
   Based on: Brand guide, Google Stitch patterns,
   2026 B2B dark-theme best practices
   ══════════════════════════════════════════════ */

/* ── Keyframe animations ──────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Hero entrance animation ──────────────── */
.hero__label {
  animation: fadeInUp 0.6s ease both;
}

.hero__title {
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero__subtitle {
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero__actions {
  animation: fadeInUp 0.7s ease 0.3s both;
}

/* ── Stat number count-up styling ─────────── */
.trust-bar__stat-value,
.stat-card__value {
  background: linear-gradient(135deg, var(--color-white), var(--color-gray-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card__value {
  background: linear-gradient(135deg, var(--color-red), #FF6B6B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Enhanced card interactions ────────────── */
.card {
  transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 29, 36, 0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 20px rgba(236, 29, 36, 0.15);
}


/* ── Section dividers with gradient ───────── */
.section + .section {
  border-top: 1px solid rgba(255,255,255,0.04);
}

.section--dark + .section:not(.section--dark) {
  border-top: 1px solid rgba(236, 29, 36, 0.15);
}

/* ── Smooth gradient overlays on section transitions ── */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06) 50%, transparent);
  pointer-events: none;
}

.section {
  position: relative;
}

/* ── Step number pulse on hover ───────────── */
.step:hover .step__number {
  box-shadow: 0 0 0 4px rgba(236, 29, 36, 0.15), 0 0 20px rgba(236, 29, 36, 0.1);
  transition: box-shadow 0.3s ease;
}

/* ── Enhanced form focus states ───────────── */
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(236, 29, 36, 0.15);
  outline: none;
}

/* ── Table row hover enhancement ──────────── */
.data-table tbody tr {
  transition: background 0.2s ease;
}

.data-table tbody tr:hover {
  background: rgba(236, 29, 36, 0.04);
}

/* ── Smooth scroll progress indicator ─────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-red), #FF6B6B);
  z-index: 10001;
  transition: width 0.1s linear;
}

/* ── Trust bar stat hover ─────────────────── */
.trust-bar__stat {
  transition: transform 0.3s ease;
}

.trust-bar__stat:hover {
  transform: scale(1.05);
}

.trust-bar__stat:hover .trust-bar__stat-value {
  background: linear-gradient(135deg, var(--color-red), #FF6B6B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Reduced motion — enhancement layer ───── */
@media (prefers-reduced-motion: reduce) {
  .hero__label, .hero__title, .hero__subtitle, .hero__actions { animation: none; }
  .card { transition: border-color 0.2s ease; }
  .card:hover { transform: none; }
  .btn--primary:hover { transform: none; }
  .nav__cta:hover { transform: none; }
  .trust-bar__stat:hover { transform: none; }
}

/* ── Selection color ──────────────────────── */
::selection {
  background: rgba(236, 29, 36, 0.3);
  color: var(--color-white);
}

::-moz-selection {
  background: rgba(236, 29, 36, 0.3);
  color: var(--color-white);
}

/* ── Scrollbar styling (Webkit) ───────────── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-black);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray-700);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-600);
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--color-gray-700) var(--color-black);
}

@media print {
  .nav, .footer, .scroll-progress, .modal, .search-modal,
  .share-bar, .btn--primary, .btn--outline { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .section { background: #fff; color: #000; padding: 1rem 0; }
  h1, h2, h3, h4, h5, h6 { color: #000; page-break-after: avoid; }
  .card, .resource-card, .blog-card {
    border: 1px solid #ccc;
    background: #fff;
    page-break-inside: avoid;
  }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
  img { max-width: 100% !important; }
  .hero { min-height: auto; padding: 2rem 0; }
  .hero__bg { display: none; }
  .hero::after, .section--dark::before { display: none !important; }
}

/* ── Revolving taglines ──────────────────── */
[data-taglines] {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ── Insight card images ─────────────────── */
.insight-card__image {
  width: calc(100% + 2 * var(--spacing-lg));
  height: 180px;
  object-fit: cover;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  margin: calc(-1 * var(--spacing-lg)) calc(-1 * var(--spacing-lg)) var(--spacing-md);
}

/* ── Process section image ───────────────── */
.step__image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin-top: var(--spacing-md);
  border: 1px solid rgba(255,255,255,0.06);
}

/* ── SAFA comparison table column highlight ── */
.comparison-table td:nth-child(2),
.comparison-table th:nth-child(2) {
  background: rgba(236, 29, 36, 0.08);
  border-left: 2px solid var(--color-red);
  border-right: 2px solid var(--color-red);
}

/* ── Highlight SAFA column in data-table (safa.html) ── */
.data-table th:nth-child(2),
.data-table td:nth-child(2) {
  background: rgba(236, 29, 36, 0.08);
  border-left: 2px solid var(--color-red);
  border-right: 2px solid var(--color-red);
}

/* ── Slider thumb touch target on mobile ──── */
@media (max-width: 900px) {
  input[type=range]::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
  }
  input[type=range]::-moz-range-thumb {
    width: 28px;
    height: 28px;
  }
}

/* ── Table horizontal scroll on mobile ────── */
.table-wrap, .comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============================================================
   Homepage Redesign — Sound Identity
   ============================================================ */

/* ── Hero canvas (animated waveform) ─────── */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__content--centered {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}

.hero__title--dramatic {
  font-size: clamp(2.5rem, 2rem + 5vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--spacing-lg);
}

.hero__subtitle--wide {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions--centered {
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-gray-500);
  animation: hero-bounce 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes hero-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ── Signal strip (marquee) ──────────────── */
.signal-strip {
  background: var(--color-red);
  padding: 0.6rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.signal-strip__track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  animation: marquee 30s linear infinite;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white);
}

.signal-strip__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .signal-strip__track { animation: none; }
  .hero__scroll { animation: none; opacity: 0.5; }
}

/* ── Data moat section ───────────────────── */
.moat-stat {
  padding: var(--spacing-lg);
  background: var(--color-dark);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.moat-stat:hover {
  border-color: rgba(236, 29, 36, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 20px rgba(236, 29, 36, 0.15);
}

.moat-stat__number {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-red);
  line-height: 1.1;
  margin-bottom: var(--spacing-xs);
}

.moat-stat__label {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Data moat horizontal row ────────────── */
.moat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

@media (max-width: 900px) {
  .moat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .moat-row {
    grid-template-columns: 1fr;
  }
}

/* ── Compact trust bar ───────────────────── */
.trust-bar--compact {
  padding: var(--spacing-lg) 0;
}

/* ── Market cards ────────────────────────── */
.market-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.market-card {
  display: block;
  position: relative;
  padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
  background: var(--color-dark);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid transparent;
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  color: var(--color-text);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.market-card:hover {
  border-color: rgba(236, 29, 36, 0.4);
  border-top-color: var(--color-red);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 20px rgba(236, 29, 36, 0.15);
}

.market-card__waveform {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.market-card:hover .market-card__waveform {
  opacity: 1;
}

.market-card__waveform svg {
  width: 100%;
  height: 100%;
}

.market-card__label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-red);
  margin-bottom: var(--spacing-xs);
}

.market-card__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--spacing-sm);
  color: var(--color-white);
}

.market-card__text {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--color-gray-400);
  margin-bottom: var(--spacing-md);
}

.market-card__cta {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-red);
  transition: padding-left 0.2s ease;
}

.market-card:hover .market-card__cta {
  padding-left: 0.5rem;
}

.market-card--featured {
  border-color: var(--color-red);
  position: relative;
}
.market-card--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(236,29,36,0.06) 0%, transparent 60%);
  pointer-events: none;
}

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

/* ── Result tiles ────────────────────────── */
.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.result-tile {
  padding: var(--spacing-xl) var(--spacing-lg);
  background: var(--color-dark);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--color-red);
  transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.result-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 29, 36, 0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 20px rgba(236, 29, 36, 0.15);
}

.result-tile__metric {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1;
  margin-bottom: var(--spacing-1);
}

.result-tile__unit {
  font-size: var(--fs-sm);
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--fw-semibold);
  margin-bottom: var(--spacing-sm);
}

.result-tile__context {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--color-gray-400);
  margin-bottom: var(--spacing-sm);
}

.result-tile__link {
  font-size: var(--fs-sm);
  color: var(--color-red);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: padding-left 0.2s ease;
}

.result-tile__link:hover {
  padding-left: 0.25rem;
}

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

/* ── Science cards (4-grid) ──────────────── */
.science-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.science-card {
  padding: var(--spacing-lg);
  background: var(--color-dark);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-subtle);
  transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.science-card:hover {
  border-color: rgba(236, 29, 36, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 20px rgba(236, 29, 36, 0.15);
}

.science-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(236, 29, 36, 0.08);
  border-radius: 50%;
  margin-bottom: var(--spacing-md);
}

.science-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--spacing-xs);
  color: var(--color-white);
}

.science-card__desc {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--color-gray-400);
}

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

@media (max-width: 480px) {
  .science-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Hero text link ──────────────────────── */
.hero__text-link {
  display: inline-block;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
  padding: 0.6rem 0;
}

.hero__text-link:hover {
  color: var(--color-white);
}

/* ── Sensing Stack (homepage) ───────────────── */
.sensing-stack {
  max-width: 860px;
  margin: var(--spacing-xl) auto 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.sensing-stack__tier {
  padding: var(--spacing-lg) var(--spacing-xl);
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  text-align: center;
}

.sensing-stack__tier--value {
  background: transparent;
  border: 1px dashed rgba(236, 29, 36, 0.3);
}
.sensing-stack__tier--value .sensing-stack__tier-label {
  color: var(--color-red);
}
.sensing-stack__tier--value .sensing-stack__chip {
  background: rgba(236, 29, 36, 0.08);
  border-color: rgba(236, 29, 36, 0.25);
  color: var(--color-gray-200);
}
.sensing-stack__explore {
  display: inline-block;
  margin-top: var(--spacing-sm);
  font-size: var(--fs-sm);
  color: var(--color-red);
  text-decoration: none;
  font-weight: var(--fw-semibold);
  transition: color 0.15s;
}
.sensing-stack__explore:hover {
  color: var(--color-red-hover);
}
.sensing-stack__badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}
.sensing-stack__badge {
  font-size: 0.65rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-red);
  border: 1px solid rgba(236, 29, 36, 0.3);
  border-radius: 2px;
  padding: 0.15rem 0.5rem;
}

.sensing-stack__tier--seismos {
  background: var(--surface-0);
  border: 2px solid var(--color-red);
  box-shadow: 0 0 40px rgba(236, 29, 36, 0.15), inset 0 0 40px rgba(236, 29, 36, 0.04);
  position: relative;
  z-index: 2;
}

.sensing-stack__tier-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-sm);
}

.sensing-stack__tier--seismos .sensing-stack__tier-label {
  color: var(--color-red);
  font-size: var(--fs-sm);
}

.sensing-stack__tier-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-xs);
}

.sensing-stack__chip {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-pill);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.sensing-stack__metric {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(236, 29, 36, 0.08);
  border: 1px solid rgba(236, 29, 36, 0.2);
  border-radius: var(--border-radius-pill);
  font-size: var(--fs-sm);
  color: var(--color-white);
  font-weight: var(--fw-medium);
}

/* Signal flow between tiers */
.sensing-stack__signal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-sm) 0;
  position: relative;
}

.sensing-stack__line {
  width: 2px;
  height: 32px;
  background: linear-gradient(180deg, rgba(236, 29, 36, 0.4), rgba(236, 29, 36, 0.1));
}

.sensing-stack__pulse {
  width: 8px;
  height: 8px;
  background: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(236, 29, 36, 0.6);
  animation: stack-pulse 2.5s ease-in-out infinite;
}

.sensing-stack__pulse--delayed {
  animation-delay: 0.8s;
}

@keyframes stack-pulse {
  0%, 100% { opacity: 0.2; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.2); }
}

.sensing-stack__footnote {
  text-align: center;
  margin-top: var(--spacing-xl);
  font-size: var(--fs-lg);
  color: var(--color-gray-300);
  font-style: italic;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s, transform 0.6s;
}
.sensing-stack__footnote.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .sensing-stack__pulse { animation: none; opacity: 0.5; }
}

@media (max-width: 600px) {
  .sensing-stack__tier { padding: var(--spacing-md); }
  .sensing-stack__tier-items { gap: 0.35rem; }
  .sensing-stack__chip, .sensing-stack__metric { font-size: var(--fs-xs); padding: 0.2rem 0.6rem; }
}

/* ── Integration Cards ───────────────── */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}
.integrations-grid--2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.integration-card {
  display: flex;
  flex-direction: column;
  padding: var(--spacing-xl);
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.integration-card:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 29, 36, 0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 20px rgba(236, 29, 36, 0.15);
  color: var(--text-primary);
}

.integration-card__icon {
  margin-bottom: var(--spacing-sm);
}
.integration-card__icon svg {
  width: 40px;
  height: 40px;
}

.integration-card__name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--spacing-1);
}

.integration-card__product {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--spacing-sm);
}

.integration-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.integration-card__cta {
  font-size: var(--fs-sm);
  color: var(--color-red);
  font-weight: var(--fw-semibold);
  margin-top: var(--spacing-md);
  text-decoration: none;
}

.integration-card--open {
  border-style: dashed;
  border-color: var(--border-default);
}

.integration-card--open:hover {
  border-style: solid;
}

@media (max-width: 900px) {
  .integrations-grid { grid-template-columns: 1fr; gap: var(--spacing-md); }
}

/* Legacy sensing layer (other pages) */
.sensing-layer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.sensing-layer__desc {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--color-gray-300);
  margin-top: var(--spacing-md);
}

.sensing-layer__desc + .sensing-layer__desc {
  margin-top: var(--spacing-sm);
}

.sensing-layer__svg {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .sensing-layer:not(.sensing-layer--centered) {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
}

/* ============================================================
   Homepage Design Polish — May 2026
   ============================================================ */

/* ── Focus-visible states for interactive cards ─── */
.market-card:focus-visible,
.integration-card:focus-visible,
.result-tile:focus-visible,
.science-card:focus-visible,
.moat-stat:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 4px;
}

/* ── Nav CTA subtle glow pulse ──────────────── */
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(236, 29, 36, 0.3); }
  50% { box-shadow: 0 0 16px rgba(236, 29, 36, 0.5), 0 0 30px rgba(236, 29, 36, 0.15); }
}

.nav__cta {
  animation: cta-glow 3s ease-in-out infinite;
}

.nav__cta:hover {
  animation: none;
}

/* ── Sensing stack signal line visibility ───── */
.sensing-stack__line {
  height: 40px;
  width: 2px;
  background: linear-gradient(180deg, rgba(236, 29, 36, 0.6), rgba(236, 29, 36, 0.15));
}

/* ── Footer newsletter focus glow ──────────── */
.footer__newsletter-input:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(236, 29, 36, 0.15);
}

/* ── Reduced motion: disable all card hover transforms & CTA pulse ── */
@media (prefers-reduced-motion: reduce) {
  .market-card:hover,
  .integration-card:hover,
  .science-card:hover,
  .result-tile:hover,
  .moat-stat:hover {
    transform: none;
  }
  .nav__cta {
    animation: none;
  }
  .sensing-stack__pulse {
    animation: none;
    opacity: 0.5;
  }
}
