/* Copyright 2026 AIVE. All rights reserved. */
/* ══════════════════════════════════════════════════════════════════════════
   AIVE ONE Website — Cinematic Design System
   Full-width · Depth · Parallax · Motion
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Accessibility: Skip to Content ───────────────────────────────────── */
.skip-to-content {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
  background: var(--aive-accent); color: var(--aive-text-primary); padding: var(--aive-space-3) var(--aive-space-6); font-size: var(--aive-text-body-sm);
  font-weight: 700; z-index: var(--aive-z-max); border-radius: 0 0 8px 0; text-decoration: none;
}
.skip-to-content:focus {
  position: fixed; left: 0; top: 0; width: auto; height: auto; overflow: visible;
}

/* --- BEGIN AIVE-GENERATED --- */
:root {
  /* Backgrounds */
  --aive-bg-deep:        #1c1c1e;
  --aive-bg-panel:       #2c2c2e;
  --aive-bg-lift:        #3a3a3c;
  --aive-bg-hi:          #48484a;
  --aive-bg-primary:     #111114;
  --aive-bg-surface:     #181819;
  --aive-bg-secondary:   #1e1e21;
  --aive-bg-tertiary:    #28282d;
  --aive-bg-elevated:    #333338;
  /* Borders */
  --aive-border-default: #3a3a3c;
  --aive-border-soft:    #2a2a2c;
  --aive-border-strong:  #48484a;
  --aive-border-subtle:  #2a2a2c;
  --aive-border-accent:  #354560;
  --aive-border-ai:      #52475b;
  --aive-border-panel:   #2a2a2c;
  /* Text */
  --aive-text-primary:   #f0f0f2;
  --aive-text-secondary: #939398; /* WCAG AA: 4.56:1 on bg-panel */
  --aive-text-tertiary:  #949496; /* WCAG AA: 5.0:1 on bg-primary, 4.5:1+ on bg-panel */
  --aive-text-disabled:  #48484a;
  /* Accent */
  --aive-accent:         #6ba0e0;
  --aive-accent-hover:   #7db0ec;
  --aive-accent-muted:   #353d49;
  --aive-accent-soft:    rgba(107,160,224,0.15);
  /* AI */
  --aive-ai-purple:      #b07ad8;
  --aive-ai-mag:         #df85a7;
  --aive-surface-ai:     #37323c;
  /* Semantic */
  --aive-success:        #7dc998;
  --aive-error:          #dc7a6d;
  --aive-warning:        #e2a96b;
  --aive-teal:           #85bbd2;
  --aive-yellow:         #d6c071;
  /* Surface tokens */
  --aive-surface-chrome:   #2c2c2e;
  --aive-surface-toolbar:  #2c2c2e;
  --aive-surface-hover:    #3a3a3c;
  --aive-surface-elevated: #3a3a3c;
  --aive-surface-input:    #1c1c1e;
  --aive-surface-ruler:    #252527;
  --aive-surface-control:  #3a3a3c;
  --aive-surface-panel:    #2c2c2e;
  /* Icons */
  --aive-icon-primary:   #e5e5ea;
  --aive-icon-secondary: #8e8e93;
  /* Clips (Editor) */
  --aive-clip-video:     #6ba0e0;
  --aive-clip-audio:     #7dc998;
  --aive-clip-title:     #b07ad8;
  --aive-clip-generator: #e2a96b;
  /* Pacing (Editor) */
  --aive-pacing-slow:    #85bbd2;
  --aive-pacing-good:    #7dc998;
  --aive-pacing-fast:    #e2a96b;
  --aive-pacing-jarring: #dc7a6d;
  /* Glass */
  --aive-glass-bg:         rgba(17,17,20,0.72);
  --aive-overlay-opacity:  0.6;
  --aive-border-glass:        rgba(255,255,255,0.08);
  --aive-border-glass-strong: rgba(255,255,255,0.14);
  /* Typography */
  --aive-font-sans: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --aive-font-mono: "Geist Mono", "SF Mono", "Fira Code", ui-monospace, monospace;
  /* Type scale — website */
  --aive-text-display:  clamp(56px, 8vw, 96px);
  --aive-text-h1:       clamp(36px, 5vw, 64px);
  --aive-text-h2:       clamp(32px, 4.5vw, 56px);
  --aive-text-h3:       clamp(24px, 3vw, 28px);
  --aive-text-h4:       20px;
  --aive-text-body-lg:  18px;
  --aive-text-body:     16px;
  --aive-text-body-sm:  14px;
  --aive-text-caption:  12px;
  --aive-text-overline: 11px;
  --aive-text-tagline:  clamp(17px, 2vw, 21px);
  --aive-text-price:    34px;
  /* Type scale — editor */
  --aive-type-display: 64px;
  --aive-type-title:   32px;
  --aive-type-heading: 20px;
  --aive-type-body:    14px;
  --aive-type-caption: 11px;
  --aive-type-tag:     10px;
  --aive-type-ui:      13px;
  --aive-type-sm:      12px;
  --aive-type-xs:      11px;
  --aive-type-micro:   10px;
  --aive-type-mini:    9px;
  --aive-type-sub-micro: 8px;
  --aive-type-stat-2xl: 48px;
  --aive-type-stat-info: 13px;
  /* Text scale aliases */
  --aive-text-title:   var(--aive-type-title);
  --aive-text-heading: var(--aive-type-heading);
  --aive-text-tag:     var(--aive-type-tag);
  /* Stat type sizes */
  --aive-type-stat-lg: 36px;
  --aive-type-stat-md: 28px;
  --aive-z-tooltip: 9000;
  /* Text heading sizes */
  --aive-text-heading-lg: 28px;
  --aive-text-heading-md: 22px;
  --aive-text-heading-sm: 18px;
  --aive-text-body-xs: 11px;
  /* Surface / accent aliases */
  --aive-surface-secondary: var(--aive-bg-secondary);
  --aive-surface-tertiary:  var(--aive-bg-tertiary);
  --aive-accent-primary:    var(--aive-accent);
  --aive-accent-secondary:  var(--aive-ai-purple);
  --aive-accent-success:    var(--aive-success);
  --aive-accent-warning:    var(--aive-warning);
  --aive-border-primary:    var(--aive-border-default);
  /* Misc tokens */
  --aive-radius-micro: 4px;
  --aive-space-half:   2px;
  --aive-space-quarter: 1px;
  --ink-6: #1c1c1e;
  /* Spacing scale */
  --aive-space-1:  4px;   --aive-space-2:  8px;   --aive-space-3:  12px;
  --aive-space-4:  16px;  --aive-space-5:  20px;  --aive-space-6:  24px;
  --aive-space-7:  32px;  --aive-space-8:  40px;  --aive-space-9:  48px;
  --aive-space-10: 56px;  --aive-space-11: 64px;  --aive-space-12: 80px;
  --aive-space-13: 96px;  --aive-space-14: 120px; --aive-space-15: 160px;
  /* Layout */
  --aive-container-max:    1280px;
  --aive-container-wide:   1440px;
  --aive-container-narrow: 720px;
  --aive-section-pad:      var(--aive-space-13);
  --aive-feature-gap:      100px;
  --aive-hero-pad-top:     160px;
  --aive-nav-height:       56px;
  --announcement-offset:   36px;
  /* Radii */
  --aive-radius-xs:      4px;
  --aive-radius-sm:      8px;
  --aive-radius-md:      12px;
  --aive-radius-lg:      16px;
  --aive-radius-xl:      24px;
  --aive-radius-feature: 24px;
  --aive-radius-hero:    32px;
  --aive-radius-full:    9999px;
  /* Shadows */
  --aive-shadow-sm:    0 1px 2px rgba(0,0,0,0.3);
  --aive-shadow-md:    0 4px 8px rgba(0,0,0,0.3);
  --aive-shadow-lg:    0 8px 24px rgba(0,0,0,0.4);
  --aive-shadow-xl:    0 16px 48px rgba(0,0,0,0.5);
  --aive-shadow-depth: 0 1px 3px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.15), 0 24px 60px rgba(0,0,0,0.25);
  --aive-shadow-glow:  0 0 20px rgba(107,160,224,0.3);
  /* Z-index scale */
  --aive-z-base:     0;
  --aive-z-dropdown: 100;
  --aive-z-sticky:   200;
  --aive-z-overlay:  300;
  --aive-z-modal:    400;
  --aive-z-popover:  500;
  --aive-z-toast:    600;
  --aive-z-nav:      700;
  --aive-z-max:      9999;
  /* Motion */
  --aive-duration-fast:   100ms;
  --aive-duration-normal: 200ms;
  --aive-duration-slow:   350ms;
  --aive-duration-slower: 500ms;
  --aive-ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --aive-ease-in:      cubic-bezier(0.4, 0, 1, 1);
  --aive-ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --aive-ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
  /* Blur */
  --aive-blur-sm: 8px;
  --aive-blur-md: 20px;
  --aive-blur-lg: 40px;
  /* Clip type colors */
  --aive-clip-video:     #6ba0e0;
  --aive-clip-audio:     #7dc998;
  --aive-clip-title:     #b07ad8;
  --aive-clip-generator: #e2a96b;
  /* Website extras — not in generated block, preserved across syncs */
  --aive-ink:            #000;
  --aive-success-muted:  rgba(125,201,152,0.12);
  --aive-border-active:  rgba(107,160,224,0.35);
  /* Functional tokens */
  --aive-bg-qr: #ffffff;
  /* Gradient tokens */
  --aive-gradient-nle-a: #1e3a5f;
  --aive-gradient-nle-b: #2a1a3a;
  --aive-gradient-nle-c: #1a2f1a;
  --aive-gradient-demo-a: #1a2a3a;
  --aive-gradient-demo-b: #2a3a2a;
  --aive-gradient-brand: linear-gradient(160deg, #0d0d12 0%, #131320 40%, #0f1a2a 100%);
  /* Frame shadow */
  --aive-shadow-frame:   0 4px 24px rgba(0,0,0,0.6);
}
/* --- END AIVE-GENERATED --- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* FOUC prevention: suppress transitions until page has loaded */
html:not(.loaded) *, html:not(.loaded) *::before, html:not(.loaded) *::after {
  transition: none !important;
  animation: none !important;
}

body {
  margin: 0; padding: 0;
  padding-top: calc(var(--aive-nav-height) + var(--announcement-offset, 0px));
  background: var(--aive-bg-primary);
  color: var(--aive-text-primary);
  font-family: var(--aive-font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--aive-accent); text-decoration: none; transition: color var(--aive-duration-fast); }
a:hover { color: var(--aive-text-primary); }
img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--aive-accent);
  outline-offset: 2px;
}

::selection {
  background: var(--aive-accent-muted);
  color: var(--aive-text-primary);
}

::placeholder {
  color: var(--aive-text-tertiary);
  opacity: 1;
}

.container {
  max-width: var(--aive-container-max);
  margin: 0 auto;
  padding: 0 var(--aive-space-6);
}

/* ── SCROLL PROGRESS BAR ──────────────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: var(--aive-z-nav);
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--aive-ai-purple), var(--aive-ai-mag), var(--aive-accent));
  transition: width var(--aive-duration-fast) linear;
  pointer-events: none;
}

/* ── NAV — Glassmorphism ──────────────────────────────────────────────── */
html.announcement-dismissed { --announcement-offset: 0px; }
.site-nav {
  position: fixed; top: var(--announcement-offset, 0px); left: 0; right: 0; z-index: var(--aive-z-nav);
  height: var(--aive-nav-height);
  background: var(--aive-glass-bg);
  backdrop-filter: blur(var(--aive-blur-md));
  -webkit-backdrop-filter: blur(var(--aive-blur-md));
  border-bottom: 1px solid transparent;
  transition: top var(--aive-duration-slow) var(--aive-ease-out), background var(--aive-duration-slow), border-color var(--aive-duration-slow), box-shadow var(--aive-duration-slow);
}
.site-nav.scrolled {
  background: var(--aive-glass-bg);
  border-bottom-color: var(--aive-border-default);
  box-shadow: var(--aive-shadow-md);
}
.site-nav .container {
  display: flex; align-items: center; gap: clamp(16px, 2vw, 32px);
  height: 100%;
}
.nav-logo {
  font-size: var(--aive-text-h4); font-weight: 700; letter-spacing: -0.5px;
  color: var(--aive-text-primary); text-decoration: none;
  flex-shrink: 0;
}
.nav-logo span {
  background: linear-gradient(135deg, var(--aive-ai-purple), var(--aive-ai-mag));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex; flex: 1; justify-content: center; gap: var(--aive-space-6); list-style: none; margin: 0; padding: 0;
}
.nav-links .nav-mobile-cta { display: none; }
.nav-links a {
  font-size: var(--aive-text-body-sm); font-weight: 500; color: var(--aive-text-secondary);
  transition: color var(--aive-duration-fast), border-color var(--aive-duration-fast); text-decoration: none;
  border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.nav-links a:hover { color: var(--aive-text-primary); }
.nav-links a[aria-current="page"] {
  color: var(--aive-text-primary); font-weight: 600;
  border-bottom: 2px solid var(--aive-accent); padding-bottom: 2px;
}
.nav-actions {
  display: flex; align-items: center; gap: var(--aive-space-3); margin-left: auto; flex-shrink: 0;
}
.nav-signin {
  padding: var(--aive-space-2) var(--aive-space-5); font-size: var(--aive-text-body-sm); font-weight: 600;
  color: var(--aive-text-secondary); background: transparent;
  border: 1px solid var(--aive-border-default); border-radius: var(--aive-radius-full);
  text-decoration: none; transition: all var(--aive-duration-normal); cursor: pointer;
  display: flex; align-items: center; gap: var(--aive-space-2); min-height: 44px;
}
.nav-signin:hover { color: var(--aive-text-primary); border-color: var(--aive-text-secondary); }
.nav-signin--authed { border-color: var(--aive-border-accent); color: var(--aive-text-primary); }
.nav-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--aive-accent-muted); color: var(--aive-text-primary);
  font-size: var(--aive-text-overline); font-weight: 700; letter-spacing: 0;
}
.nav-user-name {
  max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: var(--aive-text-caption);
}
.nav-cta {
  padding: var(--aive-space-2) var(--aive-space-5); font-size: var(--aive-text-body-sm); font-weight: 600;
  background: var(--aive-accent); color: var(--aive-text-primary);
  border: none; border-radius: var(--aive-radius-full); cursor: pointer;
  transition: background var(--aive-duration-fast) ease; text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav-cta:hover { background: var(--aive-accent-hover); color: var(--aive-text-primary); }
.nav-cta:active { transform: scale(0.98); }
.nav-cta:disabled, .nav-cta[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  min-width: 44px; min-height: 44px; margin-left: auto; position: relative;
}
.nav-hamburger span {
  display: block; width: 18px; height: 2px;
  background: var(--aive-text-primary); position: absolute; left: 3px;
  transition: transform var(--aive-duration-slow) var(--aive-ease-out), opacity var(--aive-duration-normal);
}
.nav-hamburger span:nth-child(1) { top: 7px; }
.nav-hamburger span:nth-child(2) { top: 12px; }
.nav-hamburger span:nth-child(3) { top: 17px; }

/* ── BUTTONS ──────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: var(--aive-space-4) var(--aive-space-8); font-size: var(--aive-text-body); font-weight: 600;
  background: var(--aive-accent); color: var(--aive-text-primary);
  border: none; border-radius: var(--aive-radius-full); cursor: pointer;
  transition: background var(--aive-duration-fast) ease, transform var(--aive-duration-fast) ease;
  text-decoration: none; min-height: 44px;
}
.btn-primary:hover { background: var(--aive-accent-hover); transform: scale(1.02); color: var(--aive-text-primary); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled, .btn-primary[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: var(--aive-space-4) var(--aive-space-8); font-size: var(--aive-text-body); font-weight: 600;
  background: transparent; color: var(--aive-text-primary);
  border: 1px solid var(--aive-border-strong); border-radius: var(--aive-radius-full);
  cursor: pointer; transition: border-color var(--aive-duration-fast), transform var(--aive-duration-fast) ease;
  text-decoration: none; min-height: 44px;
}
.btn-secondary:hover { border-color: var(--aive-text-secondary); transform: scale(1.02); color: var(--aive-text-primary); }
.btn-secondary:active { transform: scale(0.98); }
.btn-secondary:disabled, .btn-secondary[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-glow {
  background: linear-gradient(135deg, var(--aive-ai-purple), var(--aive-ai-mag));
  color: var(--aive-text-primary); position: relative;
}
.btn-glow::after {
  content: ''; position: absolute; inset: -2px; border-radius: var(--aive-radius-full);
  background: linear-gradient(135deg, var(--aive-ai-purple), var(--aive-ai-mag));
  filter: blur(16px); opacity: 0.4; z-index: -1;
  transition: opacity var(--aive-duration-slow);
}
.btn-glow:hover { color: var(--aive-text-primary); }
.btn-glow:hover::after { opacity: 0.6; }
.btn-glow:active { transform: scale(0.98); }
.btn-glow:disabled, .btn-glow[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-glow:disabled::after, .btn-glow[disabled]::after { opacity: 0; }
.btn-sm { padding: var(--aive-space-3) var(--aive-space-6); font-size: var(--aive-text-body-sm); transition: opacity var(--aive-duration-fast); }
.btn-sm:hover { opacity: 0.85; }

/* Hero animation pause button */
.hero-pause-btn {
  position: absolute; top: var(--aive-space-3); right: var(--aive-space-3);
  z-index: 10; background: var(--aive-glass-bg);
  border: 1px solid var(--aive-border-glass); color: var(--aive-text-secondary);
  width: 32px; height: 32px; border-radius: var(--aive-radius-full);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: opacity var(--aive-duration-normal); opacity: 0.6;
}
.hero-pause-btn:hover { opacity: 1; }
.hero-pause-btn:disabled, .hero-pause-btn[disabled] { opacity: 0.3; cursor: not-allowed; }

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: var(--aive-hero-pad-top) 0 var(--aive-space-6);
  text-align: center;
  overflow: hidden;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.hero-gradient-orb {
  position: absolute; top: -300px; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 1000px; border-radius: 50%;
  background: radial-gradient(circle, rgba(176,122,216,0.12) 0%, rgba(223,133,167,0.06) 40%, transparent 70%);
  animation: gradient-shift 10s ease-in-out infinite alternate;
  pointer-events: none; z-index: 0;
}
.hero-gradient-orb--secondary {
  top: -100px; left: 30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(107,160,224,0.08) 0%, transparent 60%);
  animation-delay: -5s; animation-duration: 12s;
}
@keyframes gradient-shift {
  0%   { transform: translateX(-50%) scale(1) rotate(0deg); }
  100% { transform: translateX(-50%) scale(1.2) rotate(15deg); }
}
.hero-container { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: var(--aive-text-body-sm); font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--aive-ai-purple);
  margin: 0 0 var(--aive-space-5);
}
.hero h1 {
  font-size: var(--aive-text-display);
  font-weight: 800; letter-spacing: -3px;
  line-height: 1.02; margin: 0 0 var(--aive-space-6);
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--aive-ai-purple), var(--aive-ai-mag), var(--aive-accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .tagline {
  font-size: var(--aive-text-tagline);
  color: var(--aive-text-secondary);
  max-width: 640px; margin: 0 auto var(--aive-space-8);
  line-height: 1.55;
}
.hero-actions {
  display: flex; gap: var(--aive-space-4); justify-content: center; flex-wrap: wrap;
  margin-bottom: 0;
}

/* ── HERO VISUAL ──────────────────────────────────────────────────────── */
.hero-visual {
  margin: var(--aive-space-8) auto 0;
  max-width: var(--aive-container-wide);
  padding: 0 var(--aive-space-6);
  position: relative; z-index: 1;
}
.hero-visual::before {
  content: '';
  position: absolute; inset: 20% 10%; z-index: -1;
  background: radial-gradient(ellipse, rgba(176,122,216,0.08) 0%, transparent 70%);
  filter: blur(60px);
}
#hero-demo-mount {
  width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--aive-radius-hero);
  border: 1px solid var(--aive-border-default);
  background: var(--aive-bg-surface);
  overflow: hidden;
  box-shadow: var(--aive-shadow-xl);
  position: relative;
}

/* ── HERO NLE (CSS fallback for Three.js) ─────────────────────────────── */
.hero-nle {
  width: 100%; height: 100%;
  display: grid;
  grid-template-rows: 28px 1fr 30%;
  grid-template-columns: 1fr;
  background: var(--aive-bg-primary);
  font-family: var(--aive-font-sans);
}
.hero-nle .hn-toolbar {
  background: var(--aive-bg-surface);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; padding: 0 var(--aive-space-3); gap: var(--aive-space-2);
}
.hero-nle .hn-tb-group { display: flex; gap: var(--aive-space-1); align-items: center; }
.hero-nle .hn-tb-btn {
  width: 20px; height: 18px; border-radius: var(--aive-radius-xs);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.04);
}
.hero-nle .hn-tb-btn.active { background: rgba(107,160,224,0.18); border-color: rgba(107,160,224,0.25); }
.hero-nle .hn-tb-sep { width: 1px; height: 14px; background: rgba(255,255,255,0.06); margin: 0 var(--aive-space-1); }
.hero-nle .hn-tb-brand {
  font-size: var(--aive-type-xs); font-weight: 700; letter-spacing: 0.6px; color: rgba(255,255,255,0.6); margin-left: auto;
}
.hero-nle .hn-workspace {
  display: grid; grid-template-columns: 16% 1fr 22%; overflow: hidden;
}
.hero-nle .hn-sidebar {
  background: var(--aive-bg-primary); border-right: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column;
}
.hero-nle .hn-side-tabs {
  display: flex; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 0; gap: 0;
}
.hero-nle .hn-side-tab {
  flex: 1; text-align: center; padding: var(--aive-space-1) 0;
  font-size: var(--aive-type-micro); font-weight: 600; letter-spacing: 0.3px; color: rgba(255,255,255,0.6);
  transition: color var(--aive-duration-fast), border-color var(--aive-duration-fast);
  border-bottom: 1px solid transparent;
}
.hero-nle .hn-side-tab.active { color: var(--aive-accent); border-bottom: 1px solid var(--aive-accent); }
.hero-nle .hn-side-items {
  flex: 1; padding: var(--aive-space-2); display: flex; flex-direction: column; gap: var(--aive-space-1); overflow: hidden;
}
.hero-nle .hn-thumb {
  border-radius: var(--aive-radius-xs); aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--aive-type-sub-micro, 6px); font-weight: 600; color: rgba(255,255,255,0.65); flex-shrink: 0;
}
.hero-nle .hn-thumb.v1 { background: rgba(107,160,224,0.15); }
.hero-nle .hn-thumb.v2 { background: rgba(125,201,152,0.12); }
.hero-nle .hn-thumb.v3 { background: rgba(176,122,216,0.12); }
.hero-nle .hn-thumb.v4 { background: rgba(223,133,167,0.12); }
.hero-nle .hn-viewer {
  background: var(--aive-bg-primary); display: flex; flex-direction: column; position: relative;
}
.hero-nle .hn-canvas-area {
  flex: 1; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-nle .hn-frame {
  width: 80%; aspect-ratio: 16/9; border-radius: var(--aive-radius-xs); position: relative;
  background: linear-gradient(135deg, var(--aive-gradient-nle-a) 0%, var(--aive-gradient-nle-b) 50%, var(--aive-gradient-nle-c) 100%);
  box-shadow: var(--aive-shadow-frame);
}
.hero-nle .hn-frame-overlay {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.6); padding: var(--aive-space-half) var(--aive-space-2); border-radius: var(--aive-radius-xs);
  font-size: var(--aive-type-micro, 7px); font-weight: 600; color: rgba(255,255,255,0.7); font-family: var(--aive-font-mono);
}
.hero-nle .hn-transport {
  height: 22px; background: var(--aive-bg-primary);
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center; gap: var(--aive-space-2);
}
.hero-nle .hn-play-btn {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--aive-accent); display: flex; align-items: center; justify-content: center;
}
.hero-nle .hn-play-tri {
  width: 0; height: 0;
  border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  border-left: 6px solid var(--aive-text-primary); margin-left: 1px;
}
.hero-nle .hn-tc {
  font-size: var(--aive-type-sub-micro); font-family: var(--aive-font-mono); color: rgba(255,255,255,0.6); font-weight: 600;
}
.hero-nle .hn-inspector {
  background: var(--aive-bg-surface); border-left: 1px solid rgba(255,255,255,0.05);
  padding: var(--aive-space-2); overflow: hidden;
}
.hero-nle .hn-insp-title {
  font-size: var(--aive-type-mini); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.6); margin-bottom: var(--aive-space-2);
}
.hero-nle .hn-insp-section { margin-bottom: var(--aive-space-2); }
.hero-nle .hn-insp-label {
  font-size: var(--aive-type-micro, 7px); color: rgba(255,255,255,0.6); margin-bottom: var(--aive-space-1); font-weight: 600;
}
.hero-nle .hn-insp-row { display: flex; gap: var(--aive-space-1); margin-bottom: var(--aive-space-1); }
.hero-nle .hn-insp-field {
  flex: 1; height: 14px; border-radius: var(--aive-radius-xs);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; padding: 0 var(--aive-space-1);
  font-size: var(--aive-type-micro, 7px); color: rgba(255,255,255,0.7); font-family: var(--aive-font-mono);
}
.hero-nle .hn-insp-slider {
  height: 3px; border-radius: var(--aive-radius-xs); background: rgba(255,255,255,0.06);
  position: relative; margin: var(--aive-space-1) 0;
}
.hero-nle .hn-insp-slider-fill { height: 100%; border-radius: var(--aive-radius-xs); background: var(--aive-accent); }
.hero-nle .hn-timeline-zone {
  background: var(--aive-bg-primary); border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; position: relative;
}
.hero-nle .hn-tl-ruler {
  height: 14px; background: var(--aive-bg-surface);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: flex-end; padding: 0 var(--aive-space-8); gap: 0;
}
.hero-nle .hn-tl-tick {
  flex: 1; text-align: center; font-size: var(--aive-type-sub-micro, 6px); color: rgba(255,255,255,0.6);
  font-family: var(--aive-font-mono); padding-bottom: 2px;
  border-left: 1px solid rgba(255,255,255,0.04);
}
.hero-nle .hn-tl-tracks { flex: 1; position: relative; overflow: hidden; }
.hero-nle .hn-tl-track {
  display: flex; align-items: center; height: 25%; position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.hero-nle .hn-tl-label {
  width: 40px; flex-shrink: 0; text-align: center;
  font-size: var(--aive-type-micro); font-weight: 700; color: rgba(255,255,255,0.6);
  border-right: 1px solid rgba(255,255,255,0.04);
  height: 100%; display: flex; align-items: center; justify-content: center;
}
.hero-nle .hn-tl-clips { flex: 1; height: 100%; position: relative; padding: var(--aive-space-1) 0; }
.hero-nle .hn-clip {
  position: absolute; top: 4px; bottom: 4px; border-radius: var(--aive-radius-xs);
  display: flex; align-items: center; padding: 0 var(--aive-space-2);
  font-size: var(--aive-type-sub-micro, 6px); font-weight: 600; color: rgba(255,255,255,0.7);
  overflow: hidden; white-space: nowrap;
  transition: opacity var(--aive-duration-slow), transform var(--aive-duration-slow);
}
.hero-nle .hn-clip.video { background: var(--aive-accent-muted); border: 1px solid rgba(107,160,224,0.2); }
.hero-nle .hn-clip.broll { background: rgba(125,201,152,0.2); border: 1px solid rgba(125,201,152,0.15); }
.hero-nle .hn-clip.title-c { background: rgba(176,122,216,0.22); border: 1px solid rgba(176,122,216,0.18); }
.hero-nle .hn-clip.audio { background: rgba(107,160,224,0.15); border: 1px solid rgba(107,160,224,0.1); }
.hero-nle .hn-clip.music { background: rgba(125,201,152,0.12); border: 1px solid rgba(125,201,152,0.08); }
.hero-nle .hn-clip.selected { box-shadow: 0 0 0 1px var(--aive-accent); /* selection ring */ }
.hero-nle .hn-playhead {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: var(--aive-accent); z-index: var(--aive-z-dropdown);
  transition: left 4s linear;
}
.hero-nle .hn-playhead::before {
  content: ''; position: absolute; top: -2px; left: -4px;
  width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--aive-accent);
}
.hero-nle .hn-ai-popup {
  position: absolute; bottom: 8px; right: 8px; z-index: var(--aive-z-dropdown);
  background: rgba(20,20,24,0.95); border: 1px solid rgba(176,122,216,0.25);
  border-radius: var(--aive-radius-sm); padding: var(--aive-space-2) var(--aive-space-3); width: 180px;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--aive-duration-slow), transform var(--aive-duration-slow) var(--aive-ease-out);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hero-nle .hn-ai-popup.visible { opacity: 1; transform: translateY(0); }
.hero-nle .hn-ai-popup .hn-ai-badge {
  display: inline-block; font-size: var(--aive-type-sub-micro, 6px); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--aive-ai-purple);
  background: rgba(176,122,216,0.12); padding: var(--aive-space-half) var(--aive-space-2); border-radius: var(--aive-radius-xs); margin-bottom: var(--aive-space-1);
}
.hero-nle .hn-ai-popup .hn-ai-text {
  font-size: var(--aive-type-micro, 7px); color: rgba(255,255,255,0.6); line-height: 1.5; margin-bottom: var(--aive-space-2);
}
.hero-nle .hn-ai-popup .hn-ai-actions { display: flex; gap: var(--aive-space-1); }
.hero-nle .hn-ai-popup .hn-ai-btn {
  padding: var(--aive-space-1) var(--aive-space-2); border-radius: var(--aive-radius-xs); font-size: var(--aive-type-micro, 7px); font-weight: 600; border: none; cursor: default;
}
.hero-nle .hn-ai-btn.apply { background: rgba(176,122,216,0.2); color: var(--aive-ai-purple); }
.hero-nle .hn-ai-btn.skip { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.65); }

/* ── SECTIONS — Global ────────────────────────────────────────────────── */
section {
  padding: var(--aive-section-pad) 0;
  position: relative;
}
section h2 {
  font-size: var(--aive-text-h2);
  font-weight: 700; letter-spacing: -1.5px;
  text-align: center; margin: 0 0 var(--aive-space-4);
  line-height: 1.08;
}
.section-eyebrow {
  font-size: var(--aive-text-body-sm); font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--aive-ai-purple);
  text-align: center; margin: 0 0 var(--aive-space-3);
}
section .section-sub {
  text-align: center; color: var(--aive-text-secondary);
  font-size: var(--aive-text-body-lg); max-width: 560px; margin: 0 auto var(--aive-space-9);
  line-height: 1.6;
}

