/* ========================================
   CSS RESET & VARIABLES
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand */
  --color-primary: #0C0B14;
  --color-secondary: #1A1828;
  --color-accent: #A259FF;

  /* Data Accent */
  --color-data-accent: #F0A500;
  --color-data-accent-muted: #D4920A;

  /* Semantic */
  --color-success: #2CC295;
  --color-success-bg: #E8F8F0;
  --color-error: #EF6461;
  --color-error-bg: #FEE8E9;

  /* Surfaces — Light */
  --surface-page: #EEEAF6;
  --surface-card: #FFFFFF;
  --surface-alt: #E4DFF0;
  --surface-overlay: rgba(12, 11, 20, 0.6);

  /* Surfaces — Dark */
  --surface-dark: #0C0B14;
  --surface-dark-card: #1A1828;
  --surface-dark-elevated: #242236;

  /* Dark Panel */
  --panel-dark: #131121;

  /* Text — on light */
  --text-primary: #000000;
  --text-secondary: #7A7A8C;
  --text-muted: #9A96A8;
  --text-link: #A259FF;

  /* Text — on dark */
  --text-inverse: #FFFFFF;
  --text-inverse-secondary: #B8B4C8;
  --text-inverse-muted: #6E6A80;

  /* Interactive */
  --interactive-hover: #8B3FE0;
  --interactive-active: #7530C4;
  --interactive-focus: rgba(162, 89, 255, 0.35);

  /* Section-Specific */
  --hero-bg: linear-gradient(170deg, #0C0B14 0%, #12101F 60%, #181428 100%);
  --proof-bg: #131121;
  --cta-bg: linear-gradient(135deg, #0C0B14 0%, #151225 100%);

  /* Fonts */
  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;

  /* Motion */
  --motion-duration-fast: 150ms;
  --motion-duration-normal: 300ms;
  --motion-duration-slow: 600ms;
  --motion-easing-default: cubic-bezier(0.25, 0.1, 0.25, 1);
  --motion-easing-decelerate: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-duration-count: 1200ms;

  /* Spacing */
  --space-section-y: clamp(4rem, 8vw, 6.5rem);
  --container-max: 1400px;

  /* Design Tokens */
  --radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.65;
  letter-spacing: 0.005em;
  color: var(--text-primary);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: 1.5rem;
}

/* ========================================
   TYPOGRAPHY — v3 INCREASED SIZES
   ======================================== */
h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.3;
}

.text-amber { color: var(--color-data-accent); }
.text-amber-dark { color: var(--color-data-accent-muted); font-weight: 500; }
.text-bright { color: var(--text-inverse); font-weight: 500; }
.img-placeholder--light {
  background: #E4DFF0;
  border-color: rgba(12, 11, 20, 0.15);
}
.img-placeholder--light .img-placeholder__label {
  color: rgba(12, 11, 20, 0.5);
}
.img-placeholder--light .img-placeholder__desc {
  color: var(--text-muted);
}
.img-placeholder--light .img-placeholder__dims {
  color: rgba(12, 11, 20, 0.25);
}
.text-teal { color: var(--color-accent); }
.text-red { color: var(--color-error); }
.text-green { color: var(--color-success); }

/* ========================================
   DOT GRID PATTERN (dark sections)
   ======================================== */
.dot-grid {
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ========================================
   IMAGE PLACEHOLDER — SHARED
   ======================================== */
.img-placeholder {
  background: #1A1828;
  border: 2px dashed rgba(162, 89, 255, 0.25);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 2rem;
}
.img-placeholder__label {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.img-placeholder__desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-inverse-muted);
  line-height: 1.55;
  max-width: 520px;
}
.img-placeholder__dims {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-inverse-muted);
  margin-top: 0.75rem;
  opacity: 0.6;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 1000;
  transition: background var(--motion-duration-normal) ease,
              box-shadow var(--motion-duration-normal) ease;
}
.nav--transparent {
  background: transparent;
}
.nav--solid {
  background: var(--color-primary);
  box-shadow: 0 1px 0 rgba(162, 89, 255, 0.15);
}
.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-inverse);
  letter-spacing: -0.02em;
}
.nav__logo span {
  color: var(--color-accent);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-inverse);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--motion-duration-fast) ease,
              color var(--motion-duration-fast) ease;
}
.nav__link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}
.nav__cta {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-accent);
  padding: 8px 20px;
  border: 1.5px solid var(--color-accent);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
  transition: background var(--motion-duration-fast) ease,
              color var(--motion-duration-fast) ease;
}
.nav__cta:hover {
  background: rgba(162, 89, 255, 0.1);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-inverse);
  border-radius: 1px;
  transition: transform var(--motion-duration-fast) ease,
              opacity var(--motion-duration-fast) ease;
}
.nav__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav__mobile-menu.active {
  display: flex;
}
.nav__mobile-menu a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text-inverse);
  transition: color var(--motion-duration-fast) ease;
}
.nav__mobile-menu a:hover {
  color: var(--color-accent);
}
.nav__mobile-cta {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: #fff;
  padding: 14px 32px;
  background: var(--color-accent);
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background var(--motion-duration-fast) ease,
              transform var(--motion-duration-fast) ease;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--interactive-hover);
  transform: scale(1.02);
}
.btn-primary:active {
  background: var(--interactive-active);
  transform: scale(0.98);
}
.btn-primary:focus-visible {
  outline: 3px solid var(--interactive-focus);
  outline-offset: 2px;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 6px;
  border: 2px solid var(--color-accent);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--motion-duration-fast) ease,
              color var(--motion-duration-fast) ease;
}
.btn-secondary:hover {
  background: rgba(162, 89, 255, 0.08);
  color: var(--interactive-hover);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: transparent;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 4px;
  border: none;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--motion-duration-fast) ease;
}
.btn-ghost:hover {
  border-bottom-color: var(--color-accent);
}

/* ========================================
   SCROLL REVEAL ANIMATION
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--motion-duration-slow) var(--motion-easing-default),
              transform var(--motion-duration-slow) var(--motion-easing-default);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* Hero stagger animation */
.hero-fade {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 600ms var(--motion-easing-default) forwards;
}
.hero-fade-1 { animation-delay: 0ms; }
.hero-fade-2 { animation-delay: 120ms; }
.hero-fade-3 { animation-delay: 240ms; }
.hero-fade-4 { animation-delay: 360ms; }
.hero-fade-5 { animation-delay: 500ms; }
@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   SECTION 1: HERO
   ======================================== */
.hero {
  background: var(--hero-bg);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 52fr 48fr;
  gap: 2.5rem;
  align-items: center;
  padding-top: calc(72px + 7rem);
  padding-bottom: 8rem;
}
.hero__overline {
  font-family: var(--font-mono);
  font-size: 15px;
  color: #C49AFF;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  font-weight: 400;
}
.hero__text {
  max-width: 600px;
}
.hero h1 {
  color: var(--text-inverse);
  margin-bottom: 1.25rem;
  padding-right: 3rem;
}
.hero__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 22px;
  color: var(--text-inverse-secondary);
  line-height: 1.55;
  max-width: 540px;
  margin-bottom: 2.5rem;
}
.hero__ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  isolation: isolate;
}
.hero__visual::before {
  content: '';
  position: absolute;
  inset: -60px;
  background:
    radial-gradient(
      ellipse 60% 50% at 70% 60%,
      rgba(240, 165, 0, 0.18) 0%,
      rgba(240, 165, 0, 0.06) 30%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 50% 45% at 25% 30%,
      rgba(162, 89, 255, 0.14) 0%,
      rgba(162, 89, 255, 0.04) 35%,
      transparent 70%
    );
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}
.hero__visual > * {
  position: relative;
  z-index: 1;
}
.hero__visual .img-placeholder {
  width: 100%;
  max-width: 600px;
  min-height: 520px;
}

/* ========================================
   SECTION 2: PROBLEM
   ======================================== */
.section-problem {
  background: var(--surface-page);
  padding: var(--space-section-y) 0;
}
.section-problem .section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}
.section-problem h2 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.section-problem .section-desc {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Section 2A: Problem — coordination web */
.section-problem-web {
  background: var(--surface-page);
  padding: var(--space-section-y) 0;
}

/* Orchestration diagram */
.orch-wrap { position: relative; width: 100%; aspect-ratio: 1000 / 520; overflow: hidden; }
.orch-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.orch-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 28%; padding: 16px 0; border-radius: var(--radius); background: #2D1F6E; border: 1px solid #B89AFF; text-align: center; z-index: 2; }
.orch-hub__h1 { font-size: 16px; font-weight: 500; color: #D4BFFF; line-height: 1.3; }
.orch-hub__h2 { font-size: 12px; color: #B89AFF; margin-top: 4px; letter-spacing: 0.3px; }
.orch-row { position: absolute; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 2%; z-index: 2; }
.orch-row--top { top: 5%; }
.orch-row--bot { bottom: 5%; }
.orch-card { width: 22%; border-radius: var(--radius); padding: 12px 8px; text-align: center; border-width: 0.75px; border-style: solid; }
.orch-name { font-size: 15px; font-weight: 500; line-height: 1.3; }
.orch-sub { font-size: 11px; margin-top: 3px; opacity: 0.85; }
.orch-teal { background: #085041; border-color: #5DCAA5; }
.orch-teal .orch-name { color: #9FE1CB; }
.orch-teal .orch-sub { color: #5DCAA5; }
.orch-gray { background: #444441; border-color: #B4B2A9; }
.orch-gray .orch-name { color: #D3D1C7; }
.orch-gray .orch-sub { color: #B4B2A9; }
.orch-blue { background: #0C447C; border-color: #85B7EB; }
.orch-blue .orch-name { color: #B5D4F4; }
.orch-blue .orch-sub { color: #85B7EB; }
.orch-cyan { background: #0A3D5C; border-color: #5CB8D8; }
.orch-cyan .orch-name { color: #8DD0E8; }
.orch-cyan .orch-sub { color: #5CB8D8; }
.orch-amber { background: #633806; border-color: #EF9F27; }
.orch-amber .orch-name { color: #FAC775; }
.orch-amber .orch-sub { color: #EF9F27; }
.orch-lbl-row { position: absolute; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 2%; z-index: 1; }
.orch-lbl-row--top { top: 28%; }
.orch-lbl-row--bot { bottom: 28%; }
.orch-lbl { font-size: 15px; text-align: center; width: 22%; line-height: 1.4; opacity: 1; font-weight: 400; }

/* Section 2B: Problem — approaches (dark bg) */
.section-problem-approaches {
  background: var(--panel-dark);
  padding: var(--space-section-y) 0;
  position: relative;
  overflow: hidden;
}
.section-problem-approaches::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Composition 2: Approach rows with pills */
.approaches-v2 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  background: var(--surface-dark-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 0.5rem 0;
}
.appr-row {
  display: grid;
  grid-template-columns: 48px 140px 1fr;
  align-items: center;
  gap: 0;
  padding: 1.1rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.appr-row:last-child { border-bottom: none; }
.appr-icon { display: flex; align-items: center; justify-content: center; }
.appr-body { display: contents; }
.appr-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-inverse);
  white-space: nowrap;
  padding-left: 0.75rem;
}
.appr-pills {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-left: 1rem;
}
.appr-pill {
  font-family: var(--font-body);
  font-size: 13px;
  color: #B8B4C8;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 100px;
  padding: 6px 14px;
  white-space: nowrap;
}

/* 2x2 Approach cards (legacy — kept for compat) */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.approach-card2 {
  background: var(--surface-dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  text-align: center;
}
.approach-card2--highlight {
  border-color: rgba(162, 89, 255, 0.2);
  background: linear-gradient(135deg, #131121, #1C1A2E);
}
.approach-card2__icon {
  margin-bottom: 1.25rem;
}
.approach-card2__icon svg {
  display: inline-block;
}
.approach-card2__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-inverse);
  margin-bottom: 0.75rem;
}
.approach-card2__desc {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-inverse-secondary);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.approach-card2__bar-wrap {
  margin-bottom: 0.75rem;
}
.approach-card2__bar-track {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 5px;
  overflow: visible;
  position: relative;
}
.approach-card2__bar-fill {
  height: 100%;
  background: #EF6461;
  border-radius: 5px 0 0 5px;
  position: relative;
}
.approach-card2__bar-fill::after {
  content: '';
  position: absolute;
  right: -2px;
  top: -5px;
  width: 5px;
  height: 20px;
  background: #EF6461;
  border-radius: 2px;
}
.approach-card2__bar-fill--teal {
  background: #A259FF;
}
.approach-card2__bar-fill--teal::after {
  background: #F0A500;
}
.approach-card2__verdict {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #EF6461;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* Meter panel comparison */
.meter-panel {
  background: var(--panel-dark);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 0.5rem 0;
}
.meter-row {
  display: grid;
  grid-template-columns: 56px 1fr 240px;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.meter-row:last-child {
  border-bottom: none;
}
.meter-row--highlight {
  background: rgba(162, 89, 255, 0.04);
}
.meter-row__icon {
  display: flex;
  justify-content: center;
}
.meter-row__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-inverse);
  margin-bottom: 0.25rem;
}
.meter-row__sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-inverse-muted);
  line-height: 1.45;
}
.meter-row__meter {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.meter-row__track {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: visible;
  position: relative;
}
.meter-row__fill {
  height: 100%;
  background: #EF6461;
  border-radius: 4px;
  position: relative;
}
.meter-row__fill::after {
  content: '';
  position: absolute;
  right: -2px;
  top: -4px;
  width: 4px;
  height: 16px;
  background: #EF6461;
  border-radius: 2px;
}
.meter-row__fill--teal {
  background: #A259FF;
}
.meter-row__fill--teal::after {
  background: #F0A500;
}
.meter-row__label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #EF6461;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Problem panel internals */
.problem-panel__top {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 0;
}
.problem-panel__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  color: var(--color-data-accent);
  line-height: 1;
  flex-shrink: 0;
}
.problem-panel__number-label {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-inverse-muted);
  margin-top: 0.25rem;
}
.problem-panel__entities {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-inverse-secondary);
  line-height: 1.6;
  padding-top: 0.5rem;
}
.problem-panel__divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 1.75rem 0;
}
.problem-panel__scaling {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 0;
}
.problem-panel__scale-block {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--text-inverse);
  line-height: 1.6;
}
.problem-panel__conclusion {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--text-inverse);
  padding-top: 1.75rem;
  margin-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ========================================
   SECTION 3: SOLUTION
   ======================================== */
.section-solution {
  background: var(--surface-page);
  padding: var(--space-section-y) 0;
  overflow-x: clip;
}
.section-solution .section-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 2.5rem;
}
.section-solution h2 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

/* Prevent wrap on desktop for specific phrases */
@media (min-width: 768px) {
  .nowrap-desktop {
    white-space: nowrap;
  }
}
.section-solution .section-desc {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.section-solution .img-placeholder {
  max-width: 960px;
  min-height: 480px;
  margin: 0 auto 2rem;
}
.section-solution .section-closing {
  text-align: center;
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 500;
}

/* ========================================
   SECTION 4: VP1 — TEAM MULTIPLIED
   ======================================== */
.section-vp1 {
  background: #E4DFF0;
  padding: var(--space-section-y) 0;
  overflow-x: clip;
}
.section-vp1 h2 {
  color: var(--text-primary);
  margin-bottom: 0;
}

/* VP1 three-column panel */
.vp1-cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
}
.vp1-col {
  text-align: center;
  padding: 2.5rem 2rem;
}
.vp1-col__sep {
  width: 1px;
  background: rgba(255,255,255,0.06);
  align-self: stretch;
}
.vp1-col__number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--color-data-accent);
  line-height: 1;
  margin-bottom: 4px;
}
.vp1-col__label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-inverse-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}
.vp1-col__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-inverse);
  margin-bottom: 1rem;
}
.vp1-col__divider {
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  margin: 0 auto 1rem;
}
.vp1-col__proof {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-inverse-secondary);
  line-height: 1.55;
}

/* ========================================
   SECTION 5: VP2 — MARGIN INTELLIGENCE (from v2, sizes increased)
   ======================================== */
.section-vp2 {
  background: #DAD4E8;
  padding: var(--space-section-y) 0;
}
.section-vp2 h2 { color: var(--text-primary); margin-bottom: 0; }

/* VP2 Flow panel */
.flow-panel {
  background: #131121;
  border-radius: var(--radius);
  border: 1px solid rgba(162,89,255,0.1);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1.2fr auto 1.4fr;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.flow-step { padding: 0 1.25rem; }
.flow-step__label { font-family: var(--font-mono); font-size: 12px; color: #6E6A80; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.75rem; }
.flow-step__title { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: #FFFFFF; margin-bottom: 0.75rem; }
.flow-step__details { font-size: 15px; color: #B8B4C8; line-height: 1.6; }
.flow-arrow { display: flex; align-items: center; padding-top: 2.5rem; }
.flow-step--result .flow-step__label { color: #F0A500; }
.flow-nums { display: flex; gap: 1.5rem; margin-bottom: 1.25rem; }
.flow-num { font-family: var(--font-display); font-size: 42px; font-weight: 800; color: #F0A500; line-height: 1; }
.flow-num--teal { color: #A259FF; }
.flow-num__sub { font-family: var(--font-mono); font-size: 11px; color: #6E6A80; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.flow-why { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.06); }
.flow-why__title { font-family: var(--font-mono); font-size: 12px; color: #F0A500; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.75rem; }
.flow-why__item { font-size: 14px; color: #B8B4C8; line-height: 1.5; margin-bottom: 0.35rem; }
.flow-footer { grid-column: 1 / -1; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 0.75rem; }
.flow-footer__text { font-family: var(--font-mono); font-size: 13px; color: #B8B4C8; letter-spacing: 0.5px; }
.section-vp2 h2 {
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

/* Mock Pricing Panel */
.pricing-panel {
  max-width: 960px;
  margin: 0 auto;
  background: #131121;
  border-radius: var(--radius);
  border: 1px solid rgba(162, 89, 255, 0.12);
  box-shadow: 0 8px 40px rgba(12, 11, 20, 0.25);
  overflow: hidden;
}
.pricing-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.75rem;
  background: rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pricing-panel__title {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-inverse-secondary);
  letter-spacing: 0.04em;
}
.pricing-panel__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-success);
}
.pricing-panel__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.pricing-panel__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.pricing-panel__left {
  padding: 2rem 1.75rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.pricing-panel__right {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pp-recommended {
  margin-bottom: 1.5rem;
}
.pp-label {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-inverse-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.375rem;
}
.pp-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  color: var(--color-data-accent);
  line-height: 1.1;
}
.pp-price-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-inverse-secondary);
  margin-top: 0.25rem;
}
.pp-metrics-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.75rem;
}
.pp-metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.pp-metric__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
}
.pp-metric__value--amber { color: var(--color-data-accent); }
.pp-metric__value--teal { color: var(--color-accent); }
.pp-metric__label {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-inverse-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pp-why {
  margin-top: auto;
}
.pp-why__title {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.pp-why__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pp-why__item {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-inverse-secondary);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.pp-why__item svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  color: var(--color-accent);
}

/* Mini indicator cards */
.pp-indicator {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1rem 1.125rem;
}
.pp-indicator__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}
.pp-indicator__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.pp-indicator__title {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-inverse-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pp-indicator__value {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-inverse-secondary);
  line-height: 1.45;
}
.pp-indicator__value strong {
  color: var(--color-data-accent);
  font-weight: 600;
}
.pp-indicator__value .text-teal {
  color: var(--color-accent);
}
.pp-indicator__value .text-error {
  color: var(--color-error);
}

/* ========================================
   SECTION 6: VP3 — CUSTOMER EXPERIENCE (v3: dark bg, card layout)
   ======================================== */
.section-cx {
  background: #1E1C30;
  padding: var(--space-section-y) 0;
}
.section-cx h2 {
  color: var(--text-inverse);
  text-align: center;
  margin-bottom: 2.5rem;
}
/* VP3 Hero number approach */
.cx-panel { padding: 3rem; }
.cx-hero-nums { text-align: center; }
.cx-hero-num { display: flex; align-items: baseline; justify-content: center; gap: 1.5rem; }
.cx-hero-num__val { font-family: var(--font-display); font-size: 56px; font-weight: 800; line-height: 1; }
.cx-hero-num__val--red { color: #EF6461; }
.cx-hero-num__val--teal { color: #A259FF; }
.cx-hero-num__arrow { font-size: 36px; color: #6E6A80; }
.cx-hero-num__label { font-family: var(--font-body); font-size: 22px; color: #B8B4C8; margin-top: 1rem; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.4; }

.cx-support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cx-support-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 1.5rem 1.25rem; }
.cx-support-card__title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--text-inverse); margin-bottom: 1rem; text-align: center; }
.cx-support-card__before, .cx-support-card__after { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0; }
.cx-support-card__before { border-bottom: 1px solid rgba(255,255,255,0.04); }
.cx-support-card__tag { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; padding: 3px 8px; border-radius: 4px; flex-shrink: 0; }
.cx-support-card__tag--red { color: #EF6461; background: rgba(239,100,97,0.1); }
.cx-support-card__tag--teal { color: #A259FF; background: rgba(162,89,255,0.1); }
.cx-support-card__text { font-size: 16px; line-height: 1.4; }
.cx-support-card__text--red { color: #FFFFFF; opacity: 0.6; }
.cx-support-card__text--teal { color: #FFFFFF; font-weight: 500; }

.cx-closing {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--text-inverse-secondary);
  line-height: 1.6;
}

/* ========================================
   SECTION 7: PROOF (from v2, sizes increased)
   ======================================== */
.section-proof {
  background: var(--proof-bg);
  padding: var(--space-section-y) 0;
  position: relative;
  overflow: hidden;
}
.section-proof h2 {
  color: var(--text-inverse);
  text-align: center;
  margin-bottom: 0.9rem;
}

/* Count-up number styling */
.count-up {
  font-variant-numeric: tabular-nums;
}

/* ========================================
   SECTION 8: COMPOUNDING
   Light section background. Full styles appended at end of file
   under .ctrl-* prefix.
   ======================================== */
.section-compound {
  background: var(--surface-page);
  padding: var(--space-section-y) 0;
  position: relative;
  overflow: hidden;
}
.section-compound h2 {
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 0.9rem;
}

/* ========================================
   SECTION 9: CTA (from v2, sizes increased)
   ======================================== */
.section-cta {
  background: var(--cta-bg);
  padding: var(--space-section-y) 0;
  position: relative;
  overflow: hidden;
}
.section-cta h2 {
  color: var(--text-inverse);
  text-align: center;
  margin-bottom: 0.9rem;
}
/* Full styles appended at end of file under .cta9-* prefix */

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--color-primary);
  border-top: 1px solid rgba(162, 89, 255, 0.2);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-inverse);
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--text-inverse);
  margin-bottom: 0.75rem;
}
.footer-brand-name span {
  color: var(--color-accent);
}
.footer-tagline {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-inverse-secondary);
  line-height: 1.6;
  max-width: 280px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.625rem;
}
.footer-links a {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-inverse-secondary);
  text-decoration: none;
  transition: color var(--motion-duration-fast) ease;
}
.footer-links a:hover {
  color: var(--text-inverse);
}
.footer-contact-item {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-inverse-secondary);
  margin-bottom: 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-contact-item a {
  color: var(--text-inverse-secondary);
  text-decoration: none;
  transition: color var(--motion-duration-fast) ease;
}
.footer-contact-item a:hover {
  color: var(--color-accent);
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-inverse-muted);
  fill: none;
  flex-shrink: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  text-align: center;
}
.footer-copyright {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-inverse-muted);
  letter-spacing: 0.04em;
}

/* ========================================
   THEME LABEL BADGE
   ======================================== */
.theme-label {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text-inverse-secondary);
  background: var(--color-primary);
  border: 1px solid rgba(162, 89, 255, 0.2);
  border-radius: 6px;
  padding: 6px 14px;
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ========================================
   RESPONSIVE — TABLET (768px)
   ======================================== */
@media (max-width: 768px) {
  .approach-grid { grid-template-columns: 1fr; }
  .meter-row { grid-template-columns: 40px 1fr; gap: 1rem; }
  .meter-row__meter { grid-column: 1 / -1; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
    gap: 2.5rem;
  }
  .hero__text { max-width: 100%; }
  .hero__sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__ctas { justify-content: center; }
  .hero__visual { order: -1; }
  .hero__visual .img-placeholder {
    max-width: 400px;
    min-height: 320px;
  }

  .problem-panel__top {
    flex-direction: column;
    gap: 1rem;
  }
  .problem-panel__scaling {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-solution .img-placeholder {
    min-height: 300px;
  }

  .vp1-flow-row {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .vp1-flow__input { min-width: auto; }
  .vp1-flow__result { min-width: auto; text-align: left; }

  .pricing-panel__body {
    grid-template-columns: 1fr;
  }
  .pricing-panel__left {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .cx-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ========================================
   RESPONSIVE — MOBILE (480px)
   ======================================== */
@media (max-width: 480px) {
  body { font-size: 18px; }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .hero__sub { font-size: 18px; }

  .btn-primary {
    padding: 14px 24px;
    font-size: 0.9375rem;
  }
  .pp-price {
    font-size: 2.25rem;
  }
  .pp-metrics-row {
    flex-direction: column;
    gap: 1rem;
  }

  .cx-row__value--key {
    font-size: 22px;
  }

  .problem-panel__number {
    font-size: 48px;
  }

  .vp1-result-bar {
    font-size: 20px;
  }
}

/* ============================================================
   HERO CONSOLE — Live Operations Dashboard
   Pass 1: Structural skeleton (no animations, no decoration)
   Scoped under .console* prefix to avoid all collisions.
   ============================================================ */

.console {
  width: 100%;
  max-width: 680px;
  min-height: 540px;
  background: var(--color-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--text-inverse-secondary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(162, 89, 255, 0.06);
}

/* ---------- Browser chrome ---------- */
.console__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.035),
    rgba(0, 0, 0, 0.35));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.console__dots {
  display: flex;
  gap: 6px;
}

.console__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.console__dot--red    { background: #FF5F57; }
.console__dot--amber  { background: #FEBC2E; }
.console__dot--green  { background: #28C840; }

.console__url {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-inverse-muted);
  letter-spacing: 0.02em;
}

.console__live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--color-success);
  letter-spacing: 0.08em;
}

.console__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
}

/* ---------- Body: 3-panel grid ---------- */
.console__body {
  display: grid;
  grid-template-columns: 22% 1fr 28%;
  flex: 1;
  min-height: 0;
}

.console__panel {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}

.console__panel:last-child {
  border-right: none;
}

.console__panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.console__panel-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-inverse-secondary);
}

.console__panel-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-inverse-muted);
}

/* ---------- PANEL 1 — Today's Pipeline ---------- */
.console__pipeline {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow: hidden;
}

.pipe-card {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pipe-card--active {
  background: rgba(240, 165, 0, 0.08);
  border-color: rgba(240, 165, 0, 0.4);
  box-shadow:
    0 0 0 1px rgba(240, 165, 0, 0.18),
    0 0 24px rgba(240, 165, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pipe-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pipe-card__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-inverse);
  letter-spacing: -0.01em;
}

.pipe-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-data-accent);
}

.pipe-card__lane {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-inverse-secondary);
}

.pipe-card__chip {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 7px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: 3px;
}

.pipe-card__chip--quoting {
  background: rgba(240, 165, 0, 0.15);
  color: var(--color-data-accent);
}

.pipe-card__chip--docs {
  background: rgba(93, 202, 165, 0.15);
  color: #5DCAA5;
}

.pipe-card__chip--booking {
  background: rgba(162, 89, 255, 0.18);
  color: var(--color-accent);
}

.pipe-card__chip--coord {
  background: rgba(92, 184, 216, 0.15);
  color: #5CB8D8;
}

/* ---------- PANEL 2 — Active Workspace ---------- */
.console__panel--workspace {
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden; /* safety: never let tab row or content bleed into adjacent panel */
}

.console__tabs {
  display: flex;
  gap: 2px;
  padding: 8px 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
  overflow: hidden;
}

.console__tab {
  background: none;
  border: none;
  padding: 6px 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-inverse-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  flex-shrink: 0;
}

.console__tab--active {
  color: var(--text-inverse);
  border-bottom-color: var(--color-data-accent);
}

.console__tab-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-data-accent);
}

