/* ============================================================
   growth-data page - page-specific additions.
   Reuses the main design system (styles.css). Only pieces that
   don't already exist live here.
   ============================================================ */

/* header: back link + CTA grouped on the right */
.hdr-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.gw-back {
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 500;
  white-space: nowrap;
  transition: color .15s;
}
.gw-back:hover { color: var(--teal-deep); }

/* ============================================================
   NDA-safe example cards (Примеры задач из предыдущего опыта)
   ============================================================ */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.case {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.case:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  border-color: var(--line-2);
}
.case-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.case-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.case-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.case h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
}
.case p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}
.cases-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .cases { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  /* header back link can hide on small screens - nav already hidden */
  .gw-back { display: none; }
}
@media (max-width: 640px) {
  .cases-cta .btn-primary { width: 100%; justify-content: center; }
}


/* ============================================================
   Audience strip (after hero)
   ============================================================ */
.audience-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.audience-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
}
.audience-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  flex-shrink: 0;
}
.audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.audience-list li {
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  white-space: nowrap;
}

/* ============================================================
   Case rows (Было / Что собирается / Результат inside .case)
   reuses .sr / .sr-k / .sr-v from the shared scenario styles
   ============================================================ */
.case-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case .sr {
  padding: 12px 13px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
}
.case .sr.result {
  border-left-color: var(--copper);
}
.case .sr-k {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--teal-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.case .sr.result .sr-k {
  color: var(--copper-deep);
}
.case .case-rows .sr-v {
  font-size: 13.5px;
}

@media (max-width: 860px) {
  .audience-inner { gap: 14px; }
}

@media (max-width: 640px) {
  .audience-list {
    width: 100%;
  }
  .audience-list li {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