/* ── SECTION REVEAL (scroll animations) ───────────────────────────────── */
.section-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--aive-duration-slow) var(--aive-ease-out), transform var(--aive-duration-slow) var(--aive-ease-out);
}
.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-reveal .stagger-child {
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--aive-duration-slower) var(--aive-ease-out), transform var(--aive-duration-slower) var(--aive-ease-out);
}
.section-reveal.visible .stagger-child.visible {
  opacity: 1; transform: translateY(0);
}

/* ── PROOF BAR (social proof stats) ───────────────────────────────────── */
.proof-bar {
  padding: var(--aive-space-5) 0;
  background: var(--aive-bg-surface);
  border-top: 1px solid var(--aive-border-default);
  border-bottom: 1px solid var(--aive-border-default);
  position: relative;
}
.proof-stats {
  display: flex; justify-content: center; align-items: center;
  gap: 0; flex-wrap: wrap;
}
.proof-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 var(--aive-space-8);
}
.proof-number {
  font-size: var(--aive-text-h3); font-weight: 800; letter-spacing: -1px;
  color: var(--aive-text-primary);
}
.proof-label {
  font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary); margin-top: var(--aive-space-1);
  font-weight: 500;
}
.proof-divider {
  width: 1px; height: 40px;
  background: var(--aive-border-default);
}

/* ── FEATURES INTRO ───────────────────────────────────────────────────── */
.features-intro {
  text-align: center;
  padding-bottom: var(--aive-space-8);
}
#features {
  padding-top: var(--aive-space-11);
}

/* (feature-act and act-label removed — elements hidden inline) */

/* ── FEATURE SECTIONS ─────────────────────────────────────────────────── */
.feature-section {
  padding: var(--aive-space-14) 0;
  text-align: center;
  position: relative;
}
.feature-section::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(107,160,224,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.feature-section--hero { padding: var(--aive-space-15) 0; }
.feature-section--hero::before {
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(176,122,216,0.06) 0%, rgba(223,133,167,0.03) 50%, transparent 70%);
}

/* ── CINEMATIC HERO FEATURES (full-viewport, split layout) ───────────── */
.feature-cinematic {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: var(--aive-space-11) 0;
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 70vh;
}
.feature-cinematic .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--aive-space-11);
  align-items: start;
}
.feature-cinematic__text {
  text-align: left;
}
.feature-cinematic__text .feature-headline {
  text-align: left;
  font-size: clamp(36px, 5vw, 64px);
}
.feature-cinematic__text .feature-narrative {
  margin: 0 0 var(--aive-space-7);
  text-align: left;
  max-width: 480px;
}
.feature-cinematic__visual {
  position: relative;
  border-radius: var(--aive-radius-feature, 24px);
  background: var(--aive-bg-surface);
  border: 1px solid var(--aive-border-default, rgba(255,255,255,0.08));
  min-height: 360px;
  overflow: hidden;
  box-shadow: var(--aive-shadow-xl);
}
.feature-cinematic__visual-inner {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--aive-space-7);
}
/* Alternate: visual on left, text on right */
.feature-cinematic--reverse .container {
  direction: rtl;
}
.feature-cinematic--reverse .container > * {
  direction: ltr;
}
/* Gradient backgrounds per feature */
.feature-cinematic--ai::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 70% 50%, rgba(176,122,216,0.08) 0%, transparent 60%);
}
.feature-cinematic--timeline::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 30% 50%, rgba(107,160,224,0.08) 0%, transparent 60%);
}
.feature-cinematic--color::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 60% 40%, rgba(133,187,210,0.08) 0%, transparent 60%);
}
.feature-cinematic--creator::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 40% 60%, rgba(226,169,107,0.06) 0%, transparent 60%);
}
.feature-cinematic--export::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(125,201,152,0.06) 0%, transparent 60%);
}
.feature-cinematic--collab::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 60% 50%, rgba(107,160,224,0.06) 0%, rgba(176,122,216,0.04) 50%, transparent 70%);
}
/* Visual mockup styles */
.visual-mockup {
  width: 100%; color: var(--aive-text-secondary); font-size: var(--aive-text-caption); font-family: var(--aive-font-mono);
}
.visual-mockup-row {
  display: flex; align-items: center; gap: var(--aive-space-2); padding: var(--aive-space-2) 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.visual-mockup-bar {
  height: 6px; border-radius: var(--aive-radius-xs); opacity: 0.7;
}
.visual-mockup-badge {
  display: inline-block; padding: var(--aive-space-1) 10px; border-radius: var(--aive-radius-sm);
  font-size: var(--aive-text-caption); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
/* Stat pills below cinematic feature */
.feature-cinematic__stats {
  display: flex; gap: var(--aive-space-6); margin-top: var(--aive-space-7); flex-wrap: wrap;
}
.feature-cinematic__stat {
  display: flex; flex-direction: column; gap: var(--aive-space-half, 2px);
}
.feature-cinematic__stat-value {
  font-size: var(--aive-text-title); font-weight: 800; letter-spacing: -1px; color: var(--aive-text-primary);
}
.feature-cinematic__stat-label {
  font-size: var(--aive-text-overline); color: var(--aive-text-secondary); text-transform: uppercase; letter-spacing: 0.5px;
}
/* Responsive */
@media (max-width: 1024px) {
  .feature-cinematic .container {
    grid-template-columns: 1fr;
    gap: var(--aive-space-8);
  }
  .feature-cinematic { min-height: auto; padding: var(--aive-space-12) 0; }
  .feature-cinematic--reverse .container { direction: ltr; }
  .feature-cinematic__text { text-align: center; }
  .feature-cinematic__text .feature-headline { text-align: center; }
  .feature-cinematic__text .feature-narrative { text-align: center; margin: 0 auto var(--aive-space-7); }
  .feature-cinematic__stats { justify-content: center; }
}

/* ── Cinematic feature size variants ─────────────────────────────────── */
.feature-cinematic--novel::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(223,133,167,0.06) 0%, transparent 60%);
}
.feature-cinematic--medium {
  min-height: auto;
  padding: var(--aive-space-10) 0;
}
.feature-cinematic--medium .feature-cinematic__text .feature-headline {
  font-size: clamp(28px, 4vw, 48px);
}
.feature-cinematic--compact {
  min-height: auto;
  padding: var(--aive-space-9) 0;
}
.feature-cinematic--compact .feature-cinematic__text .feature-headline {
  font-size: clamp(24px, 3.5vw, 40px);
}
.feature-cinematic--medium .feature-cinematic__visual,
.feature-cinematic--compact .feature-cinematic__visual {
  min-height: 300px;
}
@media (max-width: 1024px) {
  .feature-cinematic--medium, .feature-cinematic--compact { min-height: auto; }
}

/* ── Expandable grid category headers ────────────────────────────────── */
.features-category-header {
  grid-column: 1 / -1;
  font-size: var(--aive-text-overline); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--aive-accent);
  padding: var(--aive-space-4) 0 var(--aive-space-1); border-top: 1px solid var(--aive-border-default);
  margin-top: var(--aive-space-2);
}
.features-category-header:first-child { border-top: none; margin-top: 0; }
.features-all-item svg { flex-shrink: 0; color: var(--aive-accent); }
.features-all-item { display: flex; align-items: flex-start; gap: var(--aive-space-3); }
.features-all-item strong { display: block; margin-bottom: 2px; }

/* ── Footer Learn AIVE section ───────────────────────────────────────── */
.footer-learn {
  padding: var(--aive-space-9) 0 var(--aive-space-7);
  border-bottom: 1px solid var(--aive-border-default);
  margin-bottom: var(--aive-space-7);
  text-align: center;
}
.footer-learn h3 {
  font-size: var(--aive-text-body-lg); font-weight: 800; margin: 0 0 var(--aive-space-2);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.footer-learn .sub { font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary); margin: 0 0 var(--aive-space-6); }
.footer-platform-pills {
  display: flex; justify-content: center; gap: var(--aive-space-2); flex-wrap: wrap; margin-bottom: var(--aive-space-5);
}
.footer-platform-pill {
  padding: var(--aive-space-2) var(--aive-space-4); border-radius: var(--aive-radius-sm); font-size: var(--aive-text-caption); font-weight: 600;
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default); color: var(--aive-text-secondary);
  text-decoration: none; transition: all var(--aive-duration-normal);
}
.footer-platform-pill:hover { border-color: var(--aive-accent); color: var(--aive-accent); }
.footer-popular-links {
  display: flex; justify-content: center; gap: var(--aive-space-4); flex-wrap: wrap; margin-bottom: var(--aive-space-5);
  font-size: var(--aive-text-body-sm);
}
.footer-popular-links a { color: var(--aive-text-secondary); text-decoration: none; transition: color var(--aive-duration-fast); }
.footer-popular-links a:hover { color: var(--aive-accent); }
.footer-newsletter {
  display: flex; justify-content: center; gap: var(--aive-space-2); max-width: 400px; margin: 0 auto;
}
.footer-newsletter input {
  flex: 1; padding: var(--aive-space-3) var(--aive-space-4); border-radius: var(--aive-radius-sm); border: 1px solid var(--aive-border-default);
  background: var(--aive-bg-primary); color: var(--aive-text-primary); font-size: var(--aive-text-body-sm);
  transition: border-color var(--aive-duration-fast);
}
.footer-newsletter input:focus:not(:focus-visible) { outline: none; }
.footer-newsletter input:focus-visible { border-color: var(--aive-accent); outline: 2px solid var(--aive-accent); outline-offset: 2px; }
.footer-newsletter button {
  padding: var(--aive-space-3) var(--aive-space-5); border-radius: var(--aive-radius-sm); background: var(--aive-accent); color: var(--aive-text-primary);
  font-size: var(--aive-text-body-sm); font-weight: 600; border: none; cursor: pointer;
  transition: background var(--aive-duration-fast); min-height: 44px;
}
.footer-newsletter button:hover { background: var(--aive-accent-hover); }
.footer-newsletter button:disabled, .footer-newsletter button[disabled] { opacity: 0.5; cursor: not-allowed; }

.copilot-section { padding: var(--aive-section-pad) 0; }

/* ── Co-pilot grid + cards ──────────────────────────────────────────── */
.copilot-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--aive-space-6);
  margin-bottom: var(--aive-space-9); text-align: center;
}
.copilot-card {
  padding: var(--aive-space-7) var(--aive-space-6);
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-md);
  transition: border-color var(--aive-duration-normal), transform var(--aive-duration-normal) var(--aive-ease-out);
}
.copilot-card:hover { border-color: var(--aive-border-strong); transform: translateY(-2px); }
.copilot-card__icon {
  width: 48px; height: 48px; margin: 0 auto var(--aive-space-4);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.copilot-card__icon--purple  { background: rgba(176,122,216,0.1); }
.copilot-card__icon--accent  { background: rgba(107,160,224,0.1); }
.copilot-card__icon--success { background: rgba(125,201,152,0.1); }
.copilot-card__title {
  font-size: var(--aive-text-body-lg); font-weight: 700; margin: 0 0 var(--aive-space-2);
}
.copilot-card__desc {
  font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary); line-height: 1.6; margin: 0;
}
.copilot-card__code {
  margin-top: var(--aive-space-4); padding: var(--aive-space-3);
  background: var(--aive-bg-primary); border-radius: var(--aive-radius-sm);
  font-family: var(--aive-font-mono); font-size: var(--aive-text-caption);
}
.copilot-card__code--purple  { color: var(--aive-ai-purple); }
.copilot-card__code--accent  { color: var(--aive-accent); }
.copilot-card__code--success { color: var(--aive-success); }

.copilot-stats {
  display: flex; justify-content: center; gap: var(--aive-space-9); flex-wrap: wrap;
  padding: var(--aive-space-7) 0; border-top: 1px solid var(--aive-border-default);
}
.copilot-stat { text-align: center; }
.copilot-stat__value { font-size: var(--aive-type-title); font-weight: 800; }
.copilot-stat__label {
  font-size: var(--aive-text-overline); color: var(--aive-text-secondary);
  margin-top: var(--aive-space-1);
}

/* ── Co-pilot section responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
  .copilot-grid { grid-template-columns: 1fr; }
  .copilot-grid--tight { gap: var(--aive-space-6); }
}

/* ── "See all features" expandable ───────────────────────────────────── */
.features-all-wrap {
  padding: var(--aive-space-12) 0; text-align: center;
}
.features-all-toggle {
  display: inline-flex; align-items: center; gap: var(--aive-space-2);
  padding: var(--aive-space-4) var(--aive-space-7); border-radius: var(--aive-radius-md);
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  color: var(--aive-text-secondary); font-size: var(--aive-text-body-sm); font-weight: 600;
  cursor: pointer; transition: all var(--aive-duration-normal);
}
.features-all-toggle:hover { border-color: var(--aive-accent); color: var(--aive-accent); }
.features-all-toggle:disabled, .features-all-toggle[disabled] { opacity: 0.5; cursor: not-allowed; }
.features-all-grid {
  display: none; margin-top: var(--aive-space-8);
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--aive-space-3);
  text-align: left;
}
.features-all-grid.open { display: grid; }
.features-all-item {
  padding: var(--aive-space-4); border-radius: var(--aive-radius-md);
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  font-size: var(--aive-text-body-sm); font-weight: 500; color: var(--aive-text-secondary);
  transition: border-color var(--aive-duration-normal);
}
.features-all-item:hover { border-color: rgba(107,160,224,0.3); }
.features-all-item strong { display: block; color: var(--aive-text-primary); margin-bottom: var(--aive-space-1); font-size: var(--aive-text-body-sm); }

.feature-pill {
  display: inline-flex; align-items: center; gap: var(--aive-space-2);
  padding: var(--aive-space-2) var(--aive-space-4); font-size: var(--aive-text-caption); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  border-radius: var(--aive-radius-full);
  background: var(--aive-accent-muted); color: var(--aive-accent);
  margin-bottom: var(--aive-space-5);
}
.feature-pill--ai {
  background: rgba(176,122,216,0.12); color: var(--aive-ai-purple);
}

.feature-headline {
  font-size: var(--aive-text-h1);
  font-weight: 800; letter-spacing: -2px;
  line-height: 1.05; margin: 0 0 var(--aive-space-5);
}
.feature-section--hero .feature-headline {
  font-size: clamp(40px, 6vw, 72px);
}

.feature-narrative {
  font-size: var(--aive-text-body-lg); color: var(--aive-text-secondary);
  max-width: 580px; margin: 0 auto 0;
  line-height: 1.6;
}

/* ── FEATURE VISUAL (full-width cinematic) ────────────────────────────── */
.feature-visual-wrap {
  margin: var(--aive-space-10) auto var(--aive-space-9);
  max-width: var(--aive-container-wide);
  padding: 0 var(--aive-space-6);
  perspective: 1200px;
}
.feature-visual {
  width: 100%;
  min-height: 320px;
  border-radius: var(--aive-radius-feature);
  background: var(--aive-bg-surface);
  border: 1px solid var(--aive-border-default);
  overflow: hidden;
  box-shadow: var(--aive-shadow-depth);
  position: relative;
  transform: rotateX(1deg);
  transition: transform var(--aive-duration-slow) var(--aive-ease-out);
}
.feature-visual:hover {
  transform: rotateX(0deg);
}
.feature-section--hero .feature-visual {
  min-height: 400px;
}

/* ── DETAIL CARDS (stats below each feature) ──────────────────────────── */
.feature-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--aive-space-4);
  max-width: 800px;
  margin: 0 auto;
}
.detail-card {
  background: var(--aive-bg-surface);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-md);
  padding: var(--aive-space-5) var(--aive-space-4);
  text-align: center;
  transition: border-color var(--aive-duration-normal), transform var(--aive-duration-normal) var(--aive-ease-out);
}
.detail-card:hover {
  border-color: var(--aive-border-strong);
  transform: translateY(-2px);
}
.detail-value {
  display: block;
  font-size: var(--aive-text-heading); font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--aive-text-primary);
  margin-bottom: var(--aive-space-1);
}
.detail-label {
  display: block;
  font-size: var(--aive-text-caption); color: var(--aive-text-secondary);
  font-weight: 500;
}

/* ── STATS BANNER ─────────────────────────────────────────────────────── */
.stats-banner {
  background: var(--aive-bg-surface);
  padding: var(--aive-space-14) 0;
  text-align: center;
  border-top: 1px solid var(--aive-border-default);
  border-bottom: 1px solid var(--aive-border-default);
}
.stats-title {
  font-size: var(--aive-text-h2);
  font-weight: 700; letter-spacing: -1.5px;
  margin: 0 0 var(--aive-space-11); text-align: center;
}
.stats-grid {
  display: flex; justify-content: center; align-items: flex-start;
  gap: var(--aive-space-11); flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-size: var(--aive-type-display); font-weight: 800;
  letter-spacing: -2px;
  color: var(--aive-text-primary);
  line-height: 1;
}
.stat-desc {
  display: block;
  font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary);
  margin-top: var(--aive-space-2); font-weight: 500;
}

/* ── TESTIMONIALS ─────────────────────────────────────────────────────── */
.testimonials-section {
  padding: var(--aive-section-pad) 0;
  text-align: center;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--aive-space-5);
  max-width: 1000px; margin: var(--aive-space-9) auto 0;
  text-align: left;
}
.testimonial-card {
  background: var(--aive-bg-surface);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-lg);
  padding: var(--aive-space-7);
  transition: border-color var(--aive-duration-normal), transform var(--aive-duration-normal) var(--aive-ease-out);
}
.testimonial-card:hover {
  border-color: var(--aive-border-strong);
  transform: translateY(-3px);
}
.testimonial-stars {
  color: var(--aive-warning); font-size: var(--aive-text-body-sm);
  letter-spacing: 2px; margin-bottom: var(--aive-space-4);
}
.testimonial-card--placeholder {
  grid-column: 1 / -1; text-align: center; padding: var(--aive-space-9);
}
.testimonial-card--placeholder .testimonial-quote {
  max-width: 540px; margin: 0 auto var(--aive-space-6); font-style: normal;
}
.testimonial-quote {
  font-size: var(--aive-text-body); color: var(--aive-text-secondary);
  line-height: 1.6; margin: 0 0 var(--aive-space-6);
  font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: var(--aive-space-3);
}
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(107,160,224,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--aive-text-body-sm); font-weight: 700; color: var(--aive-accent);
  flex-shrink: 0;
}
.testimonial-info { display: flex; flex-direction: column; }
.testimonial-name { font-size: var(--aive-text-body-sm); font-weight: 600; color: var(--aive-text-primary); }
.testimonial-role { font-size: var(--aive-text-caption); color: var(--aive-text-tertiary); margin-top: var(--aive-space-1); }

/* ── INTEGRATIONS ─────────────────────────────────────────────────────── */
.integrations-section {
  padding: var(--aive-section-pad) 0;
  text-align: center;
}
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--aive-space-4);
  max-width: 800px; margin: 0 auto;
}
.integration-item {
  background: var(--aive-bg-surface);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-md);
  padding: var(--aive-space-6) var(--aive-space-4);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--aive-space-2);
  transition: border-color var(--aive-duration-normal), transform var(--aive-duration-normal) var(--aive-ease-out);
}
.integration-item:hover {
  border-color: var(--aive-border-strong);
  transform: translateY(-2px);
}
.integration-icon {
  width: 48px; height: 48px; border-radius: var(--aive-radius-sm);
  background: var(--aive-bg-tertiary);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--aive-text-overline); font-weight: 800; color: var(--aive-text-secondary);
  letter-spacing: 0.5px;
}
.integration-name {
  font-size: var(--aive-text-body-sm); font-weight: 600; color: var(--aive-text-primary);
}
.integration-desc {
  font-size: var(--aive-text-overline); color: var(--aive-text-tertiary);
}

/* ── PRICING ──────────────────────────────────────────────────────────── */
.pricing-section {
  background: var(--aive-bg-surface);
  border-top: 1px solid var(--aive-border-default);
}
.pricing-tabs {
  display: inline-flex; gap: var(--aive-space-1);
  margin-bottom: var(--aive-space-3);
  background: var(--aive-bg-tertiary); border-radius: var(--aive-radius-full); padding: var(--aive-space-1);
}
.pricing-tabs-wrap { text-align: center; margin-bottom: var(--aive-space-4); }
.pricing-tab {
  padding: var(--aive-space-2) var(--aive-space-6); font-size: var(--aive-text-body-sm); font-weight: 600;
  border-radius: var(--aive-radius-full); border: none;
  background: transparent; color: var(--aive-text-secondary);
  cursor: pointer; transition: all var(--aive-duration-normal);
}
.pricing-tab.active { background: var(--aive-text-primary); color: var(--aive-bg-primary); }
.pricing-tab:hover:not(.active) { color: var(--aive-text-primary); }
.pricing-subtabs {
  display: flex; justify-content: center; gap: var(--aive-space-1); margin-bottom: var(--aive-space-9);
}
.pricing-subtab {
  padding: var(--aive-space-2) var(--aive-space-5); font-size: var(--aive-text-caption); font-weight: 600;
  border-radius: var(--aive-radius-full); border: 1px solid var(--aive-border-default);
  background: transparent; color: var(--aive-text-secondary);
  cursor: pointer; transition: all var(--aive-duration-normal);
}
.pricing-subtab.active {
  background: var(--aive-accent-muted); color: var(--aive-accent); border-color: var(--aive-accent);
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--aive-space-5); max-width: 960px; margin: 0 auto;
}
.price-card {
  background: var(--aive-bg-secondary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-lg);
  padding: var(--aive-space-8) var(--aive-space-7);
  display: flex; flex-direction: column;
  transition: border-color var(--aive-duration-slow), transform var(--aive-duration-slow) var(--aive-ease-out), box-shadow var(--aive-duration-slow);
  position: relative;
}
.price-card:hover {
  border-color: var(--aive-border-strong);
  transform: translateY(-4px);
  box-shadow: var(--aive-shadow-lg);
}
.price-card.highlight {
  border-color: var(--aive-accent);
  box-shadow: 0 0 0 1px var(--aive-accent), 0 20px 40px -10px rgba(107,160,224,0.15);
}
.price-card .badge {
  display: inline-block;
  font-size: var(--aive-text-caption); font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  padding: var(--aive-space-1) var(--aive-space-3); border-radius: var(--aive-radius-full);
  background: var(--aive-bg-tertiary); color: var(--aive-text-secondary);
  margin-bottom: var(--aive-space-4); align-self: flex-start;
}
.price-card.highlight .badge { background: var(--aive-accent); color: var(--aive-text-primary); }
.price-card h3 {
  font-size: var(--aive-text-h3); font-weight: 700; margin: 0 0 var(--aive-space-1); letter-spacing: -0.5px;
}
.price-card .tagline { font-size: var(--aive-text-body-sm); color: var(--aive-text-tertiary); margin-bottom: var(--aive-space-5); }
.price-card .price {
  font-size: var(--aive-type-stat-2xl, 40px); font-weight: 800; margin: 0 0 var(--aive-space-1); letter-spacing: -1px;
}
.price-card .price .period { font-size: var(--aive-text-body); font-weight: 500; color: var(--aive-text-secondary); }
.price-card .price-note { font-size: var(--aive-text-caption); color: var(--aive-text-tertiary); margin-bottom: var(--aive-space-6); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 var(--aive-space-7); flex: 1; }
.price-card li {
  font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary);
  padding: var(--aive-space-2) 0 var(--aive-space-2) var(--aive-space-6); position: relative;
}
.price-card li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--aive-success);
}
.price-card .cta {
  display: block; text-align: center;
  padding: var(--aive-space-3) 0; font-size: var(--aive-text-body-sm); font-weight: 600;
  border-radius: var(--aive-radius-full); cursor: pointer;
  background: var(--aive-bg-tertiary); color: var(--aive-text-primary);
  border: 1px solid var(--aive-border-default); transition: all var(--aive-duration-normal); text-decoration: none;
}
.price-card .cta:hover { border-color: var(--aive-accent); color: var(--aive-text-primary); }
.price-card.highlight .cta {
  background: var(--aive-text-primary); color: var(--aive-bg-primary); border-color: var(--aive-text-primary);
}
.price-card.highlight .cta:hover { opacity: 0.9; }
.price-card .cta:disabled, .price-card .cta[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ── COMPARISON TABLE ─────────────────────────────────────────────────── */
.comparison-section { margin-top: var(--aive-space-12); }
.comparison-section h3 {
  font-size: var(--aive-text-h3); font-weight: 700; text-align: center;
  margin: 0 0 var(--aive-space-8); letter-spacing: -0.5px;
}
.comparison-table {
  width: 100%; border-collapse: collapse; font-size: var(--aive-type-ui);
}
.comparison-table thead th {
  padding: var(--aive-space-3) var(--aive-space-4); text-align: center;
  font-size: var(--aive-text-body-sm); font-weight: 700; color: var(--aive-text-primary);
  border-bottom: 1px solid var(--aive-border-default);
  position: sticky; top: var(--aive-nav-height); background: var(--aive-bg-surface); z-index: var(--aive-z-dropdown);
}
.comparison-table thead th:first-child { text-align: left; }
.comparison-table .cat-header td {
  padding: var(--aive-space-4) var(--aive-space-4) var(--aive-space-2);
  font-size: var(--aive-text-overline); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--aive-accent);
  border-bottom: 1px solid var(--aive-border-default);
}
.comparison-table tbody td {
  padding: var(--aive-space-3) var(--aive-space-4); text-align: center;
  border-bottom: 1px solid var(--aive-border-default); color: var(--aive-text-secondary);
}
.comparison-table tbody td:first-child {
  text-align: left; color: var(--aive-text-primary); font-weight: 500;
}
.comparison-table .check {
  display: inline-flex; width: 20px; height: 20px; border-radius: 50%;
  background: var(--aive-success-muted); align-items: center; justify-content: center;
}
.comparison-table .check svg { width: 12px; height: 12px; stroke: var(--aive-success); }
.comparison-table .cross {
  display: inline-flex; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(220,122,109,0.1); align-items: center; justify-content: center;
}
.comparison-table .cross svg { width: 10px; height: 10px; stroke: var(--aive-error); }

/* ── AI TIER BREAKDOWN ────────────────────────────────────────────────── */
.ai-tier-section { margin-top: var(--aive-space-12); }
.ai-tier-section h3 {
  font-size: var(--aive-text-h3); font-weight: 700; text-align: center;
  margin: 0 0 var(--aive-space-3); letter-spacing: -0.5px;
}
.ai-tier-section .section-sub {
  text-align: center; color: var(--aive-text-secondary);
  font-size: var(--aive-text-body); margin: 0 auto var(--aive-space-8); max-width: 500px;
}
.ai-tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--aive-space-5); }
.ai-tier-card {
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-lg); padding: var(--aive-space-6);
  transition: border-color var(--aive-duration-normal), transform var(--aive-duration-normal) var(--aive-ease-out);
}
.ai-tier-card:hover { border-color: var(--aive-border-strong); transform: translateY(-2px); }
.ai-tier-card .tier-badge {
  display: inline-block; padding: var(--aive-space-1) var(--aive-space-3); font-size: var(--aive-text-caption); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  border-radius: var(--aive-radius-full); margin-bottom: var(--aive-space-3);
}
.ai-tier-card .tier-badge.t1 { background: var(--aive-success-muted); color: var(--aive-success); }
.ai-tier-card .tier-badge.t2 { background: var(--aive-accent-muted); color: var(--aive-accent); }
.ai-tier-card .tier-badge.t3 { background: rgba(176,122,216,0.12); color: var(--aive-ai-purple); }
.ai-tier-card .tier-range {
  font-size: var(--aive-text-h4); font-weight: 800; margin: 0 0 var(--aive-space-1); letter-spacing: -0.5px;
}
.ai-tier-card .tier-label { font-size: var(--aive-text-caption); color: var(--aive-text-tertiary); margin-bottom: var(--aive-space-4); }
.ai-tier-card .tier-features { list-style: none; padding: 0; margin: 0; }
.ai-tier-card .tier-features li {
  font-size: var(--aive-text-caption); color: var(--aive-text-secondary);
  padding: var(--aive-space-1) 0 var(--aive-space-1) var(--aive-space-5); position: relative;
}
.ai-tier-card .tier-features li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--aive-text-disabled);
}

/* ── USE CASES ────────────────────────────────────────────────────────── */
.usecases-section {
  background: var(--aive-bg-surface);
  border-top: 1px solid var(--aive-border-default);
  border-bottom: 1px solid var(--aive-border-default);
}
.usecases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--aive-space-5);
}
.usecase-card {
  background: var(--aive-bg-secondary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-lg);
  padding: var(--aive-space-7);
  transition: border-color var(--aive-duration-normal), transform var(--aive-duration-normal) var(--aive-ease-out);
}
.usecase-card:hover { border-color: var(--aive-border-strong); transform: translateY(-2px); }
.usecase-icon {
  width: 48px; height: 48px; border-radius: var(--aive-radius-sm);
  background: var(--aive-accent-muted);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--aive-space-4); color: var(--aive-accent);
}
.usecase-card h4 { font-size: var(--aive-text-body-lg); font-weight: 700; margin: 0 0 var(--aive-space-2); }
.usecase-card p { font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary); margin: 0; line-height: 1.6; }

