/* ================================================================
   SF Logistics — v3 Clean
   White · Black · Red. That's it.
   ================================================================ */

:root {
  --white:      #ffffff;
  --paper:      #f9f9fb;
  --bone:       #f3f4f6;
  --line:       #ececef;
  --line-soft:  #f2f2f4;
  --line-dark:  #1a1d23;

  --ink:        #15181d;
  --ink-soft:   #1f232a;
  --text:       #16181c;
  --text-mute:  #6b7280;
  --text-faint: #9aa0a8;
  --text-on-dark:        #ffffff;
  --text-on-dark-mute:   rgba(255,255,255,0.7);
  --text-on-dark-faint:  rgba(255,255,255,0.45);

  --red:        #d4424d;       /* softened brand red — used sparingly */
  --red-strong: #c12734;       /* for brand moments only (Drive-with-us CTA, hero MOVES) */
  --red-deep:   #9b2530;
  --red-soft:   #faf2f3;
  --red-quiet:  #b86068;       /* muted version for CRM accents */

  --signal-ok:  #5d8a6b;       /* muted sage */
  --signal-warn:#a08350;       /* muted amber */
  --signal-bad: #c14a52;       /* muted red */
  --signal-info:#5a7392;       /* muted blue-gray */

  --font-display: "Anton", "Bebas Neue", sans-serif;
  --font-body:    "Inter", "Manrope", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);

  --r-sm: 4px;
  --r:    8px;
  --r-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(15,18,23,0.04), 0 1px 1px rgba(15,18,23,0.03);
  --shadow:    0 2px 4px rgba(15,18,23,0.04), 0 6px 16px rgba(15,18,23,0.05);
  --shadow-lg: 0 8px 24px rgba(15,18,23,0.08), 0 16px 48px rgba(15,18,23,0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--red); color: var(--white); }

/* ============================================================ HELPERS */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--red);
}

.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-bone { background: var(--paper); color: var(--text); }
.section-white { background: var(--white); color: var(--text); }

/* ============================================================ TOP NAV */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topnav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 16px var(--gutter);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer;
}
.brand-logo {
  height: 64px;
  width: auto;
  display: block;
}
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--white);
  font-family: var(--font-display); font-size: 16px;
  letter-spacing: 0.04em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.brand-text .nm {
  font-family: var(--font-display); font-size: 18px;
  letter-spacing: 0.06em;
}
.brand-text small {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--text-mute);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.nav-link {
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-mute);
  border: none;
  background: transparent;
  position: relative;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: ""; position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--red);
}

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
}
.nav-cta {
  padding: 11px 20px;
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  border: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--red-deep); }
.nav-cta .arrow { transition: transform 0.2s ease; }
.nav-cta:hover .arrow { transform: translateX(3px); }

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-burger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--ink);
}

/* ============================================================ HERO */
.hero {
  padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px);
  position: relative;
  border-bottom: 1px solid var(--line);
}

/* Cinema variant — reel cycles behind the headline */
.hero.hero-cinema {
  background: var(--ink);
  color: var(--text-on-dark);
  border-bottom: none;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(72px, 11vw, 140px);
  padding-bottom: clamp(56px, 8vw, 110px);
}
.hero-cinema .hero-reel {
  position: absolute; inset: 0;
  margin: 0;
  width: 100%; height: 100%;
  aspect-ratio: auto;
  z-index: 0;
}
.hero-cinema .hero-reel-frame::after {
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 35%, rgba(10,10,10,0.55) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.15) 55%, rgba(10,10,10,0.55) 100%);
}
.hero-veil {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 80% at 0% 50%, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0) 60%),
    linear-gradient(180deg, rgba(10,10,10,0.0) 0%, rgba(10,10,10,0.35) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.hero-cinema .hero-reel-overlay {
  z-index: 3;
  top: clamp(72px, 9vw, 120px);
  bottom: auto;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 var(--gutter);
}
.hero-cinema .hero-reel-overlay .reel-meta { font-size: 10px; padding: 6px 12px; }
.hero-cinema .hero-reel-overlay .reel-pips { display: none; }
@media (max-width: 860px) {
  .hero-cinema .hero-reel-overlay { display: none; }
}
.hero.hero-cinema h1.hero-title { color: var(--white); text-shadow: 0 4px 28px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.3); }
.hero-cinema .hero-tag { color: rgba(255,255,255,0.78); }
.hero-cinema .hero-blurb { color: rgba(255,255,255,0.72); }
.hero-cinema .hero-stats { border-top-color: rgba(255,255,255,0.18); }
.hero-cinema .hero-stat .k { color: rgba(255,255,255,0.6); }
.hero-cinema .hero-stat .v { color: var(--white); text-shadow: 0 2px 16px rgba(0,0,0,0.35); }
.hero-cinema .hero-stat .v small { color: rgba(255,255,255,0.55); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mute);
}
.hero-tag .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal-ok);
}

.hero h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 144px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0 0 28px;
  color: var(--ink);
}
.hero-title .red { color: var(--red); }

.hero-blurb {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--text-mute);
  margin: 0 0 36px;
  max-width: 520px;
}

.split-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 560px;
}
.split-cta-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}
.split-cta-card.dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.split-cta-card.glass {
  background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
}
.split-cta-card.glass .lbl { color: rgba(255,255,255,0.7); }
.split-cta-card.glass .arrow-row { color: var(--white); }
.split-cta-card.glass:hover { border-color: var(--white); background: rgba(255,255,255,0.14); }
.hero-cinema .split-cta-card.dark { background: rgba(10,10,10,0.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-color: rgba(255,255,255,0.18); }
.hero-cinema .split-cta-card.dark:hover { border-color: var(--red); background: rgba(10,10,10,0.92); }
.split-cta-card .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 600;
}
.split-cta-card.dark .lbl { color: rgba(255,255,255,0.6); }
.split-cta-card .head {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}
.split-cta-card .arrow-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  margin-top: 4px;
}
.split-cta-card.dark .arrow-row { color: #ff6b73; }
.split-cta-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.split-cta-card.dark:hover { border-color: var(--red); }
.split-cta-card .arrow { transition: transform 0.2s ease; }
.split-cta-card:hover .arrow { transform: translateX(4px); }

/* hero-bg-text removed — keep selector for safety */
.hero-bg-text { display: none; }

/* HERO STATS */
.hero-stats {
  margin-top: clamp(56px, 7vw, 80px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hero-stat .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.hero-stat .v {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  color: var(--ink);
}
.hero-stat .v small {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-mute);
  margin-top: 6px;
  letter-spacing: 0;
}

/* marquee — kept silent, stripped down */
.marquee { display: none; }

/* ============================================================ SECTION HEADERS — simplified */
.section {
  padding: clamp(72px, 9vw, 120px) 0;
}
.section-head-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 720px;
}
.section-head-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
}
.section-head-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0;
}
.section-head-title .it { color: var(--red); font-style: normal; font-family: inherit; font-weight: inherit; }
.section-head-blurb {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-mute);
  max-width: 580px;
  margin: 0;
  text-align: left;
}
.section-dark .section-head-blurb { color: var(--text-on-dark-mute); }
.section-head-blurb strong { color: var(--ink); font-weight: 600; }
.section-dark .section-head-blurb strong { color: var(--white); }

/* ============================================================ SERVICES */
.services-stack {
  border-top: 1px solid var(--line);
}
.section-dark .services-stack { border-top-color: rgba(255,255,255,0.12); }
.service-row {
  display: grid;
  grid-template-columns: 80px 0.7fr 1.3fr;
  gap: clamp(24px, 4vw, 48px);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.section-dark .service-row { border-bottom-color: rgba(255,255,255,0.12); }
.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
}
.service-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1;
  text-transform: uppercase;
}
.service-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-mute);
  max-width: 520px;
}
.section-dark .service-body { color: var(--text-on-dark-mute); }
.service-arrow { display: none; }

