.topbar-link {
  text-decoration: none;
}

.outreach-shell {
  padding-bottom: 48px;
}

.outreach-topbar {
  margin-bottom: 18px;
}

.outreach-topbar-actions {
  align-items: stretch;
}

.outreach-stage {
  display: grid;
  gap: 18px;
}

.outreach-hero {
  padding: 24px;
}

.outreach-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.outreach-hero-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.outreach-hero-summary,
.outreach-focus-copy p,
.route-copy p,
.stat-card p,
.execution-step p,
.lead-body p,
.lead-contact-copy,
.email-preview,
.script-block p,
.script-block li {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.65;
}

.outreach-hero-summary {
  max-width: 54ch;
  margin-top: 14px;
  font-size: 1rem;
}

.market-switch-row,
.outreach-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.market-switch-row {
  margin-top: 22px;
}

.outreach-filter-row {
  margin-top: 12px;
}

.market-filter,
.route-filter {
  padding: 11px 15px;
  border-radius: 999px;
  border: 1px solid rgba(31, 140, 255, 0.14);
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.market-filter {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(234, 245, 255, 0.92));
}

.market-filter:hover,
.route-filter:hover {
  transform: translateY(-1px);
}

.market-filter.active,
.route-filter.active {
  background: linear-gradient(135deg, rgba(31, 140, 255, 0.14), rgba(18, 102, 214, 0.08));
  border-color: rgba(31, 140, 255, 0.24);
  color: var(--accent-strong);
  box-shadow: var(--shadow-soft);
}

.outreach-focus-copy {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(240, 248, 255, 0.9));
  box-shadow: var(--shadow-soft);
}

.outreach-focus-copy strong,
.stat-card strong,
.route-card strong,
.lead-company,
.email-company,
.call-company {
  font-family: "Space Grotesk", sans-serif;
}

.outreach-focus-copy strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.outreach-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  min-height: 148px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(242, 249, 255, 0.9)),
    linear-gradient(145deg, rgba(31, 140, 255, 0.08), transparent 55%);
  box-shadow: var(--shadow-soft);
}

.stat-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 0.95;
}

.outreach-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.outreach-rail {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
}

.route-stack,
.execution-list {
  display: grid;
  gap: 12px;
}

.route-card,
.execution-step,
.lead-card,
.email-card,
.call-card {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.route-card {
  display: grid;
  gap: 14px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.route-card.active {
  border-color: rgba(31, 140, 255, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(233, 245, 255, 0.92));
}

.route-card:hover,
.lead-card:hover,
.email-card:hover,
.call-card:hover {
  transform: translateY(-2px);
}

.route-head,
.lead-head,
.email-head,
.call-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.route-copy small,
.lead-head small,
.email-head small,
.call-head small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.8rem;
}

.route-chip,
.priority-chip,
.confidence-chip,
.method-chip {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(31, 140, 255, 0.12);
  background: rgba(244, 249, 255, 0.92);
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.priority-chip.top,
.confidence-chip.official {
  color: var(--accent-strong);
  background: rgba(31, 140, 255, 0.12);
}

.confidence-chip.public {
  color: #8a5b18;
  background: rgba(255, 201, 112, 0.18);
  border-color: rgba(255, 184, 79, 0.28);
}

.route-note-list,
.lead-meta-row,
.lead-footer,
.card-actions,
.script-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.route-note-list span,
.lead-meta-row span,
.lead-footer span,
.script-meta span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(245, 250, 255, 0.94);
  border: 1px solid rgba(31, 140, 255, 0.08);
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 700;
}

.execution-step {
  display: grid;
  gap: 8px;
}

.execution-step strong {
  font-size: 1rem;
}

.outreach-main {
  display: grid;
  gap: 18px;
}

.lead-grid,
.email-grid,
.call-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lead-card,
.email-card,
.call-card {
  display: grid;
  gap: 14px;
}

.lead-company,
.email-company,
.call-company {
  font-size: 1.08rem;
  line-height: 1.1;
}

.lead-body {
  display: grid;
  gap: 10px;
}

.lead-contact-block,
.email-draft,
.script-block {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(247, 251, 255, 0.95);
  border: 1px solid rgba(31, 140, 255, 0.08);
}

.lead-contact-label,
.email-label,
.script-label {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lead-contact-copy,
.email-preview,
.draft-body,
.script-block ul {
  font-size: 0.88rem;
}

.draft-body {
  margin: 0;
  white-space: pre-wrap;
  color: var(--muted-strong);
  line-height: 1.65;
}

.email-preview {
  margin-top: 8px;
}

.card-actions {
  justify-content: flex-start;
}

.copy-button {
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(31, 140, 255, 0.14);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(239, 248, 255, 0.9));
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.copy-button:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 140, 255, 0.24);
  box-shadow: var(--shadow-soft);
}

.copy-button.primary {
  background: linear-gradient(135deg, rgba(31, 140, 255, 0.15), rgba(18, 102, 214, 0.1));
}

.script-block ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted-strong);
}

.script-block li + li {
  margin-top: 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .market-filter,
  .route-filter,
  .route-card,
  .lead-card,
  .email-card,
  .call-card,
  .copy-button {
    transition: none;
  }
}

@media (max-width: 1240px) {
  .outreach-hero-grid,
  .outreach-layout {
    grid-template-columns: 1fr;
  }

  .outreach-rail {
    position: static;
  }
}

@media (max-width: 980px) {
  .lead-grid,
  .email-grid,
  .call-grid {
    grid-template-columns: 1fr;
  }

  .outreach-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .outreach-hero,
  .route-card,
  .execution-step,
  .lead-card,
  .email-card,
  .call-card {
    padding: 14px;
  }

  .outreach-stat-grid,
  .topbar-actions.outreach-topbar-actions {
    grid-template-columns: 1fr;
  }
}