.console__tab-badge {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-inverse-secondary);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 3px;
}

.workspace {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 0;
}

.workspace__customer {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.workspace__customer-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.workspace__customer-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-inverse);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.workspace__customer-tier {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  background: rgba(240, 165, 0, 0.15);
  color: var(--color-data-accent);
  border: 1px solid rgba(240, 165, 0, 0.25);
  border-radius: 3px;
}

.workspace__customer-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-inverse-muted);
}

.workspace__lane {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.workspace__lane-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.workspace__lane-dot {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-inverse);
  padding: 3px 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.workspace__lane-track {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(240, 165, 0, 0.2),
    rgba(240, 165, 0, 0.7),
    rgba(240, 165, 0, 0.2));
}

.workspace__lane-spec {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-inverse-muted);
}

.workspace__rates {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid transparent;
  font-family: var(--font-mono);
  font-size: 11px;
}

.rate-row--selected {
  background: rgba(44, 194, 149, 0.1);
  border-color: rgba(44, 194, 149, 0.32);
  box-shadow: inset 3px 0 0 var(--color-success);
  padding-left: 13px;
}

.rate-row__carrier {
  color: var(--text-inverse-secondary);
  font-weight: 500;
}

.rate-row--selected .rate-row__carrier {
  color: var(--text-inverse);
  font-weight: 600;
}

.rate-row__price {
  color: var(--text-inverse);
  font-weight: 600;
}

.rate-row--selected .rate-row__price {
  color: var(--color-success);
  font-weight: 700;
}

.rate-row__mark {
  color: var(--color-success);
  margin-left: auto;
  padding-left: 8px;
  font-weight: 700;
}

.workspace__reco {
  background: linear-gradient(135deg,
    rgba(240, 165, 0, 0.14),
    rgba(240, 165, 0, 0.03));
  border: 1px solid rgba(240, 165, 0, 0.32);
  border-radius: 8px;
  padding: 12px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 2px 8px rgba(0, 0, 0, 0.15),
    0 0 40px rgba(240, 165, 0, 0.1);
}

.workspace__reco-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-data-accent);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.workspace__reco-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-data-accent);
  clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
  flex-shrink: 0;
}

.workspace__reco-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.workspace__reco-price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--color-data-accent);
  letter-spacing: -0.025em;
  line-height: 1;
}

.workspace__reco-stats {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.workspace__reco-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.workspace__reco-num {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-inverse);
  line-height: 1;
}

.workspace__reco-num--teal {
  color: var(--color-success);
}

.workspace__reco-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-inverse-secondary);
  opacity: 0.85;
}

.workspace__reco-floors {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-success);
  padding-top: 8px;
  border-top: 1px solid rgba(44, 194, 149, 0.18);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ---------- PANEL 3 — Multi-Agent Feed ---------- */
.console__feed-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--color-success);
  letter-spacing: 0.08em;
}

.console__feed-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
}

.agent-feed {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  min-height: 0;
}

.agent-line {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  padding: 2px 0;
}

.agent-time {
  color: var(--text-inverse-muted);
  font-size: 9px;
  flex-shrink: 0;
}

.agent-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.agent-tag--pricing {
  background: rgba(240, 165, 0, 0.15);
  color: var(--color-data-accent);
}

.agent-tag--docs {
  background: rgba(93, 202, 165, 0.15);
  color: #5DCAA5;
}

.agent-tag--booking {
  background: rgba(162, 89, 255, 0.18);
  color: var(--color-accent);
}

.agent-tag--coord {
  background: rgba(92, 184, 216, 0.15);
  color: #5CB8D8;
}

.agent-tag--review {
  background: rgba(239, 100, 97, 0.18);
  color: var(--color-error);
}

.agent-msg {
  color: var(--text-inverse-secondary);
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.agent-line--review {
  background: rgba(239, 100, 97, 0.08);
  border-left: 2px solid var(--color-error);
  padding: 4px 8px;
  border-radius: 0 3px 3px 0;
  margin-bottom: 2px;
}

.agent-line--review .agent-msg {
  color: var(--text-inverse);
  font-weight: 500;
}

/* ---------- Bottom scoreboard ---------- */
.console__scoreboard {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.35));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-inverse-muted);
  white-space: nowrap;
  overflow-x: auto;
  flex-shrink: 0;
}

.scoreboard__label {
  font-weight: 700;
  color: var(--color-data-accent);
  letter-spacing: 0.12em;
  padding-right: 2px;
}

.scoreboard__item {
  color: var(--text-inverse-secondary);
  font-weight: 500;
}

.scoreboard__item b {
  color: var(--text-inverse);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 12px;
  margin-right: 2px;
}

.scoreboard__sep {
  color: rgba(255, 255, 255, 0.15);
}

/* ---------- Pass 4: Animations ---------- */

/* Live pulse — used on chrome and feed header LIVE dots */
@keyframes console-live-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.console__live-dot,
.console__feed-dot {
  animation: console-live-pulse 1.8s ease-in-out infinite;
}

/* Active pipe card dot — expanding amber ring */
@keyframes console-dot-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 165, 0, 0.55);
  }
  80%, 100% {
    box-shadow: 0 0 0 10px rgba(240, 165, 0, 0);
  }
}

.pipe-card__dot {
  animation: console-dot-ring 2s ease-out infinite;
}

/* Lane track glider — small amber dot travelling DXB → LAX */
.workspace__lane-track {
  position: relative;
  overflow: visible;
}

.workspace__lane-track::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-data-accent);
  box-shadow: 0 0 10px rgba(240, 165, 0, 0.9),
              0 0 4px rgba(240, 165, 0, 1);
  transform: translate(-50%, -50%);
  animation: console-lane-glide 5s ease-in-out infinite;
}

@keyframes console-lane-glide {
  0%        { left: 0%;   opacity: 0; }
  10%       { opacity: 1; }
  90%       { opacity: 1; }
  100%      { left: 100%; opacity: 0; }
}

/* Agent feed line — entry animation when new lines are prepended by JS */
@keyframes console-agent-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.agent-line--enter {
  animation: console-agent-enter 0.45s ease-out;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .console__live-dot,
  .console__feed-dot,
  .pipe-card__dot,
  .workspace__lane-track::before,
  .agent-line--enter {
    animation: none !important;
  }
  .workspace__lane-track::before {
    display: none;
  }
}

/* ---------- Mobile: collapse panels ---------- */
@media (max-width: 900px) {
  .console__body {
    grid-template-columns: 28% 1fr 32%;
  }
}

@media (max-width: 768px) {
  .console {
    min-height: auto;
  }

  .console__body {
    grid-template-columns: 1fr;
  }

  .console__panel {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .console__panel:last-child {
    border-bottom: none;
  }

  .console__pipeline {
    flex-direction: row;
    overflow-x: auto;
    padding: 10px;
  }

  .pipe-card {
    flex-shrink: 0;
    min-width: 150px;
  }

  .agent-feed {
    max-height: 220px;
    overflow-y: auto;
  }

  .hero__visual::before {
    inset: -30px;
    filter: blur(40px);
  }
}

@media (max-width: 480px) {
  .console {
    border-radius: 10px;
  }

  .console__chrome {
    padding: 9px 12px;
    gap: 10px;
  }

  .console__url {
    font-size: 10px;
  }

  .console__panel-header {
    padding: 10px 10px 6px;
  }

  .workspace {
    padding: 12px;
    gap: 10px;
  }

  .workspace__customer-name {
    font-size: 16px;
  }

  .workspace__reco {
    padding: 11px 13px 9px;
  }

  .workspace__reco-price {
    font-size: 28px;
  }

  .workspace__reco-num {
    font-size: 15px;
  }

  .workspace__reco-main {
    gap: 10px;
  }

  .agent-feed {
    max-height: 180px;
  }

  .console__scoreboard {
    padding: 9px 12px;
    gap: 8px;
    font-size: 9px;
  }

  .scoreboard__item b {
    font-size: 11px;
  }

  .pipe-card {
    min-width: 140px;
  }
}

/* ============================================================
   SECTION 2A — OPS TEAM DESKTOP MOCKUP
   Pass 1: Structural skeleton
   All styles scoped under .ops-* prefix to avoid collisions.
   ============================================================ */

.ops-desktop {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  padding: 56px 50px 72px;
  min-height: 700px;
  background-color: #141820;
  background-image:
    radial-gradient(circle, rgba(148, 163, 184, 0.07) 1px, transparent 1.5px),
    radial-gradient(ellipse at 25% 12%, rgba(148, 163, 184, 0.10), transparent 55%),
    radial-gradient(ellipse at 78% 85%, rgba(148, 163, 184, 0.07), transparent 55%);
  background-size: 22px 22px, 100% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  font-family: var(--font-body);
  color: #1F2937;
  isolation: isolate;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.22);
}