/* ============================================================ LANES */
.lanes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.section-dark .lanes-grid { border-color: rgba(255,255,255,0.12); }
.lane-card {
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
  min-height: 180px;
  transition: background 0.15s ease;
}
.section-dark .lane-card { border-color: rgba(255,255,255,0.12); }
.lane-card:hover { background: var(--paper); }
.section-dark .lane-card:hover { background: rgba(255,255,255,0.04); }
.lane-route { display: flex; flex-direction: column; gap: 6px; }
.lane-route .from-to {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.lane-route .from-to .arr {
  display: inline-block;
  margin: 0 6px;
  color: var(--red);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7em;
}
.lane-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  text-transform: uppercase;
}
.lane-rate {
  margin-top: auto;
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.section-dark .lane-rate { border-top-color: rgba(255,255,255,0.12); }
.lane-rate .price {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}
.lane-rate .price small {
  font-family: var(--font-mono);
  font-size: 12px;
  margin-left: 4px;
  color: var(--text-mute);
  font-weight: 400;
}
.lane-rate .trend {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--signal-ok);
  letter-spacing: 0.06em;
}
.lane-rate .trend.down { color: var(--red); }

/* ============================================================ QUOTE CARD */
.quote-card {
  background: var(--ink);
  color: var(--white);
  padding: clamp(32px, 5vw, 56px);
  margin-top: clamp(40px, 5vw, 64px);
}
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.quote-left h3 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.quote-left h3 .it { color: var(--red); font-style: normal; font-family: inherit; }
.quote-left p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.quote-left .phone-card {
  border: 1px solid rgba(255,255,255,0.16);
  padding: 16px 18px;
}
.quote-left .phone-card .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
  text-transform: uppercase;
  font-weight: 600;
}
.quote-left .phone-card .num {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
}
.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
}
.quote-form .span2 { grid-column: span 2; }

/* ============================================================ SHIP SECTION */
.ship-card {
  background: var(--ink);
  color: var(--white);
  padding: clamp(28px, 4vw, 48px);
  margin-top: clamp(32px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.ship-form { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 36px); }
.ship-block { display: flex; flex-direction: column; gap: 16px; }
.ship-block-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; gap: 12px;
}
.ship-block-head .n {
  width: 22px; height: 22px;
  background: var(--red);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0;
}
.ship-fields {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px 16px;
}
.ship-fields .s1 { grid-column: span 1; }
.ship-fields .s2 { grid-column: span 2; }
.ship-fields .s3 { grid-column: span 3; }
.ship-fields .s4 { grid-column: span 4; }
.ship-fields .s6 { grid-column: span 6; }
.ship-checks { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.ship-check {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.16);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s ease;
  user-select: none;
}
.ship-check input { width: auto; margin: 0; accent-color: var(--red); }
.ship-check:hover { border-color: rgba(255,255,255,0.4); }
.ship-check.on { border-color: var(--red); background: rgba(224,30,44,0.12); }

.ship-summary {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 24px;
  display: flex; flex-direction: column;
  gap: 18px;
  position: sticky; top: 88px;
}
.ship-sum-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.ship-sum-head .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.ship-sum-head .ref-line, .ref-line {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
}
.ship-route { display: flex; flex-direction: column; gap: 0; }
.sr-line { display: flex; gap: 14px; align-items: flex-start; }
.sr-dot {
  width: 12px; height: 12px;
  border: 2px solid var(--white);
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}
.sr-dot.red { background: var(--red); border-color: var(--red); }
.sr-stem {
  margin-left: 5px;
  width: 2px; height: 24px;
  background: rgba(255,255,255,0.2);
}
.sr-info { display: flex; flex-direction: column; gap: 3px; }
.sr-city {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.sr-when { font-size: 11px; color: rgba(255,255,255,0.5); }

.ship-sum-meta { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.12); }
.sm-row { display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(255,255,255,0.6); }
.sm-row strong { color: var(--white); font-weight: 600; }
.sm-tags { display: flex; gap: 6px; margin-top: 6px; }
.sm-tag {
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
}
.sm-tag.red { border-color: var(--red); color: var(--red); }

.ship-submit { width: 100%; justify-content: center; padding: 14px 18px; font-size: 13px; }
.ship-or {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.ship-phone {
  text-align: center;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.005em;
}
.ship-phone:hover { color: var(--red); }
.ship-trust {
  list-style: none; padding: 14px 0 0; margin: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-direction: column; gap: 8px;
}
.ship-trust li {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  display: flex; gap: 10px; align-items: center;
}
.ship-trust li span { color: var(--red); font-weight: 700; }

.ship-confirm {
  text-align: center;
  padding: clamp(40px, 6vw, 64px) 0;
  display: flex; flex-direction: column; align-items: center;
  gap: 16px;
}
.ship-confirm h3 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}
.ship-confirm h3 .it { color: var(--red); font-style: normal; }
.ship-confirm p { font-size: 16px; color: var(--text-mute); max-width: 480px; margin: 0; line-height: 1.6; }
.ship-confirm .ref-line { font-size: 12px; letter-spacing: 0.2em; }

/* ============================================================ HERO REEL — looping cinematic carousel */
.hero-reel {
  margin-top: clamp(48px, 6vw, 72px);
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero-reel-frame {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1100ms cubic-bezier(0.4, 0, 0.2, 1), transform 6000ms linear;
  will-change: opacity, transform;
}
.hero-reel-frame .reel-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--ink);
  display: block;
}
.hero-reel-frame.active {
  opacity: 1;
  transform: scale(1);
}
.hero-reel-frame::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(10,10,10,0.55) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.25), transparent 35%);
}
.hero-reel-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: clamp(14px, 2vw, 24px);
  gap: 16px;
  pointer-events: none;
}
.hero-reel-overlay > * { pointer-events: auto; }
.reel-meta {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--white);
  background: rgba(10,10,10,0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.14);
}
.reel-meta .num { color: var(--red); }
.reel-meta .dot { width: 4px; height: 4px; background: rgba(255,255,255,0.5); border-radius: 50%; }
.reel-meta .cap { font-family: var(--font-mono); }
.reel-pips {
  display: flex; gap: 6px; align-items: center;
}
.reel-pips .pip {
  width: 28px; height: 3px;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 200ms ease, width 200ms ease;
}
.reel-pips .pip:hover { background: rgba(255,255,255,0.7); }
.reel-pips .pip.active {
  background: var(--red);
  width: 44px;
}
@media (max-width: 1100px) {
  .hero-reel { aspect-ratio: 16 / 9; }
}
@media (max-width: 860px) {
  .hero-reel { aspect-ratio: 4 / 3; }
  .reel-meta { font-size: 9.5px; padding: 7px 11px; gap: 8px; }
  .reel-meta .cap { letter-spacing: 0.12em; }
  .reel-pips .pip { width: 18px; }
  .reel-pips .pip.active { width: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-reel-frame { transition: opacity 200ms linear; transform: none !important; }
}

/* keep legacy selector silent — old layout removed */
.hero-photo-strip { display: none; }

/* ============================================================ FORMS */
.field { display: flex; flex-direction: column; gap: 8px; }
.field .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mute);
}
.section-dark .field .lbl, .quote-card .field .lbl { color: rgba(255,255,255,0.6); }

input, select, textarea {
  font-family: var(--font-body);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: 8px 0;
  font-size: 15px;
  outline: none;
  width: 100%;
  transition: border-color 0.15s ease;
  border-radius: 0;
}
.section-dark input, .section-dark select, .section-dark textarea,
.quote-card input, .quote-card select, .quote-card textarea {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.2);
}
input:focus, select:focus, textarea:focus { border-bottom-color: var(--red); }
input::placeholder, textarea::placeholder { color: var(--text-faint); opacity: 0.7; }
.section-dark input::placeholder, .quote-card input::placeholder { color: rgba(255,255,255,0.4); }
select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%23666' fill='none' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 18px;
  cursor: pointer;
}
.section-dark select, .quote-card select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%23999' fill='none' stroke-width='1.5'/></svg>");
}