/* ── CTA / WAITLIST ───────────────────────────────────────────────────── */
.cta-section {
  padding: var(--aive-section-pad) 0;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(176,122,216,0.08) 0%, rgba(223,133,167,0.04) 40%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: var(--aive-text-h1);
  letter-spacing: -2px;
}
.waitlist-form {
  max-width: 480px; margin: var(--aive-space-7) auto 0;
}
.waitlist-form__fields {
  display: flex; flex-direction: column; gap: var(--aive-space-3); width: 100%;
}
.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea {
  padding: var(--aive-space-3) var(--aive-space-4);
  background: var(--aive-bg-lift, #1e1e21);
  border: 1px solid var(--aive-border-default, #3a3a3c);
  border-radius: var(--aive-radius-sm);
  color: var(--aive-text-primary, #f0f0f2);
  font-size: var(--aive-type-body, 14px);
  font-family: var(--aive-font-sans);
  transition: border-color var(--aive-duration-normal);
}
.waitlist-form select { appearance: auto; }
.waitlist-form textarea { resize: vertical; }
.waitlist-form input:focus-visible,
.waitlist-form select:focus-visible,
.waitlist-form textarea:focus-visible {
  border-color: var(--aive-accent);
  outline: 2px solid var(--aive-accent);
  outline-offset: 2px;
}
.waitlist-form button {
  white-space: nowrap; padding: var(--aive-space-4) 28px; min-height: 44px;
}
.waitlist-form button:hover { background: var(--aive-accent-hover); }
.waitlist-form button:disabled, .waitlist-form button[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ── FAQ ACCORDION ────────────────────────────────────────────────────── */
.faq-section { max-width: var(--aive-container-narrow); margin: 0 auto; }
.faq-section details { border-bottom: 1px solid var(--aive-border-default); }
.faq-section summary {
  padding: var(--aive-space-5) 0; font-size: var(--aive-text-body); font-weight: 600;
  color: var(--aive-text-primary); cursor: pointer;
  list-style: none; display: flex; align-items: center;
  justify-content: space-between;
}
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after {
  content: '+'; font-size: var(--aive-text-h4); color: var(--aive-text-tertiary);
  transition: transform var(--aive-duration-slow) var(--aive-ease-out);
}
.faq-section details[open] summary::after { content: '\2212'; }
.faq-section .faq-answer {
  padding: 0 0 var(--aive-space-5); font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary); line-height: 1.7;
}

/* ── FOOTER ───────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--aive-border-default);
  padding: var(--aive-space-11) 0 var(--aive-space-8);
  background: var(--aive-bg-surface);
}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--aive-space-8); }
.footer-col h3, .footer-col h5 {
  font-size: var(--aive-text-overline); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--aive-text-tertiary); margin: 0 0 var(--aive-space-4);
}
.footer-col a {
  display: block; font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary);
  padding: var(--aive-space-1) 0; transition: color var(--aive-duration-normal); text-decoration: none;
}
.footer-col a:hover { color: var(--aive-text-primary); }
.footer-bottom {
  margin-top: var(--aive-space-9); padding-top: var(--aive-space-6);
  border-top: 1px solid var(--aive-border-default);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--aive-space-3);
}
.footer-bottom .copy { font-size: var(--aive-text-caption); color: var(--aive-text-tertiary); }
.footer-bottom .legal { display: flex; gap: var(--aive-space-5); }
.footer-bottom .legal a { font-size: var(--aive-text-caption); color: var(--aive-text-tertiary); text-decoration: none; }
.footer-bottom .legal a:hover { color: var(--aive-text-secondary); }

/* ── DOWNLOAD PAGE ────────────────────────────────────────────────────── */
.download-hero { padding: var(--aive-hero-pad-top) 0 var(--aive-space-12); text-align: center; }
.download-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; letter-spacing: -1.5px; margin: 0 0 var(--aive-space-4);
}
.download-hero .sub { font-size: var(--aive-type-body); color: var(--aive-text-secondary); margin: 0 0 var(--aive-space-9); }
.download-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--aive-space-5); max-width: 700px; margin: 0 auto;
  align-items: stretch;
}
.dl-card {
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-lg); padding: var(--aive-space-8); text-align: center;
  transition: border-color var(--aive-duration-normal), transform var(--aive-duration-normal) var(--aive-ease-out);
  display: flex; flex-direction: column; align-items: center;
}
.dl-card:hover { border-color: var(--aive-border-strong); transform: translateY(-2px); }
.dl-card--detected { border-color: var(--aive-accent); box-shadow: 0 0 0 1px var(--aive-accent); }
.dl-card .platform {
  font-size: var(--aive-text-caption); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--aive-text-tertiary); margin-bottom: var(--aive-space-2);
}
.dl-card .version { font-size: var(--aive-text-overline); color: var(--aive-text-disabled); margin-bottom: var(--aive-space-5); }
.dl-card .dl-btn {
  display: inline-block; padding: var(--aive-space-3) var(--aive-space-7); font-size: var(--aive-text-body-sm); font-weight: 600;
  background: var(--aive-text-primary); color: var(--aive-bg-primary);
  border: none; border-radius: var(--aive-radius-full); cursor: pointer;
  transition: opacity var(--aive-duration-normal); text-decoration: none;
  margin-top: auto;
}
.dl-card .dl-btn:hover { opacity: 0.85; color: var(--aive-bg-primary); }
.dl-card .dl-btn:disabled, .dl-card .dl-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.dl-card .reqs { margin-top: var(--aive-space-4); font-size: var(--aive-text-overline); color: var(--aive-text-disabled); line-height: 1.6; }

/* ── CHECKOUT ─────────────────────────────────────────────────────────── */
.checkout-layout {
  display: grid; grid-template-columns: 1fr 380px; gap: var(--aive-space-8); padding-top: var(--aive-space-8);
}
.checkout-cart { display: flex; flex-direction: column; gap: var(--aive-space-3); }
.cart-item {
  display: flex; align-items: center; gap: var(--aive-space-4);
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-md); padding: var(--aive-space-4) var(--aive-space-5);
  transition: border-color var(--aive-duration-normal);
}
.cart-item:hover { border-color: var(--aive-border-strong); }
.cart-item .ci-toggle {
  width: 36px; height: 20px; border-radius: var(--aive-radius-md);
  background: var(--aive-bg-elevated); border: none; cursor: pointer;
  position: relative; transition: background var(--aive-duration-normal); flex-shrink: 0;
}
.cart-item .ci-toggle::after {
  content: ''; position: absolute;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--aive-text-primary); top: 2px; left: 2px;
  transition: transform var(--aive-duration-normal) var(--aive-ease-out);
}
.cart-item .ci-toggle.on { background: var(--aive-success); }
.cart-item .ci-toggle.on::after { transform: translateX(16px); }
.cart-item .ci-info { flex: 1; }
.cart-item .ci-name { font-size: var(--aive-text-body-sm); font-weight: 600; }
.cart-item .ci-desc { font-size: var(--aive-text-caption); color: var(--aive-text-secondary); margin-top: var(--aive-space-1); }
.cart-item .ci-price { font-size: var(--aive-text-body); font-weight: 700; white-space: nowrap; }
.cart-item .ci-tier-badge {
  padding: var(--aive-space-half) var(--aive-space-2); font-size: var(--aive-type-xs); font-weight: 700;
  border-radius: var(--aive-radius-full); text-transform: uppercase; letter-spacing: 0.5px;
}
.checkout-summary {
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-lg); padding: var(--aive-space-7);
  position: sticky; top: calc(var(--aive-nav-height) + var(--aive-space-5)); align-self: start;
}
.checkout-summary h3 { font-size: var(--aive-text-body-lg); font-weight: 700; margin: 0 0 var(--aive-space-5); }
.summary-row {
  display: flex; justify-content: space-between;
  padding: var(--aive-space-2) 0; font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary);
}
.summary-row.total {
  border-top: 1px solid var(--aive-border-default);
  margin-top: var(--aive-space-2); padding-top: var(--aive-space-4);
  font-size: var(--aive-text-body-lg); font-weight: 700; color: var(--aive-text-primary);
}
.coupon-input { display: flex; gap: var(--aive-space-2); margin: var(--aive-space-4) 0; }
.coupon-input input {
  flex: 1; padding: var(--aive-space-3) var(--aive-space-4); font-size: var(--aive-text-body-sm);
  background: var(--aive-bg-tertiary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm); color: var(--aive-text-primary);
  transition: border-color var(--aive-duration-fast);
}
.coupon-input input:focus:not(:focus-visible) { outline: none; }
.coupon-input input:focus-visible { border-color: var(--aive-accent); outline: 2px solid var(--aive-accent); outline-offset: 2px; }
.coupon-input button {
  padding: var(--aive-space-3) var(--aive-space-5); font-size: var(--aive-text-caption); font-weight: 600;
  background: var(--aive-bg-tertiary); color: var(--aive-text-primary);
  border: 1px solid var(--aive-border-default); border-radius: var(--aive-radius-sm);
  cursor: pointer; transition: border-color var(--aive-duration-normal);
}
.coupon-input button:hover { border-color: var(--aive-accent); }
.coupon-input button:disabled, .coupon-input button[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ── ENTERPRISE ───────────────────────────────────────────────────────── */
.req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--aive-space-5); margin-top: var(--aive-space-7); }
.req-card { background: var(--aive-bg-surface); border: 1px solid var(--aive-border-default); border-radius: var(--aive-radius-md); padding: var(--aive-space-6); transition: border-color var(--aive-duration-normal), transform var(--aive-duration-normal) var(--aive-ease-out); }
.req-card:hover { border-color: var(--aive-border-strong); transform: translateY(-2px); }
.req-icon { color: var(--aive-accent); margin-bottom: var(--aive-space-3); display: flex; align-items: center; }
.req-icon svg { flex-shrink: 0; }
.enterprise-hero { padding: var(--aive-hero-pad-top) 0 var(--aive-space-12); text-align: center; }
.enterprise-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; letter-spacing: -1.5px; margin: 0 0 var(--aive-space-4);
}
.enterprise-hero .sub {
  font-size: var(--aive-type-body); color: var(--aive-text-secondary);
  max-width: 560px; margin: 0 auto var(--aive-space-9);
}
.enterprise-calculator {
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-xl); padding: var(--aive-space-8);
  max-width: 680px; margin: 0 auto;
}
.enterprise-calculator h3 { font-size: var(--aive-text-h4); font-weight: 700; margin: 0 0 var(--aive-space-6); text-align: center; }
.calc-slider-group { margin-bottom: var(--aive-space-6); }
.calc-slider-group label {
  display: block; font-size: var(--aive-type-ui); font-weight: 600;
  color: var(--aive-text-secondary); margin-bottom: var(--aive-space-2);
}
.calc-slider-group input[type="range"] {
  width: 100%; height: 4px;
  -webkit-appearance: none; appearance: none;
  background: var(--aive-bg-elevated); border-radius: var(--aive-radius-xs);
}
.calc-slider-group input[type="range"]:focus:not(:focus-visible) { outline: none;
}
.calc-slider-group input[type="range"]:focus-visible { outline: 2px solid var(--aive-accent); outline-offset: 2px;
}
.calc-slider-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--aive-accent); cursor: pointer;
  border: 2px solid var(--aive-bg-secondary);
}
.calc-result {
  text-align: center; margin-top: var(--aive-space-5);
  padding-top: var(--aive-space-5); border-top: 1px solid var(--aive-border-default);
}
.calc-result .calc-total { font-size: var(--aive-text-title); font-weight: 800; letter-spacing: -1px; }
.calc-result .calc-detail { font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary); margin-top: var(--aive-space-1); }
.calc-result .calc-discount {
  display: inline-block; margin-top: var(--aive-space-2);
  padding: var(--aive-space-1) var(--aive-space-3); font-size: var(--aive-text-caption); font-weight: 700;
  border-radius: var(--aive-radius-full); background: var(--aive-success-muted); color: var(--aive-success);
}
.enterprise-form {
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-xl); padding: var(--aive-space-8);
  max-width: 680px; margin: var(--aive-space-9) auto 0;
}
.enterprise-form h3 { font-size: var(--aive-text-h4); font-weight: 700; margin: 0 0 var(--aive-space-6); text-align: center; }
.form-group { margin-bottom: var(--aive-space-4); }
.form-group label {
  display: block; font-size: var(--aive-text-caption); font-weight: 600;
  color: var(--aive-text-secondary); margin-bottom: var(--aive-space-2);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: var(--aive-space-3) var(--aive-space-4); font-size: var(--aive-text-body-sm);
  background: var(--aive-bg-tertiary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm); color: var(--aive-text-primary);
  font-family: var(--aive-font-sans); transition: border-color var(--aive-duration-normal);
}
.form-group input:focus:not(:focus-visible),
.form-group select:focus:not(:focus-visible),
.form-group textarea:focus:not(:focus-visible) { outline: none; }
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible { border-color: var(--aive-accent); outline: 2px solid var(--aive-accent); outline-offset: 2px; }
.form-group select { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--aive-space-4); }

/* ══════════════════════════════════════════════════════════════════════════
   FEATURE DEMOS — Full-width cinematic visuals (no chrome frame)
   ══════════════════════════════════════════════════════════════════════════ */

/* Demo body shared */
.demo-body-full {
  padding: var(--aive-space-6);
  min-height: 280px;
  position: relative;
}

/* ── Timeline demo ────────────────────────────────────────────────────── */
.demo-timeline { position: relative; }
.demo-timeline .track {
  height: 40px; margin: var(--aive-space-1) 0; border-radius: var(--aive-radius-xs); position: relative; overflow: hidden;
}
.demo-timeline .track-label {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 64px; background: var(--aive-bg-tertiary);
  display: flex; align-items: center; padding: 0 var(--aive-space-3);
  font-size: var(--aive-text-caption); color: var(--aive-text-tertiary); font-weight: 600;
  border-right: 1px solid var(--aive-border-default); z-index: 1;
}
.demo-timeline .clip {
  position: absolute; top: 2px; bottom: 2px; border-radius: var(--aive-radius-xs); cursor: default;
  display: flex; align-items: center; padding: 0 var(--aive-space-2);
  font-size: var(--aive-text-caption); font-weight: 600; color: rgba(255,255,255,0.8);
  transition: transform var(--aive-duration-slow) var(--aive-ease-out);
}
.demo-timeline .clip:hover { transform: scaleY(1.05); }
.demo-timeline .clip.video { background: rgba(107,160,224,0.3); border: 1px solid rgba(107,160,224,0.2); }
.demo-timeline .clip.audio { background: rgba(125,201,152,0.2); border: 1px solid rgba(125,201,152,0.15); }
.demo-timeline .clip.title-clip { background: rgba(176,122,216,0.25); border: 1px solid rgba(176,122,216,0.2); }
.demo-timeline .clip.broll { background: rgba(125,201,152,0.15); border: 1px solid rgba(125,201,152,0.1); }
.demo-timeline .clip.music { background: rgba(226,169,107,0.2); border: 1px solid rgba(226,169,107,0.15); }
.demo-timeline .clip.sfx { background: rgba(133,187,210,0.2); border: 1px solid rgba(133,187,210,0.15); }
.demo-timeline .clip.dialog { background: rgba(223,133,167,0.2); border: 1px solid rgba(223,133,167,0.15); }
.demo-timeline .playhead {
  position: absolute; top: 0; bottom: 0; width: 2px;
  background: var(--aive-warning); z-index: var(--aive-z-dropdown); transition: left 3s linear;
}
.demo-timeline .timecode {
  display: flex; justify-content: space-between;
  padding: var(--aive-space-1) var(--aive-space-11) var(--aive-space-1) var(--aive-space-11);
  font-size: var(--aive-type-xs); color: var(--aive-text-disabled); font-family: var(--aive-font-mono);
}
.demo-timeline .snap-guide {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: var(--aive-warning); opacity: 0; transition: opacity var(--aive-duration-normal);
}
.demo-timeline:hover .snap-guide { opacity: 0.6; }

/* ── Waveform canvas ──────────────────────────────────────────────────── */
.demo-waveform { text-align: center; padding: var(--aive-space-5); }
.demo-waveform canvas {
  width: 100%; height: 180px; border-radius: var(--aive-radius-sm); background: var(--aive-bg-tertiary);
}
.demo-waveform .toggle-bar {
  display: flex; justify-content: center; gap: var(--aive-space-1); margin-top: var(--aive-space-4);
}
.demo-waveform .toggle-btn {
  padding: var(--aive-space-2) var(--aive-space-5); font-size: var(--aive-text-caption); font-weight: 600;
  border-radius: var(--aive-radius-full); border: 1px solid var(--aive-border-default);
  background: transparent; color: var(--aive-text-secondary); cursor: pointer;
  transition: all var(--aive-duration-normal);
}
.demo-waveform .toggle-btn.active { background: var(--aive-accent); color: var(--aive-text-primary); border-color: var(--aive-accent); }

/* ── Color wheels ─────────────────────────────────────────────────────── */
.demo-color-wheels {
  display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: var(--aive-space-4);
  align-items: start; padding: var(--aive-space-6);
}
.demo-color-wheels .wheel-group { text-align: center; }
.demo-color-wheels .wheel-group .label {
  font-size: var(--aive-text-caption); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--aive-text-tertiary); margin-bottom: var(--aive-space-2);
}
.demo-color-wheels .wheel {
  width: 90px; height: 90px; border-radius: 50%; margin: 0 auto;
  border: 2px solid var(--aive-border-default); position: relative; cursor: default;
  background: conic-gradient(
    hsl(0,60%,50%), hsl(60,60%,50%), hsl(120,60%,50%),
    hsl(180,60%,50%), hsl(240,60%,50%), hsl(300,60%,50%), hsl(360,60%,50%)
  );
  opacity: 0.6;
}
.demo-color-wheels .wheel .puck {
  position: absolute; width: 12px; height: 12px;
  border-radius: 50%; border: 2px solid var(--aive-text-primary);
  box-shadow: var(--aive-shadow-sm);
  transform: translate(-50%, -50%);
  transition: top var(--aive-duration-slow) var(--aive-ease-out), left var(--aive-duration-slow) var(--aive-ease-out);
}
.demo-color-wheels .scope {
  background: var(--aive-bg-tertiary); border-radius: var(--aive-radius-sm);
  padding: var(--aive-space-2); min-height: 100px;
  display: flex; align-items: center; justify-content: center;
}
.demo-color-wheels .scope canvas { width: 100%; height: 100px; }

/* ── YouTube chart ────────────────────────────────────────────────────── */
.demo-chart {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--aive-space-4); padding: var(--aive-space-6);
}
.demo-chart .chart-card {
  background: var(--aive-bg-tertiary); border-radius: var(--aive-radius-sm);
  padding: var(--aive-space-4); min-height: 100px;
}
.demo-chart .chart-card .chart-title {
  font-size: var(--aive-text-caption); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--aive-text-tertiary); margin-bottom: var(--aive-space-3);
}
.demo-chart .chart-card canvas { width: 100%; height: 80px; }
.demo-chart .metric-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--aive-space-3); grid-column: 1 / -1;
}
.demo-chart .metric {
  background: var(--aive-bg-tertiary); border-radius: var(--aive-radius-sm);
  padding: var(--aive-space-3) var(--aive-space-4); text-align: center;
}
.demo-chart .metric .metric-value {
  font-size: var(--aive-text-h3); font-weight: 800; letter-spacing: -0.5px; color: var(--aive-text-primary);
}
.demo-chart .metric .metric-label {
  font-size: var(--aive-text-caption); color: var(--aive-text-tertiary); margin-top: var(--aive-space-1);
}

/* ── Render queue ─────────────────────────────────────────────────────── */
.demo-render-queue { display: flex; flex-direction: column; gap: var(--aive-space-3); padding: var(--aive-space-6); }
.demo-render-queue .render-item {
  display: flex; align-items: center; gap: var(--aive-space-3);
  background: var(--aive-bg-tertiary); border-radius: var(--aive-radius-sm); padding: var(--aive-space-3) var(--aive-space-4);
}
.demo-render-queue .render-item .ri-icon {
  width: 36px; height: 36px; border-radius: var(--aive-radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--aive-text-body-sm); flex-shrink: 0;
}
.demo-render-queue .render-item .ri-icon.yt  { background: rgba(255,0,0,0.15); }
.demo-render-queue .render-item .ri-icon.ig  { background: rgba(225,48,108,0.15); }
.demo-render-queue .render-item .ri-icon.ttk { background: rgba(0,242,234,0.15); }
.demo-render-queue .render-item .ri-info { flex: 1; }
.demo-render-queue .render-item .ri-name { font-size: var(--aive-text-body-sm); font-weight: 600; color: var(--aive-text-primary); }
.demo-render-queue .render-item .ri-detail { font-size: var(--aive-type-tag); color: var(--aive-text-tertiary); margin-top: var(--aive-space-1); }
.demo-render-queue .render-item .ri-progress {
  width: 100%; height: 4px; background: var(--aive-bg-elevated);
  border-radius: var(--aive-radius-xs); margin-top: var(--aive-space-2); overflow: hidden;
}
.demo-render-queue .render-item .ri-bar {
  height: 100%; border-radius: var(--aive-radius-xs); background: var(--aive-success); transition: width 2s linear;
}

/* ── Pacing heatmap ───────────────────────────────────────────────────── */
.demo-pacing { padding: var(--aive-space-6); position: relative; }
.demo-pacing canvas { width: 100%; height: 200px; border-radius: var(--aive-radius-sm); }

/* ── AI suggestion overlay ────────────────────────────────────────────── */
.demo-ai-overlay { position: relative; padding: var(--aive-space-6); }
.demo-ai-overlay .suggestion-stack {
  display: flex; flex-direction: column; gap: var(--aive-space-3);
}
.demo-ai-overlay .suggestion-card {
  background: var(--aive-bg-tertiary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm); padding: var(--aive-space-4) var(--aive-space-4);
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--aive-duration-slow) var(--aive-ease-out), transform var(--aive-duration-slow) var(--aive-ease-out);
}
.demo-ai-overlay .suggestion-card.visible { opacity: 1; transform: translateY(0); }
.demo-ai-overlay .sug-type {
  font-size: var(--aive-text-caption); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--aive-ai-purple); margin-bottom: var(--aive-space-1);
}
.demo-ai-overlay .sug-text { font-size: var(--aive-text-caption); color: var(--aive-text-secondary); line-height: 1.5; }
.demo-ai-overlay .sug-actions { display: flex; gap: var(--aive-space-2); margin-top: var(--aive-space-3); }
.demo-ai-overlay .sug-btn {
  padding: var(--aive-space-1) var(--aive-space-4); font-size: var(--aive-text-overline); font-weight: 600;
  border-radius: var(--aive-radius-xs); border: none; cursor: default;
}
.demo-ai-overlay .sug-btn.accept { background: rgba(176,122,216,0.2); color: var(--aive-ai-purple); }
.demo-ai-overlay .sug-btn.skip { background: var(--aive-bg-elevated); color: var(--aive-text-secondary); }

/* ── Split compare ────────────────────────────────────────────────────── */
.demo-split { padding: var(--aive-space-6); }
.demo-split .split-container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--aive-radius-md); overflow: hidden;
  position: relative;
}
.demo-split .split-pane { min-height: 200px; position: relative; }
.demo-split .split-pane--before { background: linear-gradient(135deg, var(--aive-bg-primary), var(--aive-bg-primary)); }
.demo-split .split-pane--after { background: linear-gradient(135deg, var(--aive-gradient-demo-a), var(--aive-gradient-demo-b)); }
.demo-split .split-label {
  position: absolute; top: 12px; left: 12px;
  padding: var(--aive-space-1) var(--aive-space-3); font-size: var(--aive-text-caption); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  border-radius: var(--aive-radius-xs);
}
.demo-split .split-label--before { background: rgba(220,122,109,0.2); color: var(--aive-error); }
.demo-split .split-label--after { background: rgba(125,201,152,0.2); color: var(--aive-success); }
.demo-split .split-divider {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: var(--aive-text-primary);
  transform: translateX(-50%); z-index: var(--aive-z-base);
}

/* ── Radar chart (style DNA) ──────────────────────────────────────────── */
.demo-radar { padding: var(--aive-space-6); text-align: center; }
.demo-radar canvas { width: 100%; max-width: 400px; height: 280px; margin: 0 auto; }

/* ── Dashboard grid ───────────────────────────────────────────────────── */
.demo-dashboard {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--aive-space-3); padding: var(--aive-space-6);
}
.demo-dashboard .dash-card {
  background: var(--aive-bg-tertiary); border-radius: var(--aive-radius-sm);
  padding: var(--aive-space-4); min-height: 80px;
}
.demo-dashboard .dash-card .dash-title {
  font-size: var(--aive-text-caption); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--aive-text-tertiary); margin-bottom: var(--aive-space-2);
}

/* ── Device lineup ────────────────────────────────────────────────────── */
.demo-devices {
  display: flex; justify-content: center; align-items: flex-end;
  gap: var(--aive-space-6); padding: var(--aive-space-7) var(--aive-space-6);
}
.demo-device {
  display: flex; flex-direction: column; align-items: center; gap: var(--aive-space-2);
}
.demo-device .device-frame {
  border-radius: var(--aive-radius-sm); background: var(--aive-bg-tertiary);
  border: 1px solid var(--aive-border-default); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--aive-type-xs); color: var(--aive-text-disabled); font-weight: 600;
}
.demo-device .device-label {
  font-size: var(--aive-text-overline); font-weight: 600; color: var(--aive-text-secondary);
}
.demo-device--laptop .device-frame { width: 200px; height: 125px; }
.demo-device--desktop .device-frame { width: 180px; height: 110px; }
.demo-device--browser .device-frame { width: 160px; height: 100px; }
.demo-device--phone .device-frame { width: 60px; height: 110px; border-radius: var(--aive-radius-md); }

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  :root { --aive-section-pad: 72px; }
  .feature-details { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .ai-tier-grid { grid-template-columns: repeat(3, 1fr); }
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .stats-grid { gap: var(--aive-space-8); }
  .demo-devices { gap: var(--aive-space-4); }
  .demo-device--laptop .device-frame { width: 160px; height: 100px; }
  /* Enterprise form row stacks at tablet */
  .enterprise-form-row { grid-template-columns: 1fr; }
  .demo-device--desktop .device-frame { width: 140px; height: 88px; }
  .demo-device--browser .device-frame { width: 120px; height: 75px; }
}

@media (max-width: 900px) {
  .site-nav .container { gap: var(--aive-space-4); }
  .nav-links {
    display: flex;
    visibility: hidden;
    pointer-events: none;
    position: fixed; top: 0; bottom: 0; left: 0;
    width: 280px;
    flex-direction: column; flex: unset; justify-content: flex-start; gap: 0;
    background: var(--aive-bg-secondary);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-right: 1px solid var(--aive-border-default);
    padding: var(--aive-space-2) 0; z-index: var(--aive-z-nav);
    transform: translateX(-100%);
    transition: transform var(--aive-duration-slow) var(--aive-ease-out);
  }
  .nav-links.open { visibility: visible; pointer-events: auto; transform: translateX(0); }
  .nav-links.open::after {
    content: ''; position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: -1;
  }
  .nav-links li { border-bottom: 1px solid var(--aive-border-soft); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: var(--aive-space-4) var(--aive-space-6); font-size: var(--aive-text-body); }
  .nav-links .nav-mobile-cta {
    display: block; border-bottom: none;
  }
  .nav-links .nav-mobile-cta a {
    display: block; margin: var(--aive-space-2) var(--aive-space-4);
    padding: var(--aive-space-3) var(--aive-space-4);
    background: var(--aive-accent); color: var(--aive-text-primary);
    text-align: center; border-radius: var(--aive-radius-sm); font-weight: 600;
  }
  .nav-links .nav-mobile-cta a:hover { background: var(--aive-accent-hover); }
  .nav-hamburger { display: block; }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .nav-actions .nav-cta,
  .site-nav .nav-cta { display: none; }
  .nav-signin { font-size: var(--aive-text-caption); padding: var(--aive-space-2) var(--aive-space-4); min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 768px) {
  :root {
    --aive-section-pad: 60px;
    --aive-hero-pad-top: 120px;
    --aive-text-display: clamp(40px, 10vw, 64px);
    --aive-text-h1: clamp(32px, 7vw, 48px);
    --aive-text-h2: clamp(28px, 6vw, 40px);
  }

  .hero h1 { letter-spacing: -1.5px; }
  .hero-actions { flex-direction: column; align-items: center; }

  .feature-section { padding: var(--aive-space-12) 0; }
  .feature-section--hero { padding: var(--aive-space-13) 0; }
  .feature-details { grid-template-columns: repeat(2, 1fr); max-width: 500px; }
  .feature-visual-wrap { margin: var(--aive-space-8) auto var(--aive-space-7); }

  .proof-stats { gap: 0; }
  .proof-stat { padding: var(--aive-space-3) var(--aive-space-5); }
  .proof-number { font-size: var(--aive-text-title); }
  .proof-divider { height: 30px; }

  .stats-grid { gap: var(--aive-space-7); }
  .stat-number { font-size: var(--aive-type-stat-2xl, 40px); }

  .testimonials-grid { grid-template-columns: repeat(2, 1fr); max-width: 600px; margin-left: auto; margin-right: auto; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .ai-tier-grid { grid-template-columns: 1fr; }
  .usecases-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--aive-space-6); }
  .footer-col a { padding: var(--aive-space-3) 0; }

  .comparison-table { font-size: var(--aive-text-overline); }
  .comparison-table thead th,
  .comparison-table tbody td { padding: var(--aive-space-2) var(--aive-space-2); }

  .demo-color-wheels { grid-template-columns: repeat(3, 1fr); }
  .demo-color-wheels .scope { display: none; }
  .demo-chart { grid-template-columns: 1fr; }
  .demo-dashboard { grid-template-columns: 1fr; }
  .demo-devices { flex-wrap: wrap; gap: var(--aive-space-3); }
  .demo-device--laptop .device-frame { width: 140px; height: 88px; }
  .demo-device--desktop .device-frame { width: 120px; height: 75px; }
  .demo-device--browser .device-frame { width: 100px; height: 63px; }
  .demo-device--phone .device-frame { width: 50px; height: 90px; }

  .form-row { grid-template-columns: 1fr; }
  .download-cards { grid-template-columns: 1fr; }
  .enterprise-calculator { padding: var(--aive-space-6); }
  .enterprise-form { padding: var(--aive-space-6); }
  .download-hero h1 { font-size: var(--aive-type-title); }
  .enterprise-hero h1 { font-size: var(--aive-type-title); }

  .waitlist-form { flex-direction: column; }
  .waitlist-form input[type="email"],
  .waitlist-form button { width: 100%; }
}