/* Subtle overhead light glow at the top of the desktop */
.ops-desktop::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 240px;
  background: radial-gradient(
    ellipse 70% 100% at 50% 0%,
    rgba(148, 163, 184, 0.08),
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* ---------- Main browser window ---------- */
.ops-browser {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #D5D9E0;
  position: relative;
  z-index: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(0, 0, 0, 0.15),
    0 10px 28px rgba(0, 0, 0, 0.38),
    0 24px 60px rgba(0, 0, 0, 0.32);
}

/* Window chrome with traffic lights */
.ops-browser__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  background: linear-gradient(180deg, #E4E6EB, #D8DCE3);
  border-bottom: 1px solid #CDD2DA;
}

.ops-browser__dots {
  display: flex;
  gap: 7px;
}

.ops-browser__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.ops-browser__dot--red    { background: #FF5F57; }
.ops-browser__dot--amber  { background: #FEBC2E; }
.ops-browser__dot--green  { background: #28C840; }

.ops-browser__url {
  flex: 1;
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid #D5D9E0;
  border-radius: 5px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #6B7280;
}

.ops-browser__icons {
  color: #6B7280;
  font-size: 14px;
}

/* ---------- Tab strip ---------- */
.ops-tabs {
  display: flex;
  gap: 1px;
  padding: 7px 8px 0;
  background: linear-gradient(180deg, #DDE0E5, #D2D6DE);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  position: relative;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}

.ops-tabs::-webkit-scrollbar {
  display: none;
}

/* Right-edge fade suggesting "more tabs beyond" */
.ops-tabs::after {
  content: '';
  position: sticky;
  right: 0;
  top: 0;
  bottom: 0;
  width: 32px;
  min-width: 32px;
  height: auto;
  align-self: stretch;
  background: linear-gradient(90deg, rgba(221, 224, 229, 0), #DDE0E5 70%);
  pointer-events: none;
  margin-left: -32px;
  z-index: 1;
}

.ops-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 8px 8px;
  background: #E8EAEE;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  font-family: var(--font-body);
  font-size: 11px;
  color: #6B7280;
  min-width: 0;
  max-width: 138px;
  flex-shrink: 0;
  position: relative;
}

.ops-tab--active {
  background: #FFFFFF;
  color: #1F2937;
  border-color: #CDD2DA;
  box-shadow: inset 0 2px 0 0 #0078D4;
}

.ops-tab--more {
  background: #D0D4DC;
  color: #4B5563;
  padding: 7px 11px 8px;
  max-width: none;
  flex-shrink: 0;
}

.ops-tab__more-label {
  font-size: 11px;
  font-weight: 700;
  color: #4B5563;
  letter-spacing: 0.01em;
}

.ops-favicon {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

.ops-favicon--outlook   { background: #0078D4; }
.ops-favicon--dhl       { background: #FFCC00; }
.ops-favicon--maersk    { background: #42B0D5; }
.ops-favicon--cargowise { background: #E87722; }
.ops-favicon--track     { background: #10B981; }
.ops-favicon--sheets    { background: #0F9D58; }
.ops-favicon--whatsapp  { background: #25D366; }
.ops-favicon--slack     { background: #611F69; }
.ops-favicon--calendar  { background: #2C8CF0; }
.ops-favicon--search    { background: #6366F1; }
.ops-favicon--port      { background: #0EA5E9; }
.ops-favicon--booking   { background: #F59E0B; }
.ops-favicon--fedex     { background: #4D148C; }
.ops-favicon--iata      { background: #1E40AF; }

.ops-tab__label {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.ops-tab--active .ops-tab__label {
  font-weight: 600;
}

.ops-tab__badge {
  min-width: 16px;
  height: 14px;
  padding: 0 4px;
  border-radius: 7px;
  background: #DC2626;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 1.5px #FFFFFF,
              0 1px 3px rgba(220, 38, 38, 0.4);
  letter-spacing: 0.01em;
}

.ops-tab__close {
  color: #9CA3AF;
  font-size: 13px;
  line-height: 1;
  padding: 0 1px;
  flex-shrink: 0;
}

/* ---------- Bookmark bar ---------- */
.ops-bookmarks {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 14px;
  background: #F3F4F6;
  border-bottom: 1px solid #E5E7EB;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.ops-bookmarks::-webkit-scrollbar {
  display: none;
}

.ops-bookmark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: #4B5563;
  font-weight: 500;
  flex-shrink: 0;
}

.ops-bookmark__icon {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  flex-shrink: 0;
}

.ops-bookmark--more {
  color: #9CA3AF;
  font-weight: 700;
  font-size: 15px;
  padding: 0 4px;
}

/* ---------- Inbox body ---------- */
.ops-inbox {
  background: #FFFFFF;
}

.ops-inbox__toolbar {
  padding: 13px 18px;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: #FAFBFC;
}

.ops-inbox__title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.ops-inbox__title-main {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

.ops-inbox__title-count {
  font-family: var(--font-display);
  font-size: 12px;
  color: #FFFFFF;
  font-weight: 800;
  background: #DC2626;
  padding: 4px 10px;
  border-radius: 11px;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12),
              0 2px 6px rgba(220, 38, 38, 0.25);
}

.ops-inbox__title-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #DC2626;
  font-weight: 600;
  font-style: italic;
}

.ops-inbox__search {
  flex: 1;
  min-width: 140px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 11px;
  color: #9CA3AF;
}

.ops-inbox__filters {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.ops-chip {
  font-size: 10px;
  font-weight: 500;
  color: #6B7280;
  background: #F3F4F6;
  padding: 3px 9px;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
}

.ops-chip--urgent {
  color: #DC2626;
  background: #FEE2E2;
  border-color: #FECACA;
}

/* ---------- Email rows ---------- */
.ops-email {
  display: grid;
  grid-template-columns: 14px 14px 145px 1fr 18px 38px;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 12px;
  background: #FFFFFF;
}

.ops-email--urgent {
  border-left: 3px solid #DC2626;
  padding-left: 15px;
  background: #FEF6F6;
}

.ops-email__check {
  color: #D1D5DB;
  font-size: 12px;
  line-height: 1;
}

.ops-email__star {
  color: #D1D5DB;
  font-size: 13px;
  line-height: 1;
}

.ops-email__star--on {
  color: #F59E0B;
}

.ops-email__sender {
  color: #111827;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ops-email__subject {
  color: #374151;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.ops-email__subject strong {
  color: #DC2626;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ops-email__attach {
  color: #9CA3AF;
  font-size: 11px;
  text-align: center;
}

.ops-email__time {
  color: #6B7280;
  font-size: 11px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.ops-inbox__footer {
  text-align: center;
  padding: 12px;
  font-size: 11px;
  color: #9CA3AF;
  background: #FAFBFC;
  border-top: 1px solid #F3F4F6;
}

/* ---------- Floating base ---------- */
.ops-float {
  position: absolute;
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid #CDD2DA;
  overflow: hidden;
  z-index: 2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 3px rgba(0, 0, 0, 0.18),
    0 14px 28px rgba(0, 0, 0, 0.42),
    0 4px 10px rgba(0, 0, 0, 0.22);
}

.ops-float__header {
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: #FFFFFF;
}

.ops-float__header--slack {
  background: #4A154B;
}

.ops-float__header--wa {
  background: #075E54;
}

.ops-float__hash {
  font-weight: 700;
  font-size: 13px;
}

.ops-float__wa-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #25D366;
  border: 1.5px solid #FFFFFF;
  flex-shrink: 0;
}

.ops-float__channel {
  font-size: 11px;
  letter-spacing: 0.01em;
}

.ops-float__body {
  padding: 11px 13px 12px;
}

.ops-float__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}

.ops-float__avatar {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  flex-shrink: 0;
}

.ops-float__avatar--slack {
  background: linear-gradient(135deg, #F87171, #FBBF24);
}

.ops-float__avatar--wa {
  border-radius: 50%;
  background: linear-gradient(135deg, #60A5FA, #34D399);
}

.ops-float__name {
  font-size: 11.5px;
  font-weight: 700;
  color: #111827;
}

.ops-float__time {
  font-size: 10px;
  color: #9CA3AF;
  font-family: var(--font-mono);
}

.ops-float__msg {
  font-size: 11.5px;
  color: #1F2937;
  line-height: 1.45;
}

.ops-float__msg strong {
  color: #4A154B;
  font-weight: 700;
}

.ops-float__footer {
  padding: 7px 13px;
  border-top: 1px solid #E5E7EB;
  background: #F9FAFB;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ops-float__badge {
  font-size: 10px;
  color: #DC2626;
  font-weight: 700;
  background: #FEE2E2;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.02em;
}

/* ---------- Floating positions ---------- */
.ops-float--slack {
  top: 48px;
  right: 22px;
  width: 248px;
}

.ops-float--whatsapp {
  top: 280px;
  right: 44px;
  width: 262px;
}

.ops-float--whatsapp .ops-float__msg strong {
  color: #075E54;
}

.ops-float__time-right {
  text-align: right;
  font-size: 10px;
  color: #9CA3AF;
  margin-top: 5px;
  font-family: var(--font-mono);
}

/* ---------- Sticky notes ---------- */
.ops-float--sticky {
  position: absolute;
  bottom: 54px;
  left: 64px;
  width: 162px;
  background: #FFE588;
  border: 1px solid #F4D35E;
  border-radius: 2px;
  padding: 18px 15px 16px;
  transform: rotate(-4deg);
  overflow: visible;
  z-index: 3;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26),
              0 2px 4px rgba(0, 0, 0, 0.14);
}

.ops-sticky__text {
  font-family: 'Caveat', 'Inter', cursive;
  font-size: 24px;
  font-weight: 700;
  color: #78350F;
  line-height: 1.1;
  letter-spacing: 0.005em;
}

.ops-sticky__small {
  display: block;
  margin-top: 4px;
  font-family: 'Caveat', 'Inter', cursive;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #92400E;
}

/* ---------- Notebook page (messy task list) ---------- */
.ops-float--notebook {
  position: absolute;
  bottom: 24px;
  right: 20px;
  width: 222px;
  padding: 18px 16px 16px 28px;
  background: #FFFBE8;
  border: 1px solid #E8D88C;
  border-radius: 2px 2px 10px 2px;
  transform: rotate(1.5deg);
  overflow: visible;
  z-index: 3;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.28),
    0 4px 10px rgba(0, 0, 0, 0.14);
}

.ops-float--notebook::before {
  /* Red margin line on the left */
  content: '';
  position: absolute;
  left: 20px;
  top: 6px;
  bottom: 6px;
  width: 1.5px;
  background: rgba(220, 38, 38, 0.45);
  pointer-events: none;
}

.ops-float--notebook::after {
  /* Subtle torn-top edge */
  content: '';
  position: absolute;
  top: -3px;
  left: 8px;
  right: 8px;
  height: 4px;
  background: #FFFBE8;
  border-top: 1px dashed rgba(133, 77, 14, 0.18);
  border-radius: 2px 2px 0 0;
  pointer-events: none;
}

.ops-notebook__title {
  font-family: 'Caveat', 'Inter', cursive;
  font-size: 20px;
  font-weight: 700;
  color: #78350F;
  margin-bottom: 4px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.ops-notebook__items {
  display: flex;
  flex-direction: column;
}

.ops-notebook__item {
  font-family: 'Caveat', 'Inter', cursive;
  font-size: 17px;
  font-weight: 600;
  color: #1F2937;
  line-height: 1.22;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.ops-notebook__item--done {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(107, 114, 128, 0.7);
  color: #9CA3AF;
}

.ops-notebook__item--red {
  color: #DC2626;
  font-weight: 700;
}

.ops-notebook__sub {
  font-family: 'Caveat', 'Inter', cursive;
  font-size: 15px;
  font-weight: 600;
  color: #DC2626;
  padding-left: 16px;
  line-height: 1.22;
}

.ops-notebook__more {
  font-family: 'Caveat', 'Inter', cursive;
  font-size: 14px;
  font-weight: 600;
  color: #9CA3AF;
  margin-top: 6px;
  padding-top: 4px;
  border-top: 1px dashed rgba(107, 114, 128, 0.28);
  line-height: 1;
}

/* ============================================================
   Section 2A — Pass 4: Animations
   ============================================================ */

/* Badge pulse — desynced across 3 high-priority tabs */
@keyframes ops-badge-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 1.5px #FFFFFF,
                0 1px 3px rgba(220, 38, 38, 0.4);
  }
  50% {
    transform: scale(1.14);
    box-shadow: 0 0 0 1.5px #FFFFFF,
                0 0 11px rgba(220, 38, 38, 0.72),
                0 1px 4px rgba(220, 38, 38, 0.5);
  }
}

.ops-tabs .ops-tab:nth-child(3) .ops-tab__badge {
  animation: ops-badge-pulse 2.1s ease-in-out infinite;
}

.ops-tabs .ops-tab:nth-child(7) .ops-tab__badge {
  animation: ops-badge-pulse 2.6s ease-in-out infinite;
  animation-delay: 0.4s;
}

.ops-tabs .ops-tab:nth-child(8) .ops-tab__badge {
  animation: ops-badge-pulse 1.8s ease-in-out infinite;
  animation-delay: 0.9s;
}

/* Slack notification slide-in (one-shot on viewport entry) */
@keyframes ops-slack-slidein {
  0% {
    opacity: 0;
    transform: translate(24px, -14px) scale(0.94);
  }
  60% {
    opacity: 1;
    transform: translate(-5px, 3px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

.ops-float--slack.ops-float--entering {
  animation: ops-slack-slidein 0.75s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Counter flash when increments */
@keyframes ops-counter-flash {
  0%, 100% {
    background: #DC2626;
    transform: scale(1);
  }
  30% {
    background: #F87171;
    transform: scale(1.07);
  }
}

.ops-inbox__title-count--flash {
  animation: ops-counter-flash 0.65s ease-out;
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .ops-tabs .ops-tab .ops-tab__badge,
  .ops-float--slack,
  .ops-inbox__title-count,
  .ops-inbox__title-count--flash {
    animation: none !important;
    transform: none !important;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .ops-desktop {
    padding: 40px 28px 54px;
  }

  .ops-float--slack {
    top: 34px;
    right: 14px;
    width: 220px;
  }

  .ops-float--whatsapp {
    top: 256px;
    right: 28px;
    width: 232px;
  }

  .ops-float--sticky {
    bottom: 40px;
    left: 20px;
    width: 150px;
  }

  .ops-float--notebook {
    bottom: 20px;
    right: 14px;
    width: 200px;
    padding: 16px 14px 14px 26px;
  }

  .ops-notebook__title {
    font-size: 18px;
  }

  .ops-notebook__item {
    font-size: 15px;
  }

  .ops-notebook__sub {
    font-size: 14px;
  }
}

@media (max-width: 720px) {
  .ops-desktop {
    min-height: auto;
    padding: 32px 20px 44px;
  }

  .ops-browser {
    max-width: 100%;
  }

  .ops-email {
    grid-template-columns: 14px 110px 1fr 34px;
    gap: 8px;
  }

  .ops-email__check,
  .ops-email__attach {
    display: none;
  }

  .ops-float--slack,
  .ops-float--whatsapp {
    position: static;
    width: 100%;
    margin: 14px auto 0;
    max-width: 320px;
    display: block;
  }

  .ops-float--sticky {
    position: static;
    margin: 22px auto 0;
    display: block;
    width: 180px;
  }

  .ops-float--notebook {
    position: static;
    margin: 22px auto 0;
    display: block;
    width: 220px;
    padding: 18px 16px 16px 28px;
  }
}

@media (max-width: 480px) {
  .ops-desktop {
    padding: 24px 14px 32px;
    border-radius: 12px;
  }

  .ops-browser__chrome {
    padding: 9px 10px;
    gap: 10px;
  }

  .ops-browser__url {
    font-size: 9px;
    padding: 4px 9px;
  }

  .ops-browser__dots { gap: 5px; }
  .ops-browser__dot { width: 10px; height: 10px; }

  .ops-tab {
    padding: 6px 7px 7px;
    max-width: 120px;
    gap: 4px;
  }

  .ops-tab__label { font-size: 10px; }

  .ops-tab__badge {
    min-width: 14px;
    height: 13px;
    font-size: 8.5px;
  }

  .ops-bookmarks {
    padding: 5px 10px;
    gap: 10px;
  }

  .ops-bookmark { font-size: 9.5px; gap: 4px; }
  .ops-bookmark__icon { width: 10px; height: 10px; }

  .ops-inbox__toolbar {
    padding: 10px 12px;
    gap: 10px;
  }

  .ops-inbox__title-main { font-size: 15px; }

  .ops-inbox__title-count {
    font-size: 11px;
    padding: 3px 8px;
  }

  .ops-inbox__title-sub { display: none; }

  .ops-inbox__search {
    font-size: 10px;
    padding: 5px 9px;
  }

  .ops-chip { font-size: 9px; padding: 2px 7px; }

  .ops-email {
    grid-template-columns: 110px 1fr 32px;
    gap: 8px;
    padding: 9px 12px;
    font-size: 11px;
  }

  .ops-email__star { display: none; }

  .ops-email--urgent {
    padding-left: 9px;
    border-left-width: 3px;
  }

  .ops-email__sender { font-size: 11px; }
  .ops-email__subject { font-size: 11px; }

  .ops-inbox__footer {
    padding: 10px;
    font-size: 10px;
  }

  .ops-float--slack,
  .ops-float--whatsapp {
    max-width: 280px;
  }

  .ops-float--sticky {
    width: 156px;
    padding: 16px 14px 14px;
  }

  .ops-sticky__text { font-size: 22px; }
  .ops-sticky__small { font-size: 15px; }

  .ops-float--notebook {
    width: 210px;
    padding: 16px 14px 14px 26px;
  }

  .ops-notebook__title { font-size: 17px; }
  .ops-notebook__item { font-size: 14px; }
  .ops-notebook__sub { font-size: 13px; }
  .ops-notebook__more { font-size: 12px; }
}

/* ============================================================
   SECTION 2B — RECEIPT CARDS
   Three ways every forwarder has tried to scale. All three break.
   All styles scoped under .receipt-*, .linkedin-post-*,
   .email-thread-*, .legacy-tms-* prefixes.
   ============================================================ */

.receipts {
  max-width: 1180px;
  margin: 4.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.receipt {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  padding: 1.75rem 1.5rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.018),
      rgba(255, 255, 255, 0.008));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.receipt__title-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  padding-bottom: 6px;
}

.receipt__num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #EF6461;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.receipt__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-inverse);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.receipt__mock {
  position: relative;
  flex: 1;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.receipt__pill {
  text-align: center;
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  line-height: 1.6;
  padding: 0 0.25rem;
  letter-spacing: 0;
}

.receipt__pill strong {
  color: #EF6461;
  font-weight: 700;
}

/* ------------------------------------------------------------
   LinkedIn job post
   ------------------------------------------------------------ */
.linkedin-post {
  position: relative;
  width: 100%;
  max-width: 340px;
  height: 380px;
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #E1E5EA;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.3),
    0 14px 30px rgba(0, 0, 0, 0.4);
  font-family: var(--font-body);
  color: #1F2937;
  display: flex;
  flex-direction: column;
}

.linkedin-post__chrome {
  padding: 9px 14px;
  background: #F3F6F9;
  border-bottom: 1px solid #E1E5EA;
  display: flex;
  align-items: center;
}

.linkedin-post__brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #6B7280;
  font-weight: 600;
}

.linkedin-post__favicon {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #0A66C2;
  border-radius: 2px;
}

.linkedin-post__body {
  padding: 16px 18px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.linkedin-post__header {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.linkedin-post__company-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #4A5568, #2D3748);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
}

.linkedin-post__company-logo::after {
  content: 'MFS';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.linkedin-post__info {
  flex: 1;
  min-width: 0;
}

.linkedin-post__title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 3px;
}

.linkedin-post__company {
  font-size: 12px;
  color: #0A66C2;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2px;
}

.linkedin-post__location {
  font-size: 11px;
  color: #6B7280;
  line-height: 1.3;
}

.linkedin-post__stats {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
  font-size: 11px;
  color: #4B5563;
  flex-wrap: wrap;
}

.linkedin-post__stats:last-of-type {
  margin-bottom: 10px;
}

.linkedin-post__salary {
  font-weight: 700;
  color: #111827;
}

.linkedin-post__dot {
  color: #9CA3AF;
}

.linkedin-post__urgent {
  color: #DC2626;
  font-weight: 700;
}

.linkedin-post__desc {
  font-size: 11.5px;
  color: #4B5563;
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.linkedin-post__cta {
  display: flex;
  gap: 8px;
}

.linkedin-post__btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 14px;
  border: 1.5px solid #0A66C2;
  background: transparent;
  color: #0A66C2;
  cursor: default;
  line-height: 1;
}

.linkedin-post__btn--primary {
  background: #0A66C2;
  color: #FFFFFF;
}

/* ---------- Red rubber stamp overlay ---------- */
.receipt-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  border: 3px double #DC2626;
  padding: 8px 18px 9px;
  color: #DC2626;
  font-family: var(--font-display);
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  z-index: 5;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.1);
}

.receipt-stamp__main {
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1em;
}

.receipt-stamp__sub {
  font-size: 10px;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 0.1em;
}

/* ------------------------------------------------------------
   Email thread
   ------------------------------------------------------------ */
.email-thread {
  width: 100%;
  max-width: 340px;
  height: 380px;
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #E1E5EA;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.3),
    0 14px 30px rgba(0, 0, 0, 0.4);
  font-family: var(--font-body);
  color: #1F2937;
  display: flex;
  flex-direction: column;
}

.email-thread__chrome {
  padding: 12px 16px;
  background: #F3F6F9;
  border-bottom: 1px solid #E1E5EA;
}

.email-thread__subject {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.email-thread__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.email-msg {
  display: flex;
  gap: 10px;
}

.email-msg__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
}

.email-msg__avatar--bpo {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

.email-msg__avatar--customer {
  background: linear-gradient(135deg, #EF4444, #B91C1C);
}

.email-msg__content {
  flex: 1;
  min-width: 0;
}

.email-msg__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 5px;
}

.email-msg__name {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: #111827;
}

.email-msg__time {
  font-size: 10px;
  color: #9CA3AF;
  font-family: var(--font-mono);
}

.email-msg__text {
  font-size: 11.5px;
  color: #374151;
  line-height: 1.55;
}

.email-msg__text--angry {
  color: #1F2937;
}

.email-msg__text--angry strong {
  color: #DC2626;
  font-weight: 700;
}

.email-msg__error {
  position: relative;
  display: inline-block;
  color: #DC2626;
  font-weight: 700;
  padding: 0 3px;
}

.email-msg__error::before {
  content: '';
  position: absolute;
  inset: -5px -7px;
  border: 2px solid #DC2626;
  border-radius: 45% 55% 52% 48% / 50% 45% 55% 50%;
  transform: rotate(-2deg);
  pointer-events: none;
}

.email-msg__wrong-note {
  font-family: 'Caveat', 'Inter', cursive;
  font-size: 19px;
  font-weight: 700;
  color: #DC2626;
  display: inline-block;
  margin-left: 10px;
  transform: rotate(-3deg) translateY(-2px);
  white-space: nowrap;
  line-height: 1;
}

.email-thread__footer {
  padding: 8px 16px;
  border-top: 1px solid #E5E7EB;
  background: #F9FAFB;
  font-size: 10.5px;
  color: #9CA3AF;
  font-style: italic;
  text-align: center;
}

/* ------------------------------------------------------------
   Legacy TMS — dated Win95-era interface
   ------------------------------------------------------------ */
.legacy-tms-wrap {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.legacy-tms {
  width: 100%;
  background: #D4D0C8;
  border: 2px solid;
  border-color: #FFFFFF #404040 #404040 #FFFFFF;
  box-shadow:
    inset 1px 1px 0 #DFDFDF,
    inset -1px -1px 0 #808080,
    0 14px 30px rgba(0, 0, 0, 0.5);
  font-family: 'Tahoma', 'Arial', sans-serif;
  position: relative;
  color: #000000;
  overflow: visible;
  display: flex;
  flex-direction: column;
  height: 312px;
}

.legacy-tms__titlebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #000080 0%, #1084D0 100%);
  color: #FFFFFF;
  padding: 3px 3px 3px 6px;
}

.legacy-tms__title {
  font-family: 'Tahoma', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.legacy-tms__window-ctrls {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.legacy-tms__ctrl {
  width: 16px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #D4D0C8;
  border: 1px solid;
  border-color: #FFFFFF #404040 #404040 #FFFFFF;
  font-size: 9px;
  color: #000000;
  line-height: 1;
}

.legacy-tms__menu {
  display: flex;
  gap: 12px;
  padding: 3px 6px;
  background: #D4D0C8;
  border-bottom: 1px solid #808080;
  box-shadow: inset 0 -1px 0 #FFFFFF;
  font-size: 11px;
  color: #000000;
}

.legacy-tms__menu-item u {
  text-decoration: underline;
}

.legacy-tms__toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  background: #D4D0C8;
  border-bottom: 1px solid #808080;
  box-shadow: inset 0 -1px 0 #FFFFFF;
}

.legacy-tms__tool {
  width: 20px;
  height: 20px;
  background: linear-gradient(180deg, #E8E4DC 0%, #C8C4BC 100%);
  border: 1px solid;
  border-color: #FFFFFF #808080 #808080 #FFFFFF;
  display: inline-block;
}

.legacy-tms__sep {
  width: 2px;
  height: 18px;
  background: #808080;
  border-right: 1px solid #FFFFFF;
  margin: 0 3px;
}

.legacy-tms__form {
  padding: 10px 12px;
  background: #D4D0C8;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.legacy-tms__row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legacy-tms__row--split {
  flex-wrap: nowrap;
}

.legacy-tms__label {
  font-family: 'Tahoma', sans-serif;
  font-size: 11px;
  color: #000000;
  white-space: nowrap;
  min-width: 54px;
}

.legacy-tms__label--tight {
  min-width: 0;
}

.legacy-tms__input {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid;
  border-color: #808080 #FFFFFF #FFFFFF #808080;
  padding: 2px 5px;
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 11px;
  color: #000000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.legacy-tms__input--sm {
  flex: 0 1 auto;
  min-width: 50px;
  max-width: 110px;
}

.legacy-tms__statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px;
  background: #D4D0C8;
  border-top: 1px solid #808080;
  box-shadow: inset 0 1px 0 #FFFFFF;
  font-family: 'Tahoma', sans-serif;
  font-size: 10px;
  color: #000000;
  position: relative;
}

.legacy-tms__status-item strong {
  color: #000080;
  font-weight: 700;
}

.legacy-tms__operator-name {
  color: #000080;
  font-weight: 700;
  position: relative;
}

/* Prominent handwritten callout — flow element below the card */
.legacy-tms__callout {
  align-self: flex-start;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  transform: rotate(-3deg);
  pointer-events: none;
  color: #DC2626;
  margin-top: 8px;
  margin-left: 30px;
}

.legacy-tms__callout-arrow {
  font-family: var(--font-body);
  font-size: 44px;
  font-weight: 700;
  line-height: 0.7;
  margin-top: -4px;
}

.legacy-tms__callout-text {
  font-family: 'Caveat', 'Inter', cursive;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
  padding-top: 6px;
}

/* ------------------------------------------------------------
   Mobile
   ------------------------------------------------------------ */
@media (max-width: 1020px) {
  .receipts {
    grid-template-columns: 1fr;
    max-width: 460px;
    gap: 2.5rem;
    margin-top: 3rem;
  }

  .receipt__mock {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .receipts {
    margin-top: 2.5rem;
    gap: 2rem;
  }

  .receipt {
    padding: 1.5rem 1.25rem;
  }

  .receipt__name {
    font-size: 19px;
  }

  .linkedin-post,
  .email-thread,
  .legacy-tms {
    max-width: 320px;
  }

  .legacy-tms {
    height: 300px;
  }

  .linkedin-post,
  .email-thread {
    height: 360px;
  }

  .receipt-stamp__main {
    font-size: 17px;
  }

  .receipt-stamp__sub {
    font-size: 9px;
  }

  .legacy-tms__callout {
    margin-left: 20px;
  }

  .legacy-tms__callout-arrow {
    font-size: 36px;
  }

  .legacy-tms__callout-text {
    font-size: 20px;
  }

  .email-msg__wrong-note {
    font-size: 17px;
  }

  .receipt__pill {
    font-size: 14px;
  }
}

/* ============================================================
   SECTION 3 — THE LIVE ARCHITECTURE VIEW (T-shape)
   Top: Your Operations (dominant, full-width)
   Bottom: Agentic Orchestration | Decision Intelligence (split 50/50)
   All styles scoped under .architecture and .arch-* prefixes.
   ============================================================ */

/* Wrapper for ambient glow positioning */
.architecture-wrap {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1080px;
  margin: 3.5rem auto 0;
}

.architecture-wrap::before {
  content: '';
  position: absolute;
  inset: -70px;
  background:
    radial-gradient(ellipse 55% 50% at 22% 30%, rgba(162, 89, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 55% 50% at 78% 70%, rgba(240, 165, 0, 0.18), transparent 60%);
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

.architecture {
  position: relative;
  z-index: 1;
  width: 100%;
  background-color: #141820;
  background-image:
    radial-gradient(circle, rgba(148, 163, 184, 0.06) 1px, transparent 1.5px);
  background-size: 22px 22px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 14px 32px rgba(0, 0, 0, 0.45),
    0 40px 90px rgba(0, 0, 0, 0.5);
  font-family: var(--font-body);
  color: var(--text-inverse);
}

/* ---------- Browser chrome ---------- */
.architecture__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.05),
    rgba(0, 0, 0, 0.38));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
}

.architecture__dots { display: flex; gap: 7px; }
.architecture__dot { width: 12px; height: 12px; border-radius: 50%; }
.architecture__dot--red   { background: #FF5F57; }
.architecture__dot--amber { background: #FEBC2E; }
.architecture__dot--green { background: #28C840; }

.architecture__url {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}

.architecture__live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-success);
  letter-spacing: 0.08em;
}

.architecture__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
}

/* ============================================================
   TOP PANEL — Your Operations (dominant)
   ============================================================ */
.arch-top {
  padding: 30px 36px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
}

.arch-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: radial-gradient(
    ellipse 55% 100% at 50% 0%,
    rgba(148, 163, 184, 0.06),
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.arch-top > * {
  position: relative;
  z-index: 1;
}

/* Shared panel header */
.arch-panel__header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.arch-panel__title-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.arch-panel__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0.08em;
}

.arch-panel__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-inverse);
  letter-spacing: -0.005em;
  line-height: 1;
}

.arch-top .arch-panel__title {
  font-size: 24px;
  letter-spacing: -0.01em;
}

.arch-panel__tagline {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
  min-width: 0;
}

.arch-top .arch-panel__tagline {
  font-size: 14px;
}

.arch-panel__pill {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border: 1px solid rgba(162, 89, 255, 0.5);
  border-radius: 4px;
  background: rgba(162, 89, 255, 0.1);
  flex-shrink: 0;
}

/* ---------- Workflow template tabs ---------- */
.arch-tabs {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.arch-tab {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 7px 14px;
  cursor: default;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.arch-tab--active {
  background: rgba(240, 165, 0, 0.14);
  border-color: rgba(240, 165, 0, 0.55);
  color: var(--color-data-accent);
  box-shadow: 0 0 0 2px rgba(240, 165, 0, 0.06);
}

.arch-tab__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-data-accent);
  box-shadow: 0 0 8px rgba(240, 165, 0, 0.7);
}

.arch-tab--more {
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.38);
  background: transparent;
  border-style: dashed;
}

/* ---------- Pipeline ---------- */
.arch-pipe {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding-top: 6px;
  position: relative;
}

.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  width: 82px;
}

.arch-node__shape {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(162, 89, 255, 0.1);
  border: 1.5px solid rgba(162, 89, 255, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-node__glyph {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1;
  font-weight: 600;
}

.arch-node__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
}

/* REVIEW node — DISTINCTLY different: rounded square, amber, bigger */
.arch-node--human {
  width: 96px;
}

.arch-node--human .arch-node__shape {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  background: linear-gradient(180deg,
    rgba(240, 165, 0, 0.22),
    rgba(240, 165, 0, 0.14));
  border: 2px solid rgba(240, 165, 0, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 4px rgba(240, 165, 0, 0.08),
    0 0 36px rgba(240, 165, 0, 0.42),
    0 4px 12px rgba(240, 165, 0, 0.18);
}

.arch-node--human .arch-node__glyph {
  color: var(--color-data-accent);
  font-weight: 800;
  font-size: 28px;
}

.arch-node--human .arch-node__label {
  color: var(--color-data-accent);
  font-weight: 800;
  font-size: 12px;
}

.arch-node__sublabel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  font-family: 'Caveat', 'Inter', cursive;
  font-size: 19px;
  font-weight: 700;
  color: var(--color-data-accent);
  white-space: nowrap;
  pointer-events: none;
}

/* ---------- Connecting links ---------- */
.arch-link {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
  position: relative;
  margin-top: 27px;
  align-self: flex-start;
  min-width: 16px;
  max-width: 48px;
}

.arch-link::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  border-right: 1px solid rgba(255, 255, 255, 0.32);
  transform: translateY(-50%) rotate(45deg);
}

.arch-link--human {
  margin-top: 32px;
}

/* ---------- Configurable note ---------- */
.arch-config {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.09);
}

.arch-config__text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.03em;
}

.arch-config__plus {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-accent);
  font-weight: 700;
  padding: 4px 11px;
  border: 1px dashed rgba(162, 89, 255, 0.5);
  border-radius: 4px;
  white-space: nowrap;
}

/* ============================================================
   BOTTOM — Two supporting panels (split 50/50)
   ============================================================ */
.arch-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.arch-panel {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.arch-panel--agents {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.arch-bottom .arch-panel__header {
  display: block;
  margin-bottom: 18px;
}

.arch-bottom .arch-panel__title-block {
  margin-bottom: 5px;
}

.arch-bottom .arch-panel__tagline {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.45;
}

.arch-panel__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* ---------- Row (shared between Agents & Intel) ---------- */
.arch-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  min-width: 0;
  min-height: 52px;
}

.arch-row__badge {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.arch-row__content {
  flex: 1;
  min-width: 0;
}

.arch-row__name {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-inverse);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
  letter-spacing: -0.005em;
}

.arch-row__desc {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arch-row__metric {
  color: var(--text-inverse);
  font-weight: 700;
}

/* Agent pulse indicator (right side) */
.arch-row__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 8px rgba(44, 194, 149, 0.65);
  flex-shrink: 0;
}

/* Intel mini data viz (right side) */
.arch-row__viz {
  width: 64px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.arch-row__viz svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Bar chart (Carrier Intel) */
.arch-row__bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  height: 24px;
  gap: 3px;
}

.arch-row__bar {
  flex: 1;
  background: linear-gradient(180deg, #5CB8D8, #3e869f);
  border-radius: 1.5px 1.5px 0 0;
  min-height: 4px;
}

/* Traffic light (Credit Risk) */
.arch-row__light {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.arch-row__led {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.arch-row__led--on {
  background: var(--color-success);
  border-color: var(--color-success);
  box-shadow: 0 0 10px rgba(44, 194, 149, 0.55);
}

/* ---------- Agent row color variants (left panel) ---------- */
.arch-row--email .arch-row__badge {
  background: rgba(240, 165, 0, 0.16);
  color: var(--color-data-accent);
}

.arch-row--docs .arch-row__badge {
  background: rgba(93, 202, 165, 0.16);
  color: #5DCAA5;
}

.arch-row--api .arch-row__badge {
  background: rgba(162, 89, 255, 0.18);
  color: var(--color-accent);
}

.arch-row--sched .arch-row__badge {
  background: rgba(92, 184, 216, 0.16);
  color: #5CB8D8;
}

.arch-row--extract .arch-row__badge {
  background: rgba(44, 194, 149, 0.16);
  color: var(--color-success);
}

.arch-row--notify .arch-row__badge {
  background: rgba(240, 165, 0, 0.16);
  color: var(--color-data-accent);
}

/* ---------- Intel row color variants (right panel) ---------- */
.arch-row__badge--margin {
  background: rgba(240, 165, 0, 0.16);
  color: var(--color-data-accent);
}
.arch-row--margin .arch-row__metric { color: var(--color-data-accent); }

.arch-row__badge--customer {
  background: rgba(44, 194, 149, 0.16);
  color: var(--color-success);
}
.arch-row--customer .arch-row__metric { color: var(--color-success); }

.arch-row__badge--carrier {
  background: rgba(92, 184, 216, 0.16);
  color: #5CB8D8;
}
.arch-row--carrier .arch-row__metric { color: #5CB8D8; }

.arch-row__badge--route {
  background: rgba(92, 184, 216, 0.16);
  color: #5CB8D8;
}
.arch-row--route .arch-row__metric { color: #5CB8D8; }

.arch-row__badge--credit {
  background: rgba(44, 194, 149, 0.16);
  color: var(--color-success);
}
.arch-row--credit .arch-row__metric { color: var(--color-success); }

.arch-row__badge--demand {
  background: rgba(162, 89, 255, 0.18);
  color: var(--color-accent);
}
.arch-row--demand .arch-row__metric { color: var(--color-accent); }

/* ============================================================
   Section 3 — Pass 4: Animations
   ============================================================ */

/* (1) Pipeline data-flow pulse — amber dot travels left to right,
       pauses briefly at the REVIEW node */
.arch-pipe__flow {
  position: absolute;
  top: 27px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-data-accent);
  box-shadow:
    0 0 12px rgba(240, 165, 0, 0.85),
    0 0 24px rgba(240, 165, 0, 0.45);
  pointer-events: none;
  z-index: 4;
  margin-left: -4px;
  animation: arch-pipe-flow 8.5s ease-in-out infinite;
  opacity: 0;
}

@keyframes arch-pipe-flow {
  0%   { left: 5%;  opacity: 0; }
  6%   { left: 5%;  opacity: 1; }
  18%  { left: 19%; opacity: 1; }
  30%  { left: 33%; opacity: 1; }
  42%  { left: 47%; opacity: 1; }
  /* approach REVIEW */
  52%  {
    left: 60%;
    opacity: 1;
    box-shadow:
      0 0 16px rgba(240, 165, 0, 1),
      0 0 32px rgba(240, 165, 0, 0.6);
  }
  /* pause at REVIEW (61%–66%) */
  60%  { left: 64%; opacity: 1; }
  68%  { left: 64%; opacity: 1; }
  /* continue */
  80%  { left: 78%; opacity: 1; }
  92%  { left: 92%; opacity: 1; }
  100% { left: 96%; opacity: 0; }
}

/* (2) Agent pulse desync — six pulses at different rates */
@keyframes arch-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.85); }
}

.arch-row--email .arch-row__pulse   { animation: arch-pulse 1.8s ease-in-out infinite; }
.arch-row--docs .arch-row__pulse    { animation: arch-pulse 2.1s ease-in-out infinite 0.4s; }
.arch-row--api .arch-row__pulse     { animation: arch-pulse 2.4s ease-in-out infinite 0.8s; }
.arch-row--sched .arch-row__pulse   { animation: arch-pulse 2.7s ease-in-out infinite 0.2s; }
.arch-row--extract .arch-row__pulse { animation: arch-pulse 2.0s ease-in-out infinite 0.6s; }
.arch-row--notify .arch-row__pulse  { animation: arch-pulse 2.3s ease-in-out infinite 1.0s; }

/* (3) LIVE indicators on chrome and active tab */
@keyframes arch-live-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.architecture__live-dot {
  animation: arch-live-pulse 1.8s ease-in-out infinite;
}

.arch-tab__dot {
  animation: arch-live-pulse 2.0s ease-in-out infinite;
}

/* (4) REVIEW node breathing glow — slow box-shadow opacity pulse */
@keyframes arch-review-breathe {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 0 0 4px rgba(240, 165, 0, 0.08),
      0 0 36px rgba(240, 165, 0, 0.42),
      0 4px 12px rgba(240, 165, 0, 0.18);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 0 0 5px rgba(240, 165, 0, 0.13),
      0 0 50px rgba(240, 165, 0, 0.62),
      0 4px 16px rgba(240, 165, 0, 0.28);
  }
}

.arch-node--human .arch-node__shape {
  animation: arch-review-breathe 3.5s ease-in-out infinite;
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .arch-pipe__flow,
  .arch-row__pulse,
  .architecture__live-dot,
  .arch-tab__dot,
  .arch-node--human .arch-node__shape {
    animation: none !important;
  }
  .arch-pipe__flow {
    display: none;
  }
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 1020px) {
  .architecture-wrap {
    max-width: 760px;
  }

  .architecture-wrap::before {
    inset: -36px;
    filter: blur(48px);
  }

  .arch-top {
    padding: 26px 24px 30px;
  }

  .arch-pipe {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 28px;
    justify-content: flex-start;
    gap: 0;
  }

  .arch-pipe::-webkit-scrollbar { display: none; }

  .arch-node { width: 76px; }
  .arch-node--human { width: 88px; }

  .arch-link { max-width: 36px; min-width: 20px; }

  /* Pipeline flow dot would mis-align in scrollable pipe — remove on mobile */
  .arch-pipe__flow {
    display: none;
  }

  .arch-bottom {
    grid-template-columns: 1fr;
  }

  .arch-panel--agents {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .arch-panel {
    padding: 22px 24px;
  }
}

@media (max-width: 640px) {
  .architecture-wrap {
    margin-top: 2.5rem;
  }

  .architecture-wrap::before {
    inset: -20px;
    filter: blur(40px);
  }

  .arch-top {
    padding: 22px 18px 26px;
  }

  .arch-top .arch-panel__title { font-size: 20px; }
  .arch-top .arch-panel__tagline { font-size: 13px; }
  .arch-bottom .arch-panel__title { font-size: 17px; }

  .arch-tabs { gap: 6px; margin-bottom: 26px; }
  .arch-tab { font-size: 11px; padding: 6px 11px; }

  .arch-node { width: 68px; }
  .arch-node--human { width: 80px; }
  .arch-node__shape { width: 48px; height: 48px; }
  .arch-node--human .arch-node__shape { width: 56px; height: 56px; }
  .arch-node__glyph { font-size: 18px; }
  .arch-node--human .arch-node__glyph { font-size: 22px; }
  .arch-node__label { font-size: 10px; }
  .arch-node__sublabel { font-size: 16px; }

  .arch-link { margin-top: 23px; max-width: 24px; min-width: 14px; }
  .arch-link--human { margin-top: 27px; }

  .arch-config { margin-top: 30px; padding-top: 14px; }

  .arch-panel { padding: 20px 18px; }

  .arch-row { padding: 9px 11px; gap: 10px; min-height: 48px; }
  .arch-row__badge { width: 28px; height: 28px; font-size: 13px; }
  .arch-row__name { font-size: 12.5px; }
  .arch-row__desc { font-size: 11px; }
  .arch-row__viz { width: 52px; height: 24px; }
}

@media (max-width: 480px) {
  .architecture-wrap {
    margin-top: 2rem;
  }

  .arch-top {
    padding: 20px 14px 22px;
  }

  .arch-top .arch-panel__title { font-size: 18px; }
  .arch-top .arch-panel__tagline { font-size: 12px; }

  .arch-panel__pill {
    font-size: 8px;
    padding: 3px 8px;
  }

  .arch-tabs {
    gap: 5px;
    margin-bottom: 22px;
  }

  .arch-tab {
    font-size: 10px;
    padding: 5px 10px;
  }

  .arch-config {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
  }

  .arch-config__text {
    font-size: 10px;
  }

  .arch-bottom .arch-panel__title { font-size: 16px; }
  .arch-bottom .arch-panel__tagline { font-size: 11px; }

  .arch-panel { padding: 18px 14px; }

  .arch-row {
    padding: 8px 10px;
    gap: 9px;
    min-height: 46px;
  }

  .arch-row__badge {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .arch-row__name { font-size: 12px; }
  .arch-row__desc { font-size: 10.5px; }
  .arch-row__viz { width: 46px; height: 22px; }
}

/* ============================================================
   SECTION 4 — TEAM PERFORMANCE DASHBOARD
   Two-tier dashboard: team roster + 4×2 metric grid
   All styles scoped under .team-dash, .team-*, .metric-tile prefixes.
   ============================================================ */

.team-dash-wrap {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1080px;
  margin: 1rem auto 0;
}

.team-dash-wrap::before {
  content: '';
  position: absolute;
  inset: -70px;
  background:
    radial-gradient(ellipse 55% 50% at 22% 30%, rgba(240, 165, 0, 0.16), transparent 60%),
    radial-gradient(ellipse 55% 50% at 78% 70%, rgba(162, 89, 255, 0.14), transparent 60%);
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

.team-dash {
  position: relative;
  z-index: 1;
  width: 100%;
  background-color: #141820;
  background-image: radial-gradient(circle, rgba(148, 163, 184, 0.06) 1px, transparent 1.5px);
  background-size: 22px 22px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 14px 32px rgba(0, 0, 0, 0.45),
    0 40px 90px rgba(0, 0, 0, 0.5);
  font-family: var(--font-body);
  color: var(--text-inverse);
}

/* ---------- Browser chrome ---------- */
.team-dash__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.05),
    rgba(0, 0, 0, 0.38));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
}

.team-dash__dots { display: flex; gap: 7px; }
.team-dash__dot { width: 12px; height: 12px; border-radius: 50%; }
.team-dash__dot--red   { background: #FF5F57; }
.team-dash__dot--amber { background: #FEBC2E; }
.team-dash__dot--green { background: #28C840; }

.team-dash__url {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}

.team-dash__live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-success);
  letter-spacing: 0.08em;
}

.team-dash__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
}

/* ============================================================
   2-COLUMN BODY: team sidebar (left) + metrics main (right)
   ============================================================ */
.team-dash__body {
  display: grid;
  grid-template-columns: 280px 1fr;
}

/* ---------- LEFT: Team sidebar ---------- */
.team-sidebar {
  padding: 26px 22px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.012);
  position: relative;
}

.team-sidebar__header {
  margin-bottom: 18px;
}

.team-sidebar__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 5px;
}

.team-sidebar__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.45;
}

.team-sidebar__cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  min-width: 0;
  position: relative;
}

.team-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.team-card__info {
  flex: 1;
  min-width: 0;
  padding-top: 1px;
}

.team-card__top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-inverse);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.team-card__role {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}

.team-card__activity {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-card__status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 8px rgba(44, 194, 149, 0.65);
  flex-shrink: 0;
}

/* Team member color variants — matching agent palette from hero/Section 3 */
.team-card--rajesh .team-card__avatar {
  background: rgba(240, 165, 0, 0.16);
  color: var(--color-data-accent);
}
.team-card--priya .team-card__avatar {
  background: rgba(93, 202, 165, 0.16);
  color: #5DCAA5;
}
.team-card--ahmed .team-card__avatar {
  background: rgba(92, 184, 216, 0.16);
  color: #5CB8D8;
}
.team-card--maria .team-card__avatar {
  background: rgba(162, 89, 255, 0.18);
  color: var(--color-accent);
}
.team-card--mei .team-card__avatar {
  background: rgba(44, 194, 149, 0.16);
  color: var(--color-success);
}

/* ============================================================
   METRIC SECTIONS (top: ops, bottom: business)
   ============================================================ */
/* ---------- RIGHT: Metrics main area ---------- */
.team-main {
  display: flex;
  flex-direction: column;
}

.team-section {
  padding: 26px 28px 28px;
  position: relative;
}

.team-section + .team-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.team-section__header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}

.team-section__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0.08em;
}

.team-section__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-inverse);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.team-section__sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Metric tiles grid ---------- */
.team-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric-tile {
  position: relative;
  padding: 22px 22px 22px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.metric-tile__label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.metric-tile__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.metric-tile__value {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--color-data-accent);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.metric-tile__unit {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-data-accent);
  margin-left: 1px;
  letter-spacing: -0.01em;
}

.metric-tile__compare {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
}

.metric-tile__compare strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

.metric-tile__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 14px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.metric-tile__badge--mult {
  background: rgba(44, 194, 149, 0.15);
  color: var(--color-success);
  border: 1px solid rgba(44, 194, 149, 0.4);
}

.metric-tile__badge--delta {
  background: rgba(44, 194, 149, 0.15);
  color: var(--color-success);
  border: 1px solid rgba(44, 194, 149, 0.4);
}

/* Business tile metric color variant — keep the same amber for visual consistency */
.metric-tile--biz .metric-tile__value,
.metric-tile--biz .metric-tile__unit {
  color: var(--color-data-accent);
}

/* ---------- Footer tagline ---------- */
.team-dash__footer {
  padding: 22px 32px 26px;
  text-align: center;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.0),
    rgba(0, 0, 0, 0.25));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: -0.005em;
}

.team-dash__footer-strong {
  color: var(--color-data-accent);
  font-weight: 800;
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 1020px) {
  .team-dash-wrap {
    max-width: 760px;
  }

  .team-dash-wrap::before {
    inset: -36px;
    filter: blur(48px);
  }

  /* Stack sidebar above main on tablet */
  .team-dash__body {
    grid-template-columns: 1fr;
  }

  .team-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .team-sidebar__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .team-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .team-section {
    padding: 22px 24px 24px;
  }

  .metric-tile {
    padding: 18px 18px;
  }

  .metric-tile__value {
    font-size: 46px;
  }

  .metric-tile__unit {
    font-size: 26px;
  }
}

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

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

@media (max-width: 480px) {
  .team-dash-wrap::before {
    inset: -20px;
    filter: blur(40px);
  }

  .team-sidebar {
    padding: 22px 18px;
  }

  .team-sidebar__cards {
    grid-template-columns: 1fr;
  }

  .team-section {
    padding: 20px 18px;
  }

  .team-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .team-dash__footer {
    padding: 22px 18px;
    font-size: 15px;
  }

  .team-section__title { font-size: 16px; }

  .metric-tile {
    padding: 18px 18px 20px;
  }

  .metric-tile__label { font-size: 13px; }
  .metric-tile__sub { font-size: 10.5px; }

  .metric-tile__value {
    font-size: 48px;
  }

  .metric-tile__unit {
    font-size: 26px;
  }
}

/* ============================================================
   Section 4 — Pass 3/4: polish + animations
   ============================================================ */

/* Subtle gradient + inner highlights on team sidebar */
.team-sidebar {
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.022),
      rgba(255, 255, 255, 0.005));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset -1px 0 0 rgba(255, 255, 255, 0.04);
}

/* Inset top highlight on metric tiles */
.metric-tile {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.18);
}

/* Inset top highlight on team-card */
.team-card {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.16);
}

/* ---------- Animations ---------- */

/* Live indicator pulse on browser chrome */
@keyframes team-live-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.team-dash__live-dot {
  animation: team-live-pulse 1.8s ease-in-out infinite;
}

/* Status dot pulse on each team card — desynced */
@keyframes team-status-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

.team-card--rajesh .team-card__status { animation: team-status-pulse 1.8s ease-in-out infinite; }
.team-card--priya .team-card__status  { animation: team-status-pulse 2.1s ease-in-out infinite 0.4s; }
.team-card--ahmed .team-card__status  { animation: team-status-pulse 2.4s ease-in-out infinite 0.8s; }
.team-card--maria .team-card__status  { animation: team-status-pulse 2.0s ease-in-out infinite 0.2s; }
.team-card--mei .team-card__status    { animation: team-status-pulse 2.3s ease-in-out infinite 0.6s; }

/* Reduced-motion: disable all Section 4 animations */
@media (prefers-reduced-motion: reduce) {
  .team-dash__live-dot,
  .team-card__status,
  .metric-tile__value .count-up {
    animation: none !important;
  }
}

/* ============================================================
   SECTION 5 — QUOTE BUILDER SCREEN
   3-panel dashboard: Customer Profile · Quote Workspace · AI Recommendation
   The deepest product visual on the page — the section's job is to prove
   "Stop quoting on gut feel. Start quoting on data."
   All styles scoped under .qb-* prefix.
   ============================================================ */

.section-vp2 {
  overflow-x: clip;
}

/* Wrapper for ambient glow */
.qb-wrap {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1100px;
  margin: 1rem auto 0;
}

.qb-wrap::before {
  content: '';
  position: absolute;
  inset: -75px;
  background:
    radial-gradient(ellipse 55% 50% at 22% 30%, rgba(162, 89, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 55% at 78% 70%, rgba(240, 165, 0, 0.22), transparent 60%);
  filter: blur(75px);
  z-index: 0;
  pointer-events: none;
}

.qb {
  position: relative;
  z-index: 1;
  width: 100%;
  background-color: #141820;
  background-image: radial-gradient(circle, rgba(148, 163, 184, 0.06) 1px, transparent 1.5px);
  background-size: 22px 22px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 14px 32px rgba(0, 0, 0, 0.45),
    0 40px 90px rgba(0, 0, 0, 0.5);
  font-family: var(--font-body);
  color: var(--text-inverse);
}

/* ---------- Browser chrome ---------- */
.qb__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.05),
    rgba(0, 0, 0, 0.38));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
}

.qb__dots { display: flex; gap: 7px; }
.qb__dot { width: 12px; height: 12px; border-radius: 50%; }
.qb__dot--red   { background: #FF5F57; }
.qb__dot--amber { background: #FEBC2E; }
.qb__dot--green { background: #28C840; }

.qb__url {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}

.qb__live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-success);
  letter-spacing: 0.08em;
}

.qb__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
}

/* ---------- 3-panel body ---------- */
.qb__body {
  display: grid;
  grid-template-columns: 28% 42% 30%;
}

.qb-customer,
.qb-quote,
.qb-reco {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}

.qb-customer {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.qb-quote {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.014);
}

.qb-reco {
  background:
    linear-gradient(180deg,
      rgba(240, 165, 0, 0.06),
      rgba(240, 165, 0, 0.018));
}

/* ---------- Shared panel header ---------- */
.qb__panel-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.qb__panel-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.36);
  letter-spacing: 0.08em;
}