/* ============================================================ DRIVERS / PERKS */
.perks {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.perks-hero { padding-top: 8px; }
.perks-hero .big-num,
.perks-hero .big-num .pct { display: none; }
.perks-hero .caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin: 0 0 16px;
}
.perks-hero h3 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.95;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.perks-hero h3 .red { color: var(--red); }
.perks-hero .description {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.66);
  margin: 0 0 28px;
}
.perks-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(255,255,255,0.14); border-left: 1px solid rgba(255,255,255,0.14); }
.perk-item {
  padding: 22px;
  border-right: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  display: flex; flex-direction: column; gap: 6px;
}
.perk-item .n { display: none; }
.perk-item .t {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.perk-item .v {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0;
}

/* ============================================================ FOOTER */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: clamp(48px, 6vw, 72px) 0 24px;
}
.footer-mega { display: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin: 0 0 14px;
}
.footer-col p, .footer-col a {
  color: var(--white);
  font-size: 14.5px;
  line-height: 1.75;
  margin: 0;
  display: block;
}
.footer-col .small { color: rgba(255,255,255,0.55); font-size: 12.5px; margin-top: 4px; }
.footer-col a:hover { color: var(--red); }
.footer-col .brand-mark { background: var(--red); color: var(--white); margin-bottom: 16px; }
.footer-logo { height: 72px; width: auto; margin-bottom: 16px; display: block; }
.footer-bottom {
  margin-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 16px;
}
.socials {
  display: flex;
  gap: 6px;
  align-items: center;
}
.socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75);
  transition: all 0.15s ease;
}
.socials a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}
@media (max-width: 860px) {
  .footer-bottom { justify-content: flex-start; }
  .socials { order: 3; width: 100%; }
}

/* ============================================================ APPLY */
.apply-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter);
}
.apply-head { margin-bottom: 32px; }
.apply-head .eyebrow { margin-bottom: 12px; display: block; }
.apply-head h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0;
  text-transform: uppercase;
}
.apply-head h1 .it { color: var(--red); font-style: normal; font-family: inherit; }

.apply-progress {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 24px;
}
.apply-step-pip {
  display: flex; flex-direction: column; gap: 6px;
  padding: 10px 4px;
  border: none;
  background: transparent;
  text-align: left;
  font-family: var(--font-mono);
  cursor: default;
}
.apply-step-pip .bar {
  height: 2px;
  background: var(--line);
  width: 100%;
  transition: background 0.2s ease;
}
.apply-step-pip .n {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  font-weight: 600;
}
.apply-step-pip .lbl {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-mute);
  font-family: var(--font-body);
}
.apply-step-pip.done .bar { background: var(--ink); }
.apply-step-pip.done .n, .apply-step-pip.done .lbl { color: var(--ink); }
.apply-step-pip.active .bar { background: var(--red); }
.apply-step-pip.active .n, .apply-step-pip.active .lbl { color: var(--ink); }
.apply-step-pip.done { cursor: pointer; }

.apply-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 48px);
}
.apply-step-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: clamp(24px, 3vw, 36px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.apply-step-head .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.apply-step-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.apply-step-head p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-mute);
  margin: 0;
  text-align: left;
  max-width: none;
}

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 20px;
}
.apply-grid .span2 { grid-column: span 2; }
.apply-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.apply-grid.cols-3 .span3 { grid-column: span 3; }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.choice-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.choice {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  display: flex; flex-direction: column; gap: 8px;
}
.choice:hover { border-color: var(--ink); }
.choice.active {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--ink);
}
.choice .ch-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mute);
}
.choice.active .ch-num { color: var(--red); }
.choice .ch-head {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}
.choice .ch-body {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-mute);
}
.choice.active .ch-body { color: var(--ink); }

.endorse-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.endorse-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
.endorse-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

.tag {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 11px 12px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.12s ease;
  text-align: center;
  font-family: var(--font-body);
}
.tag:hover { border-color: var(--ink); }
.tag.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.upload {
  border: 1.5px dashed var(--line);
  background: var(--white);
  padding: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
  min-height: 100px;
}
.upload:hover { border-color: var(--ink); }
.upload.uploaded {
  border-style: solid;
  border-color: var(--red);
  background: var(--red-soft);
}
.upload .u-name {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mute);
}
.upload.uploaded .u-name { color: var(--red); }
.upload .u-state { font-size: 14px; font-weight: 500; color: var(--ink); margin-top: 4px; }
.upload .u-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  margin-top: auto;
}
.upload .check {
  position: absolute; top: 14px; right: 14px;
  width: 22px; height: 22px;
  background: var(--red);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}

.apply-actions {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.apply-actions .step-meta {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  font-weight: 500;
}

/* Buttons — clean */
.btn {
  padding: 12px 22px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--white); }
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-mute);
}
.btn-ghost:hover { background: transparent; color: var(--ink); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }
.btn.dark-bg, .section-dark .btn {
  border-color: var(--white);
  color: var(--white);
}
.btn.dark-bg:hover, .section-dark .btn:hover { background: var(--white); color: var(--ink); }
.btn.dark-bg.btn-primary, .section-dark .btn.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn.dark-bg.btn-primary:hover, .section-dark .btn.btn-primary:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
}

.review-grid {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px 24px;
}
.review-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.review-row:last-child { border-bottom: none; }
.review-row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mute);
}
.review-row .v { font-size: 14.5px; color: var(--ink); font-weight: 500; }

.success {
  text-align: center;
  padding: clamp(40px, 6vw, 64px) 0;
  display: flex; flex-direction: column; align-items: center;
  gap: 16px;
}
.success-mark {
  width: 72px; height: 72px;
  background: var(--red);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}
.success-mark::after { display: none; }
.success h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}
.success h1 .it { color: var(--red); font-style: normal; font-family: inherit; }
.success p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-mute);
  max-width: 480px;
  margin: 0;
}
.success .ref {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--red);
}

/* ============================================================ CRM */
.crm-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 73px);
  background: var(--paper);
}
.crm-sidebar {
  background: var(--ink);
  color: var(--white);
  padding: 24px 12px;
  display: flex; flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 73px;
  height: calc(100vh - 73px);
  overflow-y: auto;
}
.crm-side-head {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  padding: 12px 12px 8px;
}
.crm-side-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  color: rgba(255,255,255,0.7);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: transparent;
  text-align: left;
  transition: all 0.12s ease;
  font-family: var(--font-body);
  border-left: 2px solid transparent;
}
.crm-side-link:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.crm-side-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border-left-color: var(--red);
}
.crm-side-link .badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--red);
  color: var(--white);
  padding: 2px 7px;
  font-weight: 700;
}
.crm-side-link .icon { width: 16px; height: 16px; opacity: 0.8; }
.crm-side-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 16px 12px;
}
.crm-operator {
  padding: 12px;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  margin-top: auto;
}
.crm-operator .av {
  width: 32px; height: 32px;
  background: var(--red);
  color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 14px;
}
.crm-operator .info { line-height: 1.3; }
.crm-operator .nm { font-size: 13px; font-weight: 600; color: var(--white); }
.crm-operator .role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
}

.crm-main {
  padding: clamp(20px, 2.5vw, 32px);
  min-width: 0;
}

.crm-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.crm-head h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1;
  margin: 6px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.crm-head .sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 8px;
}
.crm-head .sub .live-dot {
  width: 7px; height: 7px;
  background: var(--signal-ok);
  border-radius: 50%;
}
.crm-head-actions { display: flex; gap: 8px; }

