/* ═══ COLOR FLOW MAP (from design-spec.theme_context_map) ═══
 * nav: transparent-on-dark (dark-top pages, logo-light)
 *      solid-dark on scroll
 *      forced-solid-dark on light-top pages (pricing, contact, login, legal, blog articles)
 *
 * index.html (dark-top):
 *   hero            → DARK  (#0F1E3C) | text: #F0F4FF
 *   social-proof    → DARK_ALT (#152844) | text: #F0F4FF
 *   problem         → DARK  (#0F1E3C) | text: #F0F4FF
 *   product-overview→ LIGHT (#F5F7FC) | text: #0F1E3C
 *   use-cases       → LIGHT_ALT (#EEF2FB) | text: #0F1E3C
 *   scenario-demo   → DARK  (#0F1E3C) | text: #F0F4FF
 *   testimonials    → LIGHT (#F5F7FC) | text: #0F1E3C
 *   integrations    → LIGHT_ALT (#EEF2FB) | text: #0F1E3C
 *   cta-final       → DARK  (#0F1E3C) | text: #F0F4FF
 *   footer          → DARK (#091429) | text: #A8BFDF
 *
 * product.html (dark-top): dark → light → white → light_alt → light → dark → dark
 * pricing.html (light-top): light → light → white → dark
 * blog articles (light-top): light → white
 * contact/login/legal (light-top): light → white
 *
 * Nav bug prevention: dark-top → nav link color WHITE from first declaration
 *   light-top → .ivx-page--light-top nav links color DARK
 * ═══════════════════════════════════════════════════════════════ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  /* Brand palette */
  --ivx-brand-primary: #0F1E3C;
  --ivx-brand-deep: #091429;
  --ivx-accent: #4F7FFF;
  --ivx-accent-aa-light: #2855CC;
  --ivx-accent-aa-dark: #7BA7FF;
  --ivx-teal: #00C2A8;
  --ivx-teal-aa-dark: #00C2A8;
  --ivx-teal-aa-light: #007B6B;

  /* Foreground tokens */
  --ivx-fg-light-primary: #0F1E3C;
  --ivx-fg-light-secondary: #4A5568;
  --ivx-fg-light-muted: #718096;
  --ivx-fg-dark-primary: #F0F4FF;
  --ivx-fg-dark-secondary: #A8BFDF;
  --ivx-fg-dark-muted: #6B8DB3;

  /* Background tokens */
  --ivx-bg-dark: #0F1E3C;
  --ivx-bg-dark-alt: #152844;
  --ivx-bg-dark-card: #1A3054;
  --ivx-bg-light: #F5F7FC;
  --ivx-bg-light-alt: #EEF2FB;
  --ivx-bg-white: #FFFFFF;
  --ivx-bg-cream: #FAF9F7;

  /* Data colors */
  --ivx-data-green: #22C55E;
  --ivx-data-amber: #F59E0B;
  --ivx-data-red: #EF4444;

  /* Border */
  --ivx-border-dark: rgba(255,255,255,0.1);
  --ivx-border-light: rgba(15,30,60,0.12);

  /* Typography scale */
  --ivx-display: clamp(2.5rem, 5vw, 4rem);
  --ivx-h1: clamp(2rem, 3.5vw, 3rem);
  --ivx-h2: clamp(1.5rem, 2.5vw, 2.25rem);
  --ivx-h3: clamp(1.125rem, 1.5vw, 1.5rem);
  --ivx-body-lg: 1.125rem;
  --ivx-body: 1rem;
  --ivx-small: 0.875rem;

  /* Spacing */
  --ivx-section-v: 96px;
  --ivx-section-v-mobile: 64px;
  --ivx-container: 1200px;
  --ivx-nav-h: 72px;

  /* Shadows */
  --ivx-shadow-dark-card: 0 4px 24px rgba(0,0,0,0.4);
  --ivx-shadow-light-card: 0 2px 12px rgba(15,30,60,0.08);
  --ivx-shadow-light-card-hover: 0 6px 24px rgba(15,30,60,0.14);

  /* Radii */
  --ivx-r-sm: 4px;
  --ivx-r-btn: 6px;
  --ivx-r-card: 8px;
  --ivx-r-panel: 12px;
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: var(--ivx-body);
  line-height: 1.6;
  color: var(--ivx-fg-light-primary);
  background: var(--ivx-bg-white);
  -webkit-font-smoothing: antialiased;
}

body.ivx-page--dark-top { background: var(--ivx-bg-dark); }
body.ivx-page--light-top { background: var(--ivx-bg-light); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ── CONTAINER ── */
.ivx-container {
  max-width: var(--ivx-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── EYEBROW ── */
.ivx-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

/* Eyebrow context-scoped */
.ivx-section--dark .ivx-eyebrow,
.ivx-section--dark-alt .ivx-eyebrow,
.ivx-hero .ivx-eyebrow,
.ivx-footer .ivx-eyebrow { color: var(--ivx-teal-aa-dark); }

.ivx-section--light .ivx-eyebrow,
.ivx-section--white .ivx-eyebrow,
.ivx-section--light-alt .ivx-eyebrow { color: var(--ivx-teal-aa-light); }

/* ── TYPOGRAPHY HELPERS ── */
.ivx-section--dark h1,
.ivx-section--dark h2,
.ivx-section--dark h3,
.ivx-hero h1,
.ivx-hero h2 { color: var(--ivx-fg-dark-primary); }

.ivx-section--dark p,
.ivx-section--dark li,
.ivx-hero p { color: var(--ivx-fg-dark-secondary); }

.ivx-section--dark-alt h1,
.ivx-section--dark-alt h2,
.ivx-section--dark-alt h3 { color: var(--ivx-fg-dark-primary); }

.ivx-section--dark-alt p,
.ivx-section--dark-alt li { color: var(--ivx-fg-dark-secondary); }

.ivx-section--light h1,
.ivx-section--light h2,
.ivx-section--light h3,
.ivx-section--white h1,
.ivx-section--white h2,
.ivx-section--white h3,
.ivx-section--light-alt h1,
.ivx-section--light-alt h2,
.ivx-section--light-alt h3 { color: var(--ivx-fg-light-primary); }

.ivx-section--light p,
.ivx-section--light li,
.ivx-section--white p,
.ivx-section--white li,
.ivx-section--light-alt p,
.ivx-section--light-alt li { color: var(--ivx-fg-light-secondary); }

/* ── MONO FONT ── */
.ivx-mono {
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.9em;
  letter-spacing: -0.02em;
}

/* ── BUTTONS ── */
.ivx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--ivx-r-btn);
  font-size: var(--ivx-body);
  font-weight: 600;
  font-family: inherit;
  border: 2px solid transparent;
  transition: all 200ms ease-out;
  text-decoration: none;
  white-space: nowrap;
}

.ivx-btn--primary {
  background: var(--ivx-accent);
  color: #ffffff;
  border-color: var(--ivx-accent);
}
.ivx-btn--primary:hover {
  background: var(--ivx-accent-aa-light);
  border-color: var(--ivx-accent-aa-light);
}

.ivx-btn--teal {
  background: var(--ivx-teal);
  color: #091429;
  border-color: var(--ivx-teal);
  font-weight: 700;
}
.ivx-btn--teal:hover { background: #00a892; border-color: #00a892; }

.ivx-btn--outline-dark {
  background: transparent;
  color: var(--ivx-fg-dark-primary);
  border-color: rgba(240,244,255,0.4);
}
.ivx-btn--outline-dark:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(240,244,255,0.7);
}

.ivx-btn--outline-light {
  background: transparent;
  color: var(--ivx-fg-light-primary);
  border-color: rgba(15,30,60,0.3);
}
.ivx-btn--outline-light:hover {
  background: rgba(15,30,60,0.05);
  border-color: rgba(15,30,60,0.5);
}

.ivx-btn--ghost-dark {
  background: transparent;
  color: var(--ivx-fg-dark-secondary);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.ivx-btn--ghost-dark:hover { color: var(--ivx-fg-dark-primary); }

.ivx-btn--sm {
  padding: 8px 16px;
  font-size: var(--ivx-small);
}

.ivx-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── NAV ── */
.ivx-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--ivx-nav-h);
  display: flex;
  align-items: center;
  transition: background 200ms ease-out, box-shadow 200ms ease-out;
}