.qb__panel-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-inverse);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   LEFT PANEL — Customer Profile
   ============================================================ */
.qb-customer__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.qb-customer__avatar {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  background: rgba(240, 165, 0, 0.16);
  color: var(--color-data-accent);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  letter-spacing: -0.02em;
}

.qb-customer__info {
  flex: 1;
  min-width: 0;
}

.qb-customer__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-inverse);
  line-height: 1.2;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.qb-customer__tier {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 2px 7px;
  background: rgba(240, 165, 0, 0.16);
  color: var(--color-data-accent);
  border: 1px solid rgba(240, 165, 0, 0.42);
  border-radius: 3px;
}

.qb-customer__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
}

.qb-stat {
  padding: 10px 12px 11px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.qb-stat__num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-inverse);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.qb-stat__label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
  margin-top: 3px;
}

.qb-customer__chart-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.qb-customer__chart {
  height: 50px;
  margin-bottom: 22px;
}

.qb-customer__chart svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.qb-customer__insight {
  margin-bottom: 16px;
}

.qb-customer__insight-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.qb-customer__insight-note {
  font-family: 'Caveat', 'Inter', cursive;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-data-accent);
  line-height: 1.18;
  transform: rotate(-1.5deg);
  padding-left: 4px;
}

.qb-customer__last {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.6);
}

