/* An enterprise vertical agent's page (/enterprise/<slug>, templates/enterprise/_vertical_page.html): what the
   shared v2 classes and css/pages/enterprise.css don't cover. The page carries its agent's tone (--va-tone,
   css/enterprise/verticals.css): the hero badge, the step numbers and the figures. */

/* ---------- Hero: the breadcrumb label, the agent's badge and the wide illustration ---------- */
.v2-va-hero .v2-hero__label a {
  color: var(--accent-ink);
  text-decoration: none;
}
.v2-va-hero .v2-hero__label a:hover {
  text-decoration: underline;
}
.v2-va-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 6px var(--space-4) 6px 6px;
  border-radius: var(--r-pill);
  background: var(--paper);
  box-shadow: var(--ring), var(--shadow-card);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.v2-va-badge .v2-va-tile {
  width: 32px;
  height: 32px;
}
.v2-va-hero .v2-hero__title {
  max-width: 20ch;
}
.v2-va-hero .v2-hero__side .v2-lead {
  max-width: 660px;
}
.v2-va-note {
  margin-top: var(--space-4);
  text-align: center;
}

/* ---------- Why now: four figures, each with its source ---------- */
.v2-va .v2-va-stats .v2-stat__figure {
  margin: 0 0 var(--space-2);
  color: var(--va-tone);
  font-size: clamp(32px, 3.2vw, 40px);
}
.v2-va-stats .v2-card__text {
  color: var(--ink-2);
}
.v2-va-stats .v2-caption {
  margin-top: auto;
  padding-top: var(--space-3);
}
.v2-va-stats .v2-caption a,
.v2-va-sources a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 0.18em;
}
.v2-va-stats .v2-caption a:hover,
.v2-va-sources a:hover {
  color: var(--accent-ink);
}

/* ---------- How it works: the agent's loop as numbered steps on one line ---------- */
.v2-va-steps {
  position: relative;
  display: grid;
  gap: var(--space-8) var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}
.v2-va-steps li {
  position: relative;
  display: grid;
  gap: var(--space-2);
  align-content: start;
}
.v2-va-steps li > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-2);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--va-tone);
  color: var(--va-tone);
  font: 400 13px var(--font-label);
}
@media (min-width: 720px) {
  .v2-va-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .v2-va-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .v2-va-steps::before {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 19px;
    height: 2px;
    background: linear-gradient(
      90deg,
      var(--va-tone),
      color-mix(in srgb, var(--va-tone) 25%, var(--paper))
    );
  }
}

/* ---------- Human in the loop: what it does alone, what it asks, what it never does ---------- */
.v2-va-level {
  gap: var(--space-4);
}
.v2-va-level__head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--v2-va-level);
  font-size: var(--fs-h4);
  font-weight: 600;
}
.v2-va-level ul {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink-2);
}
.v2-va-level li {
  position: relative;
  padding-left: var(--space-5);
}
.v2-va-level li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--v2-va-level);
}
.v2-va-level--auto {
  --v2-va-level: var(--va-green);
}
.v2-va-level--ask {
  --v2-va-level: var(--va-amber);
}
.v2-va-level--never {
  --v2-va-level: var(--va-red);
}

/* ---------- Connects to: plain name chips per group ---------- */
.v2-va-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-1) 0 0;
  padding: 0;
  list-style: none;
}
.v2-va-chips li {
  padding: 5px var(--space-3);
  border-radius: var(--r-pill);
  background: var(--paper-2);
  box-shadow: var(--ring);
  font-size: var(--fs-caption);
  font-weight: 500;
  line-height: 1.45;
}

.v2-va-more {
  margin-top: var(--space-5);
}

/* ---------- The band sits between two sections here, whose own padding spaces it ---------- */
.v2-va .v2-band {
  padding-block: 0;
}

/* ---------- Sources ---------- */
.v2-va-sources ol {
  display: grid;
  gap: var(--space-2);
  margin: var(--space-4) 0;
  padding-left: 1.4em;
  font-size: var(--fs-caption);
  line-height: 1.5;
  color: var(--muted);
}
.v2-va-sources {
  padding-top: 0;
}