/* Dark-top pages: transparent nav */
body.ivx-page--dark-top .ivx-nav {
  background: transparent;
}
body.ivx-page--dark-top .ivx-nav--scrolled {
  background: var(--ivx-bg-dark);
  box-shadow: 0 1px 0 var(--ivx-border-dark);
}

/* Light-top pages: always solid dark nav */
body.ivx-page--light-top .ivx-nav {
  background: var(--ivx-bg-dark);
  box-shadow: 0 1px 0 var(--ivx-border-dark);
}

.ivx-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--ivx-container);
  margin: 0 auto;
  padding: 0 24px;
}

.ivx-nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.ivx-nav__logo img {
  height: 32px;
  width: auto;
  max-width: 180px;
}

.ivx-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ivx-nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--ivx-r-sm);
  transition: all 200ms ease-out;
  text-decoration: none;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Nav link color — dark nav context (both dark-top pages AND light-top pages with forced-dark nav) */
.ivx-nav .ivx-nav__link { color: var(--ivx-fg-dark-secondary); }
.ivx-nav .ivx-nav__link:hover { color: var(--ivx-fg-dark-primary); background: rgba(255,255,255,0.06); }

.ivx-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ivx-nav__signin {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ivx-fg-dark-secondary);
  padding: 6px 12px;
  border-radius: var(--ivx-r-sm);
  transition: color 200ms ease-out;
}
.ivx-nav__signin:hover { color: var(--ivx-fg-dark-primary); }

/* Dropdown */
.ivx-nav__dropdown { position: relative; }

.ivx-nav__dropdown-toggle {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ivx-fg-dark-secondary);
  padding: 6px 12px;
  border-radius: var(--ivx-r-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 200ms ease-out;
}
.ivx-nav__dropdown-toggle:hover { color: var(--ivx-fg-dark-primary); background: rgba(255,255,255,0.06); }

.ivx-nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--ivx-bg-dark-card);
  border: 1px solid var(--ivx-border-dark);
  border-radius: var(--ivx-r-card);
  padding: 8px;
  min-width: 200px;
  box-shadow: var(--ivx-shadow-dark-card);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 200ms ease-out, transform 200ms ease-out;
  z-index: 10;
}

.ivx-nav__dropdown:hover .ivx-nav__dropdown-menu,
.ivx-nav__dropdown.is-open .ivx-nav__dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.ivx-nav__dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ivx-fg-dark-secondary);
  border-radius: var(--ivx-r-sm);
  transition: all 200ms ease-out;
}
.ivx-nav__dropdown-menu a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--ivx-fg-dark-primary);
}

/* Mobile hamburger */
.ivx-nav__hamburger {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.ivx-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ivx-fg-dark-secondary);
  border-radius: 2px;
  transition: all 200ms ease-out;
}

.ivx-nav__mobile {
  display: none;
  position: fixed;
  top: var(--ivx-nav-h);
  left: 0;
  right: 0;
  background: var(--ivx-bg-dark);
  border-top: 1px solid var(--ivx-border-dark);
  padding: 16px 24px 24px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

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

.ivx-nav__mobile-links a,
.ivx-nav__mobile-links button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ivx-fg-dark-secondary);
  border: none;
  background: none;
  border-bottom: 1px solid var(--ivx-border-dark);
  cursor: pointer;
  font-family: inherit;
}
.ivx-nav__mobile-links a:last-child { border-bottom: none; }
.ivx-nav__mobile-links a:hover,
.ivx-nav__mobile-links button:hover { color: var(--ivx-fg-dark-primary); }

.ivx-nav__mobile-sub { padding-left: 16px; }
.ivx-nav__mobile-sub a { font-size: 0.9375rem; }

.ivx-nav__mobile-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }

/* ── FOOTER ── */
.ivx-footer {
  background: var(--ivx-brand-deep);
  color: var(--ivx-fg-dark-secondary);
  padding: 80px 0 0;
}

.ivx-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--ivx-border-dark);
}

.ivx-footer__brand .ivx-footer__logo {
  display: block;
  margin-bottom: 16px;
}

.ivx-footer__brand .ivx-footer__logo img {
  height: 28px;
  width: auto;
}

.ivx-footer__tagline {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-dark-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.ivx-footer__contact-item {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-dark-muted);
  margin-bottom: 4px;
}

.ivx-footer__contact-item a {
  color: var(--ivx-fg-dark-muted);
  transition: color 200ms;
}
.ivx-footer__contact-item a:hover { color: var(--ivx-fg-dark-secondary); }

.ivx-footer__col-heading {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivx-fg-dark-primary);
  margin-bottom: 20px;
}

.ivx-footer__link {
  display: block;
  font-size: var(--ivx-small);
  color: var(--ivx-fg-dark-muted);
  padding: 5px 0;
  transition: color 200ms ease-out;
}
.ivx-footer__link:hover { color: var(--ivx-fg-dark-secondary); }

.ivx-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.ivx-footer__copy {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-dark-muted);
}

.ivx-footer__legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.ivx-footer__legal a {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-dark-muted);
  transition: color 200ms ease-out;
}
.ivx-footer__legal a:hover { color: var(--ivx-fg-dark-secondary); }

.ivx-footer__cookie-pref {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-dark-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 200ms ease-out;
}
.ivx-footer__cookie-pref:hover { color: var(--ivx-fg-dark-secondary); }

/* ── SECTION BASE ── */
.ivx-section {
  padding: var(--ivx-section-v) 0;
}

.ivx-section--dark { background: var(--ivx-bg-dark); }
.ivx-section--dark-alt { background: var(--ivx-bg-dark-alt); }
.ivx-section--light { background: var(--ivx-bg-light); }
.ivx-section--light-alt { background: var(--ivx-bg-light-alt); }
.ivx-section--white { background: var(--ivx-bg-white); }
.ivx-section--cream { background: var(--ivx-bg-cream); }

.ivx-section__header {
  max-width: 720px;
  margin-bottom: 56px;
}