.qb-customer__last-label {
  color: rgba(255, 255, 255, 0.4);
  margin-right: 5px;
}

/* ============================================================
   CENTER PANEL — Quote Workspace
   ============================================================ */
.qb-quote__id {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.qb__pill {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 3px;
  margin-left: auto;
}

.qb__pill--draft {
  background: rgba(240, 165, 0, 0.16);
  color: var(--color-data-accent);
  border: 1px solid rgba(240, 165, 0, 0.4);
}

.qb-section {
  margin-bottom: 18px;
}

.qb-section__label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  margin-bottom: 9px;
}

/* Lane visualization */
.qb-lane {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qb-lane__city {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-inverse);
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.qb-lane__track {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(240, 165, 0, 0.2),
    rgba(240, 165, 0, 0.7),
    rgba(240, 165, 0, 0.2));
  position: relative;
}

.qb-lane__track::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid rgba(240, 165, 0, 0.85);
  border-right: 1.5px solid rgba(240, 165, 0, 0.85);
  transform: translateY(-50%) rotate(45deg);
}

.qb-lane__spec {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
}

/* Carrier rates */
.qb-rates {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.qb-rate {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.qb-rate--selected {
  background: rgba(44, 194, 149, 0.1);
  border-color: rgba(44, 194, 149, 0.36);
  box-shadow: inset 3px 0 0 var(--color-success);
  padding-left: 15px;
}

.qb-rate__indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.qb-rate--selected .qb-rate__indicator {
  background: var(--color-success);
  box-shadow: 0 0 8px rgba(44, 194, 149, 0.65);
}

.qb-rate__carrier {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  flex: 1;
}

.qb-rate--selected .qb-rate__carrier {
  color: var(--text-inverse);
  font-weight: 700;
}

.qb-rate__price {
  color: var(--text-inverse);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.qb-rate--selected .qb-rate__price {
  color: var(--color-success);
}

.qb-rate__tag {
  font-size: 9px;
  color: var(--color-success);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Cost breakdown */
.qb-breakdown {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.qb-breakdown__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 3px 2px;
}

.qb-breakdown__name {
  color: rgba(255, 255, 255, 0.62);
}

.qb-breakdown__val {
  color: var(--text-inverse);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.qb-breakdown__row--total {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 7px;
  margin-top: 4px;
}

.qb-breakdown__row--total .qb-breakdown__name {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

.qb-breakdown__row--total .qb-breakdown__val {
  color: var(--text-inverse);
  font-weight: 800;
  font-size: 13px;
}

/* Final price section */
.qb-quote__final {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.qb-quote__final-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.qb-quote__final-val {
  font-weight: 700;
  color: var(--text-inverse);
}

.qb-quote__final-row--big {
  font-size: 13px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.09);
  align-items: center;
}

.qb-quote__final-row--big .qb-quote__final-label {
  font-size: 10.5px;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.qb-quote__final-val--amber {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--color-data-accent);
  font-weight: 800;
  letter-spacing: -0.015em;
}

/* ============================================================
   RIGHT PANEL — AI Recommendation (THE HERO)
   ============================================================ */
.qb-reco__sparkle {
  display: inline-block;
  width: 13px;
  height: 13px;
  background: var(--color-data-accent);
  clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
  flex-shrink: 0;
}

/* Hero recommendation card */
.qb-reco__card {
  background: linear-gradient(180deg,
    rgba(240, 165, 0, 0.18),
    rgba(240, 165, 0, 0.06));
  border: 1.5px solid rgba(240, 165, 0, 0.45);
  border-radius: 12px;
  padding: 16px 18px 18px;
  margin-bottom: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 4px rgba(240, 165, 0, 0.06),
    0 0 36px rgba(240, 165, 0, 0.22),
    0 6px 16px rgba(0, 0, 0, 0.2);
}

.qb-reco__card-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-data-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.qb-reco__price {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 800;
  color: var(--color-data-accent);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 14px;
}

.qb-reco__stats {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qb-reco__stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.qb-reco__stat-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-inverse);
  line-height: 1;
}

.qb-reco__stat-num--teal {
  color: var(--color-success);
}

.qb-reco__stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
}

.qb-reco__stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.14);
}

/* Why this price section */
.qb-reco__why {
  margin-bottom: 20px;
}

.qb-reco__section-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.qb-reco__reasons {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.qb-reco__reason {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.42;
}

.qb-reco__check {
  color: var(--color-success);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: -1px;
  font-size: 12px;
}

/* Margin floors */
.qb-reco__floors {
  margin-bottom: 18px;
}

.qb-floors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.qb-floor {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  background: rgba(44, 194, 149, 0.08);
  border: 1px solid rgba(44, 194, 149, 0.28);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.82);
}

.qb-floor__check {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 6px rgba(44, 194, 149, 0.6);
  flex-shrink: 0;
}

.qb-floor__name {
  font-weight: 600;
}

/* Action button */
.qb-reco__action {
  margin-top: auto;
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(180deg, #FFB420, #D4920A);
  border: 1px solid rgba(240, 165, 0, 0.7);
  border-radius: 8px;
  color: #1A1828;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: default;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 4px 12px rgba(240, 165, 0, 0.32),
    0 1px 3px rgba(0, 0, 0, 0.18);
  text-transform: uppercase;
}

/* ============================================================
   Pass 4 — Animations
   ============================================================ */

/* LIVE indicator pulse on browser chrome */
@keyframes qb-live-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.qb__live-dot {
  animation: qb-live-pulse 1.8s ease-in-out infinite;
}

/* Sparkle pulse on AI recommendation header */
@keyframes qb-sparkle-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.18); opacity: 0.85; }
}

.qb-reco__sparkle {
  animation: qb-sparkle-pulse 2.5s ease-in-out infinite;
}

/* Margin floors stagger pulse */
@keyframes qb-floor-pulse {
  0%, 100% {
    box-shadow: 0 0 6px rgba(44, 194, 149, 0.55);
  }
  50% {
    box-shadow: 0 0 14px rgba(44, 194, 149, 1);
  }
}

.qb-floor:nth-child(1) .qb-floor__check { animation: qb-floor-pulse 2.4s ease-in-out infinite; }
.qb-floor:nth-child(2) .qb-floor__check { animation: qb-floor-pulse 2.4s ease-in-out infinite 0.6s; }
.qb-floor:nth-child(3) .qb-floor__check { animation: qb-floor-pulse 2.4s ease-in-out infinite 1.2s; }
.qb-floor:nth-child(4) .qb-floor__check { animation: qb-floor-pulse 2.4s ease-in-out infinite 1.8s; }

/* DHL selected rate indicator pulse */
@keyframes qb-rate-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(44, 194, 149, 0.65); }
  50%      { box-shadow: 0 0 14px rgba(44, 194, 149, 1); }
}

.qb-rate--selected .qb-rate__indicator {
  animation: qb-rate-pulse 2.0s ease-in-out infinite;
}

/* Recommendation card breathing glow */
@keyframes qb-reco-breathe {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 0 0 4px rgba(240, 165, 0, 0.06),
      0 0 36px rgba(240, 165, 0, 0.22),
      0 6px 16px rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 0 0 5px rgba(240, 165, 0, 0.1),
      0 0 52px rgba(240, 165, 0, 0.36),
      0 6px 20px rgba(0, 0, 0, 0.26);
  }
}

.qb-reco__card {
  animation: qb-reco-breathe 3.5s ease-in-out infinite;
}

/* Sparkline draw-in via stroke-dashoffset */
@keyframes qb-sparkline-draw {
  from { stroke-dashoffset: 320; }
  to   { stroke-dashoffset: 0; }
}

@keyframes qb-sparkline-dot {
  0%   { opacity: 0; transform: scale(0); }
  60%  { opacity: 0; transform: scale(0); }
  100% { opacity: 1; transform: scale(1); }
}

.qb-customer__chart-line {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: qb-sparkline-draw 1.6s ease-out 0.6s forwards;
}

.qb-customer__chart-dot {
  transform-origin: 200px 14px;
  opacity: 0;
  animation: qb-sparkline-dot 2.2s ease-out forwards;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .qb__live-dot,
  .qb-reco__sparkle,
  .qb-floor__check,
  .qb-rate--selected .qb-rate__indicator,
  .qb-reco__card,
  .qb-customer__chart-line,
  .qb-customer__chart-dot {
    animation: none !important;
  }
  .qb-customer__chart-line {
    stroke-dashoffset: 0;
  }
  .qb-customer__chart-dot {
    opacity: 1;
  }
}

/* ============================================================
   Pass 5 — Mobile + responsive
   ============================================================ */
