/* ============================================================
   sales.css — Sales Teams use-case page
   Loads AFTER outmate.css + vid.css + vid2.css
   ============================================================ */

/* ── Hero: daily brief mock header ── */
.brief-hdr {
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.brief-hdr .bh-date {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
}
.brief-hdr .bh-title {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .03em;
  color: rgba(255,255,255,.65);
}

/* ── Problem: 2-col layout on dark card ── */
.prob-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(24px,4vw,64px);
  align-items: start;
  padding: clamp(28px,4vw,64px) clamp(24px,3.8vw,72px);
}
.prob-grid .sec-title {
  font-size: clamp(28px,3.6vw,52px);
}
.prob-body p {
  font-family: var(--body);
  font-size: clamp(14px,1.3vw,17px);
  color: rgba(255,255,255,.58);
  line-height: 1.65;
  margin: 0 0 18px;
  text-wrap: pretty;
  max-width: 46ch;
}
.prob-body p:last-child { margin-bottom: 0; }

/* Problem stats row */
.prob-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid rgba(255,255,255,.1);
}
.prob-stat {
  padding: clamp(20px,2.6vw,36px) clamp(20px,2.8vw,44px);
  border-right: 1px solid rgba(255,255,255,.1);
}
.prob-stat:last-child { border-right: 0; }
.prob-stat .n {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -.04em;
  font-size: clamp(26px,3.8vw,54px);
  line-height: .92;
  color: var(--accent);
  margin-bottom: 10px;
}
.prob-stat .l {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  line-height: 1.5;
}

/* ── How It Works: step mocks inside .step cols ── */

/* Override step min-height for taller content */
.steps.sales-steps .step {
  min-height: clamp(380px,36vw,520px);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(80,70,230,.3);
  background: rgba(80,70,230,.07);
  border-radius: 30px;
  padding: 5px 11px;
  width: fit-content;
}