.ivx-section__header--center {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

/* ── HERO ── */
.ivx-hero {
  position: relative;
  padding-top: calc(var(--ivx-nav-h) + 80px);
  padding-bottom: 96px;
  overflow: hidden;
  background: var(--ivx-bg-dark);
}

.ivx-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ivx-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.ivx-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9,20,41,0.85) 0%, rgba(15,30,60,0.7) 60%, rgba(9,20,41,0.65) 100%);
}

.ivx-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--ivx-container);
  margin: 0 auto;
  padding: 0 24px;
}

.ivx-hero__content {
  max-width: 740px;
}

.ivx-hero__title {
  font-size: var(--ivx-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ivx-fg-dark-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.ivx-hero__title em {
  font-style: normal;
  color: var(--ivx-accent-aa-dark);
}

.ivx-hero__subhead {
  font-size: var(--ivx-body-lg);
  color: var(--ivx-fg-dark-secondary);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 600px;
}

/* Subpage hero */
.ivx-subhero {
  padding-top: calc(var(--ivx-nav-h) + 64px);
  padding-bottom: 72px;
  background: var(--ivx-bg-dark);
  position: relative;
  overflow: hidden;
}

.ivx-subhero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(79,127,255,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 50% 80% at 10% 80%, rgba(0,194,168,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.ivx-subhero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--ivx-container);
  margin: 0 auto;
  padding: 0 24px;
}

.ivx-subhero__content {
  max-width: 680px;
}

.ivx-subhero__title {
  font-size: var(--ivx-h1);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ivx-fg-dark-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.ivx-subhero__sub {
  font-size: var(--ivx-body-lg);
  color: var(--ivx-fg-dark-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 560px;
}

/* Light subhero (pricing, contact, login, legal pages) */
.ivx-subhero--light {
  background: var(--ivx-bg-light);
  padding-top: calc(var(--ivx-nav-h) + 48px);
  padding-bottom: 56px;
}

.ivx-subhero--light::before { display: none; }

.ivx-subhero--light .ivx-subhero__title { color: var(--ivx-fg-light-primary); }
.ivx-subhero--light .ivx-subhero__sub { color: var(--ivx-fg-light-secondary); }
.ivx-subhero--light .ivx-eyebrow { color: var(--ivx-teal-aa-light); }

/* ── TRUST BAR ── */
.ivx-trust-bar {
  background: var(--ivx-bg-dark-alt);
  padding: 28px 0;
  border-top: 1px solid var(--ivx-border-dark);
  border-bottom: 1px solid var(--ivx-border-dark);
}

.ivx-trust-bar__inner {
  max-width: var(--ivx-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.ivx-trust-bar__label {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-dark-muted);
  font-weight: 500;
  white-space: nowrap;
}

.ivx-trust-bar__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ivx-trust-bar__chip {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ivx-fg-dark-secondary);
  background: var(--ivx-bg-dark-card);
  border: 1px solid var(--ivx-border-dark);
  border-radius: 20px;
  padding: 5px 14px;
}

/* ── PROBLEM CARDS ── */
.ivx-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ivx-problem-card {
  background: var(--ivx-bg-dark-card);
  border: 1px solid var(--ivx-border-dark);
  border-radius: var(--ivx-r-card);
  padding: 32px;
  box-shadow: var(--ivx-shadow-dark-card);
}

.ivx-problem-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(245,158,11,0.15);
  border-radius: var(--ivx-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--ivx-data-amber);
  font-size: 1.25rem;
}

.ivx-problem-card__title {
  font-size: var(--ivx-h3);
  font-weight: 600;
  color: var(--ivx-fg-dark-primary);
  margin-bottom: 10px;
}

.ivx-problem-card__body {
  font-size: var(--ivx-body);
  color: var(--ivx-fg-dark-muted);
  line-height: 1.6;
}

/* ── PRODUCT TABS ── */
.ivx-product-tabs {
  background: var(--ivx-bg-light);
}

.ivx-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--ivx-border-light);
  margin-bottom: 0;
}

.ivx-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ivx-fg-light-secondary);
  cursor: pointer;
  transition: all 200ms ease-out;
  font-family: inherit;
}

.ivx-tab-btn.is-active {
  color: var(--ivx-accent-aa-light);
  border-bottom-color: var(--ivx-accent-aa-light);
}

.ivx-tab-btn:hover:not(.is-active) { color: var(--ivx-fg-light-primary); }

.ivx-product-tab-panel {
  background: var(--ivx-bg-white);
  border-radius: 0 0 var(--ivx-r-panel) var(--ivx-r-panel);
  border: 1px solid var(--ivx-border-light);
  border-top: none;
  padding: 40px;
  display: none;
}

.ivx-product-tab-panel.is-active { display: flex; gap: 48px; align-items: flex-start; }

.ivx-product-tab-panel__copy {
  flex: 1;
  min-width: 0;
}

.ivx-product-tab-panel__copy h3 {
  font-size: var(--ivx-h3);
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  margin-bottom: 14px;
}