@media (max-width: 640px) {
  .container { padding: 0 var(--aive-space-4); }
  .feature-details { grid-template-columns: 1fr 1fr; max-width: 320px; }
  .detail-card { padding: var(--aive-space-4) var(--aive-space-3); }
  .detail-value { font-size: var(--aive-text-body-lg); }

  .proof-stats { flex-direction: column; gap: var(--aive-space-3); }
  .proof-divider { width: 40px; height: 1px; }
  .stats-grid { flex-direction: column; gap: var(--aive-space-6); }

  .testimonials-grid { grid-template-columns: 1fr; max-width: 100%; }
  .integrations-grid { grid-template-columns: 1fr; }

  .pricing-tab { padding: var(--aive-space-2) var(--aive-space-4); font-size: var(--aive-text-overline); }
  .price-card { padding: var(--aive-space-6) var(--aive-space-5); }
  .price-card .price { font-size: var(--aive-text-title); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--aive-space-5); }
  .footer-bottom { flex-direction: column; text-align: center; gap: var(--aive-space-2); }
  .footer-bottom .legal { flex-wrap: wrap; justify-content: center; gap: var(--aive-space-3); }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; max-width: 280px; }

  .demo-timeline .track-label { width: 48px; font-size: var(--aive-type-xs); padding: 0 var(--aive-space-2); }
  .demo-timeline .timecode { padding-left: var(--aive-space-9); padding-right: var(--aive-space-2); }
  .demo-chart .metric-row { grid-template-columns: 1fr; }
  .demo-chart .metric .metric-value { font-size: var(--aive-text-body-lg); }
  .demo-color-wheels { grid-template-columns: repeat(2, 1fr); }

  /* Wrap old comparison-table in horizontal scroll */
  .comparison-table { font-size: var(--aive-text-caption); }
  .comparison-table thead th,
  .comparison-table tbody td { padding: var(--aive-space-2) var(--aive-space-1); }
  .comparison-section { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comparison-table { min-width: 480px; }

  .hero-visual { max-height: 320px; }
  #hero-demo-mount { aspect-ratio: auto; min-height: 200px; }

  /* Announcement bar: allow wrapping on narrow screens */
  .announcement-bar__inner { flex-wrap: wrap; gap: var(--aive-space-2); }
  .announcement-bar__text { font-size: var(--aive-text-caption); }

  /* Enterprise form row stacks */
  .enterprise-form-row { grid-template-columns: 1fr; }
}

/* ── 320px — SMALL MOBILE ──────────────────────────────────────────── */
@media (max-width: 380px) {
  :root {
    --aive-hero-pad-top: 100px;
  }
  .container { padding: 0 var(--aive-space-3); }
  .hero h1 { letter-spacing: -1px; }
  .hero .tagline { font-size: var(--aive-text-body-sm); }

  /* Nav drawer: cap width to 85vw so close area remains tappable */
  .nav-links { width: min(280px, 85vw); }

  /* Pricing cards: reduce internal padding */
  .price-card { padding: var(--aive-space-5) var(--aive-space-4); }
  .plan-card-v2 { padding: var(--aive-space-5) var(--aive-space-4); }

  /* Feature details: single column on very small screens */
  .feature-details { grid-template-columns: 1fr; max-width: 260px; }

  /* Quiz options: allow wrapping */
  .pricing-quiz-option { white-space: normal; text-align: center; }

  /* Waitlist / CTA forms */
  .waitlist-form { max-width: 100%; }

  /* Hero visual */
  .hero-visual { max-height: 240px; }
  #hero-demo-mount { min-height: 160px; border-radius: var(--aive-radius-lg); }

  /* Reduce font sizes for very small screens */
  .stat-number { font-size: var(--aive-text-h2); }
  .copilot-stat__value { font-size: var(--aive-text-h3); }

  /* Testimonials: single column on very small screens */
  .testimonials-grid { grid-template-columns: 1fr; max-width: 100%; }
}

/* ── MOBILE TOUCH TARGETS & TEXT SIZING ──────────────────────────────── */
@media (max-width: 768px) {
  /* Touch-friendly: ensure all interactive elements meet 44px minimum */
  .btn-primary,
  .btn-secondary,
  .btn-cta-primary,
  .btn-cta-secondary,
  .btn-glow,
  .dl-btn,
  .plan-cta,
  .plan-cta.primary,
  .plan-cta.secondary,
  .plan-cta.ghost,
  .plans-team-cta,
  .free-cta,
  .need-help-cta-link,
  .login-btn,
  .pricing-sticky-cta-btn,
  details summary,
  .faq-q,
  .features-all-toggle,
  .usecase-card,
  .quick-action,
  .cookie-consent__btn,
  .period-btn {
    min-height: 44px;
  }

  /* Ensure form inputs meet 44px for touch and 16px to prevent iOS auto-zoom */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="url"],
  input[type="search"],
  input[type="number"],
  select,
  textarea {
    min-height: 44px;
    font-size: 16px;
  }
}

/* ── SCROLLBARS ──────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--aive-bg-panel); }
::-webkit-scrollbar-thumb { background: var(--aive-bg-lift); border-radius: var(--aive-radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--aive-bg-hi); }
* { scrollbar-width: thin; scrollbar-color: var(--aive-bg-lift) var(--aive-bg-panel); }

/* ── REDUCED MOTION ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .section-reveal { opacity: 1; transform: none; }
  .section-reveal .stagger-child { opacity: 1; transform: none; }
  .hero-gradient-orb { animation: none; }
  .scroll-progress { display: none; }
  /* Ensure hidden-by-default elements are not stuck invisible */
  .aive-tooltip.visible { opacity: 1; transform: none; }
  .aive-modal.visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .aive-backdrop.visible { opacity: 1; }
  .aive-toast { transform: translateX(-50%); }
  .back-to-top--visible { opacity: 1; transform: none; }
  .cookie-consent.visible { opacity: 1; transform: none; }
  .dashboard-notif-dropdown.visible { opacity: 1; transform: none; }
  .account-modal-overlay.visible { opacity: 1; }
  .account-modal.visible { opacity: 1; transform: none; }
}

/* ── PRINT ──────────────────────────────────────────────────────────────── */
@media print {
  body { background: #fff; color: #111; }
  .site-nav, .site-footer, .hero-gradient-orb, .scroll-progress,
  .back-to-top, .cookie-consent, .nav-hamburger { display: none; }
  a { color: #111; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
  section { padding: 24px 0; }
  img { max-width: 100%; }
}

/* ── Pricing page — period billing note ─────────────────────────────────────── */
.plan-billing-note {
  font-size: var(--aive-text-caption);
  color: var(--aive-text-secondary);
  margin-top: 3px;
  line-height: 1.3;
}

/* ── Pricing page — calculator teaser row ────────────────────────────────────── */
.plans-calc-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--aive-space-3);
  padding: var(--aive-space-3) var(--aive-space-7);
  font-size: var(--aive-text-caption);
  color: var(--aive-text-secondary);
  border: 1px solid var(--aive-border-default);
  border-top: none;
  border-radius: 0 0 var(--aive-radius-md) var(--aive-radius-md);
}
.plans-calc-teaser strong { color: var(--aive-text-primary); }
.plans-calc-teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--aive-space-1);
  font-size: var(--aive-text-caption);
  font-weight: 600;
  color: var(--aive-accent);
  text-decoration: none;
  white-space: nowrap;
  transition: gap var(--aive-duration-fast) ease;
}
.plans-calc-teaser-cta:hover { gap: var(--aive-space-2); }

/* ── Enterprise calculator — layout ─────────────────────────────────────────── */
.ent-calc-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--aive-space-8);
  align-items: flex-start;
}
@media (max-width: 1024px) {
  .ent-calc-layout { grid-template-columns: 1fr; }
  .ent-calc-right  { position: static; }
}

.ent-calc-left {
  display: flex;
  flex-direction: column;
  gap: var(--aive-space-4);
}

/* ── Dimension group ─────────────────────────────────────────────────────────── */
.ent-calc-group {
  background: var(--aive-bg-surface);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-md);
  padding: var(--aive-space-5) var(--aive-space-6);
}
.ent-calc-group--flat {
  background: transparent; border: none; padding: 0;
}
.ent-calc-group-header--tight { margin-bottom: var(--aive-space-3); }

.ent-calc-group-header {
  display: flex;
  align-items: center;
  gap: var(--aive-space-3);
  margin-bottom: var(--aive-space-4);
  font-size: var(--aive-text-body-sm);
  font-weight: 600;
  color: var(--aive-text-primary);
}

.ent-calc-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--aive-accent);
  color: var(--aive-text-primary);
  font-size: var(--aive-text-caption);
  font-family: var(--aive-font-mono);
  font-weight: 700;
  flex-shrink: 0;
}

.ent-calc-optional {
  font-size: var(--aive-text-caption);
  font-weight: 400;
  color: var(--aive-text-secondary);
  margin-left: auto;
}

/* ── Period tabs ─────────────────────────────────────────────────────────────── */
.ent-calc-period-tabs {
  display: flex;
  gap: var(--aive-space-2);
  flex-wrap: wrap;
}

/* ── Seat quick-pick pills ───────────────────────────────────────────────────── */
.ent-calc-seat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--aive-space-2);
}

.ent-calc-seat-pill {
  padding: var(--aive-space-1) var(--aive-space-3);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-xl);
  background: transparent;
  color: var(--aive-text-secondary);
  font-size: var(--aive-text-caption);
  font-family: var(--aive-font-sans);
  cursor: pointer;
  transition: border-color var(--aive-duration-fast), color var(--aive-duration-fast), background var(--aive-duration-fast);
}
.ent-calc-seat-pill:hover {
  border-color: var(--aive-accent);
  color: var(--aive-accent);
}

/* ── AI pack checkboxes ──────────────────────────────────────────────────────── */
.ent-calc-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--aive-space-2);
}
@media (max-width: 640px) {
  .ent-calc-checklist { grid-template-columns: 1fr; }
}

.ent-calc-check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--aive-space-3);
  padding: var(--aive-space-3);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
  cursor: pointer;
  transition: border-color var(--aive-duration-fast), background var(--aive-duration-fast);
}
.ent-calc-check-item:hover { border-color: var(--aive-border-strong); }
.ent-calc-check-item.selected {
  border-color: var(--aive-accent);
  background: var(--aive-accent-muted);
}
.ent-calc-check-item input[type="checkbox"] { margin-top: 1px; accent-color: var(--aive-accent); }

.ent-calc-check-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--aive-space-half, 2px);
}
.ent-calc-check-name  { font-size: var(--aive-text-caption); font-weight: 600; color: var(--aive-text-primary); }
.ent-calc-check-desc  { font-size: var(--aive-text-caption); color: var(--aive-text-secondary); line-height: 1.4; }
.ent-calc-check-price { font-size: var(--aive-text-overline); font-weight: 600; color: var(--aive-accent); white-space: nowrap; flex-shrink: 0; }

/* ── Radio-style cards (collab + support) ────────────────────────────────────── */
.ent-calc-radio-list {
  display: flex;
  flex-direction: column;
  gap: var(--aive-space-2);
}

.ent-calc-radio-item {
  padding: var(--aive-space-3) var(--aive-space-4);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
  cursor: pointer;
  transition: border-color var(--aive-duration-fast), background var(--aive-duration-fast);
}
.ent-calc-radio-item:hover { border-color: var(--aive-border-strong); }
.ent-calc-radio-item.selected {
  border-color: var(--aive-accent);
  background: var(--aive-accent-muted);
}
.ent-calc-radio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--aive-space-1);
}
.ent-calc-radio-name  { font-size: var(--aive-text-body-sm); font-weight: 600; color: var(--aive-text-primary); }
.ent-calc-radio-price { font-size: var(--aive-text-caption); font-weight: 600; color: var(--aive-accent); }
.ent-calc-radio-desc  { font-size: var(--aive-text-overline); color: var(--aive-text-secondary); line-height: 1.4; }

/* ── Tier chips (render hours, storage) ──────────────────────────────────────── */
.ent-calc-resource-row { margin-bottom: var(--aive-space-4); }
.ent-calc-resource-row:last-child { margin-bottom: 0; }
.ent-calc-resource-label { font-size: var(--aive-text-caption); color: var(--aive-text-secondary); margin-bottom: var(--aive-space-2); }

.ent-calc-tier-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--aive-space-2);
}

.ent-calc-tier-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--aive-space-half, 2px);
  padding: 7px var(--aive-space-3);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--aive-duration-fast), background var(--aive-duration-fast), color var(--aive-duration-fast);
  font-family: var(--aive-font-sans);
}
.ent-calc-tier-chip:hover { border-color: var(--aive-border-strong); }
.ent-calc-tier-chip.selected {
  border-color: var(--aive-accent);
  background: var(--aive-accent-muted);
}
.ent-calc-tier-chip .chip-label { font-size: var(--aive-text-caption); font-weight: 600; color: var(--aive-text-primary); }
.ent-calc-tier-chip .chip-price  { font-size: var(--aive-text-caption); color: var(--aive-text-secondary); }
.ent-calc-tier-chip.selected .chip-label { color: var(--aive-accent); }
.ent-calc-tier-chip.selected .chip-price  { color: var(--aive-accent); }

/* ── Summary panel ───────────────────────────────────────────────────────────── */
.ent-calc-right {
  position: sticky;
  top: 84px;
  align-self: flex-start;
}

.ent-calc-summary {
  background: var(--aive-bg-surface);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-lg);
  padding: var(--aive-space-6);
}

.ent-calc-summary-title {
  font-size: var(--aive-text-overline);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--aive-text-secondary);
  margin-bottom: var(--aive-space-4);
}

.ent-calc-lines {
  display: flex;
  flex-direction: column;
  gap: var(--aive-space-2);
  margin-bottom: var(--aive-space-1);
}

.ent-calc-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--aive-space-2);
  font-size: var(--aive-text-caption);
  color: var(--aive-text-secondary);
}
.ent-calc-line strong { color: var(--aive-text-primary); font-weight: 600; white-space: nowrap; }

.ent-calc-divider {
  height: 1px;
  background: var(--aive-border-default);
  margin: var(--aive-space-4) 0;
}

.ent-calc-subtotal-row,
.ent-calc-tax-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--aive-text-caption);
  color: var(--aive-text-secondary);
  margin-bottom: 6px;
}

.ent-calc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--aive-text-body);
  margin-top: var(--aive-space-3);
  padding-top: var(--aive-space-3);
  border-top: 1px solid var(--aive-border-default);
}
.ent-calc-total-row strong { font-size: var(--aive-text-h4); font-weight: 800; color: var(--aive-text-primary); }

.ent-calc-suggest {
  display: flex;
  gap: var(--aive-space-2);
  align-items: flex-start;
  border: 1px solid rgba(107,160,224,0.3);
  border-radius: var(--aive-radius-sm);
  padding: 10px var(--aive-space-3);
  margin-top: 14px;
  font-size: var(--aive-text-overline);
  color: var(--aive-accent);
  line-height: 1.5;
}
.ent-calc-suggest svg { flex-shrink: 0; margin-top: 1px; }

.ent-calc-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--aive-space-2);
  margin-top: var(--aive-space-5);
}
.ent-calc-ctas .btn-primary,
.ent-calc-ctas .btn-secondary {
  display: block;
  text-align: center;
  padding: 10px var(--aive-space-4);
  border-radius: var(--aive-radius-sm);
  font-size: var(--aive-type-ui);
  font-weight: 600;
  text-decoration: none;
  transition: filter var(--aive-duration-fast);
}

/* ══════════════════════════════════════════════════════════════════════════
   PRICING PAGE v2 — Cinematic Redesign
   Hero + Quiz + Proof Bar + Enhanced Cards + Build Your Plan + Comparison
   Accordion + FAQ Cards + Sticky CTA + Savings Nudge
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Pricing Hero v2 ─────────────────────────────────────────────────────── */
.pricing-hero-v2 {
  position: relative;
  overflow: hidden;
  padding: var(--aive-space-15) 0 var(--aive-space-9);
  text-align: center;
}
.pricing-hero-v2 .hero-gradient-orb {
  position: absolute; top: -300px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(176,122,216,0.10) 0%, rgba(223,133,167,0.05) 40%, transparent 70%);
  animation: gradient-shift 10s ease-in-out infinite alternate;
  pointer-events: none; z-index: 0;
}
.pricing-hero-v2 .hero-gradient-orb--secondary {
  top: -100px; left: 30%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(107,160,224,0.06) 0%, transparent 60%);
  animation-delay: -5s; animation-duration: 12s;
}
.pricing-hero-v2 .hero-eyebrow {
  font-size: var(--aive-type-ui); font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--aive-ai-purple);
  margin: 0 0 var(--aive-space-5);
  position: relative; z-index: 1;
}
.pricing-hero-v2 h1 {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 var(--aive-space-5);
  position: relative; z-index: 1;
}
.pricing-hero-v2 h1 .grad {
  background: linear-gradient(135deg, var(--aive-ai-purple), var(--aive-ai-mag), var(--aive-accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-hero-v2 .tagline {
  color: var(--aive-text-secondary);
  font-size: var(--aive-type-body);
  max-width: 560px;
  margin: 0 auto var(--aive-space-8);
  line-height: 1.6;
  position: relative; z-index: 1;
}

/* ── Plan Recommendation Quiz ────────────────────────────────────────────── */
.pricing-quiz {
  max-width: 680px;
  margin: 0 auto var(--aive-space-9);
  position: relative; z-index: 1;
}
.pricing-quiz-prompt {
  font-size: var(--aive-type-ui);
  font-weight: 600;
  color: var(--aive-text-secondary);
  margin-bottom: var(--aive-space-5);
  letter-spacing: 0.02em;
}
.pricing-quiz-step {
  margin-bottom: var(--aive-space-4);
  opacity: 1;
  transition: opacity var(--aive-duration-slow) var(--aive-ease-out);
}
.pricing-quiz-step.hidden { opacity: 0; height: 0; overflow: hidden; margin: 0; }
.pricing-quiz-question {
  font-size: var(--aive-text-body);
  font-weight: 600;
  color: var(--aive-text-primary);
  margin-bottom: var(--aive-space-3);
}
.pricing-quiz-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--aive-space-2);
  justify-content: center;
}
.pricing-quiz-option {
  padding: var(--aive-space-2) var(--aive-space-5);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-full);
  background: transparent;
  color: var(--aive-text-secondary);
  font-size: var(--aive-type-ui);
  font-weight: 500;
  font-family: var(--aive-font-sans);
  cursor: pointer;
  transition: all var(--aive-duration-fast) ease;
  white-space: nowrap;
}
.pricing-quiz-option:hover {
  border-color: var(--aive-accent);
  color: var(--aive-accent);
}
.pricing-quiz-option.selected {
  background: var(--aive-accent);
  border-color: var(--aive-accent);
  color: var(--aive-text-primary);
}
.pricing-quiz-result {
  margin-top: var(--aive-space-5);
  padding: var(--aive-space-4) var(--aive-space-6);
  background: rgba(107,160,224,0.06);
  border: 1px solid rgba(107,160,224,0.15);
  border-radius: var(--aive-radius-md);
  font-size: var(--aive-text-body-sm);
  color: var(--aive-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--aive-space-2);
  animation: quiz-fade-in 400ms var(--aive-ease-out);
}
.pricing-quiz-result strong { color: var(--aive-accent); font-weight: 700; }
@keyframes quiz-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .pricing-quiz-options { flex-direction: column; align-items: center; }
  .pricing-quiz-option { width: 100%; max-width: 280px; }
}

/* ── Annual Savings Nudge ────────────────────────────────────────────────── */
.savings-nudge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--aive-space-3);
  padding: var(--aive-space-3) var(--aive-space-6);
  margin-bottom: var(--aive-space-5);
  background: rgba(125,201,152,0.06);
  border: 1px solid rgba(125,201,152,0.15);
  border-radius: var(--aive-radius-md);
  font-size: var(--aive-type-ui);
  color: var(--aive-text-secondary);
  animation: quiz-fade-in 400ms var(--aive-ease-out);
}
.savings-nudge strong { color: var(--aive-success); }
.savings-nudge-btn {
  padding: 6px var(--aive-space-4);
  border-radius: var(--aive-radius-full);
  border: 1px solid var(--aive-success);
  background: transparent;
  color: var(--aive-success);
  font-size: var(--aive-text-caption);
  font-weight: 600;
  font-family: var(--aive-font-sans);
  cursor: pointer;
  transition: all var(--aive-duration-fast);
  white-space: nowrap;
}
.savings-nudge-btn:hover { background: var(--aive-success); color: var(--aive-text-primary); }
.savings-nudge-dismiss {
  background: none; border: none;
  color: var(--aive-text-disabled); cursor: pointer;
  font-size: var(--aive-text-body); padding: 0 var(--aive-space-1);
  line-height: 1;
}
@media (max-width: 640px) {
  .savings-nudge { flex-direction: column; text-align: center; gap: var(--aive-space-2); }
}

/* ── Free Explore Banner v2 ──────────────────────────────────────────────── */
.free-explore-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--aive-space-5);
  padding: var(--aive-space-5) 28px;
  margin-bottom: var(--aive-space-6);
  background: linear-gradient(135deg, rgba(176,122,216,0.05) 0%, rgba(107,160,224,0.06) 100%);
  border: 1px solid rgba(107,160,224,0.12);
  border-radius: var(--aive-radius-lg);
  position: relative;
  overflow: hidden;
}
.free-explore-v2::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,122,216,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.free-explore-v2-text {
  position: relative; z-index: 1;
}
.free-explore-v2-title {
  font-size: var(--aive-text-body);
  font-weight: 700;
  color: var(--aive-text-primary);
  margin: 0 0 var(--aive-space-1);
}
.free-explore-v2-desc {
  font-size: var(--aive-type-ui);
  color: var(--aive-text-secondary);
  margin: 0;
}
.free-explore-v2 .free-cta {
  position: relative; z-index: 1;
  flex-shrink: 0;
  display: inline-block;
  padding: 10px var(--aive-space-6);
  border-radius: var(--aive-radius-full);
  background: transparent;
  border: 1px solid var(--aive-accent);
  color: var(--aive-accent);
  font-size: var(--aive-type-ui);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--aive-duration-fast);
}
.free-explore-v2 .free-cta:hover { background: var(--aive-accent); color: var(--aive-text-primary); }
@media (max-width: 640px) {
  .free-explore-v2 { flex-direction: column; text-align: center; }
}

/* ── Plan Card v2 Enhancements ───────────────────────────────────────────── */
.plan-card-v2 {
  background: var(--aive-bg-surface);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-md);
  padding: var(--aive-space-7) var(--aive-space-6) var(--aive-space-6);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--aive-duration-normal) ease, transform var(--aive-duration-normal) var(--aive-ease-out), box-shadow var(--aive-duration-normal) ease;
}
.plan-card-v2:hover {
  border-color: var(--aive-border-active);
  transform: translateY(-4px);
  box-shadow: var(--aive-shadow-depth);
}
/* Tier top border colors */
.plan-card-v2[data-tier="edit"]    { border-top: 3px solid var(--aive-success); }
.plan-card-v2[data-tier="creator"] { border-top: 3px solid var(--aive-accent); }
.plan-card-v2[data-tier="pro"]     { border-top: 3px solid var(--aive-ai-purple); }
.plan-card-v2[data-tier="studio"]  { border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--aive-ai-purple), var(--aive-ai-mag)) 1; border-image-slice: 1; border-top-width: 3px; }

/* Highlight (Pro) card */
.plan-card-v2.highlight {
  border-color: var(--aive-accent);
  background: linear-gradient(160deg, rgba(107,160,224,0.07) 0%, var(--aive-bg-surface) 100%);
  box-shadow: 0 0 0 1px var(--aive-accent), 0 20px 40px -10px rgba(107,160,224,0.12);
  transform: scale(1.02);
}
.plan-card-v2.highlight:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 0 0 1px var(--aive-accent), 0 24px 48px -10px rgba(107,160,224,0.18);
}

/* Recommended card pulse (from quiz) */
.plan-card-v2.quiz-recommended {
  animation: recommend-pulse 1.5s ease-in-out 3;
}
@keyframes recommend-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(107,160,224,0); }
  50%      { box-shadow: 0 0 0 10px rgba(107,160,224,0.12); }
}

.plan-card-v2 .plan-highlight-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--aive-accent);
  color: var(--aive-text-primary);
  font-size: var(--aive-text-overline);
  font-weight: 700;
  padding: var(--aive-space-1) var(--aive-space-4);
  border-radius: var(--aive-radius-xl);
  white-space: nowrap;
  letter-spacing: 0.04em;
  animation: badge-pulse 3s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(107,160,224,0); }
  50%      { box-shadow: 0 0 0 6px rgba(107,160,224,0.15); }
}

.plan-card-v2 .plan-social-proof {
  font-size: var(--aive-text-caption);
  color: var(--aive-accent);
  font-weight: 500;
  margin-top: -4px;
  margin-bottom: var(--aive-space-2);
  letter-spacing: 0.02em;
}

/* Feature groups inside plan card */
.plan-feature-group { margin-bottom: 14px; }
.plan-feature-group:last-child { margin-bottom: 0; }
.plan-feature-group-label {
  font-size: var(--aive-type-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aive-text-disabled);
  display: flex;
  align-items: center;
  gap: var(--aive-space-1);
  margin-bottom: 6px;
  padding-bottom: var(--aive-space-1);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.plan-feature-group-label svg {
  width: 11px; height: 11px;
  stroke: var(--aive-text-disabled);
  flex-shrink: 0;
}
.plan-feature-group .plan-features {
  list-style: none; padding: 0; margin: 0;
}
.plan-feature-group .plan-features li {
  font-size: var(--aive-type-ui);
  color: var(--aive-text-secondary);
  padding: var(--aive-space-quarter, 3px) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--aive-space-2);
  line-height: 1.45;
}
.plan-feature-group .plan-features li::before {
  content: '';
  flex-shrink: 0;
  width: 14px; height: 14px;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237dc998' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ── Build Your Plan Section ─────────────────────────────────────────────── */
.build-plan-section {
  position: relative;
  padding: var(--aive-space-13) 0 var(--aive-space-12);
  background: var(--aive-bg-surface);
  border-top: 1px solid var(--aive-border-default);
  border-bottom: 1px solid var(--aive-border-default);
  overflow: hidden;
}
.build-plan-section::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(176,122,216,0.06) 0%, rgba(107,160,224,0.03) 50%, transparent 70%);
  pointer-events: none;
  animation: gradient-shift 12s ease-in-out infinite alternate;
}
.build-plan-section .hero-eyebrow {
  font-size: var(--aive-type-ui); font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--aive-ai-purple);
  margin: 0 0 var(--aive-space-4);
}
.build-plan-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 var(--aive-space-2);
}
.build-plan-section .section-sub {
  color: var(--aive-text-secondary);
  font-size: var(--aive-text-body);
  margin: 0;
}
.build-plan-advanced-toggle {
  margin-top: var(--aive-space-4);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-md);
  overflow: hidden;
}
.build-plan-advanced-toggle summary {
  padding: var(--aive-space-4) var(--aive-space-5);
  font-size: var(--aive-type-ui);
  font-weight: 600;
  color: var(--aive-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}
.build-plan-advanced-toggle summary::-webkit-details-marker { display: none; }
.build-plan-advanced-toggle summary::after {
  content: '';
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236ba0e0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
  transition: transform var(--aive-duration-normal) ease;
}
.build-plan-advanced-toggle[open] summary::after { transform: rotate(180deg); }
.build-plan-advanced-toggle .adv-body {
  padding: 0 var(--aive-space-5) var(--aive-space-5);
  display: flex;
  flex-direction: column;
  gap: var(--aive-space-4);
}
.build-plan-full-link {
  text-align: center;
  margin-top: var(--aive-space-7);
  font-size: var(--aive-type-ui);
}
.build-plan-full-link a {
  color: var(--aive-accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--aive-space-2);
  transition: gap var(--aive-duration-fast) ease;
}
.build-plan-full-link a:hover { gap: var(--aive-space-3); }

/* ── Comparison Accordion ────────────────────────────────────────────────── */
.comparison-section {
  margin-bottom: var(--aive-space-12);
}
.comparison-section h2 {
  font-size: var(--aive-type-stat-info, 26px);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--aive-space-7);
}
.comparison-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--aive-space-2);
}
.comparison-group {
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-md);
  overflow: hidden;
  transition: border-color var(--aive-duration-normal);
}
.comparison-group[open] {
  border-color: var(--aive-border-strong);
}
.comparison-group-header {
  display: flex;
  align-items: center;
  gap: var(--aive-space-3);
  padding: var(--aive-space-4) var(--aive-space-6);
  background: var(--aive-bg-surface);
  font-size: var(--aive-text-body-sm);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--aive-text-primary);
  transition: background var(--aive-duration-fast);
}
.comparison-group-header::-webkit-details-marker { display: none; }
.comparison-group-header:hover { background: var(--aive-bg-tertiary); }
.comparison-group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: var(--aive-radius-sm);
  background: var(--aive-accent-muted);
  flex-shrink: 0;
}
.comparison-group-icon svg { width: 14px; height: 14px; stroke: var(--aive-accent); }
.comparison-group-count {
  margin-left: auto;
  font-size: var(--aive-text-overline);
  font-weight: 500;
  color: var(--aive-text-disabled);
  padding: var(--aive-space-half) var(--aive-space-3);
  background: rgba(255,255,255,0.04);
  border-radius: var(--aive-radius-xl);
}
.comparison-group-header::after {
  content: '';
  width: 16px; height: 16px; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236ba0e0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
  transition: transform var(--aive-duration-normal) ease;
}
.comparison-group[open] .comparison-group-header::after { transform: rotate(180deg); }

.comparison-group-body { padding: 0; }
.comparison-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--aive-type-ui);
}
.comparison-mini-table th {
  padding: var(--aive-space-3) var(--aive-space-4);
  background: rgba(107,160,224,0.04);
  font-weight: 600;
  font-size: var(--aive-text-overline);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--aive-text-secondary);
  text-align: center;
  border-bottom: 1px solid var(--aive-border-default);
}
.comparison-mini-table th:first-child { text-align: left; }
.comparison-mini-table td {
  padding: var(--aive-space-3) var(--aive-space-4);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--aive-text-secondary);
  text-align: center;
  vertical-align: middle;
}
.comparison-mini-table td:first-child {
  text-align: left;
  color: var(--aive-text-primary);
  font-weight: 500;
}
.comparison-mini-table tr:last-child td { border-bottom: none; }
.comparison-mini-table .cmp-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--aive-success-muted);
}
.comparison-mini-table .cmp-check svg { width: 12px; height: 12px; stroke: var(--aive-success); }
.comparison-mini-table .cmp-cross {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(220,122,109,0.1);
}
.comparison-mini-table .cmp-cross svg { width: 10px; height: 10px; stroke: var(--aive-error); }
@media (max-width: 640px) {
  .comparison-group-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comparison-mini-table { min-width: 500px; }
  .comparison-mini-table td:first-child,
  .comparison-mini-table th:first-child {
    position: sticky; left: 0; z-index: var(--aive-z-base);
    background: var(--aive-bg-surface);
  }
}