/* KPIs */
.kpis {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.kpi {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px;
  display: flex; flex-direction: column;
  gap: 6px;
  min-height: 110px;
}
.kpi .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mute);
}
.kpi .v {
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 40px);
  line-height: 1;
  color: var(--ink);
  margin-top: auto;
}
.kpi .v small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  margin-left: 6px;
  font-weight: 500;
}
.kpi .delta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--signal-ok);
}
.kpi .delta.down { color: var(--red); }
.kpi.accent {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.kpi.accent .k { color: rgba(255,255,255,0.6); }
.kpi.accent .v { color: var(--red); }
.kpi.accent .v small { color: rgba(255,255,255,0.5); }

/* Toolbar */
.toolbar {
  display: flex;
  gap: 8px; align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.toolbar .search {
  flex: 1; min-width: 200px;
  display: flex; align-items: center; gap: 10px;
  padding: 0 10px;
}
.toolbar .search input {
  background: transparent; border: none;
  border-bottom: none;
  padding: 8px 0;
  flex: 1;
  font-size: 14px;
}
.toolbar .search input:focus { border-bottom: none; }
.toolbar select {
  width: auto; min-width: 130px;
  padding: 8px 26px 8px 12px;
  border: 1px solid var(--line);
  background-color: var(--paper);
  font-size: 12.5px;
  font-weight: 500;
  background-position: right 8px center;
}
.chip {
  padding: 8px 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.12s ease;
  text-transform: capitalize;
}
.chip:hover { border-color: var(--ink); }
.chip.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.chip .ct { font-family: var(--font-mono); font-size: 10px; opacity: 0.7; }

/* TABLE */
.table {
  background: var(--white);
  border: 1px solid var(--line);
}
.table-head, .table-row {
  display: grid;
  align-items: center;
  padding: 12px 16px;
  gap: 14px;
}
.table-head {
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mute);
  border-bottom: 1px solid var(--line);
}
.table-row {
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: background 0.1s ease;
  font-size: 13.5px;
}
.table-row:last-child { border-bottom: none; }
.table-row:hover { background: var(--paper); }
.cells-loads { grid-template-columns: 100px 1fr 130px 120px 90px 130px 110px; }
.cells-drivers { grid-template-columns: 100px 1.4fr 130px 130px 150px 60px 110px; }
.cells-perf { grid-template-columns: 1.4fr 70px 110px 80px 90px 90px 90px 130px 80px; }
.cells-settle { grid-template-columns: 130px 1fr 110px 60px 90px 110px 90px 90px 110px 90px; }
.cells-comp { grid-template-columns: 1.2fr 130px 130px 1fr 60px 130px 110px 100px; }
.cells-calls { grid-template-columns: 130px 1.6fr 80px 90px 80px 160px 110px; }
.cells-camp { grid-template-columns: 1.6fr 110px 70px 70px 90px 90px 70px 80px 90px 110px; }

.tcell-id {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
}
.tcell-lane { display: flex; flex-direction: column; gap: 3px; }
.tcell-lane .ln1 { font-weight: 600; color: var(--ink); }
.tcell-lane .ln2 { font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); }
.tcell-mono { font-family: var(--font-mono); font-size: 12.5px; }
.tcell-rate {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
}
.tcell-rate small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  margin-left: 4px;
  font-weight: 400;
}

/* ============================================================ PHASE PILLS + PIPELINE */
:root {
  --tone-info-bg:   #eef2f8;
  --tone-info-fg:   #5a7392;
  --tone-warn-bg:   #f5efe2;
  --tone-warn-fg:   #8a7142;
  --tone-ok-bg:     #ebf1ed;
  --tone-ok-fg:     #5d8a6b;
  --tone-active-bg: #f8e8ea;
  --tone-active-fg: #b86068;
  --tone-muted-bg:  #f1f1f3;
  --tone-muted-fg:  #6b7280;
  --tone-bad-bg:    #f4e4e6;
  --tone-bad-fg:    #9a4048;
}
.phase-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid currentColor;
}
.phase-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.phase-info   { color: var(--tone-info-fg); background: var(--tone-info-bg); }
.phase-warn   { color: var(--tone-warn-fg); background: var(--tone-warn-bg); }
.phase-ok     { color: var(--tone-ok-fg);   background: var(--tone-ok-bg); }
.phase-active { color: var(--tone-active-fg); background: var(--tone-active-bg); }
.phase-muted  { color: var(--tone-muted-fg); background: var(--tone-muted-bg); }
.phase-bad    { color: var(--tone-bad-fg);  background: var(--tone-bad-bg); }

.phase-strip {
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 12px;
  padding: 14px;
}
.phase-strip-head {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-mute);
  margin-bottom: 12px;
}
.phase-strip-row {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  gap: 6px;
}
.phase-cell {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 10px 8px;
  display: flex; flex-direction: column; gap: 4px;
  cursor: pointer;
  text-align: left;
  transition: all 0.12s ease;
  min-width: 0;
}
.phase-cell:hover { border-color: var(--ink); transform: translateY(-1px); }
.phase-cell.active { border-color: currentColor; }
.phase-cell .pc-count {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}
.phase-cell .pc-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phase-cell.phase-info   { background: var(--tone-info-bg); }
.phase-cell.phase-warn   { background: var(--tone-warn-bg); }
.phase-cell.phase-ok     { background: var(--tone-ok-bg); }
.phase-cell.phase-active { background: var(--tone-active-bg); }
.phase-cell.phase-muted  { background: var(--paper); }
.phase-cell.phase-bad    { background: var(--tone-bad-bg); }

/* Phase timeline in driver drawer */
.phase-timeline { display: flex; flex-direction: column; gap: 0; }
.pt-step {
  display: flex; gap: 14px; align-items: center;
  padding: 8px 0;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  position: relative;
}
.pt-step::before {
  content: "";
  position: absolute;
  left: 9px; top: 22px; bottom: -8px;
  width: 2px;
  background: var(--line);
}
.pt-step:last-child::before { display: none; }
.pt-step.pt-done::before { background: var(--ink); }
.pt-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  display: grid; place-items: center;
  flex-shrink: 0;
  z-index: 1;
}
.pt-done .pt-dot { background: var(--ink); border-color: var(--ink); }
.pt-done .pt-dot .check { color: var(--white); font-size: 11px; font-weight: 700; }
.pt-current .pt-dot { background: var(--red); border-color: var(--red); animation: ptPulse 1.6s ease-in-out infinite; }
.pt-current .pt-dot .ring {
  width: 8px; height: 8px; border-radius: 50%; background: var(--white);
}
@keyframes ptPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224,30,44,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(224,30,44,0); }
}
.pt-info { display: flex; flex-direction: column; gap: 2px; }
.pt-stage {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-faint);
}
.pt-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-mute);
}
.pt-current .pt-label { color: var(--ink); font-weight: 700; }
.pt-current .pt-stage { color: var(--red); }
.pt-done .pt-label { color: var(--ink); }
.pt-advance { margin-top: 18px; align-self: flex-start; }

/* Pipeline kanban */
.pipeline-board { display: flex; flex-direction: column; gap: 18px; }
.pipe-stage {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px;
}
.pipe-stage-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 14px;
}
.pipe-stage-name {
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.pipe-stage-count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-mute);
}
.pipe-stage-cols {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.pipe-col {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; min-width: 0;
}
.pipe-col-head {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--white);
}
.pipe-col-head .pc-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.pipe-col-head .pc-count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  background: var(--ink);
  color: var(--white);
  padding: 2px 8px;
  min-width: 22px;
  text-align: center;
}
.pipe-col.phase-info .pc-count   { background: var(--tone-info-fg); }
.pipe-col.phase-warn .pc-count   { background: var(--tone-warn-fg); }
.pipe-col.phase-ok .pc-count     { background: var(--tone-ok-fg); }
.pipe-col.phase-active .pc-count { background: var(--tone-active-fg); }
.pipe-col.phase-bad .pc-count    { background: var(--tone-bad-fg); }
.pipe-col-body {
  padding: 8px;
  display: flex; flex-direction: column; gap: 6px;
  min-height: 80px;
  flex: 1;
}
.pipe-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 10px;
  display: flex; flex-direction: column; gap: 4px;
  cursor: pointer;
  text-align: left;
  transition: all 0.12s ease;
}
.pipe-card:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.pipe-card .pc-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
}
.pipe-card .pc-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--red);
  letter-spacing: 0.05em;
}
.pipe-card .pc-foot {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  margin-top: 4px;
}
.pipe-empty {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: center;
  padding: 12px 0;
}

/* Performance row tones (subtle) */
.perf-row.tone-warn .tcell-mono:nth-child(5) { color: var(--signal-warn); }
.perf-row.tone-muted { opacity: 0.7; }

/* Compliance cells */
.cell-date { display: flex; flex-direction: column; gap: 1px; line-height: 1.3; font-family: var(--font-mono); font-size: 12px; }
.cell-date .d { font-weight: 600; }
.cell-date .r { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-mute); }
.cell-date.cell-ok .d { color: var(--ink); }
.cell-date.cell-warn { color: var(--signal-warn); }
.cell-date.cell-warn .d { color: var(--signal-warn); }
.cell-date.cell-warn .r { color: var(--signal-warn); }
.cell-date.cell-bad .d, .cell-date.cell-bad .r { color: var(--red); font-weight: 700; }
.cell-na { color: var(--text-faint); }
.cell-warn { color: var(--signal-warn); font-weight: 600; }
.cell-ok { color: var(--signal-ok); }