@media (max-width: 1100px) {
  .qb-wrap {
    max-width: 920px;
  }

  .qb-wrap::before {
    inset: -50px;
    filter: blur(60px);
  }

  .qb__body {
    grid-template-columns: 30% 40% 30%;
  }

  .qb-customer,
  .qb-quote,
  .qb-reco {
    padding: 22px 20px 24px;
  }

  .qb-reco__price {
    font-size: 44px;
  }
}

@media (max-width: 900px) {
  .qb-wrap {
    max-width: 720px;
  }

  .qb__body {
    grid-template-columns: 1fr;
  }

  .qb-customer,
  .qb-quote {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .qb-customer,
  .qb-quote,
  .qb-reco {
    padding: 24px 26px 26px;
  }

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

  .qb-reco__price {
    font-size: 56px;
  }
}

@media (max-width: 600px) {
  .qb-wrap::before {
    inset: -20px;
    filter: blur(40px);
  }

  .qb-customer,
  .qb-quote,
  .qb-reco {
    padding: 20px 18px;
  }

  .qb-customer__stats {
    grid-template-columns: 1fr 1fr;
  }

  .qb-reco__price {
    font-size: 46px;
  }

  .qb-quote__final-val--amber {
    font-size: 20px;
  }

  .qb-stat__num {
    font-size: 16px;
  }
}

/* ============================================================
   SECTION 6 — CUSTOMER INBOX (VP3: Customer Experience)
   The customer's POV: a 4-message email thread, real photo of
   the customer, plus floating iMessage + handwritten note overlays.
   All styles scoped under .cx-* / .cx prefix (note: existing
   .cx-* classes from old version are now dead — won't conflict
   because old HTML is gone).
   ============================================================ */

.section-cx {
  overflow-x: clip;
}

/* Wrap with ambient glow */
.cx-wrap {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1080px;
  margin: 2.5rem auto 0;
}

.cx-wrap::before {
  content: '';
  position: absolute;
  inset: -75px;
  background:
    radial-gradient(ellipse 55% 50% at 25% 30%, rgba(162, 89, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 55% 50% at 75% 70%, rgba(240, 165, 0, 0.20), transparent 60%);
  filter: blur(75px);
  z-index: 0;
  pointer-events: none;
}

/* Light email client (matches Section 2A's light browser strategy) */
.cx {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #FFFFFF;
  border-radius: 14px;
  overflow: visible;
  border: 1px solid #D5D9E0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(0, 0, 0, 0.18),
    0 14px 32px rgba(0, 0, 0, 0.42),
    0 40px 90px rgba(0, 0, 0, 0.46);
  font-family: var(--font-body);
  color: #1F2937;
}

/* Browser chrome (light, macOS style) */
.cx__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  background: linear-gradient(180deg, #E8EBEE, #DDE0E5);
  border-bottom: 1px solid #C9CED5;
  border-radius: 14px 14px 0 0;
  position: relative;
  z-index: 2;
}

.cx__dots { display: flex; gap: 7px; }
.cx__dot { width: 12px; height: 12px; border-radius: 50%; }
.cx__dot--red   { background: #FF5F57; }
.cx__dot--amber { background: #FEBC2E; }
.cx__dot--green { background: #28C840; }

.cx__url {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #6B7280;
  letter-spacing: 0.02em;
  background: #FFFFFF;
  border: 1px solid #D5D9E0;
  border-radius: 5px;
  padding: 4px 12px;
  max-width: 320px;
  margin: 0 auto;
}

.cx__user {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: #6B7280;
}

/* 2-column body: email left, CX feedback right */
.cx__body {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
}

.cx-mail {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #E5E7EB;
  min-width: 0;
}

/* Email thread header bar */
.cx-thread-header {
  padding: 16px 24px 14px;
  border-bottom: 1px solid #E5E7EB;
  background: #F9FAFB;
}

.cx-thread-header__subject {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.cx-thread-header__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cx-thread-header__count {
  color: #4B5563;
  font-weight: 600;
}

.cx-thread-header__sep {
  color: #9CA3AF;
}

/* Email thread body */
.cx-thread {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Individual message */
.cx-msg {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.cx-msg--customer {
  background: #FEFBF3;
  border-color: #F0E6CC;
}

/* Avatar (circular, supports photo or initials fallback) */
.cx-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

/* Photo avatar — img sits on top of initials fallback */
.cx-avatar--photo {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

.cx-avatar--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.cx-avatar--photo .cx-avatar__initials {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  z-index: 1;
}

/* When image fails to load, hide gradient styling and only show initials */
.cx-avatar--no-photo {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

/* Rajesh avatar (initials only, no photo) */
.cx-avatar--rajesh {
  background: linear-gradient(135deg, #6366F1, #4338CA);
}

.cx-avatar--rajesh .cx-avatar__initials {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

/* Message body */
.cx-msg__body {
  flex: 1;
  min-width: 0;
}

.cx-msg__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  flex-wrap: wrap;
}

.cx-msg__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

.cx-msg__addr {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #9CA3AF;
}

.cx-msg__time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #6B7280;
  margin-left: auto;
}

.cx-msg__badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
}

.cx-msg__badge--time {
  background: rgba(44, 194, 149, 0.14);
  color: #047857;
  border: 1px solid rgba(44, 194, 149, 0.35);
}

.cx-msg__badge--proactive {
  background: rgba(162, 89, 255, 0.12);
  color: #6D28D9;
  border: 1px solid rgba(162, 89, 255, 0.35);
}

.cx-msg__text {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: #374151;
  line-height: 1.55;
}

.cx-msg__rate {
  color: #047857;
  font-weight: 700;
  font-size: 13.5px;
}

.cx-msg__sig {
  color: #6B7280;
  font-size: 11px;
  font-style: italic;
}

.cx-msg__link {
  color: #2563EB;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.4);
  text-underline-offset: 2px;
}

/* Email attachment */
.cx-msg__attachment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  background: #F3F4F6;
  border: 1px solid #D5D9E0;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #374151;
}

.cx-msg__attach-icon {
  font-size: 13px;
  color: #6B7280;
}

.cx-msg__attach-name {
  font-weight: 600;
  color: #1F2937;
}

.cx-msg__attach-size {
  color: #9CA3AF;
  font-size: 10px;
}

/* ============================================================
   FLOATING OVERLAY 1: iMessage card
   ============================================================ */
.cx-float {
  position: absolute;
  z-index: 5;
}

.cx-float--imessage {
  top: 110px;
  right: -40px;
  width: 248px;
  background: #FFFFFF;
  border-radius: 18px;
  border: 1px solid #D5D9E0;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.18),
    0 14px 32px rgba(0, 0, 0, 0.42),
    0 4px 10px rgba(0, 0, 0, 0.22);
  font-family: var(--font-body);
}

.cx-imessage__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #F2F2F7, #E5E5EA);
  border-bottom: 1px solid #D5D9E0;
}

.cx-imessage__back {
  color: #007AFF;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.cx-imessage__contact {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.cx-imessage__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B6B, #C82333);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cx-imessage__name {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: #1F2937;
}

.cx-imessage__service {
  font-family: var(--font-mono);
  font-size: 8px;
  color: #6B7280;
  letter-spacing: 0.04em;
}

.cx-imessage__bubbles {
  padding: 14px 12px 12px;
  background: #FFFFFF;
}

.cx-imessage__bubble {
  display: inline-block;
  background: linear-gradient(135deg, #007AFF, #005EB8);
  color: #FFFFFF;
  padding: 9px 13px;
  border-radius: 18px;
  font-size: 12.5px;
  line-height: 1.35;
  max-width: 90%;
  margin-left: auto;
  display: block;
  width: fit-content;
  margin-left: auto;
  border-bottom-right-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.cx-imessage__time {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #9CA3AF;
  text-align: right;
  margin-top: 6px;
}

/* ============================================================
   FLOATING OVERLAY 2: Handwritten Caveat note
   ============================================================ */
.cx-float--note {
  bottom: 70px;
  right: 30px;
  width: 175px;
  background: #FFE588;
  border: 1px solid #F4D35E;
  border-radius: 3px;
  padding: 16px 14px 14px;
  transform: rotate(3deg);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.28),
    0 3px 8px rgba(0, 0, 0, 0.18);
}

.cx-note__stars {
  font-family: var(--font-body);
  font-size: 14px;
  color: #D97706;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  text-align: center;
}

.cx-note__text {
  font-family: 'Caveat', 'Inter', cursive;
  font-size: 22px;
  font-weight: 700;
  color: #78350F;
  line-height: 1.15;
  text-align: center;
  margin-bottom: 6px;
}

.cx-note__sig {
  font-family: 'Caveat', 'Inter', cursive;
  font-size: 16px;
  font-weight: 600;
  color: #92400E;
  text-align: right;
  font-style: italic;
}

/* ============================================================
   Pass 4 — Animations
   ============================================================ */

/* Time badge pulse on the 15-min response */
@keyframes cx-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(44, 194, 149, 0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(44, 194, 149, 0); }
}

.cx-msg__badge--time {
  animation: cx-badge-pulse 2.4s ease-out infinite;
}

/* iMessage delivered tick subtle pulse */
@keyframes cx-imessage-tick {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.6; }
}

.cx-imessage__time {
  animation: cx-imessage-tick 2.2s ease-in-out infinite;
}

/* Caveat note subtle floaty wobble */
@keyframes cx-note-wobble {
  0%, 100% { transform: rotate(3deg); }
  50%      { transform: rotate(2.4deg); }
}

.cx-float--note {
  animation: cx-note-wobble 8s ease-in-out infinite;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cx-msg__badge--time,
  .cx-imessage__time,
  .cx-float--note {
    animation: none !important;
  }
}

/* ============================================================
   Pass 5 — Mobile + responsive
   ============================================================ */
@media (max-width: 1100px) {
  .cx-wrap {
    max-width: 880px;
  }

  .cx-wrap::before {
    inset: -50px;
    filter: blur(60px);
  }

  .cx-float--imessage {
    right: -20px;
    width: 220px;
  }

  .cx-float--note {
    bottom: 50px;
    right: 14px;
    width: 158px;
  }
}

@media (max-width: 900px) {
  .cx-wrap {
    max-width: 720px;
  }

  .cx-thread {
    padding: 16px 18px 22px;
  }

  .cx-thread-header {
    padding: 14px 18px 12px;
  }

  /* Float overlays move INSIDE the viewport at this breakpoint */
  .cx-float--imessage {
    top: auto;
    right: 14px;
    bottom: 200px;
    width: 200px;
  }

  .cx-float--note {
    right: 14px;
    bottom: 30px;
    width: 150px;
  }
}

@media (max-width: 720px) {
  .cx-wrap {
    max-width: 100%;
  }

  .cx-wrap::before {
    inset: -20px;
    filter: blur(40px);
  }

  /* Floats become static and stack below the thread on mobile */
  .cx-float--imessage,
  .cx-float--note {
    position: static;
    width: 100%;
    max-width: 320px;
    margin: 16px auto 0;
  }

  .cx-float--note {
    transform: rotate(-2deg);
    margin-top: 18px;
  }

  .cx-thread {
    padding: 16px 14px 24px;
  }

  .cx-msg {
    padding: 12px 14px;
    gap: 11px;
  }

  .cx-avatar {
    width: 38px;
    height: 38px;
  }

  .cx-msg__name {
    font-size: 13px;
  }

  .cx-msg__addr {
    display: none;
  }

  .cx-msg__text {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .cx-thread-header__subject {
    font-size: 15px;
  }

  .cx-msg {
    padding: 11px 12px;
  }

  .cx-msg__rate {
    font-size: 13px;
  }

  .cx-note__text {
    font-size: 20px;
  }
}

/* ============================================================
   SECTION 6 v2 — CX FEEDBACK COLLAGE PANEL
   Right panel of the customer inbox dashboard.
   6 diverse review elements arranged as a vertical collage.
   ============================================================ */

.cx-feedback {
  padding: 24px 22px 28px;
  background: linear-gradient(180deg, #F9FAFB 0%, #F3F4F6 100%);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cx-feedback__header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #D5D9E0;
}

.cx-feedback__label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #374151;
  margin-bottom: 5px;
}

.cx-feedback__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #6B7280;
}

.cx-feedback__collage {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.cx-rev {
  position: relative;
  font-family: var(--font-body);
}

/* ---------- Element 1: TRACKING GLIMPSE (mobile widget) ---------- */
.cx-rev--tracking {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}

.cx-tracking__device {
  position: relative;
  background: #1A1D24;
  border-radius: 24px;
  padding: 5px;
  border: 1.5px solid #2D3138;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.22);
}

.cx-tracking__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 16px;
  background: #1A1D24;
  border-radius: 0 0 10px 10px;
  z-index: 2;
}

.cx-tracking__screen {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 22px 15px 14px;
  position: relative;
  overflow: hidden;
}

.cx-tracking__header {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 11px;
}

.cx-tracking__back {
  color: #007AFF;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.cx-tracking__title {
  flex: 1;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.01em;
}

.cx-tracking__live {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 800;
  color: #059669;
  letter-spacing: 0.08em;
}

.cx-tracking__live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #059669;
}

.cx-tracking__id {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #6B7280;
  margin-bottom: 14px;
  text-align: center;
  letter-spacing: 0.02em;
}

.cx-tracking__route {
  margin-bottom: 14px;
}

.cx-tracking__bar {
  position: relative;
  height: 4px;
  background: #E5E7EB;
  border-radius: 2px;
  margin: 10px 8px 8px;
}

.cx-tracking__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  background: linear-gradient(90deg, #2CC295, #059669);
  border-radius: 2px;
}

.cx-tracking__dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #E5E7EB;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 0 0 1px #D1D5DB;
}

.cx-tracking__dot--done {
  background: #2CC295;
  box-shadow: 0 0 0 1px #059669;
}

.cx-tracking__dot--current {
  background: #2CC295;
  box-shadow: 0 0 0 1px #059669, 0 0 0 5px rgba(44, 194, 149, 0.25);
  width: 13px;
  height: 13px;
}

.cx-tracking__labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #6B7280;
  letter-spacing: 0.04em;
  padding: 0 2px;
  margin-top: 4px;
}

.cx-tracking__eta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 4px 6px;
  border-top: 1px solid #F3F4F6;
}

.cx-tracking__eta-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #1F2937;
  font-weight: 600;
}

.cx-tracking__eta-label {
  color: #9CA3AF;
  font-weight: 700;
}

.cx-tracking__update {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #9CA3AF;
  text-align: center;
  font-style: italic;
  margin-top: 5px;
}

/* ---------- Element 2: STAR RATING CARD ---------- */
.cx-rev--stars {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 9px;
  padding: 16px 16px 14px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07);
  transform: rotate(-1deg);
}

.cx-rev__stars-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cx-rev__stars {
  font-family: var(--font-body);
  font-size: 17px;
  color: #FBBF24;
  letter-spacing: 0.05em;
}

.cx-rev__score {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.01em;
}

.cx-rev__score span {
  font-size: 13px;
  font-weight: 600;
  color: #9CA3AF;
}

.cx-rev__quote {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: #374151;
  line-height: 1.45;
  font-style: italic;
  margin-bottom: 8px;
}

.cx-rev__source {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #9CA3AF;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Elements 3 & 4: STICKY NOTES (yellow + peach) ---------- */
.cx-rev--sticky {
  width: 90%;
  padding: 16px 14px 14px;
  border-radius: 2px;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.22),
    0 2px 4px rgba(0, 0, 0, 0.12);
}

.cx-rev--sticky-yellow {
  background: #FFE588;
  border: 1px solid #F4D35E;
  transform: rotate(-3deg);
  margin-left: 4px;
}

.cx-rev--sticky-peach {
  background: #FFC4A3;
  border: 1px solid #FFA577;
  transform: rotate(3.5deg);
  margin-left: auto;
  margin-right: 4px;
}

.cx-rev__sticky-text {
  font-family: 'Caveat', 'Inter', cursive;
  font-size: 23px;
  font-weight: 700;
  color: #78350F;
  line-height: 1.15;
  margin-bottom: 8px;
}

.cx-rev--sticky-peach .cx-rev__sticky-text {
  color: #7C2D12;
}

.cx-rev__sticky-sig {
  font-family: 'Caveat', 'Inter', cursive;
  font-size: 16px;
  font-weight: 600;
  color: #92400E;
  text-align: right;
  font-style: italic;
}

.cx-rev--sticky-peach .cx-rev__sticky-sig {
  color: #9A3412;
}

/* ---------- Element 5: iMESSAGE CARD ---------- */
.cx-rev--imessage {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #D5D9E0;
  overflow: hidden;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.18),
    0 2px 4px rgba(0, 0, 0, 0.1);
  transform: rotate(-1deg);
}

.cx-rev--imessage .cx-imessage__header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #F2F2F7, #E5E5EA);
  border-bottom: 1px solid #D5D9E0;
}

.cx-rev--imessage .cx-imessage__back {
  color: #007AFF;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}

.cx-rev--imessage .cx-imessage__contact {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.cx-rev--imessage .cx-imessage__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B6B, #C82333);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cx-rev--imessage .cx-imessage__name {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  color: #1F2937;
}

.cx-rev--imessage .cx-imessage__service {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #6B7280;
  letter-spacing: 0.04em;
}

.cx-rev--imessage .cx-imessage__bubbles {
  padding: 14px 12px 12px;
  background: #FFFFFF;
}

.cx-rev--imessage .cx-imessage__bubble {
  display: block;
  background: linear-gradient(135deg, #007AFF, #005EB8);
  color: #FFFFFF;
  padding: 9px 13px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.35;
  width: fit-content;
  margin-left: auto;
  border-bottom-right-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.cx-rev--imessage .cx-imessage__time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #9CA3AF;
  text-align: right;
  margin-top: 6px;
}

/* ---------- Element 6: NPS BADGE ---------- */
.cx-rev--nps {
  background: linear-gradient(180deg, #1A1828, #0F0E1A);
  border-radius: 11px;
  padding: 18px 18px 17px;
  border: 1px solid rgba(162, 89, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 20px rgba(162, 89, 255, 0.18);
  transform: rotate(2deg);
}

.cx-rev__nps-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2CC295, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 4px 12px rgba(44, 194, 149, 0.4);
}

.cx-rev__nps-score {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.04em;
  line-height: 1;
}

.cx-rev__nps-info {
  flex: 1;
  min-width: 0;
}

.cx-rev__nps-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.25;
  margin-bottom: 6px;
}

.cx-rev__nps-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--color-success);
  letter-spacing: 0.1em;
  padding: 3px 8px;
  background: rgba(44, 194, 149, 0.14);
  border: 1px solid rgba(44, 194, 149, 0.45);
  border-radius: 4px;
  display: inline-block;
}

/* ---------- Animations for collage elements ---------- */

/* Tracking dot pulse */
@keyframes cx-tracking-pulse {
  0%, 100% {
    box-shadow: 0 0 0 1px #059669, 0 0 0 4px rgba(44, 194, 149, 0.25);
  }
  50% {
    box-shadow: 0 0 0 1px #059669, 0 0 0 7px rgba(44, 194, 149, 0.05);
  }
}

.cx-tracking__dot--current {
  animation: cx-tracking-pulse 2.2s ease-in-out infinite;
}

.cx-tracking__live-dot {
  animation: cx-imessage-tick 1.6s ease-in-out infinite;
}

/* Yellow + Peach sticky subtle wobble (desynced) */
@keyframes cx-sticky-wobble-a {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(-2.4deg); }
}

@keyframes cx-sticky-wobble-b {
  0%, 100% { transform: rotate(3.5deg); }
  50%      { transform: rotate(4.1deg); }
}

.cx-rev--sticky-yellow {
  animation: cx-sticky-wobble-a 9s ease-in-out infinite;
}

.cx-rev--sticky-peach {
  animation: cx-sticky-wobble-b 11s ease-in-out infinite;
}