/* ── FAQ v2 — Card style ─────────────────────────────────────────────────── */
.faq-section-v2 {
  max-width: 720px;
  margin: 0 auto var(--aive-space-12);
}
.faq-section-v2 h2 {
  font-size: var(--aive-type-stat-info, 26px);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--aive-space-7);
}
.faq-category-label {
  font-size: var(--aive-text-caption);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aive-ai-purple);
  margin: var(--aive-space-6) 0 var(--aive-space-3);
}
.faq-category-label:first-child { margin-top: 0; }
.faq-item-v2 {
  background: var(--aive-bg-surface);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-md);
  margin-bottom: var(--aive-space-2);
  transition: border-color var(--aive-duration-normal);
}
.faq-item-v2[open] {
  border-color: var(--aive-border-active);
}
.faq-item-v2 summary {
  list-style: none;
  padding: 18px var(--aive-space-6);
  font-size: var(--aive-text-body);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--aive-text-primary);
}
.faq-item-v2 summary::-webkit-details-marker { display: none; }
.faq-item-v2 summary::after {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236ba0e0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
  transition: transform var(--aive-duration-normal) ease;
}
.faq-item-v2[open] summary::after { transform: rotate(180deg); }
.faq-item-v2 .faq-body {
  padding: 0 var(--aive-space-6) var(--aive-space-5);
  font-size: var(--aive-text-body-sm);
  color: var(--aive-text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--aive-border-default);
  margin-top: -2px;
  padding-top: var(--aive-space-4);
}

/* ── Sticky Bottom CTA ───────────────────────────────────────────────────── */
.pricing-sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--aive-glass-bg);
  backdrop-filter: blur(var(--aive-blur-md));
  -webkit-backdrop-filter: blur(var(--aive-blur-md));
  border-top: 1px solid var(--aive-border-default);
  padding: var(--aive-space-3) var(--aive-space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--aive-space-5);
  z-index: var(--aive-z-toast);
  transform: translateY(100%);
  transition: transform var(--aive-duration-slow) var(--aive-ease-out);
}
.pricing-sticky-cta.visible {
  transform: translateY(0);
}
.pricing-sticky-cta-text {
  font-size: var(--aive-text-body-sm);
  font-weight: 600;
  color: var(--aive-text-primary);
}
.pricing-sticky-cta-text .sticky-price {
  color: var(--aive-accent);
  font-weight: 800;
}
.pricing-sticky-cta-btn {
  padding: var(--aive-space-2) var(--aive-space-6);
  border-radius: var(--aive-radius-full);
  background: var(--aive-accent);
  color: var(--aive-text-primary);
  font-size: var(--aive-type-ui);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: filter var(--aive-duration-fast);
  text-decoration: none;
}
.pricing-sticky-cta-btn:hover { filter: brightness(1.1); color: var(--aive-text-primary); }
@media (max-width: 640px) {
  .pricing-sticky-cta { gap: var(--aive-space-3); padding: 10px var(--aive-space-4); }
  .pricing-sticky-cta-text { font-size: var(--aive-text-caption); }
  .pricing-sticky-cta-btn { padding: 6px var(--aive-space-4); font-size: var(--aive-text-caption); }
}

/* ── Pricing Testimonials ────────────────────────────────────────────────── */
.pricing-testimonials {
  padding: var(--aive-space-12) 0;
  text-align: center;
}
.pricing-testimonials h2 {
  font-size: var(--aive-type-stat-info, 26px);
  font-weight: 700;
  margin-bottom: var(--aive-space-3);
}
.pricing-testimonials .section-sub {
  color: var(--aive-text-secondary);
  font-size: var(--aive-text-body);
  margin: 0 0 var(--aive-space-9);
}

/* ── Scroll Progress (pricing page) ──────────────────────────────────────── */
.pricing-scroll-progress {
  position: fixed; top: 0; left: 0; z-index: var(--aive-z-nav);
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--aive-ai-purple), var(--aive-ai-mag), var(--aive-accent));
  transition: width var(--aive-duration-fast) linear;
  pointer-events: none;
}

/* ── COMPONENT PATTERNS ─────────────────────────────────────────────── */

/* Skeleton loading shimmer */
.aive-skeleton {
  background: var(--aive-bg-tertiary);
  background-image: linear-gradient(90deg, var(--aive-bg-tertiary) 0%, var(--aive-bg-elevated) 50%, var(--aive-bg-tertiary) 100%);
  background-size: 200% 100%;
  animation: aive-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--aive-radius-sm);
}
@keyframes aive-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Toast notifications */
.aive-toast {
  position: fixed; bottom: var(--aive-space-6); left: 50%; transform: translateX(-50%);
  background: var(--aive-bg-secondary); color: var(--aive-text-primary);
  padding: var(--aive-space-3) var(--aive-space-5);
  border-radius: var(--aive-radius-sm); border: 1px solid var(--aive-border-default);
  font-size: var(--aive-text-body-sm); z-index: var(--aive-z-toast);
  box-shadow: var(--aive-shadow-lg);
  pointer-events: none; opacity: 1;
  transition: opacity var(--aive-duration-slow), transform var(--aive-duration-slow) var(--aive-ease-out);
}
.aive-toast.fade-out { opacity: 0; transform: translateX(-50%) translateY(8px); }

/* Empty states */
.aive-empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--aive-space-12) var(--aive-space-6);
  text-align: center;
}
.aive-empty-state svg { width: 48px; height: 48px; color: var(--aive-text-disabled); margin-bottom: var(--aive-space-4); }
.aive-empty-state h3 { font-size: var(--aive-text-h4); font-weight: 600; margin: 0 0 var(--aive-space-2); }
.aive-empty-state p { font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary); margin: 0 0 var(--aive-space-6); max-width: 320px; }

/* Tooltips */
.aive-tooltip {
  position: absolute; z-index: var(--aive-z-popover);
  background: var(--aive-bg-tertiary); color: var(--aive-text-primary);
  font-size: var(--aive-text-caption); line-height: 1.4;
  padding: var(--aive-space-2) var(--aive-space-3);
  border-radius: var(--aive-radius-sm); max-width: 240px;
  box-shadow: var(--aive-shadow-md);
  pointer-events: none; opacity: 0; transform: translateY(4px);
  transition: opacity var(--aive-duration-fast), transform var(--aive-duration-fast) var(--aive-ease-out);
}
.aive-tooltip.visible { opacity: 1; transform: translateY(0); }

/* Modal / Overlay */
.aive-backdrop {
  position: fixed; inset: 0; z-index: var(--aive-z-overlay);
  background: rgba(0,0,0, var(--aive-overlay-opacity));
  opacity: 0; transition: opacity var(--aive-duration-normal);
}
.aive-backdrop.visible { opacity: 1; }
.aive-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95);
  z-index: var(--aive-z-modal);
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-lg); padding: var(--aive-space-7);
  max-width: 480px; width: calc(100% - var(--aive-space-8));
  box-shadow: var(--aive-shadow-xl);
  opacity: 0; transition: opacity var(--aive-duration-normal), transform var(--aive-duration-normal) var(--aive-ease-out);
}
.aive-modal.visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Button loading state */
.btn-loading {
  position: relative; color: transparent; pointer-events: none;
}
.btn-loading > * { visibility: hidden; }
.btn-loading::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border: 2px solid var(--aive-border-default); border-top-color: var(--aive-text-primary);
  border-radius: 50%; animation: aive-spin 0.6s linear infinite;
}
@keyframes aive-spin {
  to { transform: rotate(360deg); }
}

/* Overflow wrap for text containers */
.container, article, .blog-post-body, .doc-content {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* ── Utility classes ────────────────────────────────────────────────── */
.hidden { display: none; }
.text-center { text-align: center; }
.ml-2 { margin-left: var(--aive-space-2); }
.container--above { position: relative; z-index: 1; }
.input-disabled { opacity: 0.6; }
.nav-toast-fade { opacity: 0; }

/* Force-password-change title */
.force-pw-title {
  font-size: var(--aive-text-h3); font-weight: 800; text-align: center; margin: 0 0 var(--aive-space-2);
}
/* Password-strength bars (new-pw) */
.login-npw-strength { margin-top: var(--aive-space-1); }
.login-npw-bars { display: flex; gap: var(--aive-space-1); margin-bottom: var(--aive-space-1); }
.login-npw-bar {
  flex: 1; height: 3px; background: var(--aive-border-default); border-radius: var(--aive-radius-xs);
}
.login-npw-label { font-size: var(--aive-text-overline); }
/* Force-password message */
.force-pw-msg { font-size: var(--aive-text-body-sm); text-align: center; margin-top: var(--aive-space-3); }
/* Employee notice at login footer */
.login-employee-notice {
  text-align: center; margin-top: var(--aive-space-4); padding-top: var(--aive-space-4);
  border-top: 1px solid var(--aive-border-default);
}
.login-employee-notice p { font-size: var(--aive-text-caption); color: var(--aive-text-secondary); }
/* Sign-in link on reset-password */
.reset-btn--block { display: block; text-align: center; text-decoration: none; }
/* Blog content section */
.blog-content-section {
  background: var(--aive-bg-surface);
  border-top: 1px solid var(--aive-border-default);
}
/* Project thumbnail image */
.project-thumb-img { width: 100%; height: 100%; object-fit: cover; }
/* Breadcrumb bar (editor) */
.editor-breadcrumb {
  padding: var(--aive-space-2) var(--aive-space-6); font-size: var(--aive-text-caption); color: var(--aive-text-secondary);
}
.editor-breadcrumb a { color: var(--aive-text-secondary); text-decoration: none; transition: color var(--aive-duration-normal); }
.editor-breadcrumb a:hover { color: var(--aive-text-primary); }
.editor-breadcrumb .bc-current { color: var(--aive-text-primary); }
.editor-breadcrumb .bc-sep { margin: 0 var(--aive-space-1); }
/* Dashboard quick-stats grid */
.dash-quick-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--aive-space-3); margin-bottom: var(--aive-space-4);
}
.dash-stat-card {
  text-align: center; padding: var(--aive-space-3);
  background: var(--aive-bg-tertiary); border-radius: var(--aive-radius-sm);
  border: 1px solid transparent;
  transition: border-color var(--aive-duration-normal);
}
.dash-stat-card:hover { border-color: var(--aive-border-default); }
.dash-stat-value { font-size: var(--aive-text-h4); font-weight: 800; }
.dash-stat-value--accent { color: var(--aive-accent); }
.dash-stat-value--warning { color: var(--aive-warning); }
.dash-stat-value--success { color: var(--aive-success); }
.dash-stat-label { font-size: var(--aive-text-overline); color: var(--aive-text-secondary); }
/* Dashboard announcements */
.dash-announcements { margin-top: var(--aive-space-2); }
.dash-announcements-title {
  font-size: var(--aive-text-overline); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--aive-text-secondary); margin-bottom: var(--aive-space-2);
}
.dash-announcement-item {
  padding: var(--aive-space-2) var(--aive-space-3); background: var(--aive-bg-tertiary);
  border-radius: var(--aive-radius-xs); margin-bottom: var(--aive-space-1); font-size: var(--aive-text-caption);
}
/* Account work-info section */
.account-work-info {
  margin-top: var(--aive-space-6); padding-top: var(--aive-space-6);
  border-top: 1px solid var(--aive-border-default);
}
.account-work-info h3 { font-size: var(--aive-text-body-sm); font-weight: 700; margin-bottom: var(--aive-space-4); }
/* Checkout AI section header */
.checkout-ai-header {
  padding: var(--aive-space-5) 0 var(--aive-space-2); font-size: var(--aive-text-body-sm); font-weight: 700;
  color: var(--aive-text-secondary);
}
/* Checkout button states */
.checkout-btn-loading { opacity: 0.6; pointer-events: none; }
.checkout-btn-success { background: var(--aive-success); }
/* Checkout message color states */
.coupon-msg--secondary { color: var(--aive-text-secondary); }
.coupon-msg--success { color: var(--aive-success); }
.coupon-msg--error { color: var(--aive-error); }
/* Checkout price states */
.ci-price--disabled { color: var(--aive-text-disabled); }
.ci-price--enabled { color: var(--aive-text-primary); }
/* Dev-mode badge (editor) */
.dev-mode-badge {
  position: fixed; bottom: 16px; right: 16px;
  background: var(--aive-accent-soft); border: 1px solid var(--aive-border-accent);
  border-radius: var(--aive-radius-xl); padding: var(--aive-space-1) var(--aive-space-3); font-size: var(--aive-text-overline); font-weight: 600;
  color: var(--aive-accent); z-index: var(--aive-z-sticky, 100); display: flex;
  align-items: center; gap: var(--aive-space-1);
}

/* ── Plans CTA strip ────────────────────────────────────────────────── */
.plans-cta-strip { border-top: 1px solid var(--aive-border-default); }
.plans-cta-actions {
  margin-top: var(--aive-space-7); display: flex; justify-content: center;
  gap: var(--aive-space-3); flex-wrap: wrap;
}
.plans-cta-actions .btn-cta-primary {
  display: inline-block; padding: var(--aive-space-4) var(--aive-space-7); border-radius: var(--aive-radius-md);
  background: var(--aive-accent); color: var(--aive-bg-primary);
  font-size: var(--aive-text-body); font-weight: 700; text-decoration: none; transition: background var(--aive-duration-fast), opacity var(--aive-duration-fast);
  min-height: 44px;
}
.plans-cta-actions .btn-cta-primary:hover { background: var(--aive-accent-hover); }
.plans-cta-actions .btn-cta-primary:disabled, .plans-cta-actions .btn-cta-primary[disabled] { opacity: 0.5; cursor: not-allowed; }
.plans-cta-actions .btn-cta-secondary {
  display: inline-block; padding: var(--aive-space-4) var(--aive-space-7); border-radius: var(--aive-radius-md);
  background: transparent; border: 1px solid var(--aive-border-default);
  color: var(--aive-text-secondary); font-size: var(--aive-text-body); font-weight: 600;
  text-decoration: none; transition: all var(--aive-duration-normal); min-height: 44px;
}
.plans-cta-actions .btn-cta-secondary:hover { border-color: var(--aive-text-secondary); color: var(--aive-text-primary); }
.plans-cta-actions .btn-cta-secondary:disabled, .plans-cta-actions .btn-cta-secondary[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ── Copilot heading overrides ──────────────────────────────────────── */
.copilot-section .copilot-heading {
  font-size: var(--aive-text-h2); font-weight: 800;
  letter-spacing: -0.03em; margin: 0 0 var(--aive-space-4);
}
.copilot-section .section-sub--spaced { margin-bottom: var(--aive-space-9); }

/* ── Legal card (privacy / terms) ───────────────────────────────────── */
.legal-card {
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-lg); padding: var(--aive-space-7); margin-bottom: var(--aive-space-5);
  transition: border-color var(--aive-duration-normal);
}
.legal-card:hover { border-color: var(--aive-border-strong); }
.legal-card__title {
  font-size: var(--aive-text-body-lg); font-weight: 700; margin: 0 0 var(--aive-space-3);
}
.legal-card__body {
  font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary);
  line-height: 1.8; margin: 0;
}
.legal-card__list {
  font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary);
  line-height: 2; padding-left: var(--aive-space-6); margin: 0 0 var(--aive-space-3);
}
.legal-card__list strong { color: var(--aive-text-primary); }
.legal-card a { color: var(--aive-accent); text-decoration: none; }

/* ── Forgot password link ───────────────────────────────────────────── */
.forgot-password-wrap { text-align: center; margin-top: var(--aive-space-3); }
.forgot-password-link {
  font-size: var(--aive-text-caption); color: var(--aive-accent);
  text-decoration: none;
}

/* ── Trademark footnote ─────────────────────────────────────────────── */
.trademark-footnote {
  font-size: var(--aive-text-overline); color: var(--aive-text-tertiary);
  text-align: center; margin-top: var(--aive-space-6);
}
.trademark-footnote a {
  color: var(--aive-text-tertiary); text-decoration: underline;
}

/* ── Visual mockup inline-style extractions ─────────────────────────── */
.mockup-ai-cta {
  margin-top: var(--aive-space-6); padding: var(--aive-space-3) var(--aive-space-4); border-radius: var(--aive-radius-sm);
  background: rgba(176,122,216,0.12); color: var(--aive-ai-purple);
  font-size: var(--aive-text-overline); font-weight: 600;
}
.mockup-apply-cta {
  margin-top: var(--aive-space-3); padding: var(--aive-space-3) var(--aive-space-4); border-radius: var(--aive-radius-sm);
  background: var(--aive-accent-soft); color: var(--aive-accent);
  font-size: var(--aive-text-overline); font-weight: 600; text-align: center;
}
.mockup-section-label {
  font-size: var(--aive-text-caption); color: var(--aive-text-secondary);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: var(--aive-space-3);
}
.mockup-ai-confidence {
  margin-top: var(--aive-space-4); font-size: var(--aive-text-overline);
  color: var(--aive-ai-purple); font-weight: 600;
}
.mockup-sync-title {
  font-size: var(--aive-text-body-sm); color: var(--aive-text-primary); font-weight: 600;
  margin-bottom: var(--aive-space-2);
}
.mockup-sync-sub {
  font-size: var(--aive-text-overline); color: var(--aive-text-secondary);
}
.mockup-ghost-hint {
  font-size: var(--aive-text-overline); color: var(--aive-ai-purple); font-weight: 600;
}
.mockup-pacing-hint {
  margin-top: var(--aive-space-3); font-size: var(--aive-text-overline);
  color: var(--aive-accent); font-weight: 600;
}
.mockup-readiness-result {
  margin-top: var(--aive-space-3); padding: var(--aive-space-2) var(--aive-space-3); border-radius: var(--aive-radius-sm);
  background: rgba(125,201,152,0.12); color: var(--aive-success);
  font-size: var(--aive-text-overline); font-weight: 600; text-align: center;
}
.mockup-readiness-label {
  font-size: var(--aive-text-tag); color: var(--aive-success);
  text-transform: uppercase; margin-bottom: var(--aive-space-3);
}
.mockup-speed-label {
  font-size: var(--aive-text-tag); color: var(--aive-text-secondary);
  margin-top: var(--aive-space-2);
}
.mockup-scene-hint {
  font-size: var(--aive-text-tag); color: var(--aive-ai-purple); font-weight: 600;
}
.mockup-style-label {
  font-size: var(--aive-text-tag); color: var(--aive-accent);
  text-transform: uppercase; margin-bottom: var(--aive-space-2);
}
.mockup-dna-label {
  font-size: var(--aive-text-tag); color: var(--aive-ai-purple);
  text-transform: uppercase; margin-bottom: var(--aive-space-3);
}
.mockup-track-label {
  margin-top: var(--aive-space-3); font-size: var(--aive-text-tag);
  color: var(--aive-text-secondary);
}

/* ── Account page helpers ───────────────────────────────────────────── */
.account-nav-item--danger { color: var(--aive-error); }
.account-signout-wrap {
  margin-top: auto; padding: var(--aive-space-4) var(--aive-space-5);
  border-top: 1px solid var(--aive-border-default);
}
.account-signout-btn {
  width: 100%; padding: var(--aive-space-3); font-size: var(--aive-text-caption); font-weight: 600;
  background: transparent; border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm); color: var(--aive-text-secondary);
  cursor: pointer; transition: all var(--aive-duration-fast);
}
.account-signout-btn:hover { border-color: var(--aive-error); color: var(--aive-error); }
.danger-zone__warning {
  font-size: var(--aive-text-body-sm); color: var(--aive-error); margin: 0 0 var(--aive-space-4);
  line-height: 1.6;
}

/* ── Download page disabled button ──────────────────────────────────── */
.dl-btn--disabled {
  cursor: default; opacity: 0.6;
  background: var(--aive-bg-tertiary); border: 1px solid var(--aive-border-default);
}

/* ── Docs platform pills ────────────────────────────────────────────── */
.platform-pill {
  padding: var(--aive-space-2) var(--aive-space-4); border-radius: var(--aive-radius-xl);
  border: 1px solid var(--aive-border-default); background: transparent;
  color: var(--aive-text-secondary); font-size: var(--aive-text-caption);
  font-weight: 600; cursor: pointer; transition: all var(--aive-duration-normal);
}
.platform-pill:hover:not(.active) { border-color: var(--aive-accent); color: var(--aive-text-primary); }
.platform-pill.active {
  background: var(--aive-accent); color: var(--aive-bg-primary);
}
.platform-pill:disabled, .platform-pill[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ── Docs card color variants ───────────────────────────────────────── */
.docs-card--community {
  border-color: rgba(176,122,216,0.2);
  background: linear-gradient(135deg, rgba(176,122,216,0.04), transparent);
}
.docs-card--getting-started {
  border-color: rgba(125,201,152,0.2);
  background: linear-gradient(135deg, rgba(125,201,152,0.04), transparent);
}

/* ── Nav toast (inline toast from nav-auth.js) ─────────────────────────── */
.nav-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--aive-bg-secondary); color: var(--aive-text-primary);
  padding: var(--aive-space-3) var(--aive-space-5); border-radius: var(--aive-radius-sm);
  font-size: var(--aive-text-body-sm); z-index: var(--aive-z-max);
  box-shadow: var(--aive-shadow-lg);
  pointer-events: none; opacity: 1; transition: opacity var(--aive-duration-slow);
}

/* ── Checkout tier badges ──────────────────────────────────────────────── */
.tier-badge--creator { background: rgba(125,201,152,0.12); color: var(--aive-success); }
.tier-badge--pro     { background: rgba(107,160,224,0.12); color: var(--aive-accent); }
.tier-badge--studio  { background: rgba(176,122,216,0.12); color: var(--aive-ai-purple); }

/* ── Waitlist position display ─────────────────────────────────────────── */
.wl-position-wrap { text-align: center; padding: var(--aive-space-3) 0; }
.wl-position-number { font-size: var(--aive-text-title); font-weight: 700; color: var(--aive-accent); }
.wl-position-text { font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary); margin-top: var(--aive-space-2); }

/* ── Demo: color-match stat bar ────────────────────────────────────────── */
.demo-stat-bar { height: 40px; border-radius: var(--aive-radius-xs); display: flex; align-items: center; padding: 0 var(--aive-space-3); gap: var(--aive-space-2); }
.demo-stat-bar--original { background: var(--aive-border-glass); }
.demo-stat-bar--matched  { background: rgba(125,201,152,0.08); }
.demo-stat-label { font-size: var(--aive-type-xs); font-family: var(--aive-font-mono); }
.demo-stat-label--muted   { color: var(--aive-border-glass-strong); }
.demo-stat-label--success  { color: rgba(125,201,152,0.5); }

/* ── Demo: timeline lanes ──────────────────────────────────────────────── */
.demo-lane { height: 24px; margin-bottom: var(--aive-space-1); border-radius: var(--aive-radius-xs); }
.demo-lane--accent    { background: var(--aive-accent-soft); }
.demo-lane--success   { background: rgba(125,201,152,0.15); }
.demo-lane--ai        { background: rgba(176,122,216,0.2); }
.demo-lane--accent-lt { background: rgba(107,160,224,0.12); }

/* ── Demo: AI highlight overlay ────────────────────────────────────────── */
.demo-ai-highlight {
  background: rgba(176,122,216,0.15); border: 1px solid rgba(176,122,216,0.35);
  border-radius: var(--aive-radius-xs); opacity: 0; transition: opacity var(--aive-duration-slow);
}

/* ── Demo: multicam angle backgrounds ──────────────────────────────────── */
.demo-angle--1 { background: var(--aive-accent-soft); }
.demo-angle--2 { background: rgba(125,201,152,0.12); }
.demo-angle--3 { background: rgba(176,122,216,0.12); }
.demo-angle--4 { background: rgba(223,133,167,0.12); }
.demo-angle-label { font-size: var(--aive-type-xs); font-weight: 600; color: rgba(255,255,255,0.4); }

/* ── Demo: collab clip lanes ───────────────────────────────────────────── */
.demo-clip--accent  { background: rgba(107,160,224,0.25); }
.demo-clip--success { background: rgba(125,201,152,0.15); }

/* ── Demo: comment marker ──────────────────────────────────────────────── */
.demo-comment-marker {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(176,122,216,0.25); border: 1px solid rgba(176,122,216,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--aive-type-micro, 7px); font-weight: 700; color: var(--aive-ai-purple); cursor: default;
}

/* ── Demo: comment avatar ──────────────────────────────────────────────── */
.demo-comment-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--aive-accent-soft); display: flex; align-items: center; justify-content: center;
  font-size: var(--aive-type-tag); font-weight: 700; color: var(--aive-accent);
}

/* ── Demo: approved badge ──────────────────────────────────────────────── */
.demo-approved-badge {
  display: inline-block; margin-top: var(--aive-space-2); padding: var(--aive-space-half) var(--aive-space-2);
  font-size: var(--aive-type-xs); font-weight: 700; border-radius: var(--aive-radius-full);
  background: rgba(125,201,152,0.12); color: var(--aive-success);
  text-transform: uppercase; letter-spacing: 0.5px;
}

/* ── Loading States ──────────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--aive-bg-tertiary) 25%, var(--aive-bg-secondary) 50%, var(--aive-bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--aive-radius-sm);
}
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-text { height: 16px; margin-bottom: var(--aive-space-2); }
.skeleton-text--short { width: 60%; }
.skeleton-text--medium { width: 80%; }
.skeleton-heading { height: 28px; width: 50%; margin-bottom: var(--aive-space-4); }
.skeleton-avatar { width: 40px; height: 40px; border-radius: 50%; }
.skeleton-card { height: 120px; margin-bottom: var(--aive-space-4); }
.skeleton-button { width: 120px; height: 40px; border-radius: var(--aive-radius-sm); }

.loading-spinner {
  display: inline-block;
  width: 24px; height: 24px;
  border: 3px solid var(--aive-border-default);
  border-top-color: var(--aive-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loading-spinner--large { width: 48px; height: 48px; border-width: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5);
  z-index: var(--aive-z-dropdown);
}

.fade-in { animation: fadeInContent 0.3s ease-out; }
@keyframes fadeInContent { from { opacity: 0; } to { opacity: 1; } }

/* ══════════════════════════════════════════════════════════════════════════
   EXTRACTED UTILITY CLASSES — inline style extraction 2026-05-30
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Layout utilities ─────────────────────────────────────────────────── */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Flex row with gap and align-items:flex-end (bar-chart containers) */
.mockup-flex-bar {
  display: flex;
  gap: var(--aive-space-1);
  align-items: flex-end;
}
/* Flex row gap-4 with align-items flex-end, fixed height 120px */
.mockup-clips-row {
  display: flex;
  gap: var(--aive-space-1);
  align-items: flex-end;
  height: 120px;
  padding-bottom: var(--aive-space-2);
}
/* Flex row gap-4, border-top separator */
.mockup-audio-row {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--aive-space-2);
  display: flex;
  gap: var(--aive-space-1);
}
/* Flex row: justify-content center, gap 24px, margin-bottom 20px */
.mockup-icons-row {
  display: flex;
  justify-content: center;
  gap: var(--aive-space-6);
  margin-bottom: var(--aive-space-5);
}
/* Same but margin-bottom 24px */
.mockup-icons-row--mb24 {
  display: flex;
  justify-content: center;
  gap: var(--aive-space-6);
  margin-bottom: var(--aive-space-6);
}
/* Flex row gap-8 justify-center */
.mockup-badges-row {
  display: flex;
  gap: var(--aive-space-2);
  justify-content: center;
}
/* Flex row gap-8 margin-top 16px */
.mockup-badges-row--mt16 {
  margin-top: var(--aive-space-4);
  display: flex;
  gap: var(--aive-space-2);
}
/* Flex row gap-4 margin-bottom 12px */
.mockup-clips-ghost {
  display: flex;
  gap: var(--aive-space-1);
  margin-bottom: var(--aive-space-3);
}
/* Flex row: justify-content space-between, font-size 9px, secondary color */
.mockup-timecode-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--aive-type-xs);
  color: var(--aive-text-secondary);
}
/* Grid 2-col utilities */
.mockup-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--aive-space-2);
}
.mockup-grid-2col--gap6 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--aive-space-1);
}
/* Flex mixer (audio faders): align-items flex-end, gap 12px, height 100px, padding-bottom 8px */
.mockup-mixer-row {
  display: flex;
  gap: var(--aive-space-3);
  align-items: flex-end;
  height: 100px;
  padding-bottom: var(--aive-space-2);
}
/* Individual mixer channel */
.mockup-mixer-channel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--aive-space-1);
}
/* Scene detect flex row */
.mockup-scene-row {
  display: flex;
  gap: var(--aive-space-1);
  height: 60px;
  margin-bottom: var(--aive-space-3);
}

/* ── Mockup background gradient classes ──────────────────────────────── */
/* Used on .feature-cinematic__visual-inner elements.
   rgba() values are token-color equivalents with alpha — kept as-is
   since CSS color-mix() is not yet universally supported and these
   are visual mockup decorations, not semantic design tokens. */

/* ai-purple + accent (AI assistant, scene detection variants) */
.mockup-bg--ai {
  background: linear-gradient(135deg, rgba(176,122,216,0.08), rgba(107,160,224,0.04));
}
/* accent + teal */
.mockup-bg--accent-teal {
  background: linear-gradient(135deg, rgba(107,160,224,0.06), rgba(133,187,210,0.04));
}
/* teal + accent */
.mockup-bg--teal-accent {
  background: linear-gradient(135deg, rgba(133,187,210,0.06), rgba(107,160,224,0.04));
}
/* warning/yellow tones (YouTube channel learner) */
.mockup-bg--warning {
  background: linear-gradient(135deg, rgba(226,169,107,0.06), rgba(214,192,113,0.04));
}
/* success + accent (motion templates, export readiness, 4K HDR) */
.mockup-bg--success-accent {
  background: linear-gradient(135deg, rgba(125,201,152,0.04), rgba(107,160,224,0.04));
}
.mockup-bg--success-accent--6 {
  background: linear-gradient(135deg, rgba(125,201,152,0.06), rgba(107,160,224,0.04));
}
/* accent + ai-purple (cross-platform, pacing coach, scene detection) */
.mockup-bg--accent-ai {
  background: linear-gradient(135deg, rgba(107,160,224,0.06), rgba(176,122,216,0.04));
}
/* mag + ai-purple (emotional arc, ghost cursor) */
.mockup-bg--mag {
  background: linear-gradient(135deg, rgba(223,133,167,0.08), rgba(176,122,216,0.04));
}
/* ai-purple + mag (style DNA, ghost cursor reverse) */
.mockup-bg--ai-mag {
  background: linear-gradient(135deg, rgba(176,122,216,0.08), rgba(223,133,167,0.04));
}
/* mag + accent (edit like this) */
.mockup-bg--mag-accent {
  background: linear-gradient(135deg, rgba(223,133,167,0.06), rgba(107,160,224,0.04));
}
/* ai-purple + accent light (scene detection, ai-purple to accent) */
.mockup-bg--ai-accent {
  background: linear-gradient(135deg, rgba(176,122,216,0.06), rgba(107,160,224,0.04));
}
/* ai-purple + mag light (style DNA) */
.mockup-bg--ai-mag-light {
  background: linear-gradient(135deg, rgba(176,122,216,0.06), rgba(223,133,167,0.04));
}
/* accent + teal minimal (speed ramp) */
.mockup-bg--accent-teal-min {
  background: linear-gradient(135deg, rgba(107,160,224,0.04), rgba(133,187,210,0.04));
}
/* multicam: accent + teal */
.mockup-bg--accent-teal-6 {
  background: linear-gradient(135deg, rgba(107,160,224,0.06), rgba(133,187,210,0.04));
}