.ivx-product-tab-panel__copy p {
  color: var(--ivx-fg-light-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.ivx-product-tab-panel__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ivx-product-tab-panel__features li {
  display: flex;
  gap: 10px;
  font-size: var(--ivx-small);
  color: var(--ivx-fg-light-secondary);
  align-items: flex-start;
}

.ivx-product-tab-panel__features li::before {
  content: '✓';
  color: var(--ivx-teal-aa-light);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.ivx-product-tab-panel__visual {
  flex: 1.2;
  min-width: 0;
}

.ivx-product-tab-panel__visual img {
  width: 100%;
  height: auto;
  border-radius: var(--ivx-r-card);
  box-shadow: var(--ivx-shadow-light-card);
}

/* ── USE CASE STRIPS ── */
.ivx-usecase-strips {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ivx-usecase-strip {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 32px;
  background: var(--ivx-bg-white);
  border-radius: var(--ivx-r-card);
  box-shadow: var(--ivx-shadow-light-card);
  transition: box-shadow 200ms ease-out;
}

.ivx-usecase-strip:hover { box-shadow: var(--ivx-shadow-light-card-hover); }

.ivx-usecase-strip__icon {
  width: 48px;
  height: 48px;
  background: rgba(79,127,255,0.1);
  border-radius: var(--ivx-r-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ivx-accent-aa-light);
  font-size: 1.25rem;
}

.ivx-usecase-strip__body { flex: 1; min-width: 0; }

.ivx-usecase-strip__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ivx-fg-light-primary);
  margin-bottom: 8px;
}

.ivx-usecase-strip__desc {
  font-size: var(--ivx-body);
  color: var(--ivx-fg-light-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
}

.ivx-usecase-strip__link {
  font-size: var(--ivx-small);
  font-weight: 600;
  color: var(--ivx-accent-aa-light);
  transition: color 200ms;
}
.ivx-usecase-strip__link:hover { color: var(--ivx-brand-primary); }

/* ── SCENARIO DEMO SECTION ── */
.ivx-scenario-demo {
  background: var(--ivx-bg-dark);
  position: relative;
  overflow: hidden;
}

.ivx-scenario-demo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 40%, rgba(79,127,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.ivx-scenario-demo__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

.ivx-scenario-demo__copy h2 {
  font-size: var(--ivx-h2);
  font-weight: 700;
  color: var(--ivx-fg-dark-primary);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.ivx-scenario-demo__stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.ivx-stat-callout {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.ivx-stat-callout__value {
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ivx-teal-aa-dark);
}

.ivx-stat-callout__label {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-dark-secondary);
}

.ivx-scenario-demo__visual img {
  width: 100%;
  height: auto;
  border-radius: var(--ivx-r-panel);
  box-shadow: var(--ivx-shadow-dark-card);
}

/* ── TESTIMONIALS ── */
.ivx-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ivx-testimonial-card {
  background: var(--ivx-bg-white);
  border: 1px solid var(--ivx-border-light);
  border-radius: var(--ivx-r-panel);
  padding: 36px;
  box-shadow: var(--ivx-shadow-light-card);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ivx-testimonial-card__quote {
  font-size: var(--ivx-body-lg);
  color: var(--ivx-fg-light-primary);
  line-height: 1.7;
  font-style: italic;
}

.ivx-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ivx-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ivx-accent-aa-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.ivx-testimonial-card__name {
  font-size: var(--ivx-body);
  font-weight: 600;
  color: var(--ivx-fg-light-primary);
}

.ivx-testimonial-card__role {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-light-muted);
}

/* ── INTEGRATIONS STRIP ── */
.ivx-integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ivx-integration-card {
  background: var(--ivx-bg-white);
  border: 1px solid var(--ivx-border-light);
  border-radius: var(--ivx-r-card);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: box-shadow 200ms ease-out;
}

.ivx-integration-card:hover { box-shadow: var(--ivx-shadow-light-card-hover); }

.ivx-integration-card__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--ivx-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ivx-integration-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ivx-fg-light-primary);
}

/* ── CTA BAND ── */
.ivx-cta-band {
  background: linear-gradient(135deg, var(--ivx-brand-deep) 0%, var(--ivx-bg-dark) 100%);
  border-top: 1px solid var(--ivx-border-dark);
  text-align: center;
}

.ivx-cta-band__teal-line {
  width: 48px;
  height: 3px;
  background: var(--ivx-teal);
  margin: 0 auto 32px;
  border-radius: 2px;
}

.ivx-cta-band h2 {
  font-size: var(--ivx-h2);
  font-weight: 700;
  color: var(--ivx-fg-dark-primary);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.ivx-cta-band p {
  font-size: var(--ivx-body-lg);
  color: var(--ivx-fg-dark-secondary);
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ── PRICING CARDS ── */
.ivx-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.ivx-pricing-card {
  background: var(--ivx-bg-white);
  border: 2px solid var(--ivx-border-light);
  border-radius: var(--ivx-r-panel);
  padding: 36px;
  box-shadow: var(--ivx-shadow-light-card);
}

.ivx-pricing-card--featured {
  background: var(--ivx-bg-dark);
  border-color: var(--ivx-accent);
  box-shadow: 0 8px 32px rgba(79,127,255,0.3);
  position: relative;
}

.ivx-pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ivx-accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}

.ivx-pricing-card__tier {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ivx-pricing-card .ivx-pricing-card__tier { color: var(--ivx-fg-light-secondary); }
.ivx-pricing-card--featured .ivx-pricing-card__tier { color: var(--ivx-accent-aa-dark); }

.ivx-pricing-card__price {
  margin-bottom: 8px;
}

.ivx-pricing-card__amount {
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
}

.ivx-pricing-card .ivx-pricing-card__amount { color: var(--ivx-fg-light-primary); }
.ivx-pricing-card--featured .ivx-pricing-card__amount { color: var(--ivx-fg-dark-primary); }

.ivx-pricing-card__period {
  font-size: var(--ivx-small);
}

.ivx-pricing-card .ivx-pricing-card__period { color: var(--ivx-fg-light-muted); }
.ivx-pricing-card--featured .ivx-pricing-card__period { color: var(--ivx-fg-dark-muted); }

.ivx-pricing-card__annual-note {
  font-size: 0.8125rem;
  margin-bottom: 20px;
}

.ivx-pricing-card .ivx-pricing-card__annual-note { color: var(--ivx-teal-aa-light); }
.ivx-pricing-card--featured .ivx-pricing-card__annual-note { color: var(--ivx-teal-aa-dark); }

.ivx-pricing-card__desc {
  font-size: var(--ivx-small);
  line-height: 1.6;
  margin-bottom: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--ivx-border-light);
}

.ivx-pricing-card .ivx-pricing-card__desc { color: var(--ivx-fg-light-secondary); border-top-color: var(--ivx-border-light); }
.ivx-pricing-card--featured .ivx-pricing-card__desc { color: var(--ivx-fg-dark-secondary); border-top-color: var(--ivx-border-dark); }

.ivx-pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.ivx-pricing-card__features li {
  display: flex;
  gap: 10px;
  font-size: var(--ivx-small);
  align-items: flex-start;
}

.ivx-pricing-card .ivx-pricing-card__features li { color: var(--ivx-fg-light-secondary); }
.ivx-pricing-card--featured .ivx-pricing-card__features li { color: var(--ivx-fg-dark-secondary); }

.ivx-pricing-card__features li::before {
  content: '✓';
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.ivx-pricing-card .ivx-pricing-card__features li::before { color: var(--ivx-teal-aa-light); }
.ivx-pricing-card--featured .ivx-pricing-card__features li::before { color: var(--ivx-teal-aa-dark); }

/* ── FAQ ACCORDION ── */
.ivx-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--ivx-r-card);
  overflow: hidden;
  border: 1px solid var(--ivx-border-light);
}

.ivx-faq-item {
  border-bottom: 1px solid var(--ivx-border-light);
}
.ivx-faq-item:last-child { border-bottom: none; }

.ivx-faq-item__question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: var(--ivx-body);
  font-weight: 600;
  color: var(--ivx-fg-light-primary);
  background: var(--ivx-bg-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
  transition: background 200ms ease-out;
}

.ivx-faq-item__question:hover { background: var(--ivx-bg-light); }

.ivx-faq-item__question .ivx-faq__chevron {
  width: 20px;
  height: 20px;
  color: var(--ivx-fg-light-muted);
  flex-shrink: 0;
  transition: transform 200ms ease-out;
}

.ivx-faq-item.is-open .ivx-faq__chevron { transform: rotate(180deg); }

.ivx-faq-item__answer {
  display: none;
  padding: 0 24px 20px;
  font-size: var(--ivx-body);
  color: var(--ivx-fg-light-secondary);
  line-height: 1.7;
  background: var(--ivx-bg-white);
}

.ivx-faq-item.is-open .ivx-faq-item__answer { display: block; }

/* ── BLOG GRID ── */
.ivx-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ivx-blog-card {
  background: var(--ivx-bg-white);
  border: 1px solid var(--ivx-border-light);
  border-radius: var(--ivx-r-panel);
  overflow: hidden;
  transition: box-shadow 200ms ease-out;
  display: flex;
  flex-direction: column;
}

.ivx-blog-card:hover { box-shadow: var(--ivx-shadow-light-card-hover); }

.ivx-blog-card__img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ivx-bg-dark-alt);
}