/* NPS badge subtle glow breathe */
@keyframes cx-nps-breathe {
  0%, 100% {
    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 0 20px rgba(162, 89, 255, 0.18);
  }
  50% {
    box-shadow:
      0 8px 22px rgba(0, 0, 0, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 0 32px rgba(162, 89, 255, 0.32);
  }
}

.cx-rev--nps {
  animation: cx-nps-breathe 4s ease-in-out infinite;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cx-tracking__dot--current,
  .cx-tracking__live-dot,
  .cx-rev--sticky-yellow,
  .cx-rev--sticky-peach,
  .cx-rev--nps {
    animation: none !important;
  }
}

/* ============================================================
   Section 6 v2 — Mobile breakpoints
   ============================================================ */
@media (max-width: 1100px) {
  .cx__body {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  }

  .cx-feedback {
    padding: 20px 16px 22px;
  }

  .cx-rev--tracking {
    max-width: 168px;
  }
}

@media (max-width: 900px) {
  /* Stack: email above, feedback below */
  .cx__body {
    grid-template-columns: 1fr;
  }

  .cx-mail {
    border-right: none;
    border-bottom: 1px solid #E5E7EB;
  }

  .cx-feedback {
    padding: 24px 22px 26px;
  }

  /* Feedback collage becomes a 2-column grid on tablet */
  .cx-feedback__collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
  }

  .cx-rev--tracking {
    grid-column: 1 / 2;
    max-width: 180px;
  }

  .cx-rev--stars {
    grid-column: 2 / 3;
  }

  .cx-rev--imessage {
    grid-column: 1 / 2;
  }

  .cx-rev--nps {
    grid-column: 2 / 3;
  }
}

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

  .cx-rev--tracking,
  .cx-rev--stars,
  .cx-rev--imessage,
  .cx-rev--nps,
  .cx-rev--sticky {
    grid-column: auto;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   SECTION 7 — PROOF: INFINITY LOGISTICS
   Quarterly Performance Review dossier (Q4 2024 → Q4 2025)
   Scope: International Express Logistics line
   Browser-chromed frame · header · scope bar · dumbbell comparison
   · outcomes strip · two testimonials.
   All interior styles scoped under .inf-* prefix.
   ============================================================ */

/* ---------- Section intro (headline + sub) ---------- */
.proof__sub {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 auto 3rem;
  max-width: 760px;
  text-transform: uppercase;
}

.proof__sub-accent {
  color: var(--color-data-accent);
  font-weight: 600;
  margin-left: 6px;
}

/* ---------- Wrapper + ambient glow ---------- */
.inf-wrap {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto 3.5rem;
}

.inf-wrap::before {
  content: '';
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(ellipse 55% 50% at 20% 30%, rgba(0, 212, 191, 0.13), transparent 60%),
    radial-gradient(ellipse 60% 55% at 80% 70%, rgba(240, 165, 0, 0.18), transparent 60%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

/* ---------- Dossier frame ---------- */
.inf {
  position: relative;
  z-index: 1;
  width: 100%;
  background-color: #141820;
  background-image: radial-gradient(circle, rgba(148, 163, 184, 0.06) 1px, transparent 1.5px);
  background-size: 22px 22px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 14px 32px rgba(0, 0, 0, 0.45),
    0 40px 90px rgba(0, 0, 0, 0.5);
  font-family: var(--font-body);
  color: var(--text-inverse);
}

/* ---------- Browser chrome ---------- */
.inf__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.05),
    rgba(0, 0, 0, 0.38));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
}

.inf__dots { display: flex; gap: 7px; }
.inf__dot { width: 12px; height: 12px; border-radius: 50%; }
.inf__dot--red   { background: #FF5F57; }
.inf__dot--amber { background: #FEBC2E; }
.inf__dot--green { background: #28C840; }

.inf__url {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}

.inf__live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-success);
  letter-spacing: 0.08em;
}

.inf__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: inf-pulse 2s ease-out infinite;
}

@keyframes inf-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ---------- Dossier body ---------- */
.inf__body {
  padding: 28px 32px 30px;
}

/* ---------- Header: identity + review title ---------- */
.inf-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  margin-bottom: 22px;
}

.inf-header__identity {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

/* Logo: ∞ mark + wordmark */
.inf-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.inf-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  color: var(--color-data-accent);
  filter: drop-shadow(0 0 8px rgba(240, 165, 0, 0.35));
}

.inf-logo__mark svg {
  width: 100%;
  height: 100%;
}

.inf-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.inf-logo__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-inverse);
  letter-spacing: 0.09em;
  margin-bottom: 3px;
}

.inf-logo__tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
}

.inf-header__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 16px;
  min-width: 0;
}

.inf-header__meta-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.inf-header__meta-icon {
  width: 13px;
  height: 13px;
  color: rgba(255, 255, 255, 0.38);
  flex-shrink: 0;
}

.inf-header__review {
  text-align: right;
  flex-shrink: 0;
}

.inf-header__review-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 5px;
}

.inf-header__review-period {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 5px;
}

.inf-header__q--baseline { color: rgba(255, 255, 255, 0.42); }
.inf-header__q--current  { color: var(--color-data-accent); }

.inf-header__arrow {
  color: rgba(255, 255, 255, 0.35);
  font-size: 18px;
  font-weight: 400;
}

.inf-header__review-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
}

/* ---------- Scope strip (thin one-line context) ---------- */
.inf-scope-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 24px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  font-family: var(--font-mono);
}

.inf-scope-line__cell {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.inf-scope-line__label {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 700;
  text-transform: uppercase;
}

.inf-scope-line__value {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.inf-scope-line__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

/* ---------- Stat-card comparison block ---------- */
.inf-compare {
  position: relative;
}

/* Column headers (Q4 2024 / Q4 2025 / CHANGE) */
.inf-compare__headers {
  display: grid;
  grid-template-columns: 240px 1fr 150px;
  align-items: center;
  gap: 22px;
  padding: 0 4px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 6px;
}

.inf-compare__h-spacer {}

.inf-compare__h-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 8px;
}

.inf-compare__h-card {
  flex: 1;
  max-width: 200px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  font-weight: 700;
}

.inf-compare__h-arrow {
  width: 36px;
  flex-shrink: 0;
}

.inf-compare__h-delta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}

/* Individual row */
.inf-row {
  display: grid;
  grid-template-columns: 240px 1fr 150px;
  align-items: center;
  gap: 22px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s ease,
    transform 0.5s var(--motion-easing-decelerate),
    background 0.2s ease;
}

.inf-row.animated {
  opacity: 1;
  transform: translateY(0);
}

.inf-row:last-child {
  border-bottom: none;
}

.inf-row:hover {
  background: rgba(255, 255, 255, 0.018);
}

/* Row label */
.inf-row__label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 12px;
  min-width: 0;
}

.inf-row__label-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-inverse);
  letter-spacing: 0.005em;
  line-height: 1.22;
}

.inf-row__label-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.005em;
  line-height: 1.35;
}

/* Compare area — two stat cards + arrow */
.inf-row__compare {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  padding: 0 8px;
}

/* Stat card — peer-weighted before/after */
.inf-stat {
  flex: 1;
  max-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 18px;
  border-radius: 11px;
  position: relative;
  min-width: 0;
  min-height: 72px;
}

.inf-stat--baseline {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.inf-stat--current {
  background:
    linear-gradient(180deg,
      var(--stat-bg-top, rgba(240, 165, 0, 0.10)),
      var(--stat-bg-bot, rgba(240, 165, 0, 0.025)));
  border: 1px solid var(--stat-border, rgba(240, 165, 0, 0.36));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 28px var(--stat-glow, rgba(240, 165, 0, 0.18));
}

.inf-stat__value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.inf-stat--baseline .inf-stat__value {
  color: rgba(255, 255, 255, 0.58);
}

.inf-stat--current .inf-stat__value {
  color: var(--stat-color, #F0A500);
  text-shadow: 0 0 18px var(--stat-text-glow, rgba(240, 165, 0, 0.35));
}

/* Arrow between stat cards */
.inf-row__arrow {
  width: 36px;
  height: 16px;
  color: rgba(255, 255, 255, 0.3);
  align-self: center;
  flex-shrink: 0;
}

/* Stat card color variants */
.inf-stat--amber {
  --stat-color: #F0A500;
  --stat-border: rgba(240, 165, 0, 0.34);
  --stat-bg-top: rgba(240, 165, 0, 0.09);
  --stat-bg-bot: rgba(240, 165, 0, 0.02);
  --stat-glow: rgba(240, 165, 0, 0.18);
  --stat-text-glow: rgba(240, 165, 0, 0.35);
}

.inf-stat--teal {
  --stat-color: #00D4BF;
  --stat-border: rgba(0, 212, 191, 0.34);
  --stat-bg-top: rgba(0, 212, 191, 0.09);
  --stat-bg-bot: rgba(0, 212, 191, 0.02);
  --stat-glow: rgba(0, 212, 191, 0.18);
  --stat-text-glow: rgba(0, 212, 191, 0.35);
}

.inf-stat--green {
  --stat-color: #10B981;
  --stat-border: rgba(16, 185, 129, 0.36);
  --stat-bg-top: rgba(16, 185, 129, 0.09);
  --stat-bg-bot: rgba(16, 185, 129, 0.02);
  --stat-glow: rgba(16, 185, 129, 0.18);
  --stat-text-glow: rgba(16, 185, 129, 0.35);
}

.inf-stat--purple {
  --stat-color: #A259FF;
  --stat-border: rgba(162, 89, 255, 0.36);
  --stat-bg-top: rgba(162, 89, 255, 0.09);
  --stat-bg-bot: rgba(162, 89, 255, 0.02);
  --stat-glow: rgba(162, 89, 255, 0.18);
  --stat-text-glow: rgba(162, 89, 255, 0.35);
}

/* Delta badge */
.inf-row__delta {
  display: flex;
  align-items: center;
  gap: 11px;
  justify-content: center;
  padding: 14px 14px;
  border-radius: 10px;
  background: var(--delta-bg, rgba(240, 165, 0, 0.08));
  border: 1px solid var(--delta-border, rgba(240, 165, 0, 0.24));
  min-width: 0;
  min-height: 72px;
}

.inf-row__delta--amber {
  --delta-bg: rgba(240, 165, 0, 0.08);
  --delta-border: rgba(240, 165, 0, 0.24);
  --delta-color: #F0A500;
}

.inf-row__delta--teal {
  --delta-bg: rgba(0, 212, 191, 0.08);
  --delta-border: rgba(0, 212, 191, 0.24);
  --delta-color: #00D4BF;
}

.inf-row__delta--green {
  --delta-bg: rgba(16, 185, 129, 0.09);
  --delta-border: rgba(16, 185, 129, 0.26);
  --delta-color: #10B981;
}

.inf-row__delta--purple {
  --delta-bg: rgba(162, 89, 255, 0.09);
  --delta-border: rgba(162, 89, 255, 0.26);
  --delta-color: #A259FF;
}

.inf-row__delta-arrow {
  width: 13px;
  height: 15px;
  color: var(--delta-color);
  flex-shrink: 0;
}

.inf-row__delta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  min-width: 0;
}

.inf-row__delta-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--delta-color);
  letter-spacing: -0.01em;
  line-height: 1;
}

.inf-row__delta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
  white-space: nowrap;
  font-weight: 700;
}

/* ---------- Outcomes strip ---------- */
.inf-outcomes {
  margin-top: 24px;
  padding: 20px 24px 22px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(240, 165, 0, 0.05), rgba(240, 165, 0, 0.01));
  border: 1px solid rgba(240, 165, 0, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.inf-outcomes__title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-data-accent);
  margin-bottom: 14px;
  text-align: center;
  opacity: 0.85;
}

.inf-outcomes__row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.inf-outcomes__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0 36px;
  text-align: center;
  flex: 1;
}

.inf-outcomes__value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-data-accent);
  line-height: 1;
  letter-spacing: -0.015em;
}

.inf-outcomes__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.inf-outcomes__sep {
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

/* ---------- Testimonials ---------- */
.inf-voices {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
  max-width: 1140px;
  margin: 0 auto;
}

.inf-voice {
  position: relative;
  padding: 26px 30px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.inf-voice--primary {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 22px;
  align-items: flex-start;
}

.inf-voice__photo {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(240, 165, 0, 0.45);
  box-shadow:
    0 0 0 4px rgba(240, 165, 0, 0.1),
    0 6px 18px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  background: linear-gradient(135deg, #F0A500 0%, #FF8C00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.inf-voice__initials {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: #1a1728;
  letter-spacing: 0.02em;
  line-height: 1;
}

.inf-voice__body {
  position: relative;
  min-width: 0;
}

.inf-voice__quote-mark {
  position: absolute;
  top: -6px;
  left: -4px;
  width: 28px;
  height: 21px;
  color: rgba(240, 165, 0, 0.32);
}

.inf-voice__quote {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-inverse);
  margin: 0 0 14px;
  padding-left: 26px;
  font-weight: 400;
}

.inf-voice__quote--short {
  padding-left: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  font-style: italic;
  color: var(--color-data-accent);
  line-height: 1.25;
  margin-bottom: 16px;
}

.inf-voice__attribution {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 26px;
}

.inf-voice__quote--short + .inf-voice__attribution {
  padding-left: 0;
}

.inf-voice__attribution strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-inverse);
}

.inf-voice__attribution span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.52);
  letter-spacing: 0.04em;
}

.inf-voice--secondary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(240, 165, 0, 0.05), rgba(240, 165, 0, 0.01));
  border-color: rgba(240, 165, 0, 0.18);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .inf__live-dot {
    animation: none;
  }

  .inf-row {
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive: tablet (900px) ---------- */
@media (max-width: 960px) {
  .inf-wrap {
    max-width: 100%;
  }

  .inf__body {
    padding: 24px 22px 26px;
  }

  .inf-header {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
  }

  .inf-header__review {
    text-align: left;
  }

  .inf-header__review-period {
    justify-content: flex-start;
  }

  .inf-compare__headers,
  .inf-row {
    grid-template-columns: 200px 1fr 130px;
    gap: 16px;
  }

  .inf-row__label-name {
    font-size: 17px;
  }

  .inf-stat__value {
    font-size: 24px;
  }

  .inf-row__delta-value {
    font-size: 19px;
  }

  .inf-row__compare {
    gap: 12px;
    padding: 0;
  }

  .inf-row__arrow {
    width: 28px;
  }

  .inf-voices {
    grid-template-columns: 1fr;
  }
}

/* ---------- Responsive: small tablet / large mobile (760px) ---------- */
@media (max-width: 760px) {
  .inf__body {
    padding: 22px 18px 24px;
  }

  .inf-header__identity {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .inf-header__meta {
    border-left: none;
    padding-left: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 12px;
    width: 100%;
  }

  .inf-compare__headers {
    display: none;
  }

  .inf-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 4px 24px;
  }

  .inf-row__label {
    padding-right: 0;
  }

  .inf-row__compare {
    padding: 0;
    gap: 12px;
  }

  .inf-stat {
    max-width: none;
    min-height: 64px;
    padding: 14px 16px;
  }

  .inf-row__delta {
    justify-self: flex-start;
    align-self: flex-start;
    min-height: 0;
    padding: 12px 16px;
  }

  .inf-outcomes__row {
    flex-direction: column;
    gap: 16px;
  }

  .inf-outcomes__stat {
    padding: 0;
  }

  .inf-outcomes__sep {
    width: 60%;
    height: 1px;
  }

  .inf-voice--primary {
    grid-template-columns: 72px 1fr;
    gap: 16px;
  }

  .inf-voice__photo {
    width: 72px;
    height: 72px;
  }
}

/* ---------- Responsive: mobile (480px) ---------- */
@media (max-width: 480px) {
  .section-proof h2 {
    font-size: 1.85rem;
  }

  .proof__sub {
    font-size: 12px;
    padding: 0 1rem;
  }

  .inf__url {
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .inf__body {
    padding: 20px 14px 22px;
  }

  .inf-logo__name {
    font-size: 16px;
  }

  .inf-header__review-period {
    font-size: 19px;
  }

  .inf-scope-line__value {
    font-size: 11.5px;
  }

  .inf-row__label-name {
    font-size: 16px;
  }

  .inf-stat {
    padding: 12px 14px;
  }

  .inf-stat__value {
    font-size: 22px;
  }

  .inf-row__arrow {
    width: 24px;
  }

  .inf-row__delta-value {
    font-size: 18px;
  }

  .inf-row__delta-label {
    font-size: 10px;
  }

  .inf-outcomes__value {
    font-size: 28px;
  }

  .inf-voice {
    padding: 22px 22px;
  }

  .inf-voice__quote {
    font-size: 17px;
    padding-left: 20px;
  }

  .inf-voice__quote--short {
    font-size: 22px;
  }

  .inf-voice__attribution {
    padding-left: 20px;
  }
}

/* ============================================================
   SECTION 8 — COMPOUNDING: Automation Settings control panel
   Browser-chromed white settings page on light section bg.
   Mid-journey snapshot (Month 4): Stages 1+2 ON, Stage 3 OFF.
   All interior styles scoped under .ctrl-* prefix.
   ============================================================ */

.comp__sub {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.5);
  margin: 0 auto 3rem;
  max-width: 720px;
  text-transform: uppercase;
}

/* ---------- Wrapper + ambient glow ---------- */
.ctrl-wrap {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.ctrl-wrap::before {
  content: '';
  position: absolute;
  inset: -70px;
  background:
    radial-gradient(ellipse 50% 45% at 18% 22%, rgba(0, 212, 191, 0.13), transparent 60%),
    radial-gradient(ellipse 55% 50% at 82% 78%, rgba(240, 165, 0, 0.12), transparent 60%);
  filter: blur(75px);
  z-index: 0;
  pointer-events: none;
}

/* ---------- Panel (white settings page) ---------- */
.ctrl {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 17, 30, 0.09);
  box-shadow:
    0 1px 2px rgba(15, 17, 30, 0.04),
    0 12px 28px rgba(15, 17, 30, 0.08),
    0 32px 80px rgba(15, 17, 30, 0.10);
  font-family: var(--font-body);
  color: var(--text-primary);
}

/* ---------- Browser chrome (light variant) ---------- */
.ctrl__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #f6f7f9 0%, #eaecf0 100%);
  border-bottom: 1px solid rgba(15, 17, 30, 0.07);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.6);
}

.ctrl__dots { display: flex; gap: 7px; }
.ctrl__dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08); }
.ctrl__dot--red   { background: #FF5F57; }
.ctrl__dot--amber { background: #FEBC2E; }
.ctrl__dot--green { background: #28C840; }

.ctrl__url {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(15, 17, 30, 0.45);
  letter-spacing: 0.02em;
}

.ctrl__live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #10B981;
  letter-spacing: 0.08em;
}

.ctrl__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: ctrl-pulse 2s ease-out infinite;
}

@keyframes ctrl-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ---------- Body (settings page content) ---------- */
.ctrl__body {
  padding: 28px 32px 30px;
}

/* ---------- Page header bar ---------- */
.ctrl-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(15, 17, 30, 0.07);
  margin-bottom: 24px;
}

.ctrl-head__title h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 5px;
  letter-spacing: -0.012em;
  line-height: 1.15;
}

.ctrl-head__title p {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: rgba(15, 17, 30, 0.55);
  margin: 0;
}

.ctrl-head__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(15, 17, 30, 0.12);
  background: white;
  color: rgba(15, 17, 30, 0.65);
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  box-shadow: 0 1px 0 rgba(15, 17, 30, 0.03);
}

.ctrl-btn:hover {
  background: rgba(15, 17, 30, 0.03);
  border-color: rgba(15, 17, 30, 0.18);
  color: var(--text-primary);
}

.ctrl-btn svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* ---------- Trust journey progress meter ---------- */
.ctrl-journey {
  margin-bottom: 26px;
  padding: 20px 26px 22px;
  background: linear-gradient(180deg, rgba(0, 212, 191, 0.045), rgba(0, 212, 191, 0.012));
  border: 1px solid rgba(0, 212, 191, 0.2);
  border-radius: 12px;
}

.ctrl-journey__title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 17, 30, 0.5);
  margin-bottom: 16px;
}

.ctrl-journey__track {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.ctrl-journey__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  width: 100px;
}

.ctrl-journey__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(15, 17, 30, 0.08);
  border: 2px solid rgba(15, 17, 30, 0.16);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ctrl-journey__dot svg {
  width: 11px;
  height: 11px;
}

.ctrl-journey__step--done .ctrl-journey__dot {
  background: #10B981;
  border-color: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

.ctrl-journey__step--current .ctrl-journey__dot {
  background: var(--color-data-accent);
  border-color: var(--color-data-accent);
  box-shadow: 0 0 0 4px rgba(240, 165, 0, 0.22);
  animation: ctrl-current-pulse 2.4s ease-in-out infinite;
}

@keyframes ctrl-current-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(240, 165, 0, 0.22); }
  50%      { box-shadow: 0 0 0 8px rgba(240, 165, 0, 0.10); }
}