/* ── Mockup badge color variants ─────────────────────────────────────── */
.mockup-badge--teal {
  background: rgba(133,187,210,0.15);
  color: var(--aive-teal);
}
.mockup-badge--accent {
  background: rgba(107,160,224,0.15);
  color: var(--aive-accent);
}
.mockup-badge--ai {
  background: rgba(176,122,216,0.15);
  color: var(--aive-ai-purple);
}
.mockup-badge--success {
  background: rgba(125,201,152,0.15);
  color: var(--aive-success);
}
.mockup-badge--warning {
  background: rgba(226,169,107,0.15);
  color: var(--aive-warning);
}

/* ── Mockup token-color text helpers ─────────────────────────────────── */
.text-ai-purple { color: var(--aive-ai-purple); }
.text-accent    { color: var(--aive-accent); }
.text-success   { color: var(--aive-success); }
.text-warning   { color: var(--aive-warning); }
.text-error     { color: var(--aive-error); }
.text-teal      { color: var(--aive-teal); }
.text-secondary { color: var(--aive-text-secondary); }

/* ── Mockup min-width label helpers ──────────────────────────────────── */
.mockup-label--w60  { min-width: 60px; }
.mockup-label--w50  { min-width: 50px; }
.mockup-label--w70  { min-width: 70px; font-size: var(--aive-type-tag); }
.mockup-label--xs   { font-size: var(--aive-type-tag); }

/* ── Mockup tile cards (templates, formats) ──────────────────────────── */
.mockup-tile {
  padding: var(--aive-space-4);
  border-radius: var(--aive-radius-sm);
  font-size: var(--aive-type-caption);
}
.mockup-tile-bar {
  margin-top: var(--aive-space-2);
  height: 3px;
  border-radius: var(--aive-radius-xs);
  opacity: 0.4;
}
.mockup-tile-bar--60  { width: 60%; }
.mockup-tile-bar--80  { width: 80%; }
.mockup-tile-bar--45  { width: 45%; }
.mockup-tile-bar--70  { width: 70%; }
.mockup-tile--accent  { background: rgba(107,160,224,0.08); }
.mockup-tile--ai      { background: rgba(176,122,216,0.08); }
.mockup-tile--warning { background: rgba(226,169,107,0.08); }
.mockup-tile--success { background: rgba(125,201,152,0.08); }

/* ── Mockup format tiles (4K HDR export section) ─────────────────────── */
.mockup-format-tile {
  padding: var(--aive-space-3);
  border-radius: var(--aive-radius-sm);
  text-align: center;
}
.mockup-format-title {
  font-size: var(--aive-type-body);
  font-weight: 700;
}
.mockup-format-sub {
  font-size: var(--aive-type-xs);
  color: var(--aive-text-secondary);
}
.mockup-format-tile--accent  { background: rgba(107,160,224,0.08); }
.mockup-format-tile--success { background: rgba(125,201,152,0.08); }
.mockup-format-tile--ai      { background: rgba(176,122,216,0.08); }
.mockup-format-tile--warning { background: rgba(226,169,107,0.08); }

/* ── Mockup CAM grid cells ────────────────────────────────────────────── */
.mockup-cam-cell {
  height: 60px;
  border-radius: var(--aive-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--aive-type-tag);
  font-weight: 700;
}
.mockup-cam-cell--accent  { background: var(--aive-accent);  opacity: 0.15; border: 2px solid var(--aive-accent);  color: var(--aive-accent); }
.mockup-cam-cell--teal    { background: var(--aive-teal);    opacity: 0.1;  color: var(--aive-teal); }
.mockup-cam-cell--success { background: var(--aive-success); opacity: 0.1;  color: var(--aive-success); }
.mockup-cam-cell--warning { background: var(--aive-warning); opacity: 0.1;  color: var(--aive-warning); }

/* ── Mockup clip bar tokens (timeline waveform) ──────────────────────── */
.mockup-clip { height: 24px; border-radius: var(--aive-radius-xs); }
.mockup-clip--success-20  { background: var(--aive-success); opacity: 0.2; }
.mockup-clip--success-30  { background: var(--aive-success); opacity: 0.3; }
.mockup-clip--success-15  { background: var(--aive-success); opacity: 0.15; }

/* ── Mixer fader bars ─────────────────────────────────────────────────── */
.mockup-fader {
  width: 6px;
  border-radius: var(--aive-radius-xs);
  opacity: 0.4;
}
.mockup-fader--success { background: var(--aive-success); }
.mockup-fader--accent  { background: var(--aive-accent);  }
.mockup-fader--teal    { background: var(--aive-teal);    }
.mockup-fader--warning { background: var(--aive-warning); }
.mockup-fader-label    { font-size: var(--aive-type-sub-micro); color: var(--aive-text-secondary); }

/* ── Mockup URL input row ─────────────────────────────────────────────── */
.mockup-url-input {
  padding: var(--aive-space-3) var(--aive-space-4);
  background: var(--aive-bg-primary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
  font-size: var(--aive-type-sm);
  color: var(--aive-text-secondary);
  margin-bottom: var(--aive-space-4);
  display: flex;
  gap: var(--aive-space-2);
  align-items: center;
}

/* ── Playhead progress bar (ghost cursor) ────────────────────────────── */
.mockup-progress-track {
  height: 8px;
  background: var(--aive-bg-primary);
  border-radius: var(--aive-radius-xs);
  margin-bottom: var(--aive-space-4);
  position: relative;
  overflow: hidden;
}
.mockup-progress-fill {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, var(--aive-accent), var(--aive-ai-purple));
  border-radius: var(--aive-radius-xs);
}

/* ── Color wheel circles (AI Color section) ──────────────────────────── */
.mockup-color-circles {
  display: flex;
  justify-content: center;
  gap: var(--aive-space-6);
  margin-bottom: var(--aive-space-5);
}
.mockup-color-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border-width: 2px;
  border-style: solid;
  opacity: 0.6;
}
.mockup-color-circle--error   { border-color: var(--aive-error); }
.mockup-color-circle--success { border-color: var(--aive-success); }
.mockup-color-circle--accent  { border-color: var(--aive-accent); }

/* ── Color spectrum bar ───────────────────────────────────────────────── */
.mockup-spectrum {
  height: 80px;
  background: linear-gradient(90deg,
    var(--aive-error),
    var(--aive-warning),
    var(--aive-yellow),
    var(--aive-success),
    var(--aive-teal),
    var(--aive-accent));
  opacity: 0.3;
  border-radius: var(--aive-radius-sm);
  margin-bottom: var(--aive-space-4);
}

/* ── Pacing heatmap bar ───────────────────────────────────────────────── */
.mockup-pacing-heatmap {
  height: 60px;
  background: linear-gradient(90deg,
    var(--aive-success) 0%,
    var(--aive-success) 30%,
    var(--aive-warning) 45%,
    var(--aive-error)   55%,
    var(--aive-success) 70%,
    var(--aive-success) 100%);
  opacity: 0.3;
  border-radius: var(--aive-radius-sm);
  margin-bottom: var(--aive-space-3);
}

/* ── CTA / waitlist container override ───────────────────────────────── */
.cta-container {
  max-width: 640px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ── Testimonials utility ─────────────────────────────────────────────── */
.section-sub--mb40 { margin-bottom: var(--aive-space-8); }
.testimonials-more-wrap {
  text-align: center;
  margin-top: 32px;
}
.testimonials-loading {
  text-align: center;
  padding: var(--aive-space-8);
  color: var(--aive-text-secondary);
  font-size: var(--aive-type-ui);
}
.testimonials-more-btn {
  display: none; /* toggled to inline-block by JS */
  padding: var(--aive-space-3) var(--aive-space-6);
  border-radius: var(--aive-radius-sm);
  background: var(--aive-bg-secondary);
  border: 1px solid var(--aive-border-default);
  color: var(--aive-text-secondary);
  font-size: var(--aive-type-ui);
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--aive-duration-normal), color var(--aive-duration-normal);
}
.testimonials-more-btn:hover {
  border-color: var(--aive-accent);
  color: var(--aive-accent);
}

/* ── wl-msg status text ───────────────────────────────────────────────── */
.wl-msg {
  margin-top: var(--aive-space-3);
  font-size: var(--aive-type-ui);
  min-height: 20px;
  color: var(--aive-text-secondary);
}

/* Flex-N utilities for mockup clip proportions */
.mockup-flex-2 { flex: 2; }
.mockup-flex-3 { flex: 3; }
.mockup-flex-4 { flex: 4; }

/* visual-mockup-bar color modifiers — eliminates background: inline on bar elements */
.visual-mockup-bar--ai      { background: var(--aive-ai-purple); }
.visual-mockup-bar--accent  { background: var(--aive-accent); }
.visual-mockup-bar--success { background: var(--aive-success); }
.visual-mockup-bar--warning { background: var(--aive-warning); }
.visual-mockup-bar--teal    { background: var(--aive-teal); }

/* SVG icon: no flex shrink */
.mockup-icon-shrink0 { flex-shrink: 0; }

/* tile-bar color shortcuts */
.mockup-tile-bar--accent  { background: var(--aive-accent); }
.mockup-tile-bar--ai      { background: var(--aive-ai-purple); }
.mockup-tile-bar--warning { background: var(--aive-warning); }
.mockup-tile-bar--success { background: var(--aive-success); }

/* ── Mockup bar width utilities (decorative data viz, not dynamic) ──── */
.mockup-bar--w30  { width: 30%; }
.mockup-bar--w40  { width: 40%; }
.mockup-bar--w55  { width: 55%; }
.mockup-bar--w60  { width: 60%; }
.mockup-bar--w65  { width: 65%; }
.mockup-bar--w67  { width: 67%; }
.mockup-bar--w68  { width: 68%; }
.mockup-bar--w70  { width: 70%; }
.mockup-bar--w72  { width: 72%; }
.mockup-bar--w75  { width: 75%; }
.mockup-bar--w78  { width: 78%; }
.mockup-bar--w82  { width: 82%; }
.mockup-bar--w85  { width: 85%; }
.mockup-bar--w91  { width: 91%; }
.mockup-bar--w95  { width: 95%; }

/* ── Timeline clip shapes (mockup decorations) ─────────────────────── */
.mockup-tl-clip {
  border-radius: var(--aive-radius-xs);
}
.mockup-tl-clip--accent-30   { background: var(--aive-accent);  opacity: 0.3; }
.mockup-tl-clip--accent-50   { background: var(--aive-accent);  opacity: 0.5; }
.mockup-tl-clip--accent-40   { background: var(--aive-accent);  opacity: 0.4; }
.mockup-tl-clip--teal-40     { background: var(--aive-teal);    opacity: 0.4; }
.mockup-tl-clip--warning-30  { background: var(--aive-warning); opacity: 0.3; }
.mockup-tl-clip--h80  { height: 80%; }
.mockup-tl-clip--h100 { height: 100%; }
.mockup-tl-clip--h60  { height: 60%; }
.mockup-tl-clip--h90  { height: 90%; }
.mockup-tl-clip--h40  { height: 40%; }
.mockup-flex-1 { flex: 1; }

/* Ghost cursor clips */
.mockup-ghost-clip {
  height: 40px;
  border-radius: var(--aive-radius-xs);
}
.mockup-ghost-clip--accent-20   { background: var(--aive-accent); opacity: 0.2; position: relative; }
.mockup-ghost-clip--accent-30   { background: var(--aive-accent); opacity: 0.3; }
.mockup-ghost-clip--accent-25   { background: var(--aive-accent); opacity: 0.25; }
.mockup-ghost-clip--error-15    { background: var(--aive-error);  opacity: 0.15; border: 1px dashed rgba(220,122,109,0.3); }
.mockup-ghost-cutpoint {
  position: absolute; right: -2px; top: 0; bottom: 0;
  width: 3px; background: var(--aive-ai-purple); border-radius: var(--aive-radius-xs);
}

/* Scene detection clips */
.mockup-scene-clip { border-radius: var(--aive-radius-xs); }
.mockup-scene-clip--accent     { background: var(--aive-accent);  opacity: 0.2;  border-right: 2px solid var(--aive-ai-purple); }
.mockup-scene-clip--teal       { background: var(--aive-teal);    opacity: 0.2;  border-right: 2px solid var(--aive-ai-purple); }
.mockup-scene-clip--accent-15  { background: var(--aive-accent);  opacity: 0.15; border-right: 2px solid var(--aive-ai-purple); }
.mockup-scene-clip--warning    { background: var(--aive-warning); opacity: 0.2; }

/* ── Fader height utilities ─────────────────────────────────────────── */
.mockup-fader--h70 { height: 70px; }
.mockup-fader--h50 { height: 50px; }
.mockup-fader--h30 { height: 30px; }
.mockup-fader--h20 { height: 20px; }

/* ── Testimonial color modifiers ────────────────────────────────────── */
.testimonial-stars--error   { color: var(--aive-error); }
.testimonial-stars--accent  { color: var(--aive-accent); }
.testimonial-stars--teal    { color: var(--aive-teal); }
.testimonial-avatar--error  { border-color: var(--aive-error); }
.testimonial-avatar--accent { border-color: var(--aive-accent); }
.testimonial-avatar--teal   { border-color: var(--aive-teal); }

/* ── FAQ footer link ────────────────────────────────────────────────── */
.faq-more-link {
  text-align: center;
  margin-top: var(--aive-space-6);
}

/* ── WORKSPACE PAGE ──────────────────────────────────────────────────── */
.app-nav-bar {
  display: flex; align-items: center; gap: var(--aive-space-1);
  padding: 0 var(--aive-space-6);
}
.workspace-heading {
  font-size: clamp(28px, 5vw, 42px); font-weight: 800;
  margin-bottom: var(--aive-space-4);
}
.workspace-body {
  font-size: var(--aive-text-body); color: var(--aive-text-secondary);
  margin-bottom: var(--aive-space-7); line-height: 1.6;
}
.workspace-body--tight { margin-bottom: var(--aive-space-3); }
.workspace-sub {
  font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary);
}
.workspace-sub--spaced {
  margin-bottom: var(--aive-space-7); line-height: 1.6;
}
.workspace-actions {
  display: flex; gap: var(--aive-space-3); justify-content: center; flex-wrap: wrap;
}
.workspace-features {
  background: var(--aive-bg-surface);
  border-top: 1px solid var(--aive-border-default);
  padding: 60px var(--aive-space-6);
}
.workspace-features .container {
  max-width: 900px; margin: 0 auto;
}
.workspace-features-heading {
  font-size: var(--aive-text-heading); font-weight: 700; text-align: center;
  margin-bottom: var(--aive-space-8);
}
.workspace-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--aive-space-5);
}
.workspace-feature-card {
  background: var(--aive-bg-secondary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-md);
  padding: var(--aive-space-6);
}
.workspace-feature-icon {
  font-size: var(--aive-text-h4); margin-bottom: var(--aive-space-3);
}
.workspace-feature-card h3 {
  font-size: var(--aive-text-body); font-weight: 700; margin: 0 0 var(--aive-space-2);
}
.workspace-feature-card p {
  font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary);
  margin: 0; line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════════════════
   ACCOUNT PAGE — extracted inline styles
   ══════════════════════════════════════════════════════════════════════════ */

/* Active nav link highlight */
.nav-link--active { color: var(--aive-accent); }

/* Section blocks with top spacing */
.account-section-block { margin-top: var(--aive-space-8); }
.account-section-block--lg { margin-bottom: var(--aive-space-7); }

/* Sub-section titles */
.account-subtitle {
  font-size: var(--aive-text-body);
  font-weight: 700;
  margin-bottom: var(--aive-space-1);
}

/* Sub-section description */
.account-subtitle-desc {
  font-size: var(--aive-text-body-sm);
  color: var(--aive-text-secondary);
  margin-bottom: var(--aive-space-4);
}

/* Skeleton placeholder sizes */
.skeleton--lg { height: 200px; border-radius: var(--aive-radius-sm); }
.skeleton--md { height: 150px; border-radius: var(--aive-radius-sm); }
.skeleton--sm { height: 120px; border-radius: var(--aive-radius-sm); }

/* Card container */
.account-card {
  padding: var(--aive-space-4) var(--aive-space-5);
  background: var(--aive-bg-tertiary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
}

/* Status row: flex space-between */
.account-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Status label */
.account-status-label {
  font-size: var(--aive-text-body-sm);
  font-weight: 600;
}

/* Status sublabel */
.account-status-sublabel {
  font-size: var(--aive-text-caption);
  color: var(--aive-text-secondary);
}

/* MFA setup panel */
.account-mfa-setup {
  margin-top: var(--aive-space-4);
  padding: var(--aive-space-5);
  background: var(--aive-bg-tertiary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
}

/* MFA QR container */
.account-mfa-qr {
  background: var(--aive-bg-qr);
  padding: var(--aive-space-4);
  border-radius: var(--aive-radius-sm);
  display: inline-block;
  margin-bottom: var(--aive-space-4);
}

/* MFA code input */
.account-mfa-input {
  width: 140px;
  padding: var(--aive-space-3) var(--aive-space-4);
  background: var(--aive-bg-primary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
  color: var(--aive-text-primary);
  font-size: var(--aive-text-body);
  letter-spacing: 0.2em;
  text-align: center;
}

/* Compact button */
.btn-compact {
  padding: var(--aive-space-2) var(--aive-space-5);
  font-size: var(--aive-text-body-sm);
}
.btn-compact:hover {
  opacity: 0.85;
}
.btn-compact:disabled, .btn-compact[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Action button */
.btn-action {
  padding: var(--aive-space-3) var(--aive-space-6);
  font-size: var(--aive-text-body-sm);
}
.btn-action:hover {
  opacity: 0.85;
}
.btn-action:disabled, .btn-action[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Inline feedback message */
.account-feedback-msg {
  font-size: var(--aive-text-caption);
  margin-top: var(--aive-space-2);
}

/* Hint text */
.account-hint {
  font-size: var(--aive-text-body-sm);
  margin-bottom: var(--aive-space-3);
}

/* Loading text */
.account-loading-text {
  color: var(--aive-text-secondary);
  font-size: var(--aive-text-body-sm);
}

/* Muted text */
.account-muted-text {
  font-size: var(--aive-text-body-sm);
  color: var(--aive-text-secondary);
}

/* Action row */
.account-action-row {
  display: flex;
  gap: var(--aive-space-2);
  flex-wrap: wrap;
}

/* Team header */
.account-team-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--aive-space-6);
}
.account-team-header__info { font-size: var(--aive-text-body-sm); }

/* Section title row */
.account-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--aive-space-1);
}

/* Ghost button */
.btn-ghost {
  padding: var(--aive-space-2) var(--aive-space-4);
  font-size: var(--aive-text-caption);
  background: none;
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-xs);
  color: var(--aive-text-secondary);
  cursor: pointer;
  transition: border-color var(--aive-duration-normal), color var(--aive-duration-normal);
}
.btn-ghost:hover {
  border-color: var(--aive-border-strong);
  color: var(--aive-text-primary);
}
.btn-ghost:disabled, .btn-ghost[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Empty state */
.account-empty-state {
  text-align: center;
  padding: var(--aive-space-7);
  color: var(--aive-text-secondary);
  font-size: var(--aive-text-body-sm);
}

/* Usage section */
.account-usage-section { margin-top: var(--aive-space-7); }

/* Flex column */
.account-flex-col {
  display: flex;
  flex-direction: column;
  gap: var(--aive-space-4);
}

/* Flex row with gap */
.account-flex-gap {
  display: flex;
  gap: var(--aive-space-3);
}

/* Modal overlay */
.account-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, var(--aive-overlay-opacity));
  z-index: var(--aive-z-modal);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--aive-duration-normal) var(--aive-ease-default);
}
.account-modal-overlay.visible { opacity: 1; }

/* Modal dialog */
.account-modal {
  background: var(--aive-bg-secondary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-md);
  padding: var(--aive-space-7);
  max-width: 400px;
  width: 90%;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity var(--aive-duration-normal) var(--aive-ease-out), transform var(--aive-duration-normal) var(--aive-ease-out);
}
.account-modal.visible { opacity: 1; transform: scale(1); }

/* Modal title */
.account-modal__title {
  font-size: var(--aive-text-body-lg);
  font-weight: 700;
  margin-bottom: var(--aive-space-4);
}

/* Form label */
.account-form-label {
  font-size: var(--aive-text-caption);
  font-weight: 600;
  display: block;
  margin-bottom: var(--aive-space-2);
}

/* Modal input */
.account-modal-input {
  width: 100%;
  padding: var(--aive-space-3) var(--aive-space-4);
  background: var(--aive-bg-primary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
  color: var(--aive-text-primary);
  font-size: var(--aive-text-body-sm);
  box-sizing: border-box;
  margin-bottom: var(--aive-space-4);
  transition: border-color var(--aive-duration-fast);
}
.account-modal-input:focus { border-color: var(--aive-accent); }

/* Modal select */
.account-modal-select {
  width: 100%;
  padding: var(--aive-space-3) var(--aive-space-4);
  background: var(--aive-bg-primary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
  color: var(--aive-text-primary);
  font-size: var(--aive-text-body-sm);
  margin-bottom: var(--aive-space-5);
  transition: border-color var(--aive-duration-fast);
}
.account-modal-select:focus { border-color: var(--aive-accent); }

/* Notification item */
.account-notif-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--aive-space-3) var(--aive-space-4);
  background: var(--aive-bg-tertiary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
  cursor: pointer;
}

/* Notification title */
.account-notif-title {
  font-size: var(--aive-text-body-sm);
  font-weight: 600;
}

/* Notification description */
.account-notif-desc {
  font-size: var(--aive-text-overline);
  color: var(--aive-text-secondary);
}

/* Always-on badge */
.account-notif-badge {
  font-size: var(--aive-text-overline);
  color: var(--aive-success);
  font-weight: 600;
}

/* Checkbox */
.account-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--aive-accent);
}

/* Link button */
.btn-link-primary { text-decoration: none; color: var(--aive-accent); transition: color var(--aive-duration-normal); cursor: pointer; background: none; border: none; font-size: inherit; }
.btn-link-primary:hover { color: var(--aive-accent-hover); text-decoration: underline; }
.btn-link-primary:disabled, .btn-link-primary[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Spacing utilities */
.mt-4 { margin-top: var(--aive-space-4); }
.mb-4 { margin-bottom: var(--aive-space-4); }

/* Data table (JS-rendered) */
.account-data-table {
  width: 100%;
  font-size: var(--aive-text-body-sm);
  border-collapse: collapse;
}
.account-data-table th {
  text-align: left;
  padding: var(--aive-space-2) var(--aive-space-3);
  border-bottom: 1px solid var(--aive-border-default);
  color: var(--aive-text-secondary);
  font-size: var(--aive-text-overline);
  text-transform: uppercase;
}
.account-data-table td {
  padding: var(--aive-space-2) var(--aive-space-3);
  border-bottom: 1px solid var(--aive-border-default);
}
.account-data-table .align-right { text-align: right; }
.account-data-table .cell-subtle { border-bottom-color: var(--aive-border-soft); }
.account-data-table .cell-name { font-weight: 600; }
.account-data-table .cell-email {
  font-size: var(--aive-text-overline);
  color: var(--aive-text-secondary);
}
.account-data-table .cell-cap { text-transform: capitalize; }

/* Session card (JS-rendered) */
.account-session-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--aive-space-3) var(--aive-space-4);
  background: var(--aive-bg-tertiary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
  margin-bottom: var(--aive-space-2);
  transition: border-color var(--aive-duration-normal);
}
.account-session-card:hover { border-color: var(--aive-border-strong); }
.account-session-card__device {
  font-size: var(--aive-text-body-sm);
  font-weight: 600;
}
.account-session-card__meta {
  font-size: var(--aive-text-overline);
  color: var(--aive-text-secondary);
}

/* Outline button small */
.btn-outline-sm {
  padding: var(--aive-space-1) var(--aive-space-4);
  font-size: var(--aive-text-overline);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-xs);
  background: none;
  color: var(--aive-text-secondary);
  cursor: pointer;
  transition: border-color var(--aive-duration-normal), color var(--aive-duration-normal);
}
.btn-outline-sm:hover {
  border-color: var(--aive-accent);
  color: var(--aive-text-primary);
}
.btn-outline-sm:disabled, .btn-outline-sm[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Usage meter */
.account-meter-card {
  padding: var(--aive-space-4);
  background: var(--aive-bg-tertiary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
  transition: border-color var(--aive-duration-normal);
}
.account-meter-card:hover { border-color: var(--aive-border-strong); }
.account-meter-header {
  display: flex;
  justify-content: space-between;
  font-size: var(--aive-text-body-sm);
  margin-bottom: var(--aive-space-2);
}
.account-meter-label { font-weight: 600; }
.account-meter-value { color: var(--aive-text-secondary); }
.account-meter-bar {
  height: 6px;
  background: var(--aive-bg-secondary);
  border-radius: var(--aive-space-1);
  overflow: hidden;
}
.account-meter-fill {
  height: 100%;
  border-radius: var(--aive-space-1);
  transition: width var(--aive-duration-slow);
}

/* Billing cycle card */
.account-billing-cycle {
  padding: var(--aive-space-3) var(--aive-space-4);
  background: var(--aive-bg-tertiary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
  font-size: var(--aive-text-caption);
  color: var(--aive-text-secondary);
}

/* MFA QR image */
.account-mfa-qr-img { width: 180px; height: 180px; }

/* Invoice table cell helpers */
.invoice-cell-mono {
  font-family: var(--aive-font-mono);
  font-size: var(--aive-text-overline);
}
.invoice-cell-bold { font-weight: 600; }
.invoice-status {
  font-size: var(--aive-text-overline);
  font-weight: 600;
}
.invoice-download {
  font-size: var(--aive-text-overline);
  color: var(--aive-accent);
  text-decoration: none;
  font-weight: 600;
}

/* Password strength meter */
.account-pw-strength { margin-top: var(--aive-space-2); }
.account-pw-bars {
  display: flex;
  gap: var(--aive-space-1);
  margin-bottom: var(--aive-space-1);
}
.account-pw-bar {
  flex: 1;
  height: 3px;
  background: var(--aive-border-default);
  border-radius: var(--aive-radius-micro, 2px);
  transition: background var(--aive-duration-normal);
}
.account-pw-label { font-size: var(--aive-text-overline); }

/* Breadcrumb helpers */
.account-breadcrumb {
  padding: var(--aive-space-2) var(--aive-space-6);
  font-size: var(--aive-text-caption);
  color: var(--aive-text-secondary);
}
.account-breadcrumb-current { color: var(--aive-text-primary); }
.account-breadcrumb-link {
  color: var(--aive-text-secondary);
  text-decoration: none;
}
.account-breadcrumb-sep { margin: 0 var(--aive-space-2); }

/* Dynamic status color classes (replace inline style="color:...") */
.status-success { color: var(--aive-success); }
.status-error { color: var(--aive-error); }
.status-muted { color: var(--aive-text-secondary); }

/* ══════════════════════════════════════════════════════════════════════════
   INLINE STYLE EXTRACTION — Shared utility + page-specific classes
   ══════════════════════════════════════════════════════════════════════════ */

/* Shared: relative z-layer container used inside hero sections */
.hero-content-layer { position: relative; z-index: 1; }

/* Shared: section with surface bg + top border */
.section-surface { background: var(--aive-bg-surface); border-top: 1px solid var(--aive-border-default); }

/* Shared: section with top border only */
.section-bordered { border-top: 1px solid var(--aive-border-default); }

/* Shared: narrow container (max 720px) */
.container--narrow { max-width: var(--aive-container-narrow); }

/* Shared: centered text */
.container--center { text-align: center; }

/* Shared: support-width container (560px) */
.container--support { max-width: var(--aive-container-narrow); text-align: center; }

/* ── LOGIN PAGE ──────────────────────────────────────────────────────── */
.login-back-link { margin-left: auto; font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary); text-decoration: none; }
.login-back-link:hover { color: var(--aive-text-primary); }
.login-oauth-section { margin-bottom: var(--aive-space-6); }
.login-divider-row { display: flex; align-items: center; gap: var(--aive-space-3); margin-bottom: var(--aive-space-4); }
.login-divider-line { flex: 1; height: 1px; background: var(--aive-border-default); }
.login-divider-text { font-size: var(--aive-text-overline); color: var(--aive-text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.login-oauth-buttons { display: flex; gap: var(--aive-space-3); }
.login-oauth-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: var(--aive-space-2); padding: var(--aive-space-3); background: var(--aive-bg-tertiary); border: 1px solid var(--aive-border-default); border-radius: var(--aive-radius-sm); color: var(--aive-text-primary); font-size: var(--aive-text-body-sm); font-weight: 600; cursor: pointer; transition: border-color var(--aive-duration-normal); }
.login-oauth-btn:hover { border-color: var(--aive-border-strong); }
.login-oauth-btn:disabled, .login-oauth-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.login-remember-row { display: flex; align-items: center; gap: var(--aive-space-2); margin: var(--aive-space-3) 0 var(--aive-space-1); }
.login-remember-checkbox { width: 16px; height: 16px; accent-color: var(--aive-accent); }
.login-remember-label { font-size: var(--aive-text-caption); color: var(--aive-text-secondary); cursor: pointer; }
.login-mfa-title { font-size: var(--aive-text-h4); font-weight: 800; text-align: center; margin: 0 0 var(--aive-space-2); }
.login-mfa-code-input { text-align: center; font-size: var(--aive-text-h4); letter-spacing: 0.3em; }
.login-mfa-msg { font-size: var(--aive-text-body-sm); text-align: center; margin-top: var(--aive-space-3); }
.login-mfa-footer { text-align: center; margin-top: var(--aive-space-4); }
.login-mfa-link { background: none; border: none; color: var(--aive-accent); font-size: var(--aive-text-body-sm); cursor: pointer; transition: color var(--aive-duration-normal); }
.login-mfa-link:hover { color: var(--aive-accent-hover); text-decoration: underline; }
.login-mfa-recovery-wrap { margin-top: var(--aive-space-3); }
.login-mfa-recovery-input { text-align: center; font-size: var(--aive-text-body); letter-spacing: 0.15em; }
.login-mfa-recovery-btn { margin-top: var(--aive-space-2); }
.login-pw-strength { margin-top: var(--aive-space-2); }
.login-pw-bars { display: flex; gap: 3px; margin-bottom: var(--aive-space-1); }
.login-pw-bar { flex: 1; height: 3px; background: var(--aive-border-default); border-radius: var(--aive-radius-micro, 2px); transition: background var(--aive-duration-normal); }
.login-pw-label { font-size: var(--aive-text-overline); }

/* ── DOWNLOAD PAGE extras ────────────────────────────────────────────── */
.download-platform-icon { margin: var(--aive-space-4) auto; display: block; opacity: 0.7; }
.download-extra-section { margin-top: var(--aive-space-9); }
.download-changelog-card { background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default); border-radius: var(--aive-radius-lg); padding: var(--aive-space-7); transition: border-color var(--aive-duration-normal); }
.download-changelog-card:hover { border-color: var(--aive-border-strong); }
.download-changelog-title { font-size: var(--aive-text-body-sm); margin: 0 0 var(--aive-space-4); font-weight: 700; }
.download-changelog-list { padding-left: var(--aive-space-5); margin: 0; font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary); line-height: 2.2; }
.download-changelog-wrap { margin-top: var(--aive-space-6); }

/* ── DOCS PAGE extras ────────────────────────────────────────────────── */
.docs-platform-picker { display: flex; justify-content: center; gap: var(--aive-space-2); margin: var(--aive-space-6) 0 0; flex-wrap: wrap; }
.docs-quick-links-top { margin-top: var(--aive-space-7); }
.docs-support-text { font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary); margin: 0; }
.docs-support-link { color: var(--aive-accent); text-decoration: none; transition: color var(--aive-duration-normal); }
.docs-support-link:hover { color: var(--aive-accent-hover); text-decoration: underline; }
.docs-community-icon { color: var(--aive-ai-purple); }
.docs-tutorials-icon { color: var(--aive-success); }