.ivx-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ivx-blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.ivx-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ivx-blog-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivx-accent-aa-light);
  background: rgba(40,85,204,0.08);
  padding: 3px 10px;
  border-radius: 20px;
}

.ivx-blog-card__date {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-light-muted);
}

.ivx-blog-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  line-height: 1.4;
  margin-bottom: 10px;
  transition: color 200ms;
}

.ivx-blog-card:hover .ivx-blog-card__title { color: var(--ivx-accent-aa-light); }

.ivx-blog-card__excerpt {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-light-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

.ivx-blog-card__readtime {
  font-size: 0.8125rem;
  color: var(--ivx-fg-light-muted);
  font-weight: 500;
}

/* ── BLOG ARTICLE ── */
.ivx-blog-article-wrap {
  padding-top: calc(var(--ivx-nav-h) + 0px);
}

.ivx-article-header {
  background: var(--ivx-bg-light);
  padding: 48px 0 40px;
}

.ivx-article-header__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.ivx-article-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--ivx-small);
  color: var(--ivx-fg-light-muted);
  margin-bottom: 20px;
}

.ivx-article-header__breadcrumb a {
  color: var(--ivx-accent-aa-light);
  transition: color 200ms;
}
.ivx-article-header__breadcrumb a:hover { color: var(--ivx-brand-primary); }

.ivx-article-header__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivx-accent-aa-light);
  background: rgba(40,85,204,0.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.ivx-article-header__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.ivx-article-header__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: var(--ivx-small);
  color: var(--ivx-fg-light-muted);
}

.ivx-article-header__author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--ivx-fg-light-secondary);
}

.ivx-article-cover-wrap {
  background: var(--ivx-bg-light);
  padding: 0 0 0;
}

.ivx-blog-article__cover {
  width: 100%;
  height: auto;
  max-width: 860px;
  margin: 0 auto;
  display: block;
  border-radius: var(--ivx-r-card);
}

.ivx-article-body-section {
  background: var(--ivx-bg-white);
  padding: 56px 0 80px;
}

.ivx-blog-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

body.ivx-page--light-top .ivx-blog-article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
}

body.ivx-page--light-top .ivx-blog-article h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  margin: 28px 0 10px;
}

body.ivx-page--light-top .ivx-blog-article p {
  color: var(--ivx-fg-light-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
  font-size: 1.0625rem;
}

body.ivx-page--light-top .ivx-blog-article ul,
body.ivx-page--light-top .ivx-blog-article ol {
  color: var(--ivx-fg-light-secondary);
  padding-left: 24px;
  margin-bottom: 20px;
  font-size: 1.0625rem;
  line-height: 1.75;
}

body.ivx-page--light-top .ivx-blog-article ul { list-style: disc; }
body.ivx-page--light-top .ivx-blog-article ol { list-style: decimal; }

body.ivx-page--light-top .ivx-blog-article li { margin-bottom: 8px; }

body.ivx-page--light-top .ivx-blog-article a {
  color: var(--ivx-accent-aa-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.ivx-page--light-top .ivx-blog-article blockquote {
  border-left: 3px solid var(--ivx-accent-aa-light);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--ivx-fg-light-primary);
}

/* ── INLINE SVG DIAGRAMS ── */
.ivx-svg-diagram {
  width: 100%;
  border-radius: var(--ivx-r-card);
  overflow: hidden;
}

/* Scenario tree */
.ivx-scenario-tree-wrap {
  background: var(--ivx-bg-white);
  border: 1px solid var(--ivx-border-light);
  border-radius: var(--ivx-r-card);
  padding: 32px;
  box-shadow: var(--ivx-shadow-light-card);
}

/* Sensitivity table / tornado chart */
.ivx-sensitivity-wrap {
  background: var(--ivx-bg-white);
  border: 1px solid var(--ivx-border-light);
  border-radius: var(--ivx-r-panel);
  padding: 32px;
  box-shadow: var(--ivx-shadow-light-card);
}

/* ── FEATURE GRID (generic 3-col) ── */
.ivx-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ivx-feature-card {
  padding: 28px;
  border-radius: var(--ivx-r-card);
  border: 1px solid var(--ivx-border-light);
  background: var(--ivx-bg-white);
  box-shadow: var(--ivx-shadow-light-card);
  transition: box-shadow 200ms ease-out;
}

.ivx-feature-card:hover { box-shadow: var(--ivx-shadow-light-card-hover); }

.ivx-feature-card--dark {
  background: var(--ivx-bg-dark-card);
  border-color: var(--ivx-border-dark);
  box-shadow: var(--ivx-shadow-dark-card);
}

.ivx-feature-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--ivx-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-bottom: 18px;
}

.ivx-feature-card__icon--accent {
  background: rgba(79,127,255,0.12);
  color: var(--ivx-accent-aa-light);
}

.ivx-feature-card__icon--teal {
  background: rgba(0,194,168,0.12);
  color: var(--ivx-teal-aa-light);
}

.ivx-feature-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.ivx-feature-card .ivx-feature-card__title { color: var(--ivx-fg-light-primary); }
.ivx-feature-card--dark .ivx-feature-card__title { color: var(--ivx-fg-dark-primary); }
.ivx-feature-card--dark .ivx-feature-card__icon--accent { background: rgba(79,127,255,0.2); color: var(--ivx-accent-aa-dark); }
.ivx-feature-card--dark .ivx-feature-card__icon--teal { background: rgba(0,194,168,0.15); color: var(--ivx-teal-aa-dark); }

.ivx-feature-card__body {
  font-size: var(--ivx-small);
  line-height: 1.65;
}

.ivx-feature-card .ivx-feature-card__body { color: var(--ivx-fg-light-secondary); }
.ivx-feature-card--dark .ivx-feature-card__body { color: var(--ivx-fg-dark-secondary); }

/* ── METRICS STRIP ── */
.ivx-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.ivx-metric__value {
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ivx-teal-aa-dark);
  display: block;
  margin-bottom: 6px;
}

.ivx-metric__label {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-dark-secondary);
}

/* Metrics on light background */
.ivx-section--light-alt .ivx-metric__value,
.ivx-section--light .ivx-metric__value {
  color: var(--ivx-teal-aa-light);
}
.ivx-section--light-alt .ivx-metric__label,
.ivx-section--light .ivx-metric__label {
  color: var(--ivx-fg-light-secondary);
}

/* ── STEP / PROCESS ── */
.ivx-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.ivx-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: flex-start;
}

.ivx-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ivx-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.ivx-step__content h3 {
  font-size: var(--ivx-h3);
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  margin-bottom: 10px;
}

.ivx-step__content p {
  font-size: var(--ivx-body);
  color: var(--ivx-fg-light-secondary);
  line-height: 1.65;
}

/* ── CONTACT FORM ── */
.ivx-contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.ivx-form-group {
  margin-bottom: 20px;
}

.ivx-form-label {
  display: block;
  font-size: var(--ivx-small);
  font-weight: 600;
  color: var(--ivx-fg-light-primary);
  margin-bottom: 6px;
}

.ivx-form-input,
.ivx-form-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--ivx-border-light);
  border-radius: var(--ivx-r-btn);
  font-family: inherit;
  font-size: var(--ivx-body);
  color: var(--ivx-fg-light-primary);
  background: var(--ivx-bg-white);
  transition: border-color 200ms ease-out;
  max-width: 480px;
}