.comp-ins {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid currentColor;
}
.comp-active { color: var(--signal-ok); }
.comp-pending { color: var(--signal-warn); }
.comp-expired { color: var(--red); }

.comp-flag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid currentColor;
  display: inline-flex; align-items: center; gap: 6px;
}
.comp-flag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.flag-ok   { color: var(--signal-ok); }
.flag-warn { color: var(--signal-warn); }
.flag-bad  { color: var(--red); background: rgba(224,30,44,0.06); }

.drawer-wide { width: min(640px, 100vw); }

/* ============================================================ AI RECEPTIONIST */
.ai-calls-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: start;
}
.ai-agent-card {
  background: var(--ink);
  color: var(--white);
  padding: 22px 20px;
  position: sticky;
  top: 88px;
  display: flex; flex-direction: column;
  gap: 22px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.aac-head { display: flex; gap: 14px; align-items: center; }
.aac-avatar {
  width: 56px; height: 56px;
  background: var(--red);
  color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.aac-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.aac-name {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.005em;
}
.aac-role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  font-weight: 600;
}
.aac-stat {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--signal-ok);
  margin-top: 4px;
}
.aac-stat .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal-ok);
  box-shadow: 0 0 0 0 rgba(42,122,63,0.6);
  animation: aacPulse 1.6s ease-in-out infinite;
}
@keyframes aacPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(42,122,63,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(42,122,63,0); }
}
.aac-section h5 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  margin: 0 0 10px;
}
.aac-section ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.aac-section ul li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.4;
}
.aac-section ul li .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}
.aac-section ul li .v { color: var(--white); }
.aac-caps li { display: flex !important; flex-direction: column; gap: 3px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.aac-caps li:last-child { border-bottom: none; }
.aac-caps .cap-area {
  font-size: 13px; font-weight: 700; color: var(--white);
}
.aac-caps .cap-detail {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.aac-kb {
  display: flex; flex-direction: column; gap: 6px;
  background: rgba(255,255,255,0.04);
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}
.kb-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  font-size: 11.5px;
  line-height: 1.4;
}
.kb-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
}
.kb-v { color: rgba(255,255,255,0.85); }

.ai-calls-main { min-width: 0; display: flex; flex-direction: column; gap: 12px; }

.live-calls-row {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--ink);
  color: var(--white);
  padding: 16px 20px;
  border-left: 4px solid var(--signal-ok);
}
.lcr-head {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--signal-ok);
}
.lcr-head .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal-ok);
  animation: aacPulse 1.4s ease-in-out infinite;
}
.live-call-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  cursor: pointer;
  transition: all 0.12s ease;
}
.live-call-card:hover { background: rgba(255,255,255,0.1); border-color: var(--signal-ok); }
.lc-pulse {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--signal-ok);
  box-shadow: 0 0 0 0 rgba(42,122,63,0.6);
  animation: aacPulse 1.4s ease-in-out infinite;
}
.lc-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lc-head {
  display: inline-flex; gap: 14px; align-items: baseline;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.lc-head .lc-id { color: var(--red); }
.lc-head .lc-live { color: var(--signal-ok); }
.lc-name { font-size: 17px; font-weight: 700; color: var(--white); }
.lc-name .lc-type {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-left: 4px;
}
.lc-summary { font-size: 12.5px; color: rgba(255,255,255,0.7); line-height: 1.4; }
.lc-actions { display: flex; gap: 6px; flex-shrink: 0; }
.lc-actions .btn { padding: 9px 14px; font-size: 11.5px; }
.lc-actions .btn:not(.btn-primary) { border-color: rgba(255,255,255,0.3); color: var(--white); background: transparent; }
.lc-actions .btn:not(.btn-primary):hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.table-row.is-live { background: rgba(42,122,63,0.04); }
.table-row.is-live:hover { background: rgba(42,122,63,0.08); }

/* Transcript */
.call-summary { font-size: 14px; line-height: 1.6; color: var(--ink); margin: 0; }
.transcript {
  display: flex; flex-direction: column; gap: 14px;
  max-height: 460px;
  overflow-y: auto;
  padding-right: 6px;
}
.tt-line { display: flex; flex-direction: column; gap: 4px; max-width: 85%; }
.tt-ai { align-self: flex-start; }
.tt-caller { align-self: flex-end; align-items: flex-end; }
.tt-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-mute);
  display: inline-flex; gap: 8px; align-items: baseline;
}
.tt-ai .tt-meta { color: var(--red); }
.tt-meta .tt-t { color: var(--text-faint); font-weight: 500; }
.tt-bubble {
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.5;
}
.tt-ai .tt-bubble { background: var(--ink); color: var(--white); }
.tt-caller .tt-bubble { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.tt-typing .tt-bubble { background: var(--paper); border: 1px solid var(--line); padding: 14px 16px; }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-mute);
  animation: tbnc 1.2s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes tbnc {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

/* Objections */
.objections { display: flex; flex-direction: column; gap: 10px; }
.obj-row {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
}
.obj-raised, .obj-handled { display: flex; flex-direction: column; gap: 3px; grid-column: 1; }
.obj-l {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-mute);
}
.obj-handled .obj-l { color: var(--red); }
.obj-t { font-size: 13px; line-height: 1.5; color: var(--ink); }
.obj-raised .obj-t { font-style: italic; color: var(--text-mute); }
.obj-outcome {
  grid-column: 2; grid-row: 1 / 3;
  align-self: start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 700;
  padding: 4px 9px;
  border: 1px solid currentColor;
}
.obj-ok { color: var(--signal-ok); }
.obj-warn { color: var(--signal-warn); }
.obj-muted { color: var(--text-mute); }

/* Pulsing dot inside phase pill */
.phase-pill .dot.pulse {
  animation: aacPulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 0 0 currentColor;
}

/* Live badge in sidebar link */
.live-badge {
  background: var(--signal-ok) !important;
  color: var(--white) !important;
  animation: aacPulse 1.6s ease-in-out infinite;
}

/* Integrations + platform sub-section in agent card */
.aac-integrations { display: flex; flex-direction: column; gap: 8px; }
.int-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--signal-ok);
  font-size: 12px;
}
.int-row.int-compatible { border-left-color: var(--signal-warn); }
.int-name { font-weight: 700; color: var(--white); font-size: 13px; }
.int-status {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--signal-ok);
}
.int-row.int-compatible .int-status { color: var(--signal-warn); }
.int-row.int-primary .int-status { color: var(--red); }
.int-detail {
  grid-column: 1 / 3;
  font-size: 11.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}
.aac-platform { padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); }
.aac-platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.aac-platform-grid > div { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; background: rgba(255,255,255,0.04); }
.aac-platform-grid .ppl-k {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
}
.aac-platform-grid .ppl-v { font-size: 12.5px; color: var(--white); }
.aac-platform-grid .ppl-guarantee {
  grid-column: 1 / 3;
  background: rgba(224,30,44,0.1);
  border: 1px solid rgba(224,30,44,0.4);
  color: rgba(255,255,255,0.85);
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.5;
  margin-top: 4px;
}

/* Platform metrics banner */
.ai-platform-banner {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px;
}
.apb-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 18px;
  flex-wrap: wrap; gap: 12px;
}
.apb-title { display: flex; flex-direction: column; gap: 6px; }
.apb-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
}
.apb-title h3 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.apb-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--red);
}
.apb-link:hover { background: var(--red); color: var(--white); }
.apb-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.apb-stat {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px 14px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 110px;
}
.apb-stat .apb-v {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
}
.apb-stat .apb-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mute);
  line-height: 1.4;
}
.apb-stat.apb-accent { background: var(--ink); border-color: var(--ink); }
.apb-stat.apb-accent .apb-v { color: var(--red); }
.apb-stat.apb-accent .apb-k { color: rgba(255,255,255,0.65); }