/* ── CAREERS PAGE extras ─────────────────────────────────────────────── */
.careers-values-intro { text-align: center; font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary); margin-bottom: var(--aive-space-8); }
.careers-values-link { color: var(--aive-accent); transition: color var(--aive-duration-normal); }
.careers-values-link:hover { color: var(--aive-accent-hover); text-decoration: underline; }
.careers-hiring-section { padding: var(--aive-space-12) var(--aive-space-6); }
.careers-hiring-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.careers-hiring-title { font-size: var(--aive-text-h3); font-weight: 800; margin-bottom: var(--aive-space-4); }
.careers-hiring-desc { font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary); line-height: 1.7; margin-bottom: var(--aive-space-7); }
.careers-hiring-email { font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary); margin-top: var(--aive-space-4); }

/* ── CONTACT PAGE extras ─────────────────────────────────────────────── */
.contact-textarea-resize { resize: vertical; }
.contact-form-actions { margin-top: var(--aive-space-6); text-align: center; }
.contact-submit-btn { border-radius: var(--aive-radius-sm); }
.contact-form-msg { text-align: center; margin-top: var(--aive-space-4); font-size: var(--aive-text-body-sm); min-height: 20px; }

/* ── RELEASES PAGE extras ────────────────────────────────────────────── */
.releases-hero-compact { padding-bottom: var(--aive-space-9); }
.releases-content-section { padding-top: var(--aive-space-12); }
.releases-cta-btn { border-radius: var(--aive-radius-sm); }

/* ── EDITOR PAGE extras ──────────────────────────────────────────────── */
.editor-projects-link { color: var(--aive-accent); }
.editor-app-nav-inner { display: flex; align-items: center; gap: var(--aive-space-1); padding: 0 var(--aive-space-6); }

/* ── CHECKOUT PAGE extras ────────────────────────────────────────────── */
.checkout-page-wrap { padding: var(--aive-hero-pad-top) 0 var(--aive-section-pad); }
.checkout-back-link { display: inline-flex; align-items: center; gap: var(--aive-space-2); color: var(--aive-text-secondary); font-size: var(--aive-text-body-sm); text-decoration: none; margin-bottom: var(--aive-space-6); transition: color var(--aive-duration-normal) ease; }
.checkout-back-link:hover { color: var(--aive-text-primary); }
.checkout-title { text-align: left; }
.checkout-subtitle { color: var(--aive-text-secondary); font-size: var(--aive-text-body-sm); margin: 0 0 var(--aive-space-7); }

/* ── PRIVACY / TERMS shared extras ───────────────────────────────────── */
.legal-content-section { padding: var(--aive-space-12) 0 var(--aive-space-12); }
.legal-body-note { margin-top: var(--aive-space-3); }

/* ══════════════════════════════════════════════════════════════════════════
   PRICING PAGE — Extracted inline styles
   ══════════════════════════════════════════════════════════════════════════ */
.pricing-plans-wrap { padding-top: var(--aive-space-9); }
.pricing-loading-row {
  display: flex; align-items: center; justify-content: center;
  gap: var(--aive-space-3); margin-bottom: var(--aive-space-6);
}
.pricing-skeleton-card { height: 320px; border-radius: var(--aive-radius-lg); }
.pricing-build-section {
  margin: 0 calc(-1 * var(--aive-space-6));
  padding-left: var(--aive-space-6); padding-right: var(--aive-space-6);
}
.pricing-section-header {
  text-align: center; margin-bottom: var(--aive-space-9);
  position: relative; z-index: 1;
}
.pricing-gate-body { text-align: center; padding: var(--aive-space-8) var(--aive-space-6); }
.pricing-gate-title {
  font-size: var(--aive-text-body); font-weight: 600; margin-bottom: var(--aive-space-2);
}
.pricing-gate-desc {
  font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary);
  margin-bottom: var(--aive-space-6);
}
.pricing-gate-btn { padding: var(--aive-space-3) var(--aive-space-7); }
.pricing-calc-layout { display: none; position: relative; z-index: 1; }
.pricing-seat-label { margin-left: auto; }
.pricing-seat-slider {
  width: 100%; margin: var(--aive-space-2) 0 var(--aive-space-3);
  accent-color: var(--aive-accent);
}
.pricing-suggest-hidden { display: none; }
.pricing-compare-section { padding: var(--aive-space-12) 0; }
.pricing-compare-header { text-align: center; margin-bottom: var(--aive-space-8); }
.pricing-compare-title { font-size: var(--aive-text-title); font-weight: 800; }
.pricing-compare-sub { color: var(--aive-text-secondary); }
.pricing-table-scroll { overflow-x: auto; }
.pricing-compare-table {
  width: 100%; border-collapse: collapse; font-size: var(--aive-text-body-sm);
}
.pricing-compare-th {
  text-align: left; padding: var(--aive-space-4) var(--aive-space-5);
  font-size: var(--aive-text-body-sm); font-weight: 700; color: var(--aive-text-secondary);
  text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 1px solid var(--aive-border-default); width: 240px;
}
.pricing-compare-th--plan {
  text-align: center; padding: var(--aive-space-4) var(--aive-space-3);
  font-size: var(--aive-text-body-sm); font-weight: 700;
  border-bottom: 1px solid var(--aive-border-default);
}
.pricing-compare-cat-row {
  padding: var(--aive-space-3) var(--aive-space-5);
  font-size: var(--aive-text-caption); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--aive-text-secondary);
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--aive-border-default);
}
.pricing-compare-feature-td {
  padding: var(--aive-space-3) var(--aive-space-5);
  border-bottom: 1px solid rgba(255,255,255,0.04); font-weight: 500;
}
.pricing-compare-val-td {
  text-align: center; padding: var(--aive-space-3);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pricing-compare-tr-alt { background: rgba(255,255,255,0.015); }
.pricing-check-icon {
  color: var(--aive-success); font-size: var(--aive-text-body); font-weight: 700;
}
.pricing-dash-icon { color: var(--aive-text-secondary); opacity: 0.4; }
.pricing-comparison-hidden { display: none; }
.pricing-quiz-section { padding: var(--aive-space-12) var(--aive-space-6); }
.pricing-quiz-header { text-align: center; margin-bottom: var(--aive-space-7); }
.pricing-quiz-title { font-size: var(--aive-text-heading); font-weight: 800; }
.pricing-quiz-sub {
  color: var(--aive-text-secondary); font-size: var(--aive-text-body-sm);
}
.pricing-quiz-result-hidden { display: none; }
.pricing-cta-btn {
  text-align: center; border-radius: var(--aive-radius-sm);
}
.pricing-cta-btn--mt { margin-top: var(--aive-space-2); }
.pricing-ai-check-noshrink { flex-shrink: 0; }
.pricing-savings-nudge-hidden { display: none; }

/* ══════════════════════════════════════════════════════════════════════════
   DASHBOARD — Extracted inline styles
   ══════════════════════════════════════════════════════════════════════════ */
.dashboard-nav-active { color: var(--aive-accent); }
.dashboard-app-nav-inner {
  display: flex; align-items: center; gap: var(--aive-space-1);
  padding: 0 var(--aive-space-6);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.dashboard-app-nav-inner::-webkit-scrollbar { display: none; }
.dashboard-nav-hidden { display: none; }
.dashboard-skel-header { height: 52px; margin-bottom: var(--aive-space-7); }
.dashboard-skel-strip {
  height: 60px; border-radius: var(--aive-radius-md); margin-bottom: var(--aive-space-7);
}
.dashboard-skel-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--aive-space-5);
}
.dashboard-skel-widget-lg { height: 260px; border-radius: var(--aive-radius-md); }
.dashboard-skel-widget-sm { height: 200px; border-radius: var(--aive-radius-md); }
.dashboard-content-hidden { display: none; }
.dashboard-widget-header-actions {
  display: flex; gap: var(--aive-space-3); align-items: center;
}
.dashboard-widget-fullwidth { grid-column: 1 / -1; }
.dashboard-team-hidden { display: none; }
.dashboard-team-desc {
  font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary); margin: 0 0 var(--aive-space-4);
}
.dashboard-workspace-btn {
  display: inline-flex; padding: var(--aive-space-2) var(--aive-space-5);
  font-size: var(--aive-text-body-sm); font-weight: 600; border-radius: var(--aive-radius-sm);
  text-decoration: none;
}
.dashboard-team-stats {
  display: flex; align-items: center; gap: var(--aive-space-3);
}
.dashboard-team-count {
  font-size: var(--aive-text-title); font-weight: 800; color: var(--aive-text-primary);
}
.dashboard-team-count-label {
  font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary);
}

/* ══════════════════════════════════════════════════════════════════════════
   ENTERPRISE — Extracted inline styles
   ══════════════════════════════════════════════════════════════════════════ */
.enterprise-hero-inner { position: relative; z-index: 1; }
.enterprise-hero-actions {
  display: flex; gap: var(--aive-space-3); justify-content: center;
}
.enterprise-features-section {
  background: var(--aive-bg-surface);
  border-top: 1px solid var(--aive-border-default);
}
.enterprise-quote-section {
  background: var(--aive-bg-surface);
  border-top: 1px solid var(--aive-border-default);
  padding: var(--aive-space-12) var(--aive-space-6);
}
.enterprise-quote-container { max-width: 600px; margin: 0 auto; }
.enterprise-quote-title {
  font-size: var(--aive-text-title); font-weight: 800; text-align: center;
  margin-bottom: var(--aive-space-2);
}
.enterprise-quote-sub {
  text-align: center; color: var(--aive-text-secondary);
  margin-bottom: var(--aive-space-8);
}
.enterprise-form-stack {
  display: flex; flex-direction: column; gap: var(--aive-space-4);
}
.enterprise-form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--aive-space-4);
}
.enterprise-form-label {
  display: block; font-size: var(--aive-text-body-sm); font-weight: 600;
  margin-bottom: var(--aive-space-2);
}
.enterprise-form-input {
  width: 100%; padding: 10px var(--aive-space-3);
  background: var(--aive-bg-primary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
  color: var(--aive-text-primary); font-size: var(--aive-text-body-sm);
  box-sizing: border-box;
}
.enterprise-form-textarea {
  width: 100%; padding: 10px var(--aive-space-3);
  background: var(--aive-bg-primary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
  color: var(--aive-text-primary); font-size: var(--aive-text-body-sm);
  resize: vertical; box-sizing: border-box;
}
.enterprise-submit-btn { align-self: flex-start; }
.enterprise-form-msg {
  font-size: var(--aive-text-body-sm); color: var(--aive-success); display: none;
}

/* Enterprise team plan cards */
.enterprise-plans-section {
  background: var(--aive-bg-surface);
  border-top: 1px solid var(--aive-border-default);
  padding: var(--aive-space-12) var(--aive-space-6);
}
.enterprise-plans-container { max-width: 900px; margin: 0 auto; }
.enterprise-plans-title {
  font-size: var(--aive-text-heading); font-weight: 800; text-align: center;
  margin-bottom: var(--aive-space-7);
}
.enterprise-plans-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--aive-space-4);
}
.enterprise-plan-card {
  background: var(--aive-bg-secondary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-md); padding: var(--aive-space-6);
  display: flex; flex-direction: column;
  transition: border-color var(--aive-duration-normal), transform var(--aive-duration-normal) var(--aive-ease-out);
}
.enterprise-plan-card:hover { border-color: var(--aive-border-strong); transform: translateY(-2px); }
.enterprise-plan-card--highlight {
  border-color: var(--aive-accent);
}
.enterprise-plan-card--highlight:hover { border-color: var(--aive-accent-hover); }
.enterprise-plan-card h3 {
  font-size: var(--aive-text-body-lg); font-weight: 700;
  margin: 0 0 var(--aive-space-1);
}
.enterprise-plan-card-sub {
  font-size: var(--aive-text-caption); color: var(--aive-text-secondary);
  margin: 0 0 var(--aive-space-4);
}
.enterprise-plan-card-badge {
  font-size: var(--aive-type-tag); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--aive-accent);
  margin-bottom: var(--aive-space-2);
}
.enterprise-plan-features {
  list-style: none; padding: 0; margin: var(--aive-space-4) 0;
  font-size: var(--aive-text-body-sm); display: flex; flex-direction: column;
  gap: var(--aive-space-2); flex: 1;
}
.ent-plan-header {
  display: flex; align-items: center; gap: var(--aive-space-2); margin-bottom: var(--aive-space-1);
}
.ent-plan-price {
  font-size: var(--aive-text-heading-lg); font-weight: 700; color: var(--aive-text-primary);
  min-height: 40px; display: flex; align-items: baseline;
}
.ent-plan-price-suffix {
  font-size: var(--aive-type-ui); font-weight: 400; color: var(--aive-text-secondary); margin-left: var(--aive-space-half);
}
.ent-plan-billing-note {
  font-size: var(--aive-type-xs); color: var(--aive-text-secondary); margin: var(--aive-space-1) 0 0; min-height: var(--aive-space-4);
}
.ent-plan-billing-note--success {
  font-size: var(--aive-type-xs); color: var(--aive-success); margin: var(--aive-space-1) 0 0; min-height: var(--aive-space-4);
}
.ent-gst-badge {
  font-size: var(--aive-text-overline); font-weight: 700; padding: var(--aive-space-half) var(--aive-space-2); border-radius: var(--aive-radius-sm);
  background: var(--aive-success-muted); color: var(--aive-success);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.enterprise-plan-cta {
  display: block; text-align: center; padding: var(--aive-space-3); margin-top: auto;
  border-radius: var(--aive-radius-sm); text-decoration: none; font-weight: 600; font-size: var(--aive-text-body-sm);
  transition: filter var(--aive-duration-fast) var(--aive-ease-default);
}
.ent-plan-cta-primary { background: var(--aive-accent); color: var(--aive-bg-primary); border: none; }
.ent-plan-cta-primary:hover { filter: brightness(1.1); }
.ent-plan-cta-accent { background: none; border: 1px solid var(--aive-accent); color: var(--aive-accent); }
.ent-plan-cta-accent:hover { background: var(--aive-accent-soft); }
.ent-plan-cta-muted { background: none; border: 1px solid var(--aive-border-default); color: var(--aive-text-secondary); }
.ent-plan-cta-muted:hover { background: rgba(255,255,255,0.04); }
.ent-gst-banner {
  display: flex; align-items: flex-start; gap: var(--aive-space-4); padding: var(--aive-space-5) var(--aive-space-6);
  background: rgba(125,201,152,0.06); border: 1px solid rgba(125,201,152,0.15);
  border-radius: var(--aive-radius-md);
}
.ent-gst-icon { font-size: var(--aive-text-h3); flex-shrink: 0; }
.ent-gst-title { font-size: var(--aive-text-body-sm); color: var(--aive-text-primary); }
.ent-gst-desc { font-size: var(--aive-type-ui); color: var(--aive-text-secondary); margin: var(--aive-space-1) 0 0; line-height: 1.5; }
.ent-gst-highlight { color: var(--aive-success); }
.ent-gst-section { padding: var(--aive-space-6) 0; }
@media (max-width: 768px) {
  .enterprise-plans-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .enterprise-plans-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Enterprise — Social proof logos */
.enterprise-logos-grid {
  display: flex; flex-wrap: wrap; gap: var(--aive-space-4);
  justify-content: center; align-items: center;
  padding: var(--aive-space-6) 0;
}
.enterprise-logo-item {
  display: flex; align-items: center; justify-content: center;
  width: 140px; height: 60px;
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
}
.enterprise-logo-placeholder {
  font-size: var(--aive-text-caption); font-weight: 600;
  color: var(--aive-text-tertiary); letter-spacing: 0.05em;
}

/* Enterprise — ROI block */
.enterprise-roi-block {
  text-align: center; padding: var(--aive-space-8);
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-xl);
}
.enterprise-roi-block h3 {
  font-size: var(--aive-text-h4); font-weight: 700; margin: 0 0 var(--aive-space-2);
}
.enterprise-roi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--aive-space-6);
  margin-top: var(--aive-space-6);
}
.enterprise-roi-stat { text-align: center; }
.enterprise-roi-number {
  font-size: var(--aive-text-title); font-weight: 800; color: var(--aive-accent);
  letter-spacing: -1px;
}
.enterprise-roi-label {
  font-size: var(--aive-text-body-sm); font-weight: 600;
  margin-top: var(--aive-space-1);
}
.enterprise-roi-detail {
  font-size: var(--aive-text-caption); color: var(--aive-text-secondary);
  margin-top: var(--aive-space-1); line-height: 1.4;
}
@media (max-width: 768px) {
  .enterprise-roi-grid { grid-template-columns: 1fr; }
}

/* Enterprise — Security badges */
.enterprise-badges-heading {
  font-size: var(--aive-text-h4); font-weight: 700; text-align: center;
  margin-bottom: var(--aive-space-6);
}
.enterprise-badges-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--aive-space-4);
}
.enterprise-badge {
  display: flex; flex-direction: column; align-items: center;
  padding: var(--aive-space-5); text-align: center;
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-md);
}
.enterprise-badge strong {
  font-size: var(--aive-text-body-sm); font-weight: 700; margin-bottom: var(--aive-space-1);
}
.enterprise-badge span {
  font-size: var(--aive-text-caption); color: var(--aive-text-secondary);
}
@media (max-width: 768px) {
  .enterprise-badges-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .enterprise-badges-grid { grid-template-columns: 1fr; }
}

/* Enterprise — FAQ (details/summary) */
.faq-list {
  display: flex; flex-direction: column; gap: var(--aive-space-3);
}
.faq-item {
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-md); overflow: hidden;
}
.faq-item[open] { border-color: var(--aive-border-strong); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--aive-space-4) var(--aive-space-5);
  font-size: var(--aive-text-body-sm); font-weight: 600;
  cursor: pointer; list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+'; font-size: var(--aive-text-body-lg); font-weight: 400;
  color: var(--aive-text-tertiary); transition: transform var(--aive-duration-normal);
  flex-shrink: 0; margin-left: var(--aive-space-3);
}
.faq-item[open] .faq-q::after { content: '\2212'; }
.faq-a {
  padding: 0 var(--aive-space-5) var(--aive-space-4);
  font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary);
  line-height: 1.6;
}
.faq-a p { margin: 0; }
.faq-a a { color: var(--aive-accent); text-decoration: underline; }

/* Enterprise — Contact layout (form + calendar) */
.enterprise-contact-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--aive-space-6);
  align-items: start;
}
@media (max-width: 768px) {
  .enterprise-contact-layout { grid-template-columns: 1fr; }
}
.enterprise-calendar-block {
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-xl); padding: var(--aive-space-8);
}
.enterprise-calendar-block h3 {
  font-size: var(--aive-text-h4); font-weight: 700; margin: 0 0 var(--aive-space-4);
  text-align: center;
}
.enterprise-calendar-block p {
  font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary);
  text-align: center; margin-bottom: var(--aive-space-6); line-height: 1.5;
}
.enterprise-calendar-placeholder {
  display: flex; flex-direction: column; align-items: center;
  padding: var(--aive-space-8) var(--aive-space-4);
  border: 2px dashed var(--aive-border-default); border-radius: var(--aive-radius-md);
  color: var(--aive-text-tertiary); text-align: center;
}
.enterprise-calendar-placeholder svg { margin-bottom: var(--aive-space-3); opacity: 0.5; }
.enterprise-calendar-placeholder span {
  font-size: var(--aive-text-body-sm); font-weight: 500;
}

/* Dashboard — notification bell */
.dashboard-notif-bell-wrap { position: relative; display: inline-block; }
.dashboard-notif-bell-btn {
  background: none; border: none; cursor: pointer;
  padding: var(--aive-space-2); position: relative;
}
.dashboard-notif-badge {
  display: none; position: absolute; top: 2px; right: 2px;
  background: var(--aive-error); color: var(--aive-bg-qr);
  font-size: var(--aive-type-xs); font-weight: 700; min-width: 16px; height: 16px;
  border-radius: var(--aive-radius-sm); align-items: center;
  justify-content: center; padding: 0 var(--aive-space-1);
}
.dashboard-notif-dropdown {
  position: absolute; right: 0; top: 40px;
  width: 340px; max-width: calc(100vw - 32px); max-height: 400px; overflow-y: auto;
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4); z-index: var(--aive-z-sticky);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--aive-duration-normal) var(--aive-ease-out), transform var(--aive-duration-normal) var(--aive-ease-out), visibility var(--aive-duration-normal);
}
.dashboard-notif-dropdown.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dashboard-notif-header {
  padding: var(--aive-space-3) var(--aive-space-4);
  border-bottom: 1px solid var(--aive-border-default);
  display: flex; justify-content: space-between; align-items: center;
}
.dashboard-notif-title { font-size: var(--aive-text-body-sm); font-weight: 700; }
.dashboard-notif-mark-btn {
  background: none; border: none; color: var(--aive-accent);
  font-size: var(--aive-text-overline); cursor: pointer;
}
.dashboard-notif-list { padding: var(--aive-space-2) 0; }

/* Dashboard — onboarding checklist */
.dashboard-onboarding {
  display: none; margin-bottom: var(--aive-space-7);
  padding: var(--aive-space-6);
  background: linear-gradient(135deg, rgba(107,160,224,0.06), rgba(176,122,216,0.04));
  border: 1px solid var(--aive-border-default); border-radius: var(--aive-radius-md);
}
.dashboard-onboarding-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--aive-space-4);
}
.dashboard-onboarding-title {
  font-size: var(--aive-text-body); font-weight: 700; margin: 0;
}
.dashboard-onboarding-sub {
  font-size: var(--aive-text-caption); color: var(--aive-text-secondary);
  margin: var(--aive-space-1) 0 0;
}
.dashboard-onboarding-dismiss {
  background: none; border: none; color: var(--aive-text-secondary);
  font-size: var(--aive-text-body-lg); cursor: pointer;
}
.dashboard-onboarding-progress {
  height: 4px; background: var(--aive-bg-tertiary);
  border-radius: var(--aive-radius-micro, 2px); margin-bottom: var(--aive-space-4); overflow: hidden;
}
.dashboard-onboarding-fill {
  height: 100%; background: var(--aive-accent);
  border-radius: var(--aive-radius-micro, 2px); transition: width var(--aive-duration-slow); width: 20%;
}
.dashboard-onboarding-items {
  display: flex; flex-direction: column; gap: var(--aive-space-2);
}

/* Dashboard — command palette */
.dashboard-cmd-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: var(--aive-z-overlay);
  align-items: flex-start; justify-content: center; padding-top: 20vh;
}
.dashboard-cmd-panel {
  width: 100%; max-width: 520px;
  background: var(--aive-bg-secondary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-md);
  box-shadow: var(--aive-shadow-xl); overflow: hidden;
}
.dashboard-cmd-input-wrap {
  padding: var(--aive-space-3) var(--aive-space-4);
  border-bottom: 1px solid var(--aive-border-default);
}
.dashboard-cmd-input {
  width: 100%; padding: var(--aive-space-2) 0;
  background: none; border: none; color: var(--aive-text-primary);
  font-size: var(--aive-text-body);
}
.dashboard-cmd-input:focus:not(:focus-visible) { outline: none; }
.dashboard-cmd-input:focus-visible { outline: 2px solid var(--aive-accent); outline-offset: 2px; }
.dashboard-cmd-results {
  max-height: 320px; overflow-y: auto; padding: var(--aive-space-2) 0;
}
.dashboard-cmd-footer {
  padding: var(--aive-space-2) var(--aive-space-4);
  border-top: 1px solid var(--aive-border-default);
  font-size: var(--aive-type-tag); color: var(--aive-text-secondary);
}
.dashboard-cmd-kbd {
  background: var(--aive-bg-tertiary); padding: var(--aive-space-half) var(--aive-space-2);
  border-radius: var(--aive-radius-xs); font-size: var(--aive-type-tag);
}
.dashboard-cmd-kbd + .dashboard-cmd-kbd { margin-left: var(--aive-space-2); }

/* ── Dashboard — notification items ───────────────────────────────────── */
.dashboard-notif-empty {
  padding: var(--aive-space-6);
  text-align: center;
  font-size: var(--aive-text-body-sm);
  color: var(--aive-text-secondary);
}
.dashboard-notif-item {
  padding: var(--aive-space-3) var(--aive-space-4);
  border-bottom: 1px solid var(--aive-border-default);
  display: flex; gap: var(--aive-space-3); align-items: start;
}
.dashboard-notif-item--read { opacity: 0.5; }
.dashboard-notif-icon { font-size: var(--aive-text-body); }
.dashboard-notif-item-title { font-size: var(--aive-text-body-sm); font-weight: 600; }
.dashboard-notif-item-body {
  font-size: var(--aive-text-overline);
  color: var(--aive-text-secondary); margin-top: 2px;
}
.dashboard-notif-item-time {
  font-size: var(--aive-type-tag);
  color: var(--aive-text-secondary); margin-top: var(--aive-space-1);
}

/* ── Dashboard — onboarding items ─────────────────────────────────────── */
.dashboard-onboard-step {
  display: flex; align-items: center; gap: var(--aive-space-3);
  padding: var(--aive-space-3) var(--aive-space-4);
  background: var(--aive-bg-secondary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
  text-decoration: none; color: inherit;
  transition: border-color var(--aive-duration-fast);
}
.dashboard-onboard-check {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--aive-border-default);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--aive-text-overline); flex-shrink: 0;
}
.dashboard-onboard-check--done {
  border-color: var(--aive-success);
  background: var(--aive-success); color: var(--aive-bg-qr);
}
.dashboard-onboard-label {
  font-size: var(--aive-text-body-sm); font-weight: 600;
}
.dashboard-onboard-label--done {
  font-weight: 400; text-decoration: line-through;
  color: var(--aive-text-secondary);
}

/* ── Dashboard — command palette items ────────────────────────────────── */
.dashboard-cmd-item {
  display: flex; align-items: center; gap: var(--aive-space-3);
  padding: var(--aive-space-3) var(--aive-space-4);
  text-decoration: none; color: inherit; cursor: pointer;
  transition: background var(--aive-duration-fast);
}
.dashboard-cmd-item:hover { background: rgba(107,160,224,0.08); }
.dashboard-cmd-item-icon {
  font-size: var(--aive-text-body); width: var(--aive-space-6); text-align: center;
}
.dashboard-cmd-item-label { font-size: var(--aive-text-body-sm); font-weight: 600; }
.dashboard-cmd-item-desc {
  font-size: var(--aive-text-overline); color: var(--aive-text-secondary);
}
.dashboard-cmd-empty {
  padding: var(--aive-space-6); text-align: center;
  font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary);
}

/* ── Dashboard — breadcrumb ───────────────────────────────────────────── */
.dashboard-breadcrumb {
  padding: var(--aive-space-2) var(--aive-space-6);
  font-size: var(--aive-text-caption); color: var(--aive-text-secondary);
}
.dashboard-breadcrumb a {
  color: var(--aive-text-secondary); text-decoration: none;
}
.dashboard-breadcrumb-current { color: var(--aive-text-primary); }
.dashboard-breadcrumb-sep { margin: 0 var(--aive-space-2); }

/* ── Dashboard — utility modifiers ────────────────────────────────────── */
.dashboard-upgrade-warn { color: var(--aive-warning); }
.dashboard-status-active { color: var(--aive-success); }

/* ══════════════════════════════════════════════════════════════════════════
   Extracted inline-style classes — legal / docs / blog pages
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Shared: nav-logo reset ─────────────────────────────────────────────── */
.nav-logo { text-decoration: none; }

/* ── Shared: hero inner z-layer ─────────────────────────────────────────── */
.hero-inner { position: relative; z-index: 1; }

/* ── Shared: nav spacer for docs ────────────────────────────────────────── */
.docs-nav-spacer { height: var(--aive-nav-height); }