.ivx-form-input:focus,
.ivx-form-select:focus {
  outline: none;
  border-color: var(--ivx-accent-aa-light);
  box-shadow: 0 0 0 3px rgba(40,85,204,0.12);
}

.ivx-form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--ivx-border-light);
  border-radius: var(--ivx-r-btn);
  font-family: inherit;
  font-size: var(--ivx-body);
  color: var(--ivx-fg-light-primary);
  background: var(--ivx-bg-white);
  transition: border-color 200ms ease-out;
  resize: vertical;
  min-height: 120px;
  max-width: 480px;
}

.ivx-form-textarea:focus {
  outline: none;
  border-color: var(--ivx-accent-aa-light);
  box-shadow: 0 0 0 3px rgba(40,85,204,0.12);
}

.ivx-form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A5568' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.ivx-contact-info { }

.ivx-contact-info__item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ivx-border-light);
}

.ivx-contact-info__item:first-child { border-top: 1px solid var(--ivx-border-light); }

.ivx-contact-info__icon {
  width: 36px;
  height: 36px;
  background: rgba(79,127,255,0.1);
  border-radius: var(--ivx-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivx-accent-aa-light);
  flex-shrink: 0;
}

.ivx-contact-info__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ivx-fg-light-muted);
  margin-bottom: 4px;
}

.ivx-contact-info__value {
  font-size: var(--ivx-body);
  color: var(--ivx-fg-light-primary);
}

.ivx-contact-info__value a {
  color: var(--ivx-accent-aa-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── AUTH PAGES ── */
.ivx-auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ivx-auth-panel {
  background: var(--ivx-bg-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
  min-height: 100vh;
}

.ivx-auth-panel__logo {
  display: block;
  margin-bottom: 48px;
}

.ivx-auth-panel__logo img { height: 28px; width: auto; }

.ivx-auth-panel__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.ivx-auth-panel__sub {
  font-size: var(--ivx-body);
  color: var(--ivx-fg-light-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
}

.ivx-auth-panel__footer {
  margin-top: 24px;
  font-size: var(--ivx-small);
  color: var(--ivx-fg-light-muted);
  text-align: center;
}

.ivx-auth-panel__footer a {
  color: var(--ivx-accent-aa-light);
  font-weight: 600;
}

.ivx-auth-side {
  background: var(--ivx-bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.ivx-auth-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 70% 30%, rgba(79,127,255,0.18) 0%, transparent 65%),
              radial-gradient(ellipse 50% 60% at 20% 80%, rgba(0,194,168,0.1) 0%, transparent 55%);
  pointer-events: none;
}

.ivx-auth-side__inner { position: relative; z-index: 1; }

.ivx-auth-side__headline {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--ivx-fg-dark-primary);
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ivx-auth-side__sub {
  font-size: var(--ivx-body);
  color: var(--ivx-fg-dark-secondary);
  line-height: 1.65;
  margin-bottom: 48px;
}

.ivx-auth-side__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ivx-auth-side__feature {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ivx-auth-side__feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(79,127,255,0.2);
  border-radius: var(--ivx-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivx-accent-aa-dark);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.ivx-auth-side__feature-text {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-dark-secondary);
}

/* ── LEGAL PAGES ── */
.ivx-legal-header {
  background: var(--ivx-bg-light);
  padding-top: calc(var(--ivx-nav-h) + 48px);
  padding-bottom: 40px;
}

.ivx-legal-header h1 {
  font-size: var(--ivx-h1);
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  margin-bottom: 8px;
}

.ivx-legal-header .ivx-legal-meta {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-light-muted);
}

.ivx-legal-body-section {
  background: var(--ivx-bg-white);
  padding: 56px 0 96px;
}

body.ivx-page--light-top .ivx-legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

body.ivx-page--light-top .ivx-legal-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  margin: 40px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--ivx-border-light);
}

body.ivx-page--light-top .ivx-legal-content h2:first-child { border-top: none; margin-top: 0; }

body.ivx-page--light-top .ivx-legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  margin: 24px 0 8px;
}

body.ivx-page--light-top .ivx-legal-content p {
  font-size: var(--ivx-body);
  color: var(--ivx-fg-light-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

body.ivx-page--light-top .ivx-legal-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

body.ivx-page--light-top .ivx-legal-content ul li {
  list-style: disc;
  font-size: var(--ivx-body);
  color: var(--ivx-fg-light-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

body.ivx-page--light-top .ivx-legal-content address {
  font-style: normal;
  font-size: var(--ivx-body);
  color: var(--ivx-fg-light-secondary);
  line-height: 1.8;
  background: var(--ivx-bg-light);
  border-radius: var(--ivx-r-card);
  padding: 16px 20px;
  margin-top: 8px;
}

body.ivx-page--light-top .ivx-legal-content a {
  color: var(--ivx-accent-aa-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: var(--ivx-small);
}

.legal-table th,
.legal-table td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--ivx-border-light);
  color: var(--ivx-fg-light-secondary);
}

.legal-table th {
  background: var(--ivx-bg-light);
  font-weight: 600;
  color: var(--ivx-fg-light-primary);
}

.legal-header { margin-bottom: 32px; }
.legal-meta { font-size: var(--ivx-small); color: var(--ivx-fg-light-muted); margin-top: 4px; }

/* ── INTEGRATION CARDS DETAILED ── */
.ivx-int-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ivx-int-card {
  background: var(--ivx-bg-white);
  border: 1px solid var(--ivx-border-light);
  border-radius: var(--ivx-r-card);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--ivx-shadow-light-card);
  transition: box-shadow 200ms ease-out;
}

.ivx-int-card:hover { box-shadow: var(--ivx-shadow-light-card-hover); }

.ivx-int-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--ivx-r-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin: 0 auto 14px;
}

.ivx-int-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  margin-bottom: 4px;
}

.ivx-int-card__status {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ivx-data-green);
  background: rgba(34,197,94,0.1);
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
}

.ivx-int-category-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivx-fg-light-muted);
  margin: 36px 0 16px;
}

/* ── CUSTOMER STORIES ── */
.ivx-story-card {
  background: var(--ivx-bg-white);
  border: 1px solid var(--ivx-border-light);
  border-radius: var(--ivx-r-panel);
  padding: 36px;
  box-shadow: var(--ivx-shadow-light-card);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: flex-start;
}

.ivx-story-card__industry {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivx-teal-aa-light);
  background: rgba(0,123,107,0.1);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.ivx-story-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  margin-bottom: 12px;
}

.ivx-story-card__quote {
  font-style: italic;
  color: var(--ivx-fg-light-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.ivx-story-card__attr {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-light-muted);
  font-weight: 500;
}

.ivx-story-card__stat-box {
  background: var(--ivx-bg-light);
  border-radius: var(--ivx-r-card);
  padding: 20px 24px;
  text-align: center;
  min-width: 140px;
}

.ivx-story-card__stat-value {
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--ivx-teal-aa-light);
  display: block;
  margin-bottom: 4px;
}