/* Mini dark mock inside step card */
.smock {
  background: #0e0e11;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  font-family: var(--mono);
  overflow: hidden;
  margin-top: 10px;
}
.smock-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 9.5px;
  letter-spacing: .04em;
  color: #6e6e76;
}
.smock-bar .s-live { color: var(--accent); }
.smock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: 10.5px;
  color: #c4c4cc;
}
.smock-row:last-child { border-bottom: 0; }
.smock-row .sr-tag { color: #6e6e78; font-size: 9px; letter-spacing: .04em; white-space: nowrap; }
.smock-row .sr-hot { color: var(--accent); }
.smock-row .sr-warn { color: #f97316; }

/* Mini Slack toast inside step card */
.s-slack {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #16161c;
  border: 1px solid rgba(255,255,255,.1);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
}
.s-slack .sl-av {
  font-size: 16px;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1.2;
}
.s-slack .sl-bd { color: rgba(255,255,255,.62); line-height: 1.45; }
.s-slack .sl-bd b { color: rgba(255,255,255,.9); }
.s-slack .sl-bd .acc { color: #a9a2ff; }
.s-slack .sl-meta {
  margin-top: 6px;
  font-size: 8.5px;
  color: rgba(255,255,255,.3);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Mini CRM panel inside step card */
.scrm {
  background: #0e0e11;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  font-family: var(--mono);
  overflow: hidden;
  margin-top: 10px;
}
.scrm-bar {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 9.5px;
  color: #6e6e76;
  letter-spacing: .04em;
}
.scrm-bar .s-sync { color: var(--accent); }
.scrm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.scrm-row:last-child { border-bottom: 0; }
.scrm-row .sr-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  flex: 0 0 90px;
}
.scrm-row .sr-val { font-size: 10.5px; color: #c8c8d0; }
.scrm-row .sr-acc { color: #a9a2ff; font-size: 10.5px; }
.scrm-row .sr-warn { color: #f97316; font-size: 10.5px; }
.scrm-row .sr-badge {
  font-size: 8.5px;
  background: rgba(80,70,230,.18);
  color: var(--accent);
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: .06em;
  flex-shrink: 0;
}

/* ── Deep Dive: role tabs (dark section) ── */
.dd-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 0 clamp(24px,3.8vw,72px);
  margin-top: clamp(20px,2.4vw,32px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.dd-tab { flex: 0 0 auto; }
.dd-tab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  padding: 13px 22px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.dd-tab:hover { color: rgba(255,255,255,.75); }
.dd-tab[aria-selected="true"] {
  color: #fff;
  border-bottom-color: var(--accent);
}
.dd-pane {
  display: none;
}
.dd-pane.on {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(24px,3.8vw,72px);
  padding: clamp(24px,3.2vw,52px) clamp(24px,3.8vw,72px) clamp(28px,4vw,64px);
}
.dd-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dd-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.dd-title {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .98;
  font-size: clamp(24px,3vw,42px);
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.dd-body {
  font-family: var(--body);
  font-size: clamp(14px,1.2vw,16.5px);
  color: rgba(255,255,255,.52);
  line-height: 1.6;
  max-width: 42ch;
  text-wrap: pretty;
}
.dd-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Integrations: category group grid ── */
.int-cats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--line);
}
.int-cat {
  padding: clamp(22px,2.6vw,38px) clamp(20px,2.4vw,34px);
  border-right: 1px solid var(--line);
}
.int-cat:last-child { border-right: 0; }
.int-cat-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.int-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.int-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .03em;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 10px;
  background: var(--paper);
  color: var(--ink-soft);
  white-space: nowrap;
}
.int-pill .gl { color: var(--accent); }

/* Integration section marquee (lighter — inside card) */
.int-mq {
  border-top: 1px solid var(--line);
  overflow: hidden;
  padding: 13px 0;
  background: var(--paper-2);
}
.int-mq .int-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 0;
  animation: scrollx 32s linear infinite;
}
.int-mq:hover .int-track { animation-play-state: paused; }
.int-mq .logo-item {
  color: var(--ink);
  opacity: .7;
  border-right-color: var(--line);
  font-size: clamp(13px,1.3vw,18px);
}
.int-mq .logo-item.sub { opacity: .45; }

/* ── Outcomes metric row ── */
.sales-metrics {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--line);
}
.sales-metric {
  padding: clamp(24px,2.8vw,40px) clamp(18px,2vw,30px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sales-metric:last-child { border-right: 0; }
.sales-metric .sm-n {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -.04em;
  font-size: clamp(28px,4.2vw,60px);
  line-height: .88;
  color: var(--accent);
}
.sales-metric .sm-l {
  font-family: var(--body);
  font-size: clamp(13px,1.1vw,15px);
  color: var(--muted);
  line-height: 1.45;
  text-wrap: pretty;
  max-width: 22ch;
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .prob-grid { grid-template-columns: 1fr; }
  .prob-stats { grid-template-columns: 1fr 1fr; }
  .prob-stat:nth-child(2) { border-right: 0; }
  .prob-stat:nth-child(1), .prob-stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.1); }

  .dd-pane.on { grid-template-columns: 1fr; }

  .int-cats { grid-template-columns: repeat(2,1fr); }
  .int-cat:nth-child(2) { border-right: 0; }
  .int-cat:nth-child(1), .int-cat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .int-cat:nth-child(3) { border-right: 1px solid var(--line); }

  .sales-metrics { grid-template-columns: 1fr 1fr; }
  .sales-metric:nth-child(2), .sales-metric:nth-child(4) { border-right: 0; }
  .sales-metric:nth-child(1), .sales-metric:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .prob-stats { grid-template-columns: 1fr; }
  .prob-stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .prob-stat:last-child { border-bottom: 0; }

  .dd-tabs { padding: 0 16px; }
  .dd-tab { padding: 10px 12px; font-size: 9.5px; }

  .int-cats { grid-template-columns: 1fr; }
  .int-cat { border-right: 0; border-bottom: 1px solid var(--line); }
  .int-cat:last-child { border-bottom: 0; }

  .sales-metrics { grid-template-columns: 1fr; }
  .sales-metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .sales-metric:last-child { border-bottom: 0; }
}

/* ============================================================
   AGENTS — "the team behind every brief" (dark)
   ============================================================ */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid rgba(255,255,255,.1);
}
.agent-card {
  padding: clamp(24px,2.6vw,40px) clamp(22px,2.2vw,34px) clamp(28px,2.8vw,40px);
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .25s;
}
.agent-card:nth-child(3n) { border-right: 0; }
.agent-card:nth-last-child(-n+3) { border-bottom: 0; }
.agent-card:hover { background: rgba(80,70,230,.06); }
.agent-card .a-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.agent-card .a-ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 17px;
}
.agent-card .a-idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.32);
}
.agent-card .a-name {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: clamp(18px,1.8vw,24px);
  color: #fff;
  line-height: 1.05;
}
.agent-card .a-desc {
  font-family: var(--body);
  font-size: clamp(13px,1.15vw,15.5px);
  line-height: 1.55;
  color: rgba(255,255,255,.55);
  text-wrap: pretty;
}
.agents-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(18px,2.2vw,28px) clamp(24px,3.8vw,72px);
  border-top: 1px solid rgba(255,255,255,.1);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
}
.agents-note .acc { color: var(--accent); font-size: 14px; }