/* ── Legal: trademarks ──────────────────────────────────────────────────── */
.legal-section {
  padding: var(--aive-space-12) 0 var(--aive-space-12);
}
.legal-container {
  max-width: var(--aive-container-narrow);
}
.legal-card {
  background: var(--aive-bg-secondary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-lg);
  padding: var(--aive-space-7);
  margin-bottom: var(--aive-space-5);
}
.legal-card-heading {
  font-size: var(--aive-text-body-lg);
  font-weight: 700;
  margin: 0 0 var(--aive-space-3);
}
.legal-card-body {
  font-size: var(--aive-text-body-sm);
  color: var(--aive-text-secondary);
  line-height: 1.8;
  margin: 0 0 var(--aive-space-4);
}
.legal-card-body:last-child { margin-bottom: 0; }
.legal-card-list {
  font-size: var(--aive-text-body-sm);
  color: var(--aive-text-secondary);
  line-height: 2;
  padding-left: var(--aive-space-6);
  margin: 0 0 var(--aive-space-4);
}
.legal-card-list strong {
  color: var(--aive-text-primary);
}
.legal-link {
  color: var(--aive-accent);
  text-decoration: none;
}

/* ── Legal: licenses ────────────────────────────────────────────────────── */
.legal-license-subheading {
  font-size: var(--aive-text-body);
  font-weight: 700;
  margin: var(--aive-space-6) 0 var(--aive-space-2);
}

/* ── Docs: community ────────────────────────────────────────────────────── */
.docs-community-nav-link {
  color: var(--aive-accent);
}
.docs-community-form-actions {
  display: flex;
  gap: var(--aive-space-2);
  align-items: center;
  margin-top: var(--aive-space-1);
}
.docs-community-cancel-btn {
  padding: 10px var(--aive-space-4);
  border-radius: var(--aive-radius-sm);
  background: transparent;
  border: 1px solid var(--aive-border-default);
  color: var(--aive-text-secondary);
  font-size: var(--aive-text-body-sm);
  cursor: pointer;
}
.docs-community-replies-heading {
  font-size: var(--aive-text-body-sm);
  font-weight: 600;
  margin: 0 0 var(--aive-space-4);
  color: var(--aive-text-secondary);
}
.docs-community-reply-box {
  margin-top: var(--aive-space-6);
  padding: var(--aive-space-4);
  background: var(--aive-bg-secondary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-md);
}
.docs-community-reply-textarea {
  width: 100%;
  min-height: 80px;
  padding: var(--aive-space-3);
  background: var(--aive-bg-primary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-sm);
  color: var(--aive-text-primary);
  font-size: var(--aive-text-body-sm);
  font-family: inherit;
  resize: vertical;
  margin-bottom: var(--aive-space-2);
}
.docs-community-reply-textarea:focus:not(:focus-visible) { outline: none; }
.docs-community-reply-textarea:focus-visible { outline: 2px solid var(--aive-accent); outline-offset: 2px; }
.docs-community-empty-reply {
  color: var(--aive-text-secondary);
  font-size: var(--aive-text-body-sm);
  padding: var(--aive-space-4);
}

/* ── Docs: timeline lane colors ─────────────────────────────────────────── */
.lane-color--titles  { background: var(--aive-clip-title); }
.lane-color--overlay { background: var(--aive-ai-mag); }
.lane-color--broll   { background: var(--aive-teal); }
.lane-color--primary { background: var(--aive-accent); }
.lane-color--dialog  { background: var(--aive-success); }
.lane-color--music   { background: var(--aive-warning); }
.lane-color--sfx     { background: var(--aive-yellow); }

/* ── Blog: CTA button inline override ───────────────────────────────────── */
.blog-cta-btn {
  display: inline-block;
  padding: var(--aive-space-4) var(--aive-space-7);
  border-radius: var(--aive-radius-sm);
  text-decoration: none;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* ANNOUNCEMENT BAR                                                         */
/* ══════════════════════════════════════════════════════════════════════════ */
.announcement-bar {
  background: var(--aive-accent-soft);
  border-bottom: 1px solid var(--aive-border-accent);
  padding: var(--aive-space-2) 0;
  font-size: var(--aive-text-body-sm);
  position: fixed; top: 0; left: 0; right: 0;
  height: 36px;
  z-index: var(--aive-z-nav);
  transition: transform var(--aive-duration-slow) var(--aive-ease-out), opacity var(--aive-duration-slow) var(--aive-ease-out);
  will-change: transform;
}
.announcement-bar.dismissed {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.announcement-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--aive-space-3);
}
.announcement-bar__text {
  margin: 0;
  color: var(--aive-text-primary);
  text-align: center;
}
.announcement-bar__text strong {
  color: var(--aive-accent);
}
.announcement-bar__link {
  color: var(--aive-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.announcement-bar__link:hover {
  color: var(--aive-accent-hover);
}
.announcement-bar__close {
  background: none;
  border: none;
  color: var(--aive-text-secondary);
  font-size: var(--aive-text-h4);
  cursor: pointer;
  padding: var(--aive-space-1) var(--aive-space-2);
  line-height: 1;
  border-radius: var(--aive-radius-xs);
  flex-shrink: 0;
}
.announcement-bar__close:hover {
  color: var(--aive-text-primary);
  background: var(--aive-surface-hover);
}


/* ══════════════════════════════════════════════════════════════════════════ */
/* INDIA SOCIAL PROOF BADGE                                                 */
/* ══════════════════════════════════════════════════════════════════════════ */
.proof-india-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--aive-space-2);
  margin-top: var(--aive-space-5);
  padding: var(--aive-space-2) var(--aive-space-5);
  border: 1px solid var(--aive-border-soft);
  border-radius: var(--aive-radius-full);
  font-size: var(--aive-text-body-sm);
  color: var(--aive-text-secondary);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background: var(--aive-bg-secondary);
}
.proof-india-flag {
  font-size: var(--aive-text-body-lg);
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* BACK TO TOP BUTTON                                                       */
/* ══════════════════════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: var(--aive-space-8);
  right: 84px; /* offset to avoid chatbot widget at right:24px */
  z-index: var(--aive-z-nav);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--aive-border-default);
  background: var(--aive-surface-chrome);
  color: var(--aive-text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--aive-duration-slow), transform var(--aive-duration-slow), background var(--aive-duration-normal);
  box-shadow: var(--aive-shadow-md);
}
.back-to-top--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--aive-surface-hover);
  border-color: var(--aive-accent);
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* LIVE CHAT WIDGET PLACEHOLDER                                             */
/* ══════════════════════════════════════════════════════════════════════════ */
.chat-widget {
  position: fixed;
  bottom: var(--aive-space-8);
  right: calc(var(--aive-space-8) + 56px);
  z-index: var(--aive-z-nav);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--aive-accent);
  color: var(--aive-bg-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--aive-shadow-glow);
  transition: background var(--aive-duration-normal), transform var(--aive-duration-normal);
}
.chat-widget:hover {
  background: var(--aive-accent-hover);
  transform: scale(1.08);
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* COOKIE CONSENT BANNER (DPDP Act)                                         */
/* ══════════════════════════════════════════════════════════════════════════ */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--aive-z-max);
  display: none;
  background: var(--aive-bg-secondary);
  border-top: 1px solid var(--aive-border-default);
  padding: var(--aive-space-5) var(--aive-space-6);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
  opacity: 0; transform: translateY(100%);
  transition: opacity var(--aive-duration-slow) var(--aive-ease-out), transform var(--aive-duration-slow) var(--aive-ease-out);
}
.cookie-consent.visible { opacity: 1; transform: translateY(0); }
.cookie-consent__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--aive-space-6);
  flex-wrap: wrap;
}
.cookie-consent__text {
  flex: 1;
  min-width: 280px;
  margin: 0;
  font-size: var(--aive-text-body-sm);
  color: var(--aive-text-secondary);
  line-height: 1.5;
}
.cookie-consent__text a {
  color: var(--aive-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-consent__actions {
  display: flex;
  gap: var(--aive-space-3);
  flex-shrink: 0;
}
.cookie-consent__btn {
  padding: var(--aive-space-2) var(--aive-space-5);
  border-radius: var(--aive-radius-sm);
  font-size: var(--aive-text-body-sm);
  font-family: inherit;
  cursor: pointer;
  border: 1px solid var(--aive-border-default);
  transition: background var(--aive-duration-normal), color var(--aive-duration-normal);
  white-space: nowrap;
}
.cookie-consent__btn--reject {
  background: transparent;
  color: var(--aive-text-secondary);
}
.cookie-consent__btn--reject:hover {
  background: var(--aive-surface-hover);
  color: var(--aive-text-primary);
}
.cookie-consent__btn--accept {
  background: var(--aive-accent);
  color: var(--aive-bg-primary);
  border-color: var(--aive-accent);
}
.cookie-consent__btn--accept:hover {
  background: var(--aive-accent-hover);
}
.cookie-consent__btn:disabled, .cookie-consent__btn[disabled] { opacity: 0.5; cursor: not-allowed; }
@media (max-width: 640px) {
  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-consent__actions {
    justify-content: stretch;
  }
  .cookie-consent__btn {
    flex: 1;
    text-align: center;
  }
}

/* ── Mobile: reposition fixed floating elements ─────────────────────── */
@media (max-width: 640px) {
  .back-to-top { right: var(--aive-space-4); bottom: var(--aive-space-6); }
  .chat-widget { right: var(--aive-space-4); bottom: calc(var(--aive-space-6) + 56px); }
  .dev-mode-badge { right: var(--aive-space-4); bottom: var(--aive-space-4); font-size: var(--aive-text-caption); }
}

/* Enterprise / waitlist form validation states */
.form-msg--error { color: var(--aive-error); }
.form-msg--success { color: var(--aive-success); }
.form-input--error { border-color: var(--aive-error); }

/* Reset password link */
.reset-btn--block { display: block; text-align: center; text-decoration: none; }
.redirect-countdown-msg { text-align: center; margin-top: var(--aive-space-4); font-size: var(--aive-type-sm); color: var(--aive-text-tertiary); }

/* ═══════════════════════════════════════════════════════════════════════
   Enterprise page — extracted inline styles
   ═══════════════════════════════════════════════════════════════════════ */

/* Hero stats row */
.ent-hero-stats {
  margin-top: var(--aive-space-12);
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;
}
.ent-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--aive-space-5) var(--aive-space-8);
  text-align: center;
  position: relative;
}
.ent-hero-stat + .ent-hero-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--aive-border-default);
}
.ent-hero-stat-value {
  font-size: var(--aive-text-h3);
  font-weight: 800;
  color: var(--aive-text-primary);
}
.ent-hero-stat-label {
  font-size: var(--aive-text-body-sm);
  color: var(--aive-text-secondary);
  margin-top: var(--aive-space-1);
}
@media (max-width: 768px) {
  .ent-hero-stats { flex-wrap: wrap; gap: var(--aive-space-4); }
  .ent-hero-stat { padding: var(--aive-space-3) var(--aive-space-5); }
  .ent-hero-stat + .ent-hero-stat::before { display: none; }
}

/* Plan summary — volume discount highlight */
.ent-summary-discount {
  color: var(--aive-success);
}

/* Plan summary — per-seat breakdown separator */
.ent-summary-per-seat-row {
  margin-top: var(--aive-space-3);
  border-top: 1px solid var(--aive-border-default);
  padding-top: var(--aive-space-3);
}
.ent-summary-per-seat-label {
  font-size: var(--aive-text-body-sm);
  color: var(--aive-text-tertiary);
}
.ent-summary-per-seat-value {
  font-size: var(--aive-text-body-sm);
  color: var(--aive-text-secondary);
}

/* Volume discount section — narrow container */
.ent-container-narrow {
  max-width: 800px;
}

/* GST Benefits banner */
.ent-gst-section {
  padding: var(--aive-space-7) 0;
}
.ent-gst-banner {
  display: flex;
  align-items: flex-start;
  gap: var(--aive-space-4);
  padding: var(--aive-space-5) var(--aive-space-6);
  background: rgba(52,199,89,0.06);
  border: 1px solid rgba(52,199,89,0.15);
  border-radius: var(--aive-radius-md);
}
.ent-gst-icon {
  font-size: var(--aive-type-heading);
  flex-shrink: 0;
}
.ent-gst-title {
  font-size: var(--aive-type-body);
  color: var(--aive-text-primary);
}
.ent-gst-desc {
  font-size: var(--aive-type-body);
  color: var(--aive-text-secondary);
  margin: var(--aive-space-1) 0 0;
  line-height: 1.5;
}
.ent-gst-highlight {
  color: var(--aive-success);
}

/* Plan card header row with badge */
.ent-plan-header {
  display: flex;
  align-items: center;
  gap: var(--aive-space-2);
  margin-bottom: var(--aive-space-2);
}
.ent-plan-header h3 {
  margin: 0;
}
.ent-gst-badge {
  font-size: var(--aive-type-tag);
  font-weight: 700;
  padding: var(--aive-space-half) var(--aive-space-2);
  border-radius: var(--aive-radius-xs);
  background: rgba(52,199,89,0.12);
  color: var(--aive-success);
  letter-spacing: 0.5px;
}

/* Plan card pricing */
.ent-plan-price {
  font-size: var(--aive-type-heading);
  font-weight: 700;
  color: var(--aive-text-primary);
  margin: var(--aive-space-3) 0 var(--aive-space-1);
}
.ent-plan-price-suffix {
  font-size: var(--aive-type-body);
  font-weight: 400;
  color: var(--aive-text-secondary);
}
.ent-plan-billing-note {
  font-size: var(--aive-type-caption);
  color: var(--aive-text-secondary);
  margin: 0 0 var(--aive-space-3);
}
.ent-plan-billing-note--success {
  font-size: var(--aive-type-caption);
  color: var(--aive-success);
  margin: 0 0 var(--aive-space-3);
}

/* Plan card CTA variants */
.ent-plan-cta-primary {
  display: block;
  text-align: center;
  padding: var(--aive-space-3);
  margin-top: var(--aive-space-3);
  background: var(--aive-accent);
  color: var(--aive-bg-primary);
  border-radius: var(--aive-radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--aive-type-body);
}
.ent-plan-cta-accent {
  display: block;
  text-align: center;
  padding: var(--aive-space-3);
  margin-top: var(--aive-space-3);
  border: 1px solid var(--aive-accent);
  color: var(--aive-accent);
  border-radius: var(--aive-radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--aive-type-body);
}
.ent-plan-cta-muted {
  display: block;
  text-align: center;
  padding: var(--aive-space-3);
  margin-top: var(--aive-space-3);
  border: 1px solid var(--aive-border-default);
  color: var(--aive-text-secondary);
  border-radius: var(--aive-radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--aive-type-body);
}

/* Feature comparison — scrollable wrapper */
.ent-table-scroll {
  overflow-x: auto;
}

/* Social proof — logo section spacing */
.ent-logos-section {
  margin-bottom: var(--aive-space-12);
}

/* Case studies section */
.ent-case-studies-header {
  margin-bottom: var(--aive-space-8);
}
.ent-section-heading {
  margin-bottom: var(--aive-space-4);
}
.ent-case-studies-grid {
  margin-bottom: var(--aive-space-12);
}
.ent-case-study-location {
  margin-top: var(--aive-space-3);
  font-size: var(--aive-text-body-sm);
  color: var(--aive-text-tertiary);
}

/* Testimonial heading */
.ent-testimonials-header {
  margin-bottom: var(--aive-space-4);
}

/* ROI disclaimer */
.ent-roi-disclaimer {
  margin-top: var(--aive-space-4);
  font-size: var(--aive-text-body-sm);
  color: var(--aive-text-tertiary);
  text-align: center;
}

/* Security grid spacing */
.ent-security-grid {
  margin-top: var(--aive-space-8);
}

/* FAQ narrow container */
.ent-container-faq {
  max-width: 760px;
}

/* Talk-to-sales container */
.ent-container-form {
  max-width: 900px;
  margin: 0 auto;
}

/* Form submit button full-width */
.ent-btn-full {
  width: 100%;
  text-align: center;
}

/* Form message area */
.ent-form-msg {
  margin-top: var(--aive-space-3);
  font-size: var(--aive-text-body-sm);
  min-height: 1.4em;
}

/* Calendar email CTA spacing */
.ent-calendar-email-cta {
  margin-top: var(--aive-space-4);
}

/* Quick contact block */
.ent-quick-contact {
  margin-top: var(--aive-space-6);
  padding: var(--aive-space-4);
  background: var(--aive-surface-hover);
  border-radius: var(--aive-radius-md);
}
.ent-quick-contact-title {
  font-size: var(--aive-text-body);
  margin-bottom: var(--aive-space-3);
}
.ent-quick-contact-line {
  font-size: var(--aive-text-body-sm);
  color: var(--aive-text-secondary);
  margin-bottom: var(--aive-space-2);
}
.ent-quick-contact-line:last-child {
  margin-bottom: 0;
}
.ent-quick-contact-link {
  color: var(--aive-accent);
}

/* ═══════════════════════════════════════════════════════════════════════
   Shared — accent link, unstyled link, inline-block link
   ═══════════════════════════════════════════════════════════════════════ */
.link-accent  { color: var(--aive-accent); }
.link-plain   { text-decoration: none; }
.link-inline  { text-decoration: none; display: inline-block; }
.text-body-sm { font-size: var(--aive-type-ui); color: var(--aive-text-secondary); line-height: 1.7; }
.btn--ghost   { background: transparent; }
.btn--reset   { background: none; border: none; cursor: pointer; }

/* ═══════════════════════════════════════════════════════════════════════
   Account page — extracted inline styles  (acct-)
   ═══════════════════════════════════════════════════════════════════════ */
.acct-billing-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--aive-space-3); margin: var(--aive-space-3) 0;
}
.acct-billing-value  { font-size: var(--aive-type-body); }
.acct-add-payment    { margin-top: var(--aive-space-3); }
.acct-notif-pad      { padding: var(--aive-space-3) 0; }
.acct-session-actions { margin-top: var(--aive-space-4); }
.acct-apikey-form    { margin-bottom: var(--aive-space-5); }
.acct-apikey-hint {
  font-size: var(--aive-type-ui); color: var(--aive-text-secondary);
  margin-bottom: var(--aive-space-1);
}
.acct-apikeys-loading { margin-top: var(--aive-space-5); }
.acct-export-history  { margin-top: var(--aive-space-7); }
.acct-referral-invite { margin-top: var(--aive-space-5); }
.acct-danger-heading {
  color: var(--aive-error); margin-bottom: var(--aive-space-4);
}
.acct-export-rec {
  background: rgba(107,160,224,0.06);
  border: 1px solid rgba(107,160,224,0.15);
  border-radius: var(--aive-radius-sm);
  padding: var(--aive-space-4);
  margin-bottom: var(--aive-space-5);
}
.acct-export-rec-text {
  font-size: var(--aive-type-ui); color: var(--aive-text-secondary);
  margin: 0 0 var(--aive-space-3);
}
.acct-dl-icon { margin-right: var(--aive-space-1); }
.acct-consequences { margin-bottom: var(--aive-space-5); }
.acct-consequences-title {
  font-size: var(--aive-type-ui); font-weight: 600;
  color: var(--aive-text-primary); margin: 0 0 var(--aive-space-2);
}
.acct-consequences-list {
  font-size: var(--aive-type-ui); color: var(--aive-text-secondary);
  padding-left: var(--aive-space-5); margin: 0; line-height: 2;
}
.acct-confirm-section {
  border-top: 1px solid rgba(220,122,109,0.25);
  padding-top: var(--aive-space-5);
}
.acct-confirm-heading {
  font-size: var(--aive-type-ui); font-weight: 600;
  color: var(--aive-error); margin: 0 0 var(--aive-space-4);
}
.acct-ack-label {
  padding: var(--aive-space-3) 0; margin-bottom: var(--aive-space-4);
}
.acct-ack-title { font-size: var(--aive-type-ui); }
/* JS-generated: avatar thumbnail */
.acct-avatar-thumb {
  width: 72px; height: 72px; border-radius: var(--aive-radius-full);
  object-fit: cover;
}
/* JS-generated: payment method card */
.acct-pay-card    { margin-bottom: var(--aive-space-2); }
.acct-pay-icon    { font-size: var(--aive-type-body); }
.acct-pay-default { color: var(--aive-accent); }
.acct-pay-actions { display: flex; gap: var(--aive-space-1); }
.acct-pay-btn     { padding: var(--aive-space-2) var(--aive-space-4); font-size: var(--aive-type-sm); min-height: 44px; }
/* JS-generated: monospace cells */
.acct-mono-cell   { font-family: monospace; font-size: var(--aive-type-sm); }

/* ═══════════════════════════════════════════════════════════════════════
   Contact page — extracted inline styles  (ct-)
   ═══════════════════════════════════════════════════════════════════════ */
.ct-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ct-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ct-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) {
  .ct-grid-2, .ct-grid-3, .ct-grid-4 { grid-template-columns: 1fr; }
  .acct-billing-grid { grid-template-columns: 1fr; }
}
.ct-faq-wrap { max-width: 720px; margin: 0 auto; }
.ct-faq-item {
  background: var(--aive-bg-secondary);
  border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-lg);
  padding: var(--aive-space-5) var(--aive-space-6);
  margin-bottom: var(--aive-space-3);
}
.ct-faq-summary {
  cursor: pointer; font-weight: 700;
  font-size: var(--aive-type-body); color: var(--aive-text-primary);
}
.ct-faq-answer {
  font-size: var(--aive-type-ui); color: var(--aive-text-secondary);
  margin: var(--aive-space-3) 0 0; line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════
   Careers page — extracted inline styles  (car-)
   ═══════════════════════════════════════════════════════════════════════ */
.car-life-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--aive-space-4); max-width: 860px; margin: 0 auto;
}
.car-no-role {
  text-align: center; margin-top: var(--aive-space-6);
  font-size: var(--aive-type-ui); color: var(--aive-text-tertiary);
}
.car-process-wrap { max-width: 680px; margin: 0 auto; }
.car-process-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--aive-space-4);
}
.car-step {
  display: flex; gap: var(--aive-space-4); align-items: flex-start;
}
.car-step-num {
  flex-shrink: 0; width: 32px; height: 32px;
  border-radius: var(--aive-radius-full);
  background: var(--aive-accent); color: var(--aive-bg-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--aive-type-body);
}
.car-step-title { margin: 0 0 var(--aive-space-1); }
.car-testimonial-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--aive-space-4); max-width: 860px; margin: 0 auto;
}
@media (max-width: 640px) {
  .car-life-grid, .car-testimonial-grid { grid-template-columns: 1fr; }
}
.car-cta-section { text-align: center; padding: var(--aive-space-11) 0; }
.car-cta-heading {
  font-size: clamp(24px, 3vw, 36px); font-weight: 700;
  letter-spacing: -0.5px; margin: 0 0 var(--aive-space-4);
}
.car-cta-sub {
  font-size: var(--aive-type-body); color: var(--aive-text-secondary);
  margin: 0 0 var(--aive-space-6);
}
.car-cta-email {
  font-size: var(--aive-type-ui); color: var(--aive-text-tertiary);
  margin-top: var(--aive-space-3);
}

/* ═══════════════════════════════════════════════════════════════════════
   About page — extracted inline styles  (abt-)
   ═══════════════════════════════════════════════════════════════════════ */
.abt-team-icon {
  width: 64px; height: 64px; border-radius: var(--aive-radius-full);
  background: var(--aive-bg-tertiary);
  display: flex; align-items: center; justify-content: center;
}
.abt-hiring-note {
  text-align: center; margin-top: var(--aive-space-7);
  font-size: var(--aive-type-body); color: var(--aive-text-secondary);
}
.abt-press-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--aive-space-4);
}
@media (max-width: 768px) {
  .abt-press-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Dashboard page — extracted inline styles  (dash-)
   ═══════════════════════════════════════════════════════════════════════ */
.dash-team-stats-gap { margin-top: var(--aive-space-4); }
/* JS-generated: project thumbnail */
.dash-project-thumb-img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--aive-radius-xs);
}

/* ═══════════════════════════════════════════════════════════════════════
   Download page — extracted inline styles
   ═══════════════════════════════════════════════════════════════════════ */
.download-included-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--aive-space-4);
}
.download-sysreq-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--aive-space-4);
  max-width: 860px; margin: 0 auto;
}
.download-sysreq-list {
  list-style: none; padding: 0; margin: var(--aive-space-3) 0 0;
  font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary); line-height: 2;
}
.download-changelog-card + .download-changelog-card { margin-top: var(--aive-space-4); }
.download-checksum-list {
  font-family: var(--aive-font-mono); font-size: var(--aive-text-caption); word-break: break-all;
}
.download-checksum-note {
  font-size: var(--aive-text-caption); color: var(--aive-text-tertiary);
  margin: var(--aive-space-4) 0 0; line-height: 1.6;
}
.download-faq-wrap { max-width: 720px; margin: 0 auto; }
.download-faq-item {
  background: var(--aive-bg-secondary); border: 1px solid var(--aive-border-default);
  border-radius: var(--aive-radius-lg); padding: var(--aive-space-5) var(--aive-space-6);
  margin-bottom: var(--aive-space-3);
}
.download-faq-item[open] { border-color: var(--aive-border-strong); }
.download-faq-item summary {
  cursor: pointer; font-weight: 700; font-size: var(--aive-text-body-sm);
  color: var(--aive-text-primary); list-style: none;
}
.download-faq-item summary::-webkit-details-marker { display: none; }
.download-faq-item p {
  font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary);
  margin: var(--aive-space-3) 0 0; line-height: 1.7;
}

@media (max-width: 768px) {
  .download-included-grid { grid-template-columns: 1fr; }
  .download-sysreq-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Privacy page — extracted inline styles
   ═══════════════════════════════════════════════════════════════════════ */
.legal-table {
  width: 100%; border-collapse: collapse;
  font-size: var(--aive-text-body-sm); color: var(--aive-text-secondary);
}
.legal-table-wrap { overflow-x: auto; margin-top: var(--aive-space-3); }
.legal-table th {
  padding: var(--aive-space-3); font-weight: 600;
  color: var(--aive-text-primary); text-align: left;
}
.legal-table td { padding: var(--aive-space-3); }
.legal-table tr { border-bottom: 1px solid var(--aive-border-default); }
.legal-card__subtitle {
  margin-top: var(--aive-space-5); font-size: var(--aive-text-body-sm);
  font-weight: 700; color: var(--aive-text-primary);
}

/* ═══════════════════════════════════════════════════════════════════════
   404 page — extracted inline styles
   ═══════════════════════════════════════════════════════════════════════ */
.link-accent { color: var(--aive-accent); }
.sk-line--spaced { margin-top: var(--aive-space-4); }
.doc-nav-card--right { text-align: right; }
.req-table--spaced { margin-top: var(--aive-space-6); }

/* Dot color variants — used by dashboard tier/storage breakdown */
.dot--accent  { background: var(--aive-accent); }
.dot--ai      { background: var(--aive-ai-purple); }
.dot--success { background: var(--aive-success); }
.dot--warning { background: var(--aive-warning); }

/* Meter fill color variants — used by account/dashboard usage bars */
.meter--accent  { background: var(--aive-accent); }
.meter--warning { background: var(--aive-warning); }
.meter--error   { background: var(--aive-error); }

/* Password strength meter */
.pw-bar { background: var(--aive-border-default); }
.pw-bar--active.pw-weak      { background: var(--aive-error); }
.pw-bar--active.pw-fair      { background: var(--aive-warning); }
.pw-bar--active.pw-good      { background: var(--aive-yellow); }
.pw-bar--active.pw-strong    { background: var(--aive-success); }
.pw-bar--active.pw-excellent { background: var(--aive-success); }
.pw-strength-label.pw-weak      { color: var(--aive-error); }
.pw-strength-label.pw-fair      { color: var(--aive-warning); }
.pw-strength-label.pw-good      { color: var(--aive-yellow); }
.pw-strength-label.pw-strong    { color: var(--aive-success); }
.pw-strength-label.pw-excellent { color: var(--aive-success); }

/* Login message states */
.login-msg--error   { color: var(--aive-error); }
.login-msg--success { color: var(--aive-success); }

/* Screen reader only utility */
.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;
}

/* ── PRODUCTION READINESS: Touch targets ─────────────────────────────── */
/* Ensure interactive elements meet 44px minimum tap target height.
   Do NOT set min-width or change display on text links — only min-height. */
button, .btn, [role="button"] {
  min-height: 44px;
}
/* Text links in nav/footer: use padding to meet 44px height without breaking layout */
.nav-link, .footer-col a, .login-tab,
.login-help-link a, .forgot-password-link, .login-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
/* Footer links stack vertically in their column */
.footer-col { display: flex; flex-direction: column; }
.footer-col a { display: flex; width: 100%; }
/* Full-width buttons */
.login-btn { display: flex; width: 100%; }

/* ── PRODUCTION READINESS: Hover transitions ─────────────────────────── */
button, .btn, [role="button"], .card, .plan-card, .feature-card {
  transition: background var(--aive-duration-normal) var(--aive-ease-default),
              border-color var(--aive-duration-normal) var(--aive-ease-default),
              box-shadow var(--aive-duration-normal) var(--aive-ease-default),
              opacity var(--aive-duration-normal) var(--aive-ease-default),
              transform var(--aive-duration-normal) var(--aive-ease-default);
}

/* ── PRODUCTION READINESS: Performance hints ─────────────────────────── */
/* contain: layout on grid containers for paint isolation */
.footer-grid,
.plans-grid,
.feature-cinematic .container,
.ct-grid-2, .ct-grid-3, .ct-grid-4,
.dashboard-grid,
.acct-billing-grid {
  contain: layout;
}

/* content-visibility on below-fold sections for deferred rendering */
.pricing-section,
.plans-section,
.testimonials-section,
.faq-section,
.cta-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}

/* will-change on animated elements */
.hero-gradient-orb,
.scroll-progress,
.back-to-top,
.section-reveal {
  will-change: transform;
}

/* ── PRODUCTION READINESS: Print — hide widgets ──────────────────────── */
@media print {
  .chatbot-widget, .feedback-widget, .cookie-consent,
  .login-oauth-section, .back-to-top, .scroll-progress,
  .skip-to-content, #chatbot-widget, #feedback-widget {
    display: none !important;
  }
}

.aive-beta-pill {
  display: inline-flex;
  align-items: center;
  padding: var(--aive-space-half) var(--aive-space-2);
  font-size: var(--aive-type-tag);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--aive-ai-purple, #b07ad8);
  background: rgba(176, 122, 216, 0.12);
  border: 1px solid rgba(176, 122, 216, 0.24);
  border-radius: var(--aive-radius-xs);
  line-height: var(--aive-space-4);
  white-space: nowrap;
  user-select: none;
}