/* Campaigns table */
.ai-campaigns { display: flex; flex-direction: column; gap: 0; }

@media (max-width: 1100px) {
  .ai-calls-shell { grid-template-columns: 1fr; }
  .ai-agent-card { position: static; max-height: none; }
  .apb-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .apb-grid { grid-template-columns: repeat(2, 1fr); }
  .apb-stat .apb-v { font-size: 24px; }
}
@media (max-width: 860px) {
  .live-call-card { grid-template-columns: 1fr; gap: 10px; }
  .lc-actions { flex-wrap: wrap; }
  .obj-row { grid-template-columns: 1fr; }
  .obj-outcome { grid-column: 1; grid-row: auto; align-self: flex-start; }
  .tt-line { max-width: 100%; }
}

@media (max-width: 1100px) {
  .phase-strip-row { grid-template-columns: repeat(8, 1fr); }
  .pipe-stage-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .phase-strip-row { grid-template-columns: repeat(2, 1fr); }
  .pipe-stage-cols { grid-template-columns: 1fr; }
}

/* New-lead row marker — for entries that came in via the public landing forms */
.table-row.is-lead { background: linear-gradient(90deg, var(--red-soft) 0, var(--white) 60%); }
.table-row.is-lead:hover { background: linear-gradient(90deg, var(--red-soft) 0, var(--paper) 60%); }
.lead-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: var(--red);
  color: var(--white);
  vertical-align: middle;
}

/* Status pill */
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid currentColor;
}
.status-pill::before {
  content: ""; width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.s-open      { color: var(--signal-info); }
.s-booked    { color: #6b4ea8; }
.s-transit   { color: var(--signal-warn); }
.s-delivered { color: var(--signal-ok); }
.s-new       { color: var(--signal-info); }
.s-review    { color: var(--signal-warn); }
.s-approved  { color: var(--signal-ok); }
.s-rejected  { color: var(--red); }

/* DRAWER */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.55);
  z-index: 80;
  animation: fadeIn 0.18s ease;
  backdrop-filter: blur(3px);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(560px, 100vw);
  background: var(--white);
  border-left: 1px solid var(--line);
  z-index: 90;
  display: flex; flex-direction: column;
  animation: slideIn 0.22s cubic-bezier(0.2,0.8,0.2,1);
  overflow: hidden;
}
@keyframes slideIn { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.drawer-head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: start;
  gap: 16px;
}
.drawer-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1;
  margin: 6px 0 0;
  text-transform: uppercase;
}
.drawer-head .id {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--red);
}
.drawer-close {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.12s ease;
}
.drawer-close:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px 24px; }
.drawer-section { margin-bottom: 28px; }
.drawer-section h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mute);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.drawer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dg-item { display: flex; flex-direction: column; gap: 4px; }
.dg-item .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mute);
}
.dg-item .v { font-size: 14px; color: var(--ink); font-weight: 500; }
.dg-item .v.big { font-family: var(--font-display); font-size: 26px; line-height: 1; }
.docs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.doc-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12.5px;
}
.doc-item .ico {
  width: 28px; height: 28px;
  background: var(--ink);
  color: var(--white);
  display: grid; place-items: center;
}
.doc-item .nm { flex: 1; line-height: 1.3; }
.doc-item .nm .t { font-weight: 600; color: var(--ink); }
.doc-item .nm .s {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  margin-top: 2px;
}
.drawer-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  display: flex; gap: 8px; justify-content: flex-end;
  background: var(--paper);
  flex-wrap: wrap;
}
.drawer-foot .btn { padding: 10px 16px; font-size: 12px; }

/* CRM Login */
.crm-login {
  min-height: calc(100vh - 73px);
  display: grid;
  place-items: center;
  padding: 40px var(--gutter);
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.crm-login::before, .crm-login::after { display: none; }
.login-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  padding: clamp(28px, 4vw, 40px);
  width: 100%; max-width: 420px;
  display: flex; flex-direction: column;
  gap: 18px;
}
.login-card .top-mark {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  margin-bottom: 4px;
}
.login-card .top-mark .brand-mark { background: var(--red); color: var(--white); }
.login-card .top-mark .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}
.login-card h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 48px);
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}
.login-card h1 .it { color: var(--red); font-style: normal; font-family: inherit; }
.login-card .lead {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.login-card .field input {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
}
.login-card .field input:focus { border-bottom-color: var(--red); }
.login-card .hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  padding: 10px 12px;
  border: 1px dashed rgba(255,255,255,0.16);
  margin-top: 4px;
}
.login-card .hint strong { color: var(--red); }

/* ============================================================ MOBILE NAV */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--white);
  z-index: 60;
  padding: 80px var(--gutter) 32px;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav .m-link {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  border-left: none; border-right: none; border-top: none;
  text-align: left;
  cursor: pointer;
}
.mobile-nav .m-link.active { color: var(--red); }
.mobile-nav .m-foot {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
}

/* ============================================================ RESPONSIVE */