/* ============================================================
   COMPARISON — "why teams switch" (light)
   ============================================================ */
.cmp {
  border-top: 1px solid var(--line);
}
.cmp-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.cmp-row:last-child { border-bottom: 0; }
.cmp-cell {
  padding: clamp(18px,2vw,28px) clamp(20px,2.2vw,34px);
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 11px;
}
.cmp-cell:last-child { border-right: 0; }
.cmp-cap {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -.01em;
  font-size: clamp(15px,1.4vw,19px);
  color: var(--ink);
  line-height: 1.2;
}
.cmp-old {
  font-family: var(--body);
  font-size: clamp(13px,1.2vw,15.5px);
  color: var(--muted);
  line-height: 1.4;
}
.cmp-new {
  font-family: var(--body);
  font-size: clamp(13px,1.2vw,15.5px);
  color: var(--ink);
  line-height: 1.4;
}
/* highlighted Outmate column */
.cmp-col-new { background: rgba(80,70,230,.05); }
.cmp-row.cmp-head .cmp-cell { padding-top: clamp(20px,2.2vw,30px); padding-bottom: clamp(20px,2.2vw,30px); }
.cmp-h-old {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.cmp-h-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.cmp-h-new .ast { font-size: 13px; }
.cmp-mk {
  font-family: var(--mono);
  font-size: 13px;
  flex: 0 0 auto;
  margin-right: 7px;
}
.cmp-old .cmp-mk { color: #c4c4c4; }
.cmp-new .cmp-mk { color: var(--accent); }

@media (max-width: 860px) {
  .agents-grid { grid-template-columns: 1fr 1fr; }
  .agent-card:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.1); }
  .agent-card:nth-child(2n) { border-right: 0; }
  .agent-card:nth-last-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .agent-card:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 640px) {
  .agents-grid { grid-template-columns: 1fr; }
  .agent-card { border-right: 0; }
  .agent-card:nth-child(3n) { border-right: 0; }
  .agent-card:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .agent-card:last-child { border-bottom: 0; }

  .cmp-row { grid-template-columns: 1fr; }
  .cmp-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .cmp-cell:last-child { border-bottom: 0; }
  .cmp-row { border-bottom-width: 2px; }
  .cmp-row.cmp-head { display: none; }
  .cmp-old::before { content: "OLD WAY — "; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: var(--muted-2); }
  .cmp-new::before { content: "OUTMATE — "; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: var(--accent); }
}
