/* Local solution-page polish: faster choices, readable cards, and delivery-led detail intros. */
.solutions-shell:not(.solution-detail-shell) .solutions-hero {
  padding-block: 0;
}

.solutions-shell:not(.solution-detail-shell) .solutions-hero-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.55fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.solutions-shell:not(.solution-detail-shell) .solutions-hero h1 {
  max-width: 20ch;
  margin-block: 0.7rem;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
}

.solutions-shell:not(.solution-detail-shell) .solutions-hero-copy > p:not(.eyebrow) {
  max-width: 48rem;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.6;
}

.solutions-shell:not(.solution-detail-shell) .solutions-hero .hero-actions .text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.solutions-choice-guide {
  padding: 0;
}

.solutions-choice-guide > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  min-height: 4rem;
  align-items: center;
  padding: 1.15rem 1.3rem;
  cursor: pointer;
  list-style: none;
}

.solutions-choice-guide > summary::-webkit-details-marker {
  display: none;
}

.solutions-choice-guide > summary::after {
  color: var(--civic-gold-bright);
  content: "+";
  font-size: 1.6rem;
  font-weight: 750;
  line-height: 1;
}

.solutions-choice-guide[open] > summary::after {
  content: "−";
}

.solutions-choice-guide > summary strong,
.solutions-choice-guide > summary small {
  display: block;
  color: var(--civic-surface);
}

.solutions-choice-guide > summary small {
  margin-top: 0.25rem;
  color: var(--civic-hero-text);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.solutions-choice-guide-body {
  padding: 0 1.3rem 1.3rem;
  border-top: 1px solid var(--civic-line-strong);
}

.solutions-choice-guide-body p {
  margin: 1rem 0 0.5rem;
}

.solutions-choice-guide-body .text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--civic-surface);
}

.solutions-shell:not(.solution-detail-shell) .solutions-priority {
  padding-block: clamp(2.75rem, 5vw, 4.25rem);
}

.solutions-shell:not(.solution-detail-shell) .solutions-section-heading {
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}

.solutions-shell:not(.solution-detail-shell) .evidence-domain-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items: stretch;
}

.solutions-shell:not(.solution-detail-shell) .evidence-domain-card {
  border-color: var(--civic-line);
  border-top: 4px solid var(--civic-teal);
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  background: var(--civic-surface);
  box-shadow: none;
}

.solutions-shell:not(.solution-detail-shell) .evidence-domain-card h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

.solutions-shell:not(.solution-detail-shell) .evidence-domain-card p {
  line-height: 1.55;
}

.solutions-shell:not(.solution-detail-shell) .evidence-domain-card ul {
  margin-bottom: 1rem;
}

.solutions-shell:not(.solution-detail-shell) .evidence-domain-card .solutions-topic-list li {
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 0 0 0 1.3rem;
  background: transparent;
  color: var(--civic-text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.solutions-shell:not(.solution-detail-shell) .evidence-domain-card .solutions-topic-list li::before {
  background: var(--civic-teal);
}

.solutions-shell:not(.solution-detail-shell) .evidence-domain-card .solutions-card-actions {
  margin-top: auto;
  padding-top: 0.25rem;
}

.solutions-shell:not(.solution-detail-shell) .overview-method-disclosure .solutions-method-grid {
  grid-template-columns: minmax(0, 1fr);
}

.solutions-shell:not(.solution-detail-shell) .overview-method-disclosure .capability-stage-rail {
  width: 100%;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.solutions-shell:not(.solution-detail-shell) .overview-method-disclosure .capability-stage-rail li {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem;
  align-content: start;
  align-items: start;
}

@media (min-width: 1200px) {
  .solutions-shell:not(.solution-detail-shell) .evidence-domain-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.solution-detail-shell .solutions-detail-hero,
.solution-detail-shell.evidence-shell .evidence-hero {
  padding-block: 0;
}

.solution-detail-shell.evidence-shell {
  --evidence-navy: var(--civic-navy-950);
  --evidence-navy-soft: var(--civic-navy-800);
  --evidence-ink: var(--civic-ink);
  --evidence-muted: var(--civic-muted);
  --evidence-line: var(--civic-line);
  --evidence-teal: var(--civic-teal);
  --evidence-teal-dark: var(--civic-teal);
  --evidence-teal-pale: var(--civic-teal-soft);
  --evidence-coral: var(--civic-accent);
  --evidence-coral-dark: var(--civic-accent-dark);
  --evidence-coral-pale: #fff0ed;
  --evidence-surface: var(--civic-cloud);
  --evidence-white: var(--civic-surface);
}

.solution-detail-shell .solutions-detail-hero-grid,
.solution-detail-shell .evidence-hero-grid {
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
}

.solution-detail-shell .solutions-detail-hero h1,
.solution-detail-shell.evidence-shell .evidence-hero h1 {
  max-width: 17ch;
  margin-block: 0.75rem;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
}

.solution-detail-shell .solutions-detail-hero-grid > div > p:not(.eyebrow),
.solution-detail-shell.evidence-shell .evidence-hero-copy > p:not(.eyebrow) {
  max-width: 54rem;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.62;
}

.solution-detail-shell .solutions-scope-card,
.solution-detail-shell .evidence-brief-card {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.solution-detail-shell.evidence-shell .evidence-cta-panel > .button-secondary {
  border-color: rgba(255, 255, 255, 0.78);
  background: transparent;
  color: #fff;
}

.solution-detail-shell.evidence-shell .evidence-cta-panel > .button-secondary:hover,
.solution-detail-shell.evidence-shell .evidence-cta-panel > .button-secondary:focus-visible {
  border-color: #fff;
  background: #fff;
  color: var(--civic-navy-950);
}

@media (max-width: 900px) {
  .solutions-shell:not(.solution-detail-shell) .solutions-hero-grid,
  .solution-detail-shell .solutions-detail-hero-grid,
  .solution-detail-shell .evidence-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .solutions-shell:not(.solution-detail-shell) .evidence-domain-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .solutions-shell:not(.solution-detail-shell) .overview-method-disclosure .capability-stage-rail {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .solutions-shell:not(.solution-detail-shell) .solutions-hero h1,
  .solution-detail-shell .solutions-detail-hero h1,
  .solution-detail-shell.evidence-shell .evidence-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.1rem);
  }

  .solutions-shell:not(.solution-detail-shell) .solutions-priority {
    padding-block: 2.35rem;
  }

  .solutions-shell:not(.solution-detail-shell) .evidence-domain-card {
    padding: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solutions-choice-guide,
  .solutions-choice-guide > summary {
    scroll-behavior: auto;
    transition: none !important;
  }
}