/* Tablet */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
  .hero-photo-strip { grid-template-columns: 1fr 1fr; height: clamp(180px, 30vw, 280px); }
  .hero-photo-strip .hero-photo:last-child { display: none; }
  .ship-card { grid-template-columns: 1fr; gap: 24px; }
  .ship-summary { position: static; }
  .perks { grid-template-columns: 1fr; gap: 32px; }
  .lanes-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .crm-shell { grid-template-columns: 1fr; }
  .crm-sidebar {
    position: static; height: auto;
    flex-direction: row;
    overflow-x: auto;
    padding: 10px;
    gap: 4px;
  }
  .crm-side-head, .crm-operator, .crm-side-divider { display: none; }
  .crm-side-link {
    padding: 9px 14px;
    border-left: none;
    border-bottom: 2px solid transparent;
    flex-shrink: 0;
  }
  .crm-side-link.active { border-left-color: transparent; border-bottom-color: var(--red); }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .nav-link { padding: 10px 12px; font-size: 13px; }
  .service-row { grid-template-columns: 60px 1fr; gap: 16px; }
  .service-row .service-body { grid-column: 2; max-width: none; }
  .perks-list { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 860px) {
  .topnav-inner { grid-template-columns: 1fr auto; gap: 8px; padding: 10px var(--gutter); }
  .nav-links, .nav-phone { display: none; }
  .brand-logo { height: 44px; max-width: 220px; object-fit: contain; object-position: left center; }
  .footer-logo { height: 56px; max-width: 100%; }
  .nav-cta { padding: 10px 14px; font-size: 12px; }
  .nav-cta .arrow { display: none; }
  .nav-burger { display: flex; }
  .brand-text small { display: none; }

  .hero { padding: 40px 0 56px; }
  .split-cta { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero-photo-strip { grid-template-columns: 1fr; height: 220px; }
  .hero-photo-strip .hero-photo:nth-child(2) { display: none; }
  .ship-fields { grid-template-columns: repeat(6, 1fr); gap: 14px 10px; }
  .ship-fields .s1 { grid-column: span 2; }
  .ship-fields .s2, .ship-fields .s3, .ship-fields .s4 { grid-column: span 6; }
  .ship-fields .s6 { grid-column: span 6; }
  .ship-block-head { font-size: 10.5px; }
  .ship-card { padding: 20px; }
  .ship-summary { padding: 18px; }
  .ship-checks { flex-direction: column; align-items: stretch; }
  .ship-check { justify-content: flex-start; }

  .lanes-grid { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; }
  .quote-form .span2 { grid-column: span 1; }

  .service-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .service-row .service-body { grid-column: 1; }

  .perks-list { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Apply */
  .apply-progress { grid-template-columns: repeat(7, 1fr); gap: 4px; }
  .apply-step-pip { padding: 8px 2px; }
  .apply-step-pip .lbl { display: none; }
  .apply-step-pip .n { font-size: 10px; }
  .apply-step-head { grid-template-columns: 1fr; gap: 10px; }
  .apply-grid, .apply-grid.cols-3 { grid-template-columns: 1fr; gap: 18px; }
  .apply-grid .span2, .apply-grid.cols-3 .span3 { grid-column: span 1; }
  .choice-grid, .choice-grid.cols-2, .choice-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .endorse-grid, .endorse-grid.cols-5, .endorse-grid.cols-6 { grid-template-columns: 1fr 1fr; }
  .upload-grid { grid-template-columns: 1fr; }
  .apply-actions { grid-template-columns: 1fr 1fr; }
  .apply-actions .step-meta { grid-column: span 2; order: 3; padding-top: 6px; }
  .review-row { grid-template-columns: 1fr; gap: 4px; }

  /* CRM */
  .crm-head { grid-template-columns: 1fr; gap: 14px; }
  .crm-head-actions { flex-wrap: wrap; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi { padding: 16px; min-height: 100px; }
  .kpi .v { font-size: 28px; }
  .toolbar { flex-direction: column; align-items: stretch; padding: 8px; }
  .toolbar .search { padding: 4px 10px; }
  .toolbar select { width: 100%; }

  .table-head { display: none; }
  .table-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
  }
  .table-row > * { font-size: 13px; }

  .drawer { width: 100vw; }
  .drawer-foot .btn { flex: 1; justify-content: center; }
}

/* ================================================================
   SOFTENING PASS — round corners, lighter borders, calmer surfaces.
   Applied as overrides at the end so prior structural rules stay intact.
   ================================================================ */

/* Rounded surfaces — give the eye softer landings */
.kpi,
.toolbar,
.table,
.chip,
.btn,
.split-cta-card,
.choice,
.tag,
.upload,
.review-grid,
.apply-card,
.ship-card,
.ship-summary,
.ship-check,
.live-call-card,
.live-calls-row,
.ai-platform-banner,
.apb-stat,
.apb-link,
.phase-strip,
.phase-cell,
.pipe-stage,
.pipe-col,
.pipe-card,
.obj-row,
.tt-bubble,
.comp-flag,
.comp-ins,
.status-pill,
.phase-pill,
.lead-tag,
.kpi.accent,
.crm-operator,
.int-row,
.aac-platform-grid > div,
.aac-kb,
.crm-side-link,
.login-card,
.login-card .hint,
.doc-item,
.kpi .delta,
.aac-section ul li,
.aac-platform-grid .ppl-guarantee,
.drawer,
.drawer-close,
.crm-side-link .badge,
.nav-cta,
.crm-head-actions .btn,
.aac-integrations .int-row,
.ai-agent-card {
  border-radius: var(--r);
}

.tag, .chip, .status-pill, .phase-pill, .comp-flag, .comp-ins, .lead-tag, .obj-outcome, .reel-meta, .crm-side-link .badge {
  border-radius: 999px;
}

.kpi, .ai-platform-banner, .apb-stat, .pipe-stage, .live-calls-row, .ship-card, .apply-card, .review-grid, .table, .toolbar {
  border-radius: var(--r-lg);
}

.drawer { border-radius: var(--r-lg) 0 0 var(--r-lg); }

/* Replace some hard borders with soft shadows */
.kpi {
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.kpi:hover { box-shadow: var(--shadow); }
.kpi.accent { border-color: var(--ink); box-shadow: var(--shadow); }

.table {
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.table-row { border-bottom: 1px solid var(--line-soft); transition: background 0.15s ease; }
.table-row:hover { background: var(--paper); }
.table-head { background: transparent; border-bottom: 1px solid var(--line); }

.toolbar {
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.chip {
  background: transparent;
  border-color: var(--line);
  font-weight: 600;
  transition: all 0.15s ease;
}
.chip:hover { background: var(--paper); border-color: var(--text-mute); }
.chip.active { box-shadow: var(--shadow-sm); }

.btn {
  border-radius: var(--r);
  font-weight: 600;
}
.btn-primary { box-shadow: var(--shadow-sm); }
.btn-primary:hover { box-shadow: var(--shadow); }

/* Lighten heavy display headers in CRM (keep brand on landing pages) */
.crm-main .crm-head h1 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  font-size: clamp(32px, 4vw, 44px);
}

/* Soften the dark agent card so it's less heavy */
.ai-agent-card {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow);
}
.aac-section ul li,
.aac-caps li,
.aac-kb,
.aac-platform-grid > div,
.aac-integrations .int-row {
  background: rgba(255,255,255,0.03);
  border-radius: var(--r);
}
.aac-caps li { border-bottom: none !important; padding: 12px 14px !important; margin-bottom: 4px; }
.aac-section ul li { padding: 10px 12px; }
.kb-row { padding: 4px 0; }
.aac-kb { padding: 12px 14px; }

/* Live calls strip — calmer */
.live-calls-row {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  border-left: 4px solid var(--signal-ok);
  box-shadow: var(--shadow);
}
.live-call-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r);
}
.live-call-card:hover { background: rgba(255,255,255,0.09); }

/* Phase strip — softer cells */
.phase-strip {
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  border-radius: var(--r-lg);
}
.phase-cell {
  border-radius: var(--r);
  border-color: transparent;
  transition: all 0.15s ease;
}
.phase-cell:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.phase-cell.active { box-shadow: var(--shadow); }

/* Pipeline kanban — softer */
.pipe-stage {
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.pipe-col {
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
}
.pipe-col-head { background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.pipe-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.pipe-card:hover { box-shadow: var(--shadow); border-color: var(--line); }

/* Platform banner — softer */
.ai-platform-banner {
  background: var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.apb-stat {
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: var(--r);
}
.apb-stat:hover { background: var(--bone); }
.apb-stat.apb-accent {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  border-color: transparent;
}

/* Sidebar — calmer */
.crm-sidebar { background: var(--ink); }
.crm-side-link {
  border-radius: var(--r);
  margin: 1px 0;
  border-left: 0;
  padding-left: 14px;
  transition: all 0.15s ease;
}
.crm-side-link.active {
  background: rgba(255,255,255,0.08) !important;
  border-left: 0;
  padding-left: 14px;
  box-shadow: inset 3px 0 0 var(--red);
}
.crm-side-link:hover { background: rgba(255,255,255,0.05) !important; }
.crm-side-link .badge { padding: 2px 8px; font-weight: 700; }

/* Operator card — softer */
.crm-operator {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Hero KPI cards — let them breathe */
.kpis { gap: 12px; }
.kpi { padding: 20px; min-height: 124px; }
.kpi .v { font-size: clamp(28px, 2.6vw, 36px); }

/* Reduce harshness in text */
body { color: var(--text); }
.section-head-blurb, .hero-blurb { font-weight: 400; }

/* Inputs — round + softer borders */
input:not([type="checkbox"]), select, textarea {
  border-bottom-color: var(--line);
}
.toolbar .search input { font-weight: 500; }
.toolbar select {
  border-radius: var(--r);
  border-color: var(--line);
  background-color: var(--white);
}

/* Drawer — softer edge */
.drawer {
  border-left: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
}
.drawer-head, .drawer-foot { background: var(--paper); }
.drawer-foot { border-top: 1px solid var(--line-soft); }

/* Calls table — calmer live row */
.table-row.is-live { background: rgba(47,138,74,0.04); }
.table-row.is-live:hover { background: rgba(47,138,74,0.07); }

/* Sample chat bubbles softer */
.tt-ai .tt-bubble {
  background: var(--ink);
  color: var(--white);
  border-radius: 14px 14px 14px 2px;
  box-shadow: var(--shadow-sm);
}
.tt-caller .tt-bubble {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 14px 14px 2px 14px;
  box-shadow: var(--shadow-sm);
}

/* Phase timeline — softer dots */
.pt-dot { box-shadow: var(--shadow-sm); }

/* Section spacing inside CRM main */
.crm-main { padding: clamp(24px, 3vw, 36px); }
.crm-main > * + * { margin-top: 14px; }
.crm-head { margin-bottom: 18px; padding-bottom: 0; border-bottom: 0; }

/* Status pills — slightly softer */
.status-pill { font-weight: 600; }

/* Smoother transitions on cards */
.kpi, .pipe-card, .pipe-stage, .table, .live-call-card, .apb-stat, .phase-cell, .chip, .btn, .crm-side-link {
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

/* ================================================================
   CALMER PASS — desaturate, drop Anton from data, lighter weights.
   The CRM should feel like a Linear/Stripe dashboard, not a poster.
   ================================================================ */

/* Drop Anton from data displays — Inter handles numbers more calmly. */
.crm-main .kpi .v,
.crm-main .tcell-rate,
.crm-main .dg-item .v.big,
.crm-main .apb-stat .apb-v,
.crm-main .lc-name,
.crm-main .pipe-stage-name {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.crm-main .kpi .v { font-size: clamp(24px, 2vw, 30px); font-weight: 600; }
.crm-main .tcell-rate { font-size: 15px; }
.crm-main .apb-stat .apb-v { font-size: 26px; font-weight: 600; }
.crm-main .pipe-stage-name { font-size: 18px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.crm-main .dg-item .v.big { font-size: 22px; font-weight: 600; }

/* Page titles — keep Anton but lighten + reduce size for breathing room. */
.crm-main .crm-head h1 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(24px, 2.2vw, 32px);
  letter-spacing: -0.02em;
  text-transform: none;
}

.apb-title h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  text-transform: none;
  letter-spacing: -0.01em;
}

/* Reduce loud reds in the CRM specifically. KPI accent uses near-neutral instead of bright red. */
.crm-main .kpi.accent {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
}
.crm-main .kpi.accent .v { color: var(--white); }
.crm-main .kpi.accent .v small { color: rgba(255,255,255,0.5); }
.crm-main .kpi .delta { color: var(--signal-ok); font-weight: 500; font-size: 11.5px; letter-spacing: 0; text-transform: none; }
.crm-main .kpi .delta.down { color: var(--red-quiet); }
.crm-main .kpi .k { font-weight: 500; letter-spacing: 0.06em; }

/* Tone down badges + accents */
.crm-side-link .badge {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.crm-side-link.active .badge { background: var(--red-quiet); color: var(--white); }
.live-badge {
  background: var(--signal-ok) !important;
  animation: none !important;       /* less flicker */
}

/* Sidebar — calmer */
.crm-side-link.active { box-shadow: inset 2px 0 0 var(--red-quiet); }
.crm-side-head { letter-spacing: 0.14em; font-weight: 500; color: rgba(255,255,255,0.4); }

/* IDs in tables — tone down red, lighter weight */
.tcell-id { color: var(--red-quiet); font-weight: 600; }

/* Lead-tag less hot */
.lead-tag { background: var(--red-quiet); font-weight: 600; }

/* Status pills — less saturated */
.status-pill { font-weight: 600; }
.s-open { color: var(--signal-info); }
.s-booked { color: #74608f; }
.s-transit { color: var(--signal-warn); }
.s-delivered { color: var(--signal-ok); }
.s-new { color: var(--signal-info); }
.s-review { color: var(--signal-warn); }
.s-approved { color: var(--signal-ok); }
.s-rejected { color: var(--red-quiet); }

/* Reduce loud red dots in the AI tab — use sage green instead */
.aac-stat { color: var(--signal-ok); }
.aac-stat .dot { background: var(--signal-ok); }

/* Reduce "MATH BEHIND DANI" red eyebrow */
.apb-eyebrow, .crm-head .sub, .section-head-num, .lcr-head, .kb-k {
  color: var(--text-mute);
  font-weight: 500;
  letter-spacing: 0.16em;
}
.crm-head .sub .live-dot { background: var(--signal-ok); }

/* Apb-link calmer */
.apb-link {
  color: var(--text);
  border-color: var(--line);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.apb-link:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Live call card — calmer pulse + softer text */
.lc-pulse { background: var(--signal-ok); animation: aacPulse 2.4s ease-in-out infinite; }
.lcr-head .dot { background: var(--signal-ok); animation: aacPulse 2.4s ease-in-out infinite; }
.lc-head .lc-id { color: rgba(255,255,255,0.6); }
.lc-head .lc-live { color: var(--signal-ok); font-weight: 600; }
.lc-name { font-size: 15px; font-weight: 600; }

/* Phase strip — softer cells, no harsh colors */
.phase-strip-head { font-weight: 500; letter-spacing: 0.14em; }
.phase-cell .pc-count { font-family: var(--font-body); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.phase-cell .pc-label { font-weight: 500; letter-spacing: 0.06em; }
.phase-cell.phase-active { background: var(--tone-active-bg); }
.phase-cell.active { box-shadow: inset 0 0 0 1.5px var(--text-mute); }

/* Phase pill — quieter */
.phase-pill { font-weight: 600; letter-spacing: 0.06em; padding: 3px 9px; font-size: 10px; }

/* Pipeline — calmer */
.pipe-stage-head { padding-bottom: 10px; }
.pipe-stage-count { font-weight: 500; letter-spacing: 0.06em; }
.pipe-col-head .pc-label { font-weight: 600; letter-spacing: 0.06em; }
.pipe-col-head .pc-count { background: var(--text-mute); font-weight: 600; }
.pipe-col.phase-info .pc-count   { background: var(--signal-info); }
.pipe-col.phase-warn .pc-count   { background: var(--signal-warn); }
.pipe-col.phase-ok .pc-count     { background: var(--signal-ok); }
.pipe-col.phase-active .pc-count { background: var(--red-quiet); }
.pipe-col.phase-bad .pc-count    { background: var(--signal-bad); }
.pipe-card .pc-name { font-weight: 600; font-size: 13px; }
.pipe-card .pc-meta { color: var(--text-mute); font-weight: 500; letter-spacing: 0; }

/* Toolbar — calmer */
.toolbar { padding: 10px; gap: 6px; }
.chip {
  background: transparent;
  border-color: var(--line);
  font-weight: 500;
  font-size: 12.5px;
  padding: 7px 13px;
}
.chip.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip .ct { font-family: var(--font-body); font-weight: 500; opacity: 0.7; font-size: 11px; }

/* Buttons + nav-cta less screaming. The "Drive with us" should still pop on landing. */
.crm-main .btn-primary { background: var(--ink); border-color: var(--ink); }
.crm-main .btn-primary:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.crm-main .btn { font-weight: 500; }

/* Drawer — softer typography */
.drawer-head h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  text-transform: none;
  letter-spacing: -0.01em;
}
.drawer-head .id { color: var(--text-mute); font-weight: 500; letter-spacing: 0.1em; }
.drawer-section h4 { font-weight: 500; letter-spacing: 0.12em; }

/* Compliance + objections + cells — softer */
.cell-warn { color: var(--signal-warn); font-weight: 500; }
.cell-bad .d, .cell-bad .r { color: var(--red-quiet); font-weight: 500; }
.cell-date { font-weight: 500; }
.comp-flag, .comp-ins, .obj-outcome { font-weight: 600; letter-spacing: 0.08em; }

/* Eye-relief — slightly muted body color */
.crm-main { color: #2a2d33; }
.tcell-lane .ln1 { font-weight: 600; }
.tcell-lane .ln2 { color: var(--text-mute); font-weight: 400; }
.tcell-mono { color: #4a4e57; font-weight: 500; }

/* Hero MOVES still brand-bold — keep Anton & strong red there only. */
.hero-title .red, .perks-hero h3 .red { color: var(--red-strong); }
.nav-cta { background: var(--red-strong); }
.nav-cta:hover { background: var(--red-deep); }
.section-head-title .it { color: var(--red-strong); }

/* Clean up hero/landing bits the brand still owns */
.section-head-num { color: var(--red-quiet); }

/* Calmer agent card sections */
.aac-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: none;
}
.aac-role { letter-spacing: 0.08em; font-weight: 500; }
.aac-section h5 { letter-spacing: 0.12em; font-weight: 500; }
.aac-caps .cap-area { font-weight: 600; }
.aac-avatar { background: var(--red-quiet); border-radius: var(--r); font-weight: 500; font-size: 18px; letter-spacing: 0; }

/* Apb stats — less heavy */
.apb-stat .apb-k { font-weight: 500; letter-spacing: 0.08em; }
.apb-eyebrow { color: var(--text-mute); }

/* Page-wide reduction of bold across labels */
.section-head-num,
.crm-head .sub,
.field .lbl,
.kpi .k,
.eyebrow {
  font-weight: 500;
}