.ivx-story-card__stat-label {
  font-size: 0.8125rem;
  color: var(--ivx-fg-light-secondary);
  line-height: 1.4;
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ivx-bg-dark);
  border-top: 1px solid var(--ivx-border-dark);
  z-index: 9999;
  padding: 16px 0;
}

.cookie-banner__inner {
  max-width: var(--ivx-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-dark-secondary);
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--ivx-accent-aa-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions { display: flex; gap: 10px; }

.cookie-banner__btn {
  font-family: inherit;
  font-size: var(--ivx-small);
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--ivx-r-btn);
  border: none;
  cursor: pointer;
  transition: all 200ms ease-out;
}

.cookie-banner__btn--primary {
  background: var(--ivx-accent);
  color: #ffffff;
}

.cookie-banner__btn--primary:hover { background: var(--ivx-accent-aa-light); }

/* ── ABOUT / TEAM ── */
.ivx-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ivx-team-card {
  text-align: center;
}

.ivx-team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 14px;
  overflow: hidden;
}

.ivx-team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ivx-team-card__avatar--letter {
  background: var(--ivx-bg-dark-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ivx-accent-aa-dark);
}

.ivx-team-card__name {
  font-size: var(--ivx-body);
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  margin-bottom: 4px;
}

.ivx-team-card__title {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-light-muted);
}

/* ── FOUNDER SECTION ── */
.ivx-founder-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: center;
}

.ivx-founder-portrait {
  border-radius: var(--ivx-r-panel);
  overflow: hidden;
  box-shadow: var(--ivx-shadow-light-card);
}

.ivx-founder-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ── SR-ONLY ── */
.ivx-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;
}

/* ── AVATAR MODIFIERS ── */
.ivx-avatar--accent { background: var(--ivx-accent-aa-light); color: #ffffff; }
.ivx-avatar--teal   { background: var(--ivx-teal-aa-light); color: #ffffff; }

/* ── WHITE-ON-DARK BUTTON (featured pricing card) ── */
.ivx-btn--white-on-dark {
  background: #ffffff;
  color: var(--ivx-brand-primary);
  border-color: #ffffff;
}
.ivx-btn--white-on-dark:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.9);
}

/* ── TAB CONTAINER ── */
.ivx-tab-container {
  background: var(--ivx-bg-white);
  border: 1px solid var(--ivx-border-light);
  border-radius: var(--ivx-r-panel);
  overflow: hidden;
}

/* ── PRICING CARD EXTRA ELEMENTS ── */
.ivx-pricing-card__header { margin-bottom: 24px; }
.ivx-pricing-card__billing {
  font-size: 0.8125rem;
  margin-bottom: 8px;
}
.ivx-pricing-card .ivx-pricing-card__billing { color: var(--ivx-fg-light-muted); }
.ivx-pricing-card--featured .ivx-pricing-card__billing { color: var(--ivx-fg-dark-muted); }

.ivx-pricing-card__who {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ivx-border-light);
}
.ivx-pricing-card .ivx-pricing-card__who { color: var(--ivx-fg-light-secondary); }
.ivx-pricing-card--featured .ivx-pricing-card__who { color: var(--ivx-fg-dark-secondary); border-bottom-color: var(--ivx-border-dark); }

.ivx-pricing-card__feature--muted { opacity: 0.55; }

/* ── FAQ ALT CLASSES (used in pricing.html) ── */
.ivx-faq { }

.ivx-faq__item {
  border-bottom: 1px solid var(--ivx-border-light);
}
.ivx-faq__item:last-child { border-bottom: none; }

.ivx-faq__question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: var(--ivx-body);
  font-weight: 600;
  color: var(--ivx-fg-light-primary);
  background: var(--ivx-bg-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
  transition: background 200ms ease-out;
}
.ivx-faq__question:hover { background: var(--ivx-bg-light); }
.ivx-faq__item.is-open .ivx-faq__question { background: var(--ivx-bg-light); }

.ivx-faq__answer {
  display: none;
  padding: 0 24px 20px;
  font-size: var(--ivx-body);
  color: var(--ivx-fg-light-secondary);
  line-height: 1.7;
  background: var(--ivx-bg-white);
}
.ivx-faq__item.is-open .ivx-faq__answer { display: block; }

/* ── CONTACT FORM ── */
.ivx-contact-form { }

.ivx-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ivx-form-field { margin-bottom: 20px; }

/* ── INTEG CARDS (integrations.html) ── */
.ivx-integ-card {
  background: var(--ivx-bg-white);
  border: 1px solid var(--ivx-border-light);
  border-radius: var(--ivx-r-card);
  padding: 28px 24px;
  box-shadow: var(--ivx-shadow-light-card);
  transition: box-shadow 200ms ease-out;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.ivx-integ-card:hover { box-shadow: var(--ivx-shadow-light-card-hover); }

.ivx-integ-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--ivx-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-bottom: 16px;
}

.ivx-integ-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  margin-bottom: 8px;
}

.ivx-integ-card__desc {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-light-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.ivx-integ-card__status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-block;
}

.ivx-integ-card__status--live {
  color: var(--ivx-data-green);
  background: rgba(34,197,94,0.1);
}
.ivx-integ-card__status--beta {
  color: var(--ivx-data-amber);
  background: rgba(245,158,11,0.1);
}

/* ── CODE BLOCK (terminal mock) ── */
.ivx-code-block {
  background: #0D1117;
  border-radius: var(--ivx-r-panel);
  overflow: hidden;
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.45;
  box-shadow: var(--ivx-shadow-dark-card);
  color: #E2E8F0;
  padding: 20px 24px;
  overflow-x: auto;
  white-space: pre;
}
pre.ivx-code-block {
  margin: 0;
}

.ivx-code-block__chrome {
  background: #1C2333;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ivx-code-block__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.ivx-code-block__dot--red    { background: #FF5F57; }
.ivx-code-block__dot--yellow { background: #FEBC2E; }
.ivx-code-block__dot--green  { background: #28C840; }

.ivx-code-block__title {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-left: 6px;
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}

.ivx-code-block__body {
  padding: 20px 24px;
  color: #E2E8F0;
  overflow-x: auto;
  white-space: pre;
}

/* ── LEGAL PAGES (new structure) ── */
.ivx-legal-page {
  padding-top: var(--ivx-nav-h);
  background: var(--ivx-bg-light);
  min-height: 80vh;
}

.ivx-legal-container {
  max-width: 860px;
  padding-top: 56px;
  padding-bottom: 96px;
}

.legal-article { background: var(--ivx-bg-white); border-radius: var(--ivx-r-panel); padding: 48px 56px; box-shadow: var(--ivx-shadow-light-card); }

.legal-article h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal-article h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  margin: 36px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--ivx-border-light);
}

.legal-article section:first-of-type h2 { border-top: none; margin-top: 24px; padding-top: 0; }

.legal-article h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  margin: 20px 0 8px;
}