.ctrl-journey__label {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
}

.ctrl-journey__step--future .ctrl-journey__label {
  color: rgba(15, 17, 30, 0.4);
  font-weight: 600;
}

.ctrl-journey__sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 17, 30, 0.5);
  font-weight: 600;
}

.ctrl-journey__step--future .ctrl-journey__sub {
  color: rgba(15, 17, 30, 0.32);
}

.ctrl-journey__step--current .ctrl-journey__sub {
  color: var(--color-data-accent);
}

.ctrl-journey__line {
  flex: 1;
  height: 2px;
  background: rgba(15, 17, 30, 0.1);
  border-radius: 2px;
  margin: 0 -8px;
  margin-top: 8px;
  position: relative;
  z-index: -1;
}

.ctrl-journey__line--done {
  background: #10B981;
}

/* ---------- Stage block ---------- */
.ctrl-stage {
  margin-bottom: 18px;
  padding: 22px 24px 20px;
  border: 1px solid rgba(15, 17, 30, 0.09);
  border-radius: 12px;
  background: white;
  box-shadow: 0 1px 2px rgba(15, 17, 30, 0.025);
}

.ctrl-stage--future {
  background: rgba(15, 17, 30, 0.012);
  border-style: dashed;
  border-color: rgba(15, 17, 30, 0.13);
  box-shadow: none;
}

.ctrl-stage__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(15, 17, 30, 0.09);
}

.ctrl-stage__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: rgba(15, 17, 30, 0.32);
  letter-spacing: 0.05em;
}

.ctrl-stage__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  flex: 1;
}

.ctrl-stage--future .ctrl-stage__title {
  color: rgba(15, 17, 30, 0.55);
}

.ctrl-stage__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 6px;
  flex-shrink: 0;
}

.ctrl-stage__badge svg {
  width: 11px;
  height: 11px;
}

.ctrl-stage__badge--active {
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.ctrl-stage__badge--later {
  color: rgba(15, 17, 30, 0.5);
  background: rgba(15, 17, 30, 0.04);
  border: 1px solid rgba(15, 17, 30, 0.12);
}

.ctrl-stage__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(15, 17, 30, 0.4);
}

/* ---------- Toggle row ---------- */
.ctrl-toggle {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 17, 30, 0.05);
}

.ctrl-toggle:last-of-type {
  border-bottom: none;
}

.ctrl-toggle__body {
  flex: 1;
  min-width: 0;
}

.ctrl-toggle__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.003em;
}

.ctrl-toggle__desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: rgba(15, 17, 30, 0.55);
  line-height: 1.45;
}

.ctrl-toggle--off .ctrl-toggle__name {
  color: rgba(15, 17, 30, 0.55);
}

.ctrl-toggle--off .ctrl-toggle__desc {
  color: rgba(15, 17, 30, 0.42);
}

.ctrl-toggle__since {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #10B981;
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid rgba(16, 185, 129, 0.22);
  padding: 6px 11px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
}

.ctrl-toggle__since--later {
  color: rgba(15, 17, 30, 0.45);
  background: rgba(15, 17, 30, 0.035);
  border-color: rgba(15, 17, 30, 0.12);
}

/* ---------- Toggle switch (iOS-style pill) ---------- */
.ctrl-switch {
  width: 46px;
  height: 26px;
  border-radius: 13px;
  position: relative;
  flex-shrink: 0;
  background: rgba(15, 17, 30, 0.16);
  box-shadow:
    inset 0 1px 2px rgba(15, 17, 30, 0.12),
    inset 0 0 0 1px rgba(15, 17, 30, 0.04);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.ctrl-switch__handle {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow:
    0 1px 2px rgba(15, 17, 30, 0.08),
    0 2px 4px rgba(15, 17, 30, 0.18);
  transition: left 0.42s var(--motion-easing-decelerate);
}

/* ON state — applied via .is-active class added by JS for staged animation */
.ctrl-switch--on.is-active {
  background: #10B981;
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.1),
    0 0 0 4px rgba(16, 185, 129, 0.14);
}

.ctrl-switch--on.is-active .ctrl-switch__handle {
  left: 23px;
}

/* Stage 3 OFF — explicitly off, no animation */
.ctrl-switch--off {
  background: rgba(15, 17, 30, 0.14);
}

.ctrl-switch--off .ctrl-switch__handle {
  left: 3px;
  background: #f5f5f7;
}

/* ---------- Stage stat (denominator) ---------- */
.ctrl-stage__stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
  padding: 13px 16px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 9px;
}

.ctrl-stage__stat-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #10B981;
  letter-spacing: -0.015em;
  line-height: 1;
  flex-shrink: 0;
}

.ctrl-stage__stat-label {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: rgba(15, 17, 30, 0.65);
  line-height: 1.4;
}

.ctrl-stage__stat--future {
  background: rgba(162, 89, 255, 0.05);
  border-color: rgba(162, 89, 255, 0.22);
  align-items: center;
}

.ctrl-stage__stat--future .ctrl-stage__stat-value {
  color: #A259FF;
}

.ctrl-stage__stat-arrow {
  width: 14px;
  height: 14px;
  color: #A259FF;
  flex-shrink: 0;
}

/* ---------- "Always under your control" footer ---------- */
.ctrl-always {
  margin-top: 22px;
  padding: 22px 26px 24px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(240, 165, 0, 0.06), rgba(240, 165, 0, 0.012));
  border: 1px solid rgba(240, 165, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ctrl-always__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-data-accent);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ctrl-always__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 28px;
}

.ctrl-always__item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(15, 17, 30, 0.72);
  font-weight: 500;
}

.ctrl-always__icon {
  width: 19px;
  height: 19px;
  color: var(--color-data-accent);
  flex-shrink: 0;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ctrl__live-dot,
  .ctrl-journey__step--current .ctrl-journey__dot {
    animation: none;
  }

  .ctrl-switch,
  .ctrl-switch__handle {
    transition: none !important;
  }

  /* Show ON state immediately for switches that should be on */
  .ctrl-switch--on {
    background: #10B981;
    box-shadow:
      inset 0 1px 2px rgba(0, 0, 0, 0.1),
      0 0 0 4px rgba(16, 185, 129, 0.14);
  }

  .ctrl-switch--on .ctrl-switch__handle {
    left: 23px;
  }
}

/* ---------- Responsive: tablet (960px) ---------- */
@media (max-width: 960px) {
  .ctrl-wrap {
    max-width: 100%;
  }

  .ctrl__body {
    padding: 24px 22px 26px;
  }

  .ctrl-head {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .ctrl-head__actions {
    width: 100%;
  }

  .ctrl-journey__step {
    width: 88px;
  }

  .ctrl-journey__label {
    font-size: 12.5px;
  }

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

/* ---------- Responsive: small tablet (760px) ---------- */
@media (max-width: 760px) {
  .ctrl__body {
    padding: 22px 18px 24px;
  }

  .ctrl-head__title h3 {
    font-size: 21px;
  }

  /* Trust journey reflows to vertical */
  .ctrl-journey {
    padding: 18px 20px 20px;
  }

  .ctrl-journey__track {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ctrl-journey__step {
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 12px;
  }

  .ctrl-journey__label {
    margin-top: 0;
  }

  .ctrl-journey__sub::before {
    content: '· ';
    opacity: 0.5;
  }

  .ctrl-journey__line {
    display: none;
  }

  .ctrl-stage {
    padding: 18px 18px 16px;
  }

  .ctrl-stage__head {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .ctrl-stage__title {
    font-size: 13px;
    flex: 1 0 auto;
  }

  .ctrl-toggle {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .ctrl-toggle__body {
    flex: 1 0 calc(100% - 64px);
    order: 2;
  }

  .ctrl-switch {
    order: 1;
  }

  .ctrl-toggle__since {
    order: 3;
    margin-left: auto;
  }

  .ctrl-stage__stat {
    flex-wrap: wrap;
    gap: 6px 12px;
  }
}

/* ---------- Responsive: mobile (480px) ---------- */
@media (max-width: 480px) {
  .section-compound h2 {
    font-size: 1.85rem;
  }

  .comp__sub {
    font-size: 12px;
    padding: 0 1rem;
  }

  .ctrl__url {
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ctrl__body {
    padding: 20px 14px 22px;
  }

  .ctrl-head__title h3 {
    font-size: 19px;
  }

  .ctrl-head__actions {
    flex-wrap: wrap;
  }

  .ctrl-stage {
    padding: 16px 14px 14px;
  }

  .ctrl-stage__head {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .ctrl-toggle__name {
    font-size: 14.5px;
  }

  .ctrl-toggle__desc {
    font-size: 12.5px;
  }

  .ctrl-stage__stat-value {
    font-size: 22px;
  }

  .ctrl-stage__stat-label {
    font-size: 12.5px;
  }

  .ctrl-always {
    padding: 20px 18px 22px;
  }

  .ctrl-always__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ============================================================
   MID-PAGE CTA STRIPS (.midcta-*)
   Compact horizontal strips between sections.
   Two color variants: --purple (after S5), --amber (after S7).
   ============================================================ */

.midcta {
  position: relative;
  padding: 22px 0;
  overflow: hidden;
  isolation: isolate;
}

.midcta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 100% at 50% 50%, var(--midcta-glow, rgba(162, 89, 255, 0.10)), transparent 70%);
}

.midcta--purple {
  background: linear-gradient(180deg, #14101F 0%, #1A1530 100%);
  border-top: 1px solid rgba(162, 89, 255, 0.18);
  border-bottom: 1px solid rgba(162, 89, 255, 0.18);
  --midcta-glow: rgba(162, 89, 255, 0.18);
  --midcta-accent: #A259FF;
  --midcta-accent-bg: rgba(162, 89, 255, 0.12);
  --midcta-accent-border: rgba(162, 89, 255, 0.35);
  --midcta-accent-hover: rgba(162, 89, 255, 0.18);
}

.midcta--amber {
  background: linear-gradient(180deg, #1A1410 0%, #1F1813 100%);
  border-top: 1px solid rgba(240, 165, 0, 0.22);
  border-bottom: 1px solid rgba(240, 165, 0, 0.22);
  --midcta-glow: rgba(240, 165, 0, 0.16);
  --midcta-accent: #F0A500;
  --midcta-accent-bg: rgba(240, 165, 0, 0.12);
  --midcta-accent-border: rgba(240, 165, 0, 0.4);
  --midcta-accent-hover: rgba(240, 165, 0, 0.18);
}

.midcta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.midcta__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.midcta__hook {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-inverse);
  letter-spacing: -0.005em;
  line-height: 1.3;
}

.midcta__sub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.midcta__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 9px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--midcta-accent);
  background: var(--midcta-accent-bg);
  border: 1px solid var(--midcta-accent-border);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.midcta__btn:hover {
  background: var(--midcta-accent-hover);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 6px 18px rgba(0, 0, 0, 0.3);
}

.midcta__btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

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

@media (max-width: 760px) {
  .midcta {
    padding: 20px 0;
  }

  .midcta__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .midcta__hook {
    font-size: 17px;
  }

  .midcta__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   SECTION 9 — CTA: Process preview + single primary action
   3-step horizontal preview, big primary button, demoted secondaries.
   All interior styles scoped under .cta9-* prefix.
   ============================================================ */

.cta9__sub {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 auto 3rem;
  max-width: 720px;
  text-transform: uppercase;
  line-height: 1.55;
}

.cta9__sub-accent {
  color: var(--color-data-accent);
  font-weight: 700;
}

/* ---------- 3-step process preview ---------- */
.cta9-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto 3rem;
  padding: 0 8px;
}

.cta9-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 18px 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.2);
  min-width: 0;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease,
    transform 0.5s var(--motion-easing-decelerate);
}

.cta9-step.animated {
  opacity: 1;
  transform: translateY(0);
}

.cta9-step__num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.cta9-step__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cta9-step__icon svg {
  width: 32px;
  height: 32px;
}

.cta9-step__icon--purple {
  background: linear-gradient(180deg, rgba(162, 89, 255, 0.18), rgba(162, 89, 255, 0.05));
  border: 1px solid rgba(162, 89, 255, 0.3);
  color: #B888FF;
}

.cta9-step__icon--teal {
  background: linear-gradient(180deg, rgba(0, 212, 191, 0.18), rgba(0, 212, 191, 0.05));
  border: 1px solid rgba(0, 212, 191, 0.32);
  color: #2EE0CC;
}

.cta9-step__icon--amber {
  background: linear-gradient(180deg, rgba(240, 165, 0, 0.2), rgba(240, 165, 0, 0.05));
  border: 1px solid rgba(240, 165, 0, 0.34);
  color: #F7BB3D;
}

.cta9-step__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-inverse);
  margin-bottom: 7px;
  letter-spacing: -0.005em;
  line-height: 1.25;
}

.cta9-step__desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.cta9-step__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 56px;
  margin-top: 60px;
  color: rgba(255, 255, 255, 0.32);
  flex-shrink: 0;
}

.cta9-step__arrow svg {
  width: 100%;
  height: 16px;
}

/* ---------- Primary CTA button ---------- */
.cta9-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.75rem;
}

.cta9-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.005em;
  color: #FFFFFF;
  background: linear-gradient(180deg, #F0A500 0%, #D89000 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 1px 3px rgba(0, 0, 0, 0.3),
    0 12px 28px rgba(240, 165, 0, 0.28),
    0 24px 60px rgba(240, 165, 0, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.cta9-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #FFB31A 0%, #E89800 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 1px 3px rgba(0, 0, 0, 0.3),
    0 16px 36px rgba(240, 165, 0, 0.4),
    0 32px 72px rgba(240, 165, 0, 0.24);
}

.cta9-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.cta9-btn:hover svg {
  transform: translateX(3px);
}

.cta9-action__address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

.cta9-action__address svg {
  width: 13px;
  height: 13px;
  color: var(--color-data-accent);
  opacity: 0.7;
}

.cta9-action__address span:first-of-type {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cta9-action__sep {
  opacity: 0.5;
  margin: 0 2px;
}

.cta9-action__time {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

/* ---------- Demoted secondary links ---------- */
.cta9-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.cta9-alt__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cta9-alt__link svg {
  width: 11px;
  height: 11px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.cta9-alt__link:hover {
  color: var(--color-accent);
  border-bottom-color: rgba(0, 212, 191, 0.4);
}

.cta9-alt__link:hover svg {
  transform: translateX(2px);
}

.cta9-alt__divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.18);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .cta9-step {
    transition: none !important;
    opacity: 1;
    transform: none;
  }

  .cta9-btn,
  .cta9-btn svg,
  .cta9-alt__link,
  .cta9-alt__link svg {
    transition: none !important;
  }
}

/* ---------- Responsive: tablet (900px) ---------- */
@media (max-width: 900px) {
  .cta9-steps {
    gap: 12px;
  }

  .cta9-step {
    padding: 20px 14px 18px;
  }

  .cta9-step__title {
    font-size: 15px;
  }

  .cta9-step__desc {
    font-size: 12.5px;
  }

  .cta9-step__arrow {
    width: 28px;
  }
}

/* ---------- Responsive: small tablet / mobile (760px) ---------- */
@media (max-width: 760px) {
  .cta9-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 460px;
  }

  .cta9-step {
    padding: 22px 22px 20px;
  }

  .cta9-step__arrow {
    margin: 0 auto;
    width: 28px;
    height: 28px;
    transform: rotate(90deg);
  }

  .cta9-btn {
    padding: 16px 28px;
    font-size: 16.5px;
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }

  .cta9-action__address {
    font-size: 11.5px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    text-align: center;
  }

  .cta9-alt {
    flex-direction: column;
    gap: 12px;
  }

  .cta9-alt__divider {
    display: none;
  }
}

/* ---------- Responsive: mobile (480px) ---------- */
@media (max-width: 480px) {
  .cta9__sub {
    font-size: 11.5px;
    padding: 0 1rem;
  }

  .cta9-steps {
    padding: 0;
  }

  .cta9-step__title {
    font-size: 16px;
  }

  .cta9-btn {
    font-size: 15.5px;
    padding: 15px 22px;
  }
}

/* ============================================================
   INLINE CONTEXTUAL CTAs (.inlinecta-*)
   Pill button + hook text. Lives at the bottom of select sections
   (S4, S6, S8). Section-aware color variants.
   ============================================================ */

.inlinecta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 3rem;
  text-align: center;
}

.inlinecta-row__hook {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.inlinecta-row--light .inlinecta-row__hook {
  color: rgba(15, 17, 30, 0.62);
}

.inlinecta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.inlinecta:hover {
  transform: translateY(-1px);
}

.inlinecta svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.inlinecta:hover svg {
  transform: translateX(3px);
}

/* Color variants */
.inlinecta--teal {
  color: #2EE0CC;
  background: rgba(0, 212, 191, 0.10);
  border: 1px solid rgba(0, 212, 191, 0.34);
}

.inlinecta--teal:hover {
  background: rgba(0, 212, 191, 0.16);
  border-color: rgba(0, 212, 191, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 6px 18px rgba(0, 212, 191, 0.18);
}

.inlinecta--amber {
  color: #F7BB3D;
  background: rgba(240, 165, 0, 0.10);
  border: 1px solid rgba(240, 165, 0, 0.34);
}

.inlinecta--amber:hover {
  background: rgba(240, 165, 0, 0.16);
  border-color: rgba(240, 165, 0, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 6px 18px rgba(240, 165, 0, 0.2);
}

/* Light-bg variant for Section 8 */
.inlinecta--amber-light {
  color: #B47800;
  background: rgba(240, 165, 0, 0.10);
  border: 1px solid rgba(240, 165, 0, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.inlinecta--amber-light:hover {
  background: rgba(240, 165, 0, 0.16);
  border-color: rgba(240, 165, 0, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 6px 18px rgba(240, 165, 0, 0.18);
}

@media (max-width: 480px) {
  .inlinecta-row {
    margin-top: 2.25rem;
    padding: 0 1rem;
  }

  .inlinecta-row__hook {
    font-size: 15.5px;
  }

  .inlinecta {
    font-size: 13.5px;
    padding: 12px 22px;
  }
}

/* ============================================================
   FOOTER CTA — small button below tagline (column 1)
   Last-chance exit for users who scrolled past Section 9.
   ============================================================ */

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.25rem;
  padding: 11px 20px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-data-accent);
  background: rgba(240, 165, 0, 0.10);
  border: 1px solid rgba(240, 165, 0, 0.32);
  text-decoration: none;
  letter-spacing: 0.005em;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-cta:hover {
  background: rgba(240, 165, 0, 0.16);
  border-color: rgba(240, 165, 0, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(240, 165, 0, 0.18);
}

.footer-cta svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.footer-cta:hover svg {
  transform: translateX(2px);
}

/* ============================================================
   STICKY MOBILE CTA BAR (.stickybar)
   Mobile-only fixed bar at viewport bottom. Slides up when hero
   leaves viewport. Dismissible (sessionStorage).
   ============================================================ */

.stickybar {
  display: none;
}

@media (max-width: 760px) {
  .stickybar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    background: linear-gradient(180deg, #1C1733 0%, #14101F 100%);
    border-top: 1px solid rgba(240, 165, 0, 0.45);
    box-shadow:
      0 -1px 0 rgba(255, 255, 255, 0.05),
      0 -10px 32px rgba(0, 0, 0, 0.5);
    transform: translateY(120%);
    transition: transform 0.45s var(--motion-easing-decelerate);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .stickybar[data-state="visible"] {
    transform: translateY(0);
  }

  .stickybar[data-state="dismissed"] {
    transform: translateY(120%);
    pointer-events: none;
  }
}

.stickybar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  max-width: 540px;
  margin: 0 auto;
}

.stickybar__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stickybar__hook {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-inverse);
  line-height: 1.15;
  letter-spacing: -0.005em;
}

.stickybar__sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

.stickybar__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 22px;
  border-radius: 9px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  background: linear-gradient(180deg, #F0A500 0%, #D89000 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 4px 12px rgba(240, 165, 0, 0.32);
  letter-spacing: 0.01em;
}

.stickybar__btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.stickybar__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.stickybar__close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
}

.stickybar__close svg {
  width: 14px;
  height: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .stickybar {
    transition: none !important;
  }
}