.legal-article p {
  font-size: var(--ivx-body);
  color: var(--ivx-fg-light-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-article ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.legal-article ul li {
  list-style: disc;
  font-size: var(--ivx-body);
  color: var(--ivx-fg-light-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal-article address {
  font-style: normal;
  font-size: var(--ivx-body);
  color: var(--ivx-fg-light-secondary);
  line-height: 1.8;
  background: var(--ivx-bg-light);
  border-radius: var(--ivx-r-card);
  padding: 16px 20px;
  margin-top: 8px;
}

.legal-article a { color: var(--ivx-accent-aa-light); text-decoration: underline; text-underline-offset: 2px; }
.legal-article strong { color: var(--ivx-fg-light-primary); font-weight: 700; }

/* ── BLOG ARTICLE FULL BEM ── */
.ivx-blog-article__header {
  background: var(--ivx-bg-light);
  padding: calc(var(--ivx-nav-h) + 40px) 0 32px;
}

.ivx-blog-article__header-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.ivx-blog-article__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--ivx-fg-light-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.ivx-blog-article__lede {
  font-size: var(--ivx-body-lg);
  color: var(--ivx-fg-light-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.ivx-blog-article__byline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--ivx-small);
  color: var(--ivx-fg-light-muted);
}

.ivx-blog-article__author {
  font-weight: 600;
  color: var(--ivx-fg-light-secondary);
}

.ivx-blog-article__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ivx-blog-article__cover {
  width: 100%;
  height: auto;
  max-width: 860px;
  margin: 0 auto;
  display: block;
  border-radius: var(--ivx-r-card);
}

.ivx-blog-article__body {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  background: var(--ivx-bg-white);
}

.ivx-blog-article__footer {
  background: var(--ivx-bg-light);
  padding: 40px 0 48px;
  border-top: 1px solid var(--ivx-border-light);
}

.ivx-blog-article__cta {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.ivx-blog-article__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--ivx-small);
  font-weight: 600;
  color: var(--ivx-accent-aa-light);
  margin-top: 16px;
  transition: color 200ms;
}
.ivx-blog-article__back:hover { color: var(--ivx-brand-primary); }

/* ── BLOG CARD IMG LINK ── */
.ivx-blog-card__img-link {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ivx-bg-dark-alt);
}

.ivx-blog-card__img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease-out;
}
.ivx-blog-card:hover .ivx-blog-card__img-link img { transform: scale(1.04); }

/* ── TEAM CARD EXTENDED ── */
.ivx-team-card__portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
}

.ivx-team-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ivx-team-card__info { text-align: center; }

.ivx-team-card__role {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-light-muted);
  margin-bottom: 10px;
}

.ivx-team-card__bio {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-light-secondary);
  line-height: 1.6;
  text-align: left;
}

/* ── AUTH PAGE BODY CLASSES ── */
.ivx-auth-page {
  min-height: 100vh;
}

.ivx-auth-page--centered {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ivx-bg-dark);
}

.ivx-auth-panel__header { margin-bottom: 0; }

.ivx-auth-panel__body {
  flex: 1;
  max-width: 400px;
  width: 100%;
}

.ivx-auth-panel--standalone {
  max-width: 480px;
  width: 100%;
  margin: 32px auto;
  min-height: unset;
  border-radius: var(--ivx-r-panel);
  box-shadow: var(--ivx-shadow-light-card);
  padding: 40px 48px;
}

.ivx-auth-panel__switch {
  font-size: var(--ivx-small);
  color: var(--ivx-fg-light-secondary);
  text-align: center;
  margin-top: 20px;
}
.ivx-auth-panel__switch a { color: var(--ivx-accent-aa-light); font-weight: 600; }

.ivx-auth-panel__forgot {
  display: block;
  font-size: var(--ivx-small);
  color: var(--ivx-accent-aa-light);
  text-align: right;
  margin-top: -8px;
  margin-bottom: 20px;
  font-weight: 500;
  transition: color 200ms;
}
.ivx-auth-panel__forgot:hover { color: var(--ivx-brand-primary); }

/* ── AUTH FORM ── */
.ivx-auth-form { display: flex; flex-direction: column; gap: 0; }

/* ── AUTH SIDE EXTRA ── */
.ivx-auth-side__content {
  position: relative;
  z-index: 1;
}

.ivx-auth-side__heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ivx-fg-dark-primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.ivx-auth-side__quote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--ivx-fg-dark-primary);
  line-height: 1.6;
  border-left: 3px solid var(--ivx-teal-aa-dark);
  padding-left: 16px;
  margin-bottom: 32px;
}

.ivx-auth-side__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.ivx-auth-side__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--ivx-small);
  color: var(--ivx-fg-dark-secondary);
  line-height: 1.5;
}
.ivx-auth-side__list li i {
  color: var(--ivx-teal-aa-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.ivx-auth-side__stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.ivx-auth-side__stat-value {
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ivx-teal-aa-dark);
  display: block;
  margin-bottom: 4px;
}

.ivx-auth-side__stat-label {
  font-size: 0.8125rem;
  color: var(--ivx-fg-dark-muted);
  line-height: 1.4;
}

/* ── TESTIMONIAL CARD ICON / ATTRIBUTION ── */
.ivx-testimonial-card__icon {
  color: var(--ivx-border-light);
  font-size: 1.5rem;
  margin-bottom: 12px;
  display: block;
}

.ivx-testimonial-card__attribution {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--ivx-border-light);
}

/* ── NAV MOBILE TOGGLE ── */
.ivx-nav__mobile-toggle {
  background: transparent;
  border: none;
  color: var(--ivx-fg-dark-secondary);
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── FADE IN ── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .ivx-nav__links,
  .ivx-nav__actions { display: none; }

  .ivx-nav__hamburger { display: flex; }

  .ivx-problem-grid,
  .ivx-feature-grid { grid-template-columns: 1fr; }

  .ivx-scenario-demo__layout { grid-template-columns: 1fr; gap: 40px; }

  .ivx-testimonials-grid { grid-template-columns: 1fr; }

  .ivx-pricing-grid { grid-template-columns: 1fr; }

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

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

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

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

  .ivx-product-tab-panel.is-active { flex-direction: column; }

  .ivx-contact-layout { grid-template-columns: 1fr; gap: 40px; }

  .ivx-auth-layout { grid-template-columns: 1fr; }
  .ivx-auth-side { display: none; }

  .ivx-founder-layout { grid-template-columns: 1fr; }

  .ivx-story-card { grid-template-columns: 1fr; }

  .ivx-footer__grid { grid-template-columns: 1fr 1fr; }

  .ivx-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root {
    --ivx-section-v: 64px;
    --ivx-nav-h: 64px;
  }

  .ivx-blog-grid { grid-template-columns: 1fr; }

  .ivx-integrations-grid,
  .ivx-int-grid { grid-template-columns: 1fr; }

  .ivx-metrics-strip { grid-template-columns: repeat(2, 1fr); gap: 20px; }

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

  .ivx-footer__grid { grid-template-columns: 1fr; }

  .ivx-footer__bottom { flex-direction: column; align-items: flex-start; }

  .ivx-hero__title { font-size: 2rem; }
  .ivx-subhero__title { font-size: 1.75rem; }

  .ivx-cta-band h2 { font-size: 1.5rem; }

  .ivx-pricing-card--featured { margin-top: 0; }

  .ivx-step { grid-template-columns: 48px 1fr; gap: 20px; }
  .ivx-step__number { width: 44px; height: 44px; font-size: 1rem; }

  .ivx-auth-panel { padding: 32px 24px; }
}
