/*
 * Civic Operations Editorial
 * Shared presentation layer for the recovered 45fb9e1 DEV baseline.
 * Loaded last so route content and interaction ownership remain unchanged.
 */

:root {
  --civic-navy-950: #061426;
  --civic-navy-900: #071c31;
  --civic-navy-800: #0c2d48;
  --civic-paper: #f7f6f2;
  --civic-surface: #ffffff;
  --civic-cloud: #edf3f5;
  --civic-ink: #102537;
  --civic-text: #102537;
  --civic-muted: #5c6a73;
  --civic-blue: #346ab2;
  --civic-blue-dark: #0c2d48;
  --civic-teal: #0d6c66;
  --civic-teal-bright: #67d8cf;
  --civic-teal-soft: #e1f1ef;
  --civic-gold: #6f4c00;
  --civic-gold-bright: #e5bd74;
  --civic-accent: #da2d51;
  --civic-accent-dark: #b51f40;
  --civic-focus: #ffcf4a;
  --civic-line: #d5d8d8;
  --civic-line-strong: #aebdc5;
  --civic-hero-text: #dfe7ec;
  --civic-hero-panel: rgba(16, 52, 72, 0.78);
  --civic-hero-background: radial-gradient(circle at 92% 8%, rgba(42, 185, 177, 0.18), transparent 31%), linear-gradient(120deg, #11162f 0%, var(--civic-navy-950) 46%, #063044 100%);
  --civic-shadow: 0 8px 18px rgba(16, 37, 55, 0.06);
  --civic-font-heading: Georgia, "Times New Roman", serif;
  --civic-radius: 10px;
  --civic-radius-small: 6px;
  --civic-space-1: 8px;
  --civic-space-2: 12px;
  --civic-space-3: 16px;
  --civic-space-4: 24px;
  --civic-space-5: 32px;
  --civic-space-6: 48px;
  --civic-space-7: 64px;
  --civic-space-8: 80px;
  --civic-page-gutter: 32px;
  --civic-sticky-offset: 96px;
  --civic-content-measure: 72ch;
  --civic-card-min: 18rem;
  --civic-section-space: clamp(56px, 7vw, 88px);
  --civic-section-space-compact: clamp(32px, 4.5vw, 56px);
  --civic-motion-micro: 160ms;
  --civic-motion-state: 220ms;
  --civic-motion-editorial: 420ms;
  --civic-motion-sequence: 720ms;
  --civic-ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
  --civic-motion-travel: 2px;
  --civic-motion-sequence-travel: 8px;
  --civic-motion-emphasis: 0.72;
  --navy: var(--civic-navy-950);
  --navy-2: var(--civic-navy-800);
  --ink: var(--civic-text);
  --slate: var(--civic-muted);
  --muted: var(--civic-muted);
  --line: var(--civic-line);
  --paper: var(--civic-surface);
  --warm: var(--civic-paper);
  --cloud: var(--civic-cloud);
  --accent: var(--civic-accent);
  --accent-dark: var(--civic-accent-dark);
  --gold: var(--civic-gold);
  --teal: var(--civic-teal);
  --shadow: var(--civic-shadow);
  --container: 1280px;
}

html {
  background: var(--civic-paper);
}

body,
body.option1-shell,
body.evidence-shell {
  color: var(--civic-text);
  background: var(--civic-paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

main,
body.option1-shell main,
body.evidence-shell main {
  background: var(--civic-paper);
}

.container,
.option1-shell .container {
  width: min(calc(100% - (2 * var(--civic-page-gutter))), var(--container));
}

main :is(section[id], article[id], form[id]),
main :is(h2[id], h3[id]),
main[id],
.guided-resource-grid {
  scroll-margin-top: var(--civic-sticky-offset);
}

h1,
h2,
h3,
h4,
.option1-shell h1,
.option1-shell h2,
.option1-shell h3 {
  color: var(--civic-ink);
  letter-spacing: -0.025em;
}

p,
li,
dd,
td,
th {
  text-wrap: pretty;
}

a {
  text-underline-offset: 0.18em;
}

:focus-visible {
  /* Two-tone ring: navy remains visible on light surfaces; gold remains
     visible on dark heroes and panels. */
  outline: 3px solid var(--civic-navy-800) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px var(--civic-focus) !important;
  transition: none !important;
}

.skip-link {
  border: 1px solid var(--civic-line-strong);
  border-radius: var(--civic-radius-small);
  background: var(--civic-surface);
  color: var(--civic-ink);
  padding: 10px 14px;
  font-weight: 800;
  box-shadow: var(--civic-shadow);
}

/* Header and navigation */
.site-header,
.option1-shell .site-header,
.evidence-shell .site-header {
  min-height: 72px;
  border: 0;
  border-bottom: 1px solid var(--civic-line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: none;
  color: var(--civic-ink);
}

.header-inner,
.option1-shell .header-inner {
  min-height: 72px;
  gap: var(--civic-space-5);
}

.brand,
.option1-shell .brand,
.brand-wordmark {
  color: var(--civic-ink);
}

.brand-logo {
  width: 31px;
  height: 31px;
}

.brand-wordmark {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.nav-links,
.option1-shell .nav-links {
  gap: 8px 24px;
  color: var(--civic-ink);
  font-size: 0.86rem;
  font-weight: 750;
}

.nav-links > a,
.nav-links > details > summary,
.option1-shell .nav-links > a,
.option1-shell .nav-links > details > summary {
  min-height: 44px;
  border: 0;
  border-radius: 0;
  padding: 12px 0 10px;
  color: var(--civic-ink);
  background: transparent;
  text-decoration: none;
}

.nav-what-we-do > summary {
  gap: 7px;
  cursor: pointer;
  list-style: none;
}

.nav-what-we-do > summary::-webkit-details-marker {
  display: none;
}

.nav-what-we-do > summary::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--civic-motion-micro) var(--civic-ease-standard);
}

.nav-what-we-do[open] > summary::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.nav-links > a:hover,
.nav-links > a:focus-visible,
.nav-links > a[aria-current],
.nav-links > details > summary:hover,
.nav-links > details > summary:focus-visible,
.nav-links > details[open] > summary,
.nav-links > details[data-active-section="true"] > summary {
  color: var(--civic-blue);
}

.nav-links > a[aria-current],
.nav-links > details[data-active-section="true"] > summary {
  box-shadow: inset 0 -3px 0 var(--civic-blue);
}

.nav-links > a.nav-contact-cta,
.option1-shell .nav-links > a.nav-contact-cta {
  min-height: 44px;
  border-radius: var(--civic-radius-small);
  padding: 11px 18px;
  background: var(--civic-accent);
  color: #fff;
  box-shadow: none;
}

.nav-links > a.nav-contact-cta:hover,
.nav-links > a.nav-contact-cta:focus-visible,
.nav-links > a.nav-contact-cta[aria-current],
.option1-shell .nav-links > a.nav-contact-cta:hover,
.option1-shell .nav-links > a.nav-contact-cta:focus-visible,
.option1-shell .nav-links > a.nav-contact-cta[aria-current] {
  background: var(--civic-accent-dark);
  color: #fff;
  box-shadow: none;
}

.nav-solutions-menu,
.option1-shell .nav-solutions-menu {
  border: 1px solid var(--civic-line);
  border-radius: var(--civic-radius);
  padding: 22px;
  background: var(--civic-surface);
  color: var(--civic-text);
  box-shadow: var(--civic-shadow);
}

.nav-solutions-menu::before {
  background: var(--civic-line);
}

.nav-menu-group {
  margin: 0 0 6px;
  color: var(--civic-teal);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav-solutions-menu a {
  display: flex;
  min-height: 44px;
  align-items: center;
  border-radius: var(--civic-radius-small);
  padding: 8px 10px;
  color: var(--civic-ink);
  font-size: 0.86rem;
  line-height: 1.3;
  text-decoration: none;
}

.nav-solutions-menu a:hover,
.nav-solutions-menu a:focus-visible,
.nav-solutions-menu a[aria-current] {
  background: var(--civic-teal-soft);
  color: #075e58;
}

.nav-solutions-menu a[aria-current] {
  box-shadow: inset 3px 0 0 var(--civic-teal);
  font-weight: 850;
}

.nav-solutions-menu > a:first-of-type,
.nav-solutions-menu > a:last-of-type {
  border: 1px solid var(--civic-line);
  background: var(--civic-surface);
  font-weight: 820;
}

/* Shared editorial typography and actions */
.eyebrow,
.section-kicker,
.panel-kicker,
.capability-label,
.evidence-kicker,
.artifact-preview-label {
  color: var(--civic-teal);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.breadcrumb,
.option1-shell .breadcrumb,
.evidence-shell .breadcrumb {
  color: var(--civic-muted);
  font-size: 0.8rem;
}

.breadcrumb a {
  color: var(--civic-ink);
  font-weight: 750;
}

.button,
.option1-shell .button,
.evidence-shell .button {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--civic-radius-small);
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  white-space: normal;
  cursor: pointer;
  box-shadow: none;
}

.button-primary,
.option1-shell .button-primary,
.evidence-shell .button-primary {
  border-color: var(--civic-accent);
  background: var(--civic-accent);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible,
.option1-shell .button-primary:hover,
.option1-shell .button-primary:focus-visible {
  border-color: var(--civic-accent-dark);
  background: var(--civic-accent-dark);
  color: #fff;
}

.button-secondary,
.button-outline,
.option1-shell .button-secondary,
.option1-shell .button-outline,
.evidence-shell .button-secondary {
  border: 1px solid var(--civic-blue);
  background: transparent;
  color: var(--civic-blue);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-outline:hover,
.button-outline:focus-visible,
.option1-shell .button-secondary:hover,
.option1-shell .button-secondary:focus-visible {
  border-color: var(--civic-blue-dark);
  background: #eaf2fc;
  color: var(--civic-blue-dark);
}

.hero-actions,
.card-actions,
.cta-actions,
.solutions-next-actions {
  gap: var(--civic-space-2);
}

/* Shared hero system */
.page-hero,
.solutions-hero,
.solutions-detail-hero,
.evidence-hero,
.brief-hero,
.aligned-route-shell .page-hero[data-visual-system="solutions"] {
  position: relative;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--civic-hero-background);
  color: #fff;
  box-shadow: none;
  overflow: hidden;
}

.page-hero::before,
.page-hero::after,
.solutions-hero::before,
.solutions-hero::after,
.solutions-detail-hero::before,
.solutions-detail-hero::after,
.evidence-hero::before,
.evidence-hero::after,
.brief-hero::before {
  display: none;
}

.page-hero-inner,
.legal-hero .page-hero-inner,
.thank-you-hero .page-hero-inner,
.growth-request-hero .page-hero-inner,
.request-conversion-shell .growth-request-hero .page-hero-inner {
  min-height: 0;
  max-width: 980px;
  padding-top: var(--civic-space-7);
  padding-bottom: var(--civic-space-7);
}

.solutions-hero-grid,
.solutions-detail-hero-grid,
.evidence-hero-grid,
.aligned-route-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: var(--civic-space-6);
  align-items: center;
  min-height: 0;
  padding-top: var(--civic-space-7);
  padding-bottom: var(--civic-space-7);
}

.page-hero h1,
.solutions-hero h1,
.solutions-detail-hero h1,
.evidence-hero h1,
.aligned-route-shell .page-hero[data-visual-system="solutions"] h1 {
  max-width: 880px;
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 760;
  line-height: 1.01;
  letter-spacing: -0.055em;
}

.page-hero p,
.solutions-hero-copy > p:not(.eyebrow),
.solutions-detail-hero-grid > div > p:not(.eyebrow),
.evidence-hero-copy > p:not(.eyebrow),
.aligned-route-shell .page-hero[data-visual-system="solutions"] .solutions-hero-copy > p:not(.eyebrow) {
  max-width: 760px;
  color: var(--civic-hero-text);
  font-size: 1.08rem;
  line-height: 1.65;
}

.solutions-principle-card,
.solutions-scope-card,
.evidence-hero-panel,
.aligned-route-context-card {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-left: 4px solid var(--civic-teal-bright);
  border-radius: var(--civic-radius);
  padding: var(--civic-space-5);
  background: var(--civic-hero-panel);
  color: var(--civic-hero-text);
  box-shadow: none;
}

.solutions-principle-card h2,
.solutions-scope-card h2,
.evidence-hero-panel h2,
.aligned-route-context-card h2 {
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
}

.solutions-definition-list > div,
.solutions-scope-card li,
.aligned-route-context-card dl > div {
  border-color: rgba(255, 255, 255, 0.22);
}

.page-hero .eyebrow,
.solutions-hero .eyebrow,
.solutions-detail-hero .eyebrow,
.evidence-hero .eyebrow,
.brief-hero .eyebrow,
.page-hero .panel-kicker,
.solutions-hero .panel-kicker,
.solutions-detail-hero .panel-kicker,
.evidence-hero .panel-kicker,
.brief-hero .panel-kicker {
  color: var(--civic-teal-bright);
}

.page-hero .breadcrumb,
.solutions-hero .breadcrumb,
.solutions-detail-hero .breadcrumb,
.evidence-hero .breadcrumb,
.brief-hero .breadcrumb {
  color: #c5d0d6;
}

.page-hero .breadcrumb a,
.solutions-hero .breadcrumb a,
.solutions-detail-hero .breadcrumb a,
.evidence-hero .breadcrumb a,
.brief-hero .breadcrumb a {
  color: #fff;
}

.breadcrumb {
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
}

.breadcrumb .breadcrumb-context {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  padding-right: 9px;
  color: var(--civic-gold-bright);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.breadcrumb span.breadcrumb-context::before {
  content: none;
}

.breadcrumb a + a::before {
  margin-right: 7px;
  color: rgba(255, 255, 255, 0.55);
  content: "/";
}

.page-hero .button-secondary,
.page-hero .button-outline,
.solutions-hero .button-secondary,
.solutions-detail-hero .button-secondary,
.evidence-hero .button-secondary,
.brief-hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
}

.page-hero .button-secondary:hover,
.page-hero .button-secondary:focus-visible,
.page-hero .button-outline:hover,
.page-hero .button-outline:focus-visible,
.solutions-hero .button-secondary:hover,
.solutions-hero .button-secondary:focus-visible,
.solutions-detail-hero .button-secondary:hover,
.solutions-detail-hero .button-secondary:focus-visible,
.evidence-hero .button-secondary:hover,
.evidence-hero .button-secondary:focus-visible,
.brief-hero .button-secondary:hover,
.brief-hero .button-secondary:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Shared sections, panels, and operational cards */
.section,
.option1-shell .section,
.evidence-section {
  padding-block: var(--civic-section-space);
  background: var(--civic-paper);
}

.section-compact,
[data-section-density="compact"] {
  padding-block: var(--civic-section-space-compact);
}

.section-muted,
.evidence-section-muted,
.option1-shell .section-muted {
  background: var(--civic-cloud);
}

.section + .section,
.evidence-section + .evidence-section {
  border-top: 1px solid var(--civic-line);
}

.section-heading,
.brief-section-heading,
.solutions-section-heading {
  max-width: 980px;
  margin-bottom: var(--civic-space-5);
}

.section-heading h2,
.brief-section-heading h2,
.solutions-section-heading h2,
.evidence-section h2,
.cta-panel h2 {
  margin: 0;
  color: var(--civic-ink);
  font-size: clamp(2.15rem, 3.4vw, 3.35rem);
  font-weight: 730;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.lead-text,
.form-heading p,
.prose p {
  color: var(--civic-muted);
}

.lead-text {
  margin: 0;
  font-size: 1.08rem;
}

.form-heading h2,
.prose h2 {
  margin: 0;
  color: var(--civic-ink);
}

.aligned-route-trust .cta-panel > .cta-actions .button-outline,
.aligned-route-trust .cta-panel > .cta-actions .button-outline:visited {
  border-color: var(--civic-muted);
  background: var(--civic-surface);
  color: var(--civic-ink);
}

.aligned-route-trust .cta-panel > .cta-actions .button-outline:hover,
.aligned-route-trust .cta-panel > .cta-actions .button-outline:focus-visible,
.aligned-route-trust .cta-panel > .cta-actions .button-outline:active {
  border-color: var(--civic-teal);
  background: var(--civic-teal-soft);
  color: #075c57;
}

.section-heading p,
.brief-section-heading > p,
.solutions-section-heading > p {
  max-width: 760px;
  color: var(--civic-muted);
}

.card,
.service-card,
.offer-card,
.resource-card,
.solutions-domain-card,
.evidence-domain-card,
.solutions-decision-grid article,
.solutions-artifact-card,
.profile-summary-card,
.federal-context-grid article,
.federal-boundary-card,
.trust-offer-card,
.confidence-card,
.artifact-preview,
.capability-method-shell,
.solutions-boundary-panel,
.cta-panel,
.growth-assurance-block,
.request-aside,
.prose-card {
  border: 1px solid var(--civic-line);
  border-radius: var(--civic-radius);
  background: var(--civic-surface);
  color: var(--civic-text);
  box-shadow: none;
}

.solutions-domain-card:hover,
.resource-card:hover,
.service-card:hover,
.offer-card:hover {
  border-color: var(--civic-blue);
  box-shadow: var(--civic-shadow);
  transform: translateY(-2px);
}

.text-link,
.option1-learn-link,
.solutions-domain-card a,
.evidence-domain-card a,
.resource-card a,
.service-card a,
.offer-card a {
  color: var(--civic-blue);
  font-weight: 800;
}

.cta-section,
.option1-final-cta,
.services-final-cta,
.solutions-boundary {
  background: var(--civic-paper);
}

.cta-panel,
.solutions-boundary-panel {
  border-left: 5px solid var(--civic-blue);
  padding: var(--civic-space-5);
}

/* Home */
.brief-hero {
  border-bottom-color: rgba(255, 255, 255, 0.18);
  background-color: var(--civic-navy-950);
  background-image: var(--civic-hero-background);
  color: #fff;
}

.brief-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(470px, 0.85fr);
  gap: var(--civic-space-6);
  align-items: start;
  min-height: 0;
  padding-top: var(--civic-space-8);
  padding-bottom: var(--civic-space-8);
}

.brief-hero-copy {
  padding-top: var(--civic-space-4);
}

.brief-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 5.8vw, 5.35rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.brief-hero .hero-copy {
  max-width: 690px;
  margin-top: var(--civic-space-4);
  color: var(--civic-hero-text);
  font-size: 1.08rem;
  line-height: 1.7;
}

.brief-hero .hero-actions {
  margin-top: var(--civic-space-5);
}

.audience-pathfinder,
.decision-pathfinder,
[data-decision-pathfinder] {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-left: 4px solid var(--civic-teal-bright);
  border-radius: var(--civic-radius);
  padding: var(--civic-space-5);
  background: var(--civic-hero-panel);
  color: var(--civic-hero-text);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.audience-pathfinder h2,
.decision-pathfinder h2,
[data-decision-pathfinder] h2 {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.05;
}

.audience-tabs,
.decision-tabs,
[data-decision-tabs] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--civic-space-2);
  margin-top: var(--civic-space-4);
}

.audience-tabs button,
.decision-tabs button,
[data-decision-tabs] button {
  min-height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--civic-radius-small);
  padding: var(--civic-space-3);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-align: left;
}

.audience-tabs button[aria-selected="true"],
.decision-tabs button[aria-selected="true"],
[data-decision-tabs] button[aria-selected="true"] {
  border-color: var(--civic-teal-bright);
  background: var(--civic-teal-bright);
  color: var(--civic-navy-950);
  box-shadow: inset 0 -4px 0 var(--civic-gold-bright);
}

.audience-panel,
.decision-panel,
[data-decision-panel] {
  margin-top: var(--civic-space-3);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-left: 4px solid var(--civic-teal-bright);
  border-radius: var(--civic-radius-small);
  padding: var(--civic-space-4);
  background: rgba(2, 17, 31, 0.62);
  color: var(--civic-hero-text);
}

.audience-destinations,
.decision-destinations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--civic-space-2);
}

.audience-destinations a,
.decision-destinations a {
  min-height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--civic-radius-small);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.audience-panel-actions,
.decision-panel-actions {
  border-color: rgba(255, 255, 255, 0.22);
}

.audience-panel-actions a,
.audience-panel-actions span,
.decision-panel-actions a,
.decision-panel-actions span {
  color: var(--civic-teal-bright);
}

.audience-status,
.decision-status {
  color: #c5d0d6;
  font-size: 0.78rem;
}

.evidence-home > .section,
.home-rec-shell .section {
  padding-top: var(--civic-space-7);
  padding-bottom: var(--civic-space-7);
}

.delivery-spine,
.connected-systems-grid,
.role-system-grid,
.proof-class-grid {
  gap: var(--civic-space-3);
}

.delivery-spine > li,
.connected-systems-grid article,
.role-system-grid article,
.proof-class-grid article {
  border: 1px solid var(--civic-line);
  border-radius: var(--civic-radius);
  background: var(--civic-surface);
  box-shadow: none;
}

.delivery-spine > li,
.connected-systems-grid article {
  padding: var(--civic-space-4);
}

.spine-stage-heading span,
.connected-systems-grid article > span {
  color: var(--civic-teal);
}

/* Solutions and services */
.solutions-card-grid,
.evidence-domain-grid,
.services-option1-grid,
.services-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: var(--civic-space-3);
  align-items: start;
}

.solutions-domain-card,
.evidence-domain-card {
  padding: var(--civic-space-4);
}

.solutions-domain-card::before,
.evidence-domain-card::before {
  background: var(--civic-teal);
}

.solutions-decision-grid {
  gap: var(--civic-space-3);
}

.solutions-decision-grid article {
  min-height: 0;
  padding: var(--civic-space-4);
}

.solutions-decision-grid article > span,
.capability-stage-rail strong {
  color: var(--civic-teal);
}

.capability-method-shell {
  padding: var(--civic-space-5);
}

.capability-lens > div,
.capability-stage-rail li {
  border-color: var(--civic-line);
  background: var(--civic-paper);
}

.service-detail-reconciled .page-hero,
.service-detail-reconciled .offer-hero {
  background: var(--civic-hero-background);
  color: #fff;
}

.services-option1-body,
.service-detail-reconciled .section {
  background: var(--civic-paper);
}

.reconciliation-details,
.service-detail-reconciled details {
  border: 1px solid var(--civic-line);
  border-radius: var(--civic-radius);
  background: var(--civic-surface);
}

/* Resources */
.resource-selector-hero {
  padding-bottom: 0;
}

.resource-selector-hero .aligned-route-hero-grid,
.aligned-route-resources .resource-selector-hero .solutions-hero-grid {
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: var(--civic-space-5);
}

.resource-selector-panel,
.resource-filter-panel,
.resource-path-selector,
[data-resource-pathfinder] {
  border: 1px solid var(--civic-line);
  border-radius: var(--civic-radius);
  background: var(--civic-surface);
  box-shadow: none;
}

.resource-filter-grid,
.resource-path-grid,
.resource-path-options {
  gap: 0;
  border: 1px solid var(--civic-line);
  border-radius: var(--civic-radius);
  overflow: hidden;
}

[data-resource-filter],
[data-resource-path] {
  min-height: 92px;
  border: 0;
  border-right: 1px solid var(--civic-line);
  border-radius: 0;
  background: var(--civic-surface);
  color: var(--civic-ink);
}

[data-resource-filter][aria-pressed="true"],
[data-resource-path][aria-pressed="true"] {
  border: 2px solid var(--civic-teal);
  box-shadow: inset 4px 0 0 var(--civic-teal);
  background: #edf8f7;
  color: var(--civic-teal);
}

.resources-library-section {
  background: var(--civic-paper);
}

.resource-grid,
.resources-grid {
  gap: var(--civic-space-3);
}

.resource-card {
  padding: var(--civic-space-4);
}

body:not(.aligned-route-resources) .page-hero + .section {
  background: var(--civic-cloud);
}

.guided-intake-section,
.guided-intake-recommendation {
  background: var(--civic-paper);
  color: var(--civic-text);
}

.worksheet-hero {
  background: var(--civic-hero-background);
  color: #fff;
}

/* Trust */
.aligned-route-trust .trust-hero,
.aligned-route-trust .offer-hero {
  background: var(--civic-hero-background);
  color: #fff;
}

.confidence-summary-section,
.trust-evidence-ledger,
.confidence-boundaries-section {
  background: var(--civic-paper);
}

.confidence-summary-grid,
.trust-offer-grid,
.trust-proof-grid {
  gap: var(--civic-space-3);
}

.confidence-card,
.trust-offer-card {
  padding: var(--civic-space-4);
}

.trust-boundary-disclosure,
.trust-illustrative-details {
  border: 1px solid var(--civic-line);
  border-radius: var(--civic-radius);
  background: var(--civic-surface);
}

/* Federal */
.aligned-route-federal .federal-buyer-hero,
.aligned-route-federal .page-hero[data-visual-system="solutions"] {
  background: var(--civic-hero-background);
  color: #fff;
}

.federal-identity-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--civic-line);
  border-radius: var(--civic-radius) var(--civic-radius) 0 0;
  background: var(--civic-surface);
  color: var(--civic-text);
  overflow: hidden;
}

.federal-identity-strip > div {
  border-color: var(--civic-line);
}

.federal-identity-strip dt,
.federal-identity-strip dd,
.federal-identity-strip small {
  color: var(--civic-text);
}

.procurement-readiness-section,
.federal-proof-section,
.federal-context-paths,
.federal-boundary-section {
  background: var(--civic-paper);
}

.profile-summary-card,
.federal-context-grid article,
.federal-boundary-card {
  padding: var(--civic-space-4);
}

.status-pill-grid span {
  border: 1px solid var(--civic-line);
  background: var(--civic-paper);
  color: var(--civic-ink);
}

.classification-toggle,
.classification-panel {
  border-color: var(--civic-line);
  background: var(--civic-surface);
  color: var(--civic-ink);
}

/* Request */
.request-conversion-shell .growth-request-hero {
  background: var(--civic-hero-background);
  color: #fff;
}

.request-conversion-shell .growth-request-hero .page-hero-inner {
  max-width: 1040px;
}

.request-conversion-shell .growth-request-hero h1 {
  max-width: 920px;
}

.request-conversion-shell .growth-request-hero.has-request-context .page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.55fr);
  column-gap: var(--civic-space-6);
  align-items: center;
  max-width: var(--container);
}

.request-conversion-shell .growth-request-hero.has-request-context h1 {
  font-size: clamp(3rem, 4.4vw, 4rem);
}

.request-conversion-shell .growth-request-hero.has-request-context .request-hero-copy > p:not(.eyebrow) {
  max-width: 760px;
  color: var(--civic-hero-text);
  font-size: 1.08rem;
  line-height: 1.65;
}

.request-conversion-shell .growth-request-hero.has-request-context .request-context-summary {
  margin: 0;
}

.request-section,
.growth-request-section {
  background: var(--civic-paper);
}

.growth-request-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  gap: var(--civic-space-5);
  align-items: start;
}

.request-form,
.request-conversion-shell .request-form,
.request-aside,
.growth-request-assurance {
  border: 1px solid var(--civic-line);
  border-radius: var(--civic-radius);
  background: var(--civic-surface);
  color: var(--civic-text);
  box-shadow: none;
}

.request-form,
.request-conversion-shell .request-form {
  padding: var(--civic-space-5);
}

.studio-form-progress {
  border: 0;
  border-bottom: 1px solid var(--civic-line);
  border-radius: 0;
  padding: 0 0 var(--civic-space-4);
  background: transparent;
  color: var(--civic-ink);
}

.studio-form-progress progress {
  accent-color: var(--civic-blue);
}

.request-context-summary {
  margin: var(--civic-space-4) 0;
  border: 1px solid #a9cde9;
  border-left: 4px solid var(--civic-blue);
  border-radius: var(--civic-radius);
  padding: var(--civic-space-4);
  background: #f2f8fe;
}

.request-context-summary-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--civic-space-3);
  margin-bottom: var(--civic-space-3);
}

.request-context-summary h2,
.request-context-summary h3 {
  margin: 0;
  color: var(--civic-ink);
  font-size: 1.2rem;
}

.request-context-summary p {
  margin: 0;
  color: var(--civic-muted);
  font-size: 0.84rem;
}

.request-context-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid #c6dcec;
}

.request-context-list > div {
  padding: var(--civic-space-3) var(--civic-space-3) var(--civic-space-3) 0;
  border-bottom: 1px solid #c6dcec;
}

.request-context-list dt {
  color: var(--civic-blue-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.request-context-list dd {
  margin: 3px 0 0;
  color: var(--civic-ink);
  font-weight: 720;
}

.studio-form-stage {
  margin-top: var(--civic-space-4);
  border-color: var(--civic-line);
  border-radius: var(--civic-radius);
  background: var(--civic-paper);
}

.studio-form-stage legend,
.studio-form-stage legend span {
  color: var(--civic-ink);
}

.form-row input,
.form-row select,
.form-row textarea,
.request-form input,
.request-form select,
.request-form textarea {
  min-height: 46px;
  border: 1px solid var(--civic-line-strong);
  border-radius: var(--civic-radius-small);
  background: var(--civic-surface);
  color: var(--civic-ink);
  box-shadow: none;
}

.form-row textarea,
.request-form textarea {
  min-height: 150px;
}

.growth-request-assurance {
  padding: var(--civic-space-5);
}

.growth-assurance-steps li,
.growth-assurance-block {
  border-color: var(--civic-line);
}

/* Utility routes and footer */
.legal-section,
.not-found-hero {
  background: var(--civic-paper);
}

.thank-you-hero {
  background: var(--civic-hero-background);
  color: #fff;
}

/* Confirmation is a next-step summary, not a live progress tracker. */
.confirmation-page .thank-you-hero .page-hero-inner {
  padding-block: clamp(32px, 4vw, 56px);
}

.confirmation-page .thank-you-hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.confirmation-page .thank-you-hero .confirmation-intro {
  margin-top: 16px;
  font-size: 1.125rem;
}

.confirmation-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.confirmation-steps li {
  min-width: 0;
  border-top: 2px solid #64d8cb;
  padding-top: 16px;
}

.confirmation-step-number {
  color: #64d8cb;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.confirmation-page .thank-you-hero .confirmation-steps h2 {
  margin: 8px 0;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.3;
}

.confirmation-page .thank-you-hero .confirmation-steps p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.confirmation-page .thank-you-hero .confirmation-reassurance {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1rem;
}

.confirmation-page .thank-you-hero .confirmation-privacy {
  max-width: 70ch;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.confirmation-page .thank-you-hero .hero-actions {
  margin-top: 24px;
}

.site-footer .footer-ownership {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 8px;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
}

.footer-country-flag {
  display: block;
  flex: 0 0 auto;
  width: 38px;
  height: 20px;
  object-fit: contain;
  outline: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 640px) {
  .confirmation-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .confirmation-page .thank-you-hero .hero-actions .button {
    width: 100%;
  }
}

.site-footer,
.option1-shell .site-footer,
.evidence-shell .site-footer {
  border-top: 5px solid var(--civic-blue);
  background: var(--civic-ink);
  color: #e7edf4;
}

.site-footer a,
.site-footer p,
.site-footer .footer-brand,
.site-footer .footer-small {
  color: #e7edf4;
}

.footer-grid {
  padding-top: var(--civic-space-6);
  padding-bottom: var(--civic-space-5);
}

.footer-bottom {
  border-color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 1080px) {
  :root {
    --civic-page-gutter: 24px;
  }

  .brief-hero-grid,
  .solutions-hero-grid,
  .solutions-detail-hero-grid,
  .evidence-hero-grid,
  .aligned-route-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--civic-space-5);
  }

  .brief-hero-copy {
    padding-top: 0;
  }

  .brief-hero h1,
  .page-hero h1,
  .solutions-hero h1,
  .solutions-detail-hero h1,
  .evidence-hero h1 {
    max-width: 860px;
  }

  .audience-pathfinder,
  .solutions-principle-card,
  .solutions-scope-card,
  .evidence-hero-panel,
  .aligned-route-context-card {
    max-width: none;
  }

  .growth-request-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .growth-request-assurance {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--civic-space-4);
  }

  .growth-request-assurance > div:first-child,
  .growth-assurance-steps {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  :root {
    --civic-page-gutter: 20px;
    --civic-sticky-offset: 88px;
  }

  .site-header,
  .option1-shell .site-header {
    min-height: 68px;
  }

  .header-inner,
  .option1-shell .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    min-width: 52px;
    min-height: 44px;
    border: 1px solid var(--civic-line-strong);
    border-radius: var(--civic-radius-small);
    background: var(--civic-surface);
    color: var(--civic-ink);
    padding: 8px 15px;
    font-size: 0.86rem;
    font-weight: 780;
    cursor: pointer;
  }

  .nav-backdrop {
    background: rgba(6, 23, 37, 0.62);
  }

  html[data-studio-status="ready"] .nav-links,
  html[data-studio-status="ready"] .option1-shell .nav-links {
    border: 1px solid var(--civic-line);
    border-radius: 0 0 var(--civic-radius) var(--civic-radius);
    background: var(--civic-surface);
    box-shadow: var(--civic-shadow);
  }

  .nav-drawer-head {
    min-height: 78px;
    border-bottom: 1px solid var(--civic-line);
    background: var(--civic-surface);
  }

  .nav-drawer-head strong {
    color: var(--civic-ink);
    font-size: 0.9rem;
  }

  .nav-drawer-close {
    min-height: 44px;
    border: 1px solid var(--civic-line-strong);
    border-radius: var(--civic-radius-small);
    padding: 8px 14px;
    background: var(--civic-surface);
    color: var(--civic-ink);
    font-size: 0.82rem;
    font-weight: 780;
    cursor: pointer;
  }

  html[data-studio-status="ready"] .nav-links > a,
  html[data-studio-status="ready"] .nav-links > details > summary,
  html[data-studio-status="ready"] .option1-shell .nav-links > a,
  html[data-studio-status="ready"] .option1-shell .nav-links > details > summary {
    min-height: 48px;
    border-bottom: 1px solid var(--civic-line);
    padding: 13px 20px;
    color: var(--civic-ink);
  }

  html[data-studio-status="ready"] .nav-links > a.nav-contact-cta,
  html[data-studio-status="ready"] .option1-shell .nav-links > a.nav-contact-cta {
    margin: var(--civic-space-2) 0 var(--civic-space-3);
    border: 0;
    border-radius: var(--civic-radius-small);
    color: #fff;
  }

  .brief-hero-grid,
  .solutions-hero-grid,
  .solutions-detail-hero-grid,
  .evidence-hero-grid,
  .aligned-route-hero-grid,
  .page-hero-inner,
  .growth-request-hero .page-hero-inner,
  .request-conversion-shell .growth-request-hero .page-hero-inner {
    padding-top: var(--civic-space-6);
    padding-bottom: var(--civic-space-6);
  }

  .request-conversion-shell .growth-request-hero.has-request-context .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .request-conversion-shell .growth-request-hero.has-request-context .request-context-summary {
    margin-top: var(--civic-space-4);
  }

  .section,
  .option1-shell .section,
  .evidence-section,
  .evidence-home > .section {
    padding-top: var(--civic-space-7);
    padding-bottom: var(--civic-space-7);
  }

  .brief-hero h1 {
    font-size: clamp(3.25rem, 9vw, 4.5rem);
  }

  .page-hero h1,
  .solutions-hero h1,
  .solutions-detail-hero h1,
  .evidence-hero h1 {
    font-size: clamp(2.75rem, 7vw, 3.75rem);
  }

  .federal-identity-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --civic-page-gutter: 16px;
    --civic-sticky-offset: 84px;
  }

  .brand-logo {
    width: 28px;
    height: 28px;
  }

  .brand-wordmark {
    max-width: 190px;
    font-size: 0.82rem;
    white-space: normal;
  }

  .brief-hero-grid,
  .solutions-hero-grid,
  .solutions-detail-hero-grid,
  .evidence-hero-grid,
  .aligned-route-hero-grid,
  .page-hero-inner,
  .growth-request-hero .page-hero-inner,
  .request-conversion-shell .growth-request-hero .page-hero-inner {
    padding-top: var(--civic-space-5);
    padding-bottom: var(--civic-space-5);
  }

  .brief-hero h1 {
    font-size: clamp(2.7rem, 13vw, 3.5rem);
    line-height: 0.99;
  }

  .page-hero h1,
  .solutions-hero h1,
  .solutions-detail-hero h1,
  .evidence-hero h1,
  .aligned-route-shell .page-hero[data-visual-system="solutions"] h1 {
    font-size: clamp(2.45rem, 11vw, 3.2rem);
    line-height: 1.02;
  }

  .section-heading h2,
  .brief-section-heading h2,
  .solutions-section-heading h2,
  .evidence-section h2,
  .cta-panel h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .section,
  .option1-shell .section,
  .evidence-section,
  .evidence-home > .section {
    padding-top: var(--civic-space-6);
    padding-bottom: var(--civic-space-6);
  }

  .hero-actions,
  .cta-actions,
  .solutions-next-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .button,
  .cta-actions .button,
  .solutions-next-actions .button {
    width: 100%;
    justify-content: center;
  }

  .audience-pathfinder,
  .solutions-principle-card,
  .solutions-scope-card,
  .evidence-hero-panel,
  .aligned-route-context-card,
  .request-form,
  .request-conversion-shell .request-form,
  .growth-request-assurance {
    padding: var(--civic-space-4);
  }

  .audience-tabs,
  .audience-destinations,
  .request-context-list,
  .growth-request-assurance,
  .federal-identity-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .audience-tabs button {
    min-height: 58px;
  }

  .audience-destinations a {
    min-height: 52px;
  }

  [data-resource-filter],
  [data-resource-path] {
    min-height: 62px;
    border-right: 0;
    border-bottom: 1px solid var(--civic-line);
  }

  .request-context-summary-header {
    display: block;
  }

  .request-context-summary-header p {
    margin-top: var(--civic-space-1);
  }

  .request-context-list > div {
    padding-right: 0;
  }

  .capability-method-shell,
  .cta-panel,
  .solutions-boundary-panel {
    padding: var(--civic-space-4);
  }
}

.home-decision-experience {
  display: contents;
}

.home-decision-experience .home-decision-results h2 {
  color: var(--civic-ink);
}


/* Whole-site journey consolidation: shared hierarchy and composition owners. */
.brief-hero-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: var(--civic-space-5);
  padding-top: var(--civic-space-7);
  padding-bottom: var(--civic-space-7);
}

.brief-hero-copy {
  max-width: 900px;
  padding-top: 0;
}

.brief-hero h1,
.page-hero h1,
.solutions-hero h1,
.solutions-detail-hero h1,
.evidence-hero h1,
.aligned-route-shell .page-hero[data-visual-system="solutions"] h1 {
  max-width: 18ch;
  font-size: clamp(2.75rem, 4.3vw, 4.25rem);
  line-height: 1.04;
}

.audience-pathfinder {
  max-width: 1120px;
  box-shadow: none;
}

.home-principal-control-section {
  padding-block: var(--civic-space-4);
}

.capability-classification-section .confident-system-stages {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.proof-class-grid,
.trust-operating-evidence-grid,
.evidence-gate-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brief-section-action {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--civic-space-4);
}

.component-motion-controls {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: var(--civic-space-2);
  margin: calc(var(--civic-space-3) * -1) 0 var(--civic-space-3);
  border: 1px solid var(--civic-line);
  border-radius: var(--civic-radius-small);
  padding: var(--civic-space-2);
  background: var(--civic-surface);
}

.component-motion-controls[hidden] {
  display: none;
}

.component-motion-controls p:empty {
  display: none;
}

.cta-panel,
.final-session-panel {
  align-items: center;
  gap: var(--civic-space-5);
}

.growth-request-grid {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.32fr);
  align-items: start;
}

.growth-request-assurance {
  align-self: start;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.55fr) minmax(140px, 0.45fr);
  gap: var(--civic-space-5);
}

.resource-selector-tools {
  display: flex;
  align-items: center;
  gap: var(--civic-space-3);
}

.resource-selector-tools [data-resource-jump] {
  margin-right: auto;
  font-weight: 850;
}

.solutions-hero .hero-actions .text-link,
.solutions-hero .hero-actions .text-link:visited {
  color: #fff;
}

.selector-share-status:not(:empty) {
  width: fit-content;
  margin-top: var(--civic-space-2);
  border-left: 3px solid var(--civic-teal);
  padding: 8px 12px;
  background: var(--civic-teal-soft);
  color: var(--civic-ink);
  font-weight: 750;
}

@media (max-width: 980px) {
  .capability-classification-section .confident-system-stages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .capability-classification-section .confident-system-stages > :nth-last-child(-n + 2) {
    grid-column: span 1;
  }

  .proof-class-grid,
  .trust-operating-evidence-grid,
  .evidence-gate-list,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .growth-request-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .brand,
  .brand-wordmark {
    min-width: 0;
    white-space: nowrap;
  }

  .brand-wordmark {
    max-width: none;
    font-size: 0.72rem;
    letter-spacing: -0.015em;
  }

  .header-inner {
    gap: 8px;
  }

  .brief-hero h1,
  .page-hero h1,
  .solutions-hero h1,
  .solutions-detail-hero h1,
  .evidence-hero h1,
  .aligned-route-shell .page-hero[data-visual-system="solutions"] h1 {
    max-width: 20ch;
    font-size: clamp(2.05rem, 10vw, 2.7rem);
    line-height: 1.06;
  }

  .capability-classification-section .confident-system-stages {
    grid-template-columns: minmax(0, 1fr);
  }

  .component-motion-controls,
  .resource-selector-tools {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .resource-selector-tools [data-resource-jump] {
    margin-right: 0;
  }
}

/* Federal hero contrast is owned here, after every legacy and Studio layer.
 * Direct child color wins prevent inherited light-hero rules from being
 * replaced by route-local dark text at any viewport width. */
.aligned-route-federal .federal-buyer-hero .breadcrumb,
.aligned-route-federal .federal-buyer-hero .breadcrumb > span,
html[data-studio-status="ready"] body.aligned-route-federal .federal-buyer-hero .breadcrumb,
html[data-studio-status="ready"] body.aligned-route-federal .federal-buyer-hero .breadcrumb > span {
  color: var(--civic-hero-text) !important;
}

.aligned-route-federal .federal-buyer-hero .breadcrumb a,
.aligned-route-federal .federal-buyer-hero .breadcrumb a:hover,
.aligned-route-federal .federal-buyer-hero .breadcrumb a:focus-visible,
html[data-studio-status="ready"] body.aligned-route-federal .federal-buyer-hero .breadcrumb a,
html[data-studio-status="ready"] body.aligned-route-federal .federal-buyer-hero .breadcrumb a:hover,
html[data-studio-status="ready"] body.aligned-route-federal .federal-buyer-hero .breadcrumb a:focus-visible {
  color: #fff !important;
}

.aligned-route-federal .federal-buyer-hero .eyebrow,
html[data-studio-status="ready"] body.aligned-route-federal .federal-buyer-hero .eyebrow {
  color: var(--civic-teal-bright) !important;
}

@media (max-width: 360px) {
  .brand-wordmark {
    max-width: 155px;
  }
}

@media (max-width: 420px) {
  :root {
    --civic-page-gutter: 14px;
  }

  .brief-hero h1 {
    max-width: 24ch;
    font-size: clamp(1.78rem, 8.6vw, 2.1rem);
    line-height: 1.06;
  }

  .brief-hero-grid {
    gap: var(--civic-space-4);
    padding-top: var(--civic-space-4);
    padding-bottom: var(--civic-space-5);
  }

  .brief-hero .hero-copy {
    margin-top: var(--civic-space-3);
    font-size: 1rem;
    line-height: 1.55;
  }

  .brief-hero .hero-actions {
    gap: var(--civic-space-1);
    margin-top: 20px;
  }

  .brief-hero .hero-actions .button {
    min-height: 44px;
    padding: 10px 14px;
  }

  .audience-pathfinder {
    padding: 14px;
  }

  .audience-pathfinder h2 {
    font-size: 1.55rem;
    line-height: 1.08;
  }

  .audience-pathfinder-heading > p,
  .audience-panel > p,
  .audience-status {
    margin-block: 8px;
    line-height: 1.45;
  }

  .audience-tabs {
    gap: 6px;
    margin-top: 12px;
  }

  .audience-tabs button {
    min-height: 50px;
    padding: 8px;
    font-size: 0.8rem;
  }

  .audience-panel {
    margin-top: 10px;
    padding: 12px;
  }

  .audience-destinations {
    gap: 6px;
  }

  .audience-destinations a {
    min-height: 44px;
    padding: 8px;
  }

  .page-hero h1,
  .solutions-hero h1,
  .solutions-detail-hero h1,
  .evidence-hero h1 {
    font-size: clamp(2.2rem, 11vw, 2.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .solutions-domain-card,
  .resource-card,
  .service-card,
  .offer-card {
    transition: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .nav-toggle {
    display: none !important;
  }

  body,
  main,
  .page-hero,
  .section,
  .evidence-section {
    background: #fff !important;
    color: #000 !important;
  }
}

/* Final contrast reconciliation for high-specificity legacy route shells. */
.solution-detail-shell .solutions-detail-hero-grid > div > p:not(.eyebrow),
.request-conversion-shell .growth-request-hero .page-hero-inner > p:not(.eyebrow),
.aligned-route-resources .resource-selector-hero .resource-path-summary {
  color: var(--civic-hero-text);
}

.solution-detail-shell .solutions-detail-hero .breadcrumb,
.solution-detail-shell .solutions-detail-hero .breadcrumb a,
.aligned-route-trust .trust-hero .breadcrumb,
.aligned-route-trust .trust-hero .breadcrumb a,
.request-conversion-shell .growth-request-hero .breadcrumb,
.request-conversion-shell .growth-request-hero .breadcrumb a {
  color: #c5d0d6;
}

.solution-detail-shell .solutions-detail-hero .breadcrumb a,
.aligned-route-trust .trust-hero .breadcrumb a,
.request-conversion-shell .growth-request-hero .breadcrumb a {
  color: #fff;
}

.solution-detail-shell .solutions-scope-card .section-kicker,
.aligned-route-trust .trust-hero .eyebrow,
.request-conversion-shell .growth-request-hero .eyebrow,
.aligned-route-resources .resource-selector-hero .eyebrow {
  color: var(--civic-teal-bright);
}

.solution-detail-shell .solutions-scope-card h2,
.solution-detail-shell .solutions-scope-card li,
.aligned-route-trust .aligned-route-context-card h2,
.aligned-route-trust .aligned-route-context-card p,
.aligned-route-trust .aligned-route-context-card dt,
.aligned-route-trust .aligned-route-context-card dd {
  color: #fff;
}

.solution-detail-shell .solutions-scope-card li,
.aligned-route-trust .aligned-route-context-card p,
.aligned-route-trust .aligned-route-context-card dd {
  color: var(--civic-hero-text);
}

.request-conversion-shell .growth-request-hero h1 {
  color: #fff;
}

.aligned-route-resources .resource-selector-tools .text-link,
.aligned-route-resources .resource-selector-tools button.text-link,
.aligned-route-resources .selector-share-status {
  color: var(--civic-blue);
}

.request-conversion-shell .studio-form-progress li,
.request-conversion-shell .studio-form-progress span,
.request-conversion-shell .studio-form-progress strong {
  color: var(--civic-text);
}

html[data-studio-status="ready"] body.solution-detail-shell .solutions-detail-hero .eyebrow,
html[data-studio-status="ready"] body.aligned-route-trust .trust-hero .eyebrow,
html[data-studio-status="ready"] body.aligned-route-resources .resource-selector-hero .eyebrow {
  color: var(--civic-teal-bright) !important;
}

html[data-studio-status="ready"] body.aligned-route-trust .trust-hero .breadcrumb,
html[data-studio-status="ready"] body.aligned-route-trust .trust-hero .breadcrumb a {
  color: #c5d0d6 !important;
}

html[data-studio-status="ready"] body.aligned-route-trust .trust-hero .breadcrumb a {
  color: #fff !important;
}

.aligned-route-resources [data-resource-filter] > span:last-child {
  color: var(--civic-muted);
}

body.aligned-route-trust .trust-hero .button-secondary {
  border-color: var(--civic-surface) !important;
  background: transparent !important;
  color: var(--civic-surface) !important;
}

body.aligned-route-trust .trust-hero .button-secondary:hover,
body.aligned-route-trust .trust-hero .button-secondary:focus-visible {
  border-color: var(--civic-surface) !important;
  background: var(--civic-surface) !important;
  color: var(--civic-navy-950) !important;
}

/*
 * Civic system ownership reconciliation.
 * This is intentionally the final shared layer: older stylesheets retain
 * structure and interaction rules only.  Visual tokens, hero rhythm,
 * elevation, bands, and decorative treatment are owned here for every route.
 */

/* One high-intent action colour: prototype-aligned magenta. Teal communicates
 * category and selected state; blue is reserved for links and information. */
.trust-hero .button-primary,
.aligned-route-trust .cta-section .button-primary {
  border-color: var(--civic-accent);
  background: var(--civic-accent);
}

.trust-hero .button-primary:hover,
.trust-hero .button-primary:focus-visible,
.aligned-route-trust .cta-section .button-primary:hover,
.aligned-route-trust .cta-section .button-primary:focus-visible {
  border-color: var(--civic-accent-dark);
  background: var(--civic-accent-dark);
}

/* The shared decision/card primitive. Elevation is opt-in for navigation only;
 * content cards use a quiet border so Resources, Trust, and Request agree. */
.card,
.service-card,
.offer-card,
.resource-card,
.solutions-domain-card,
.evidence-domain-card,
.solutions-decision-grid article,
.solutions-artifact-card,
.profile-summary-card,
.federal-context-grid article,
.federal-boundary-card,
.trust-offer-card,
.confidence-card,
.artifact-preview,
.capability-method-shell,
.solutions-boundary-panel,
.cta-panel,
.growth-assurance-block,
.request-aside,
.prose-card,
.audience-pathfinder,
.solutions-principle-card,
.solutions-scope-card,
.evidence-hero-panel,
.aligned-route-context-card,
.resource-selector-panel,
.resource-filter-panel,
.resource-path-selector,
[data-resource-pathfinder],
.request-form,
.request-conversion-shell .request-form,
.growth-request-assurance {
  border: 1px solid var(--civic-line);
  border-radius: var(--civic-radius);
  box-shadow: none;
}

.solutions-domain-card:hover,
.resource-card:hover,
.service-card:hover,
.offer-card:hover {
  border-color: var(--civic-line-strong);
  box-shadow: none;
  transform: none;
}

/* Legacy gradient strips and diagonal hero ornaments are explicitly neutralized.
 * A pale blue band remains the one repeatable section-level contrast treatment. */
.hero::before, .hero::after,
.page-hero::before, .page-hero::after,
.solutions-hero::before, .solutions-hero::after,
.solutions-detail-hero::before, .solutions-detail-hero::after,
.brief-hero::before, .brief-hero::after,
.services-option1-hero::before, .services-option1-hero::after,
.request-conversion-shell .growth-request-hero::before,
.request-conversion-shell .growth-request-hero::after,
.aligned-route-shell .page-hero[data-visual-system="solutions"]::after,
.resource-card::before,
.service-card::before,
.solutions-domain-card::before,
.evidence-domain-card::before,
.cta-panel::before {
  content: none;
  display: none;
}

.section-muted,
.evidence-section-muted,
.option1-shell .section-muted,
body:not(.aligned-route-resources) .page-hero + .section {
  background: var(--civic-cloud);
}

/* The home decision rail is intentionally compact enough to keep both actions
 * in the initial 900–1000px desktop viewport. */
@media (min-width: 1081px) {
  .brief-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .brief-hero h1 {
    max-width: 23ch;
    font-size: clamp(3.1rem, 4vw, 4rem);
  }

  .audience-pathfinder {
    padding: 24px;
  }

  .audience-tabs button {
    min-height: 72px;
    padding: 12px;
  }

  .audience-panel {
    padding: 16px;
  }
}

/* Reconcile high-specificity Studio route shells to the shared palette. */
.site-header,
.option1-shell .site-header,
.evidence-shell .site-header {
  background: #fff;
}

.nav-links,
.nav-links > details,
.nav-links > summary,
.nav-what-we-do,
.nav-what-we-do > summary {
  overflow: visible;
  white-space: normal !important;
}

.aligned-route-trust .priority-offers-section .section-kicker {
  color: var(--civic-teal) !important;
}

.page-hero .breadcrumb .breadcrumb-context,
.solutions-hero .breadcrumb .breadcrumb-context,
.solutions-detail-hero .breadcrumb .breadcrumb-context,
.evidence-hero .breadcrumb .breadcrumb-context,
.brief-hero .breadcrumb .breadcrumb-context,
.aligned-route-resources .resource-selector-hero .eyebrow {
  color: var(--civic-teal-bright) !important;
}

.aligned-route-trust .trust-method-ledger,
.aligned-route-trust .priority-offers-section,
.aligned-route-trust .priority-offers-section .section-heading,
.aligned-route-trust .trust-method-ledger .capability-stage-rail li {
  background: var(--civic-paper);
  color: var(--civic-text);
}

.aligned-route-trust .trust-method-ledger {
  border: 1px solid var(--civic-line);
  border-radius: var(--civic-radius);
  box-shadow: none;
}

.aligned-route-trust .trust-method-ledger h3,
.aligned-route-trust .trust-method-ledger p:not(.section-kicker),
.aligned-route-trust .trust-method-ledger .capability-stage-rail strong,
.aligned-route-trust .trust-method-ledger .capability-stage-rail span,
.aligned-route-trust .priority-offers-section .section-heading h2 {
  color: var(--civic-ink);
}

.aligned-route-trust .trust-method-ledger .capability-stage-rail span {
  color: var(--civic-text);
}

.artifact-preview-label,
.resource-provenance-badge,
.capability-label {
  color: #06605f !important;
}

.capability-artifact-note .capability-label {
  color: #fff !important;
}

.aligned-route-trust .trust-method-ledger .section-kicker {
  color: var(--civic-teal) !important;
}

.aligned-route-resources .resources-library-section {
  padding-top: 56px;
}

@media (max-width: 860px) {
  .aligned-route-resources .resource-selector-hero-inner {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .aligned-route-resources .resources-library-section {
    padding-top: 56px;
  }

  .aligned-route-resources .resource-path-selector {
    margin-top: 18px;
  }

  .aligned-route-resources .resource-path-option,
  [data-resource-filter],
  [data-resource-path] {
    min-height: 52px;
    padding: 10px 12px;
  }

  .aligned-route-resources .resource-path-option span:not(.resource-path-selected) {
    display: none;
  }
}

/* Purposeful motion: finite orientation, clear state, and stationary targets. */
@media screen {
.page-hero .eyebrow::after,
.solutions-hero .eyebrow::after,
.solutions-detail-hero .eyebrow::after,
.evidence-hero .eyebrow::after,
.brief-hero .eyebrow::after,
.request-conversion-shell .growth-request-hero .eyebrow::after {
  display: block;
  width: clamp(48px, 7vw, 88px);
  height: 2px;
  margin-top: var(--civic-space-2);
  background: var(--civic-gold-bright);
  content: "";
  opacity: 1;
  transform: scaleX(1);
  transform-origin: left center;
  animation: civic-hero-accent var(--civic-motion-editorial) var(--civic-ease-standard) 1 both;
}

@keyframes civic-hero-accent {
  from {
    opacity: var(--civic-motion-emphasis);
    transform: scaleX(0.35);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
}

.button,
.card-actions a,
.challenge-options button,
.filter-pill,
.path-flow a,
.audience-tabs button,
.audience-destinations a,
[data-resource-filter],
[data-resource-path],
.resource-path-option,
.classification-toggle,
.delivery-role-card > summary,
.reconciliation-details > summary,
.trust-boundary-disclosure > summary,
.trust-illustrative-details > summary {
  transition:
    background-color var(--civic-motion-state) var(--civic-ease-standard),
    border-color var(--civic-motion-state) var(--civic-ease-standard),
    color var(--civic-motion-micro) var(--civic-ease-standard),
    box-shadow var(--civic-motion-state) var(--civic-ease-standard),
    opacity var(--civic-motion-micro) var(--civic-ease-standard);
}

/* Foreground and surface colors change atomically so every tab state, including
 * the handoff between states, keeps its approved contrast pairing. */
.audience-tabs button {
  transition: none;
}

.button:hover,
.button:focus-visible,
.button:active,
.card-actions a:hover,
.card-actions a:focus-visible,
.card-actions a:active,
.challenge-options button:hover,
.challenge-options button:focus-visible,
.challenge-options button:active,
.filter-pill:hover,
.filter-pill:focus-visible,
.filter-pill:active,
.path-flow a:hover,
.path-flow a:focus-visible,
.resource-path-option:hover,
.resource-path-option:focus-visible {
  transform: none;
}

.button::after,
.card-actions a::after {
  transition:
    transform var(--civic-motion-micro) var(--civic-ease-standard),
    opacity var(--civic-motion-micro) var(--civic-ease-standard);
}

@media screen {
.text-link[href] {
  display: inline-flex;
  align-items: center;
}

.text-link[href]::after {
  display: inline-block;
  margin-inline-start: 0.35em;
  color: currentColor;
  content: "\2192";
  opacity: var(--civic-motion-emphasis);
  transform: translateX(0);
  transition:
    transform var(--civic-motion-micro) var(--civic-ease-standard),
    opacity var(--civic-motion-micro) var(--civic-ease-standard);
}

.text-link[href]:hover::after,
.text-link[href]:focus-visible::after {
  opacity: 1;
  transform: translateX(var(--civic-motion-travel));
}
}

.solutions-domain-card,
.resource-card,
.service-card,
.offer-card,
.guided-path-card,
.capability-path-card,
.service-detail-card,
.simple-card,
.connected-systems-grid article,
.role-system-grid article,
.proof-class-grid article {
  transition:
    background-color var(--civic-motion-state) var(--civic-ease-standard),
    border-color var(--civic-motion-state) var(--civic-ease-standard),
    box-shadow var(--civic-motion-state) var(--civic-ease-standard);
}

.solutions-domain-card:hover,
.solutions-domain-card:focus-within,
.resource-card:hover,
.resource-card:focus-within,
.service-card:hover,
.service-card:focus-within,
.offer-card:hover,
.offer-card:focus-within,
.guided-path-card:hover,
.guided-path-card:focus-within,
.capability-path-card:hover,
.capability-path-card:focus-within,
.service-detail-card:hover,
.service-detail-card:focus-within,
.simple-card:hover,
.simple-card:focus-within,
.connected-systems-grid article:hover,
.connected-systems-grid article:focus-within,
.role-system-grid article:hover,
.role-system-grid article:focus-within,
.proof-class-grid article:hover,
.proof-class-grid article:focus-within {
  border-color: var(--civic-line-strong);
  box-shadow: 0 8px 18px rgba(16, 37, 55, 0.08);
  transform: none;
}

/* Resource cards are static evidence containers; their links own interaction. */
.resource-card:hover {
  border-color: var(--civic-line);
  box-shadow: none;
  transform: none;
}

.audience-tabs button {
  position: relative;
  overflow: hidden;
}

.audience-tabs button::after {
  position: absolute;
  right: var(--civic-space-3);
  bottom: 0;
  left: var(--civic-space-3);
  height: 3px;
  background: var(--civic-gold-bright);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left center;
  transition:
    transform var(--civic-motion-state) var(--civic-ease-standard),
    opacity var(--civic-motion-micro) var(--civic-ease-standard);
}

.audience-tabs button[aria-selected="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.request-conversion-shell .studio-form-progress li {
  opacity: var(--civic-motion-emphasis);
  transition:
    color var(--civic-motion-micro) var(--civic-ease-standard),
    opacity var(--civic-motion-state) var(--civic-ease-standard);
}

.request-conversion-shell .studio-form-progress li[aria-current="step"] {
  opacity: 1;
}

.classification-toggle::after,
.delivery-role-card > summary::after {
  transition:
    transform var(--civic-motion-micro) var(--civic-ease-standard),
    color var(--civic-motion-micro) var(--civic-ease-standard),
    background-color var(--civic-motion-state) var(--civic-ease-standard);
}

.reconciliation-details > summary::after,
.trust-boundary-disclosure > summary::after,
.trust-illustrative-details > summary::after {
  transform: none;
  transition:
    color var(--civic-motion-micro) var(--civic-ease-standard),
    background-color var(--civic-motion-state) var(--civic-ease-standard);
}

.classification-toggle[aria-expanded="true"]::after,
.delivery-role-card[open] > summary::after {
  transform: rotate(180deg);
}

.services-capability-choice > a::after,
.solutions-card-secondary a::after,
.nav-links .nav-solutions-menu a::after {
  transition:
    transform var(--civic-motion-micro) var(--civic-ease-standard),
    opacity var(--civic-motion-micro) var(--civic-ease-standard);
}

.services-capability-choice > a:hover::after,
.services-capability-choice > a:focus-visible::after,
.solutions-card-secondary a:hover::after,
.solutions-card-secondary a:focus-visible::after,
.nav-links .nav-solutions-menu a:hover::after,
.nav-links .nav-solutions-menu a:focus-visible::after {
  opacity: 1;
  transform: translateX(var(--civic-motion-travel));
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

/* Artifact-driven Confident System
 *
 * Complete meaning is present in authored HTML. These rules enhance internal
 * state relationships only; no figure, panel, label, or summary is hidden while
 * JavaScript initializes, while the system is offscreen, or with JavaScript off. */
[data-confident-system] {
  width: min(100%, var(--container));
  margin: var(--civic-space-5) auto;
  border: 1px solid var(--civic-line-strong);
  border-radius: var(--civic-radius);
  background: var(--civic-surface);
  box-shadow: var(--civic-shadow);
  color: var(--civic-text);
  overflow: clip;
}

/* One shared, page-level motion control owns every authored system on a page.
 * Component-level controls remain hidden migration markup until route
 * propagation removes them; they are never competing interaction owners. */
[data-system-page-controls] {
  display: flex;
  flex-wrap: wrap;
  gap: var(--civic-space-2);
  align-items: center;
  width: min(calc(100% - (2 * var(--civic-page-gutter))), var(--container));
  margin: var(--civic-space-3) auto;
}

[data-system-page-controls][hidden],
[data-confident-system] [data-system-controls],
[data-confident-system] .confident-system-controls {
  display: none;
}

[data-system-page-controls] :is([data-system-page-toggle], [data-system-page-replay]) {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--civic-blue-dark);
  border-radius: var(--civic-radius-small);
  padding: 10px 14px;
  background: var(--civic-surface);
  color: var(--civic-blue-dark);
  font-weight: 800;
  cursor: pointer;
}

[data-system-page-controls] :is([data-system-page-toggle], [data-system-page-replay]):hover,
[data-system-page-controls] :is([data-system-page-toggle], [data-system-page-replay]):focus-visible {
  border-color: var(--civic-teal);
  background: var(--civic-teal-soft);
  color: var(--civic-navy-950);
}

[data-system-page-controls] :is([data-system-page-toggle], [data-system-page-replay]):disabled {
  border-color: var(--civic-line-strong);
  background: var(--civic-cloud);
  color: var(--civic-muted);
  cursor: not-allowed;
}

[data-system-page-status] {
  min-height: 1.5em;
  color: var(--civic-muted);
  font-size: 0.875rem;
}

/* Keep the single page-level controller available without turning it into a
 * second hero or an empty transition band. */
.home-principal-control-section {
  padding-block: var(--civic-space-4);
}

.home-principal-control-section .final-session-panel {
  gap: var(--civic-space-4);
  padding: var(--civic-space-4) var(--civic-space-5);
}

.home-principal-control-section [data-system-page-controls] {
  width: auto;
  margin: 0;
}

[data-confident-system] > figcaption,
[data-confident-system] .confident-system-caption {
  display: grid;
  gap: var(--civic-space-1);
  margin: 0;
  padding: var(--civic-space-4) var(--civic-space-4) 0;
  color: var(--civic-muted);
  max-width: 72ch;
}

[data-confident-system] > figcaption strong,
[data-confident-system] .confident-system-title {
  color: var(--civic-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.15;
}

[data-confident-system] :is(ol, ul)[data-system-stages],
[data-confident-system] .confident-system-stages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: var(--civic-space-2);
  margin: 0;
  padding: var(--civic-space-4);
  list-style: none;
}

[data-confident-system] button[data-system-stage] {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 44px;
  min-height: 44px;
  align-content: start;
  gap: 4px;
  border: 2px solid #71818b;
  border-radius: var(--civic-radius-small);
  padding: 12px 14px;
  background: var(--civic-surface);
  color: var(--civic-ink);
  font-weight: 750;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

[data-confident-system] button[data-system-stage]::after {
  position: absolute;
  right: 12px;
  bottom: 8px;
  left: 12px;
  height: 3px;
  border-radius: 999px;
  background: var(--civic-teal);
  content: "";
  transform: scaleX(1);
  transform-origin: left center;
}

html[data-confident-system-ready="true"] [data-confident-system] button[data-system-stage],
html[data-confident-system-ready="true"] [data-confident-system] button[data-system-stage]::after,
html[data-confident-system-ready="true"] [data-confident-system] [data-system-panel],
html[data-confident-system-ready="true"] [data-confident-system] [data-system-for],
html[data-confident-system-ready="true"] [data-confident-system] [data-system-connector],
html[data-confident-system-ready="true"] [data-confident-system] [data-system-evidence],
html[data-confident-system-ready="true"] [data-confident-system] [data-system-decision] {
  transition:
    background-color var(--civic-motion-state) var(--civic-ease-standard),
    border-color var(--civic-motion-state) var(--civic-ease-standard),
    box-shadow var(--civic-motion-state) var(--civic-ease-standard),
    color var(--civic-motion-micro) var(--civic-ease-standard),
    transform var(--civic-motion-editorial) var(--civic-ease-standard);
}

[data-confident-system] button[data-system-stage][data-system-state="active"],
[data-confident-system] button[data-system-stage][aria-current="step"] {
  border-color: var(--civic-teal);
  background: var(--civic-teal-soft);
  box-shadow: inset 4px 0 0 var(--civic-teal);
}

[data-confident-system] button[data-system-stage][data-system-state="visited"] {
  border-color: var(--civic-teal);
  background: var(--civic-cloud);
}

[data-confident-system] button[data-system-stage][data-system-state="active"]::after,
[data-confident-system] button[data-system-stage][data-system-state="visited"]::after {
  transform: scaleX(1);
}

[data-confident-system] [data-system-panels],
[data-confident-system] .confident-system-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: var(--civic-space-3);
  padding: 0 var(--civic-space-4) var(--civic-space-4);
}

/* Normal-motion JavaScript progressively enhances authored, fully readable
 * panels into one-at-a-time tabs. Inactive panels remain in the same grid cell
 * to reserve the tallest authored panel and prevent automatic-stage layout
 * shift; hidden + inert + aria-hidden keep them noninteractive and unexposed. */
html[data-confident-system-ready="true"]
  [data-confident-system][data-system-tabs="true"]
  :is([data-system-panels], .confident-system-panels) {
  grid-template-columns: minmax(0, 1fr);
}

html[data-confident-system-ready="true"]
  [data-confident-system][data-system-tabs="true"]
  :is([data-system-panels], .confident-system-panels) > [data-system-panel] {
  grid-area: 1 / 1;
  min-width: 0;
}

html[data-confident-system-ready="true"]
  [data-confident-system][data-system-tabs="true"]
  :is([data-system-panels], .confident-system-panels) > [data-system-panel][hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}

html[data-confident-system-ready="true"]
  [data-confident-system][data-system-tabs="true"]
  :is([data-system-panels], .confident-system-panels) > [data-system-panel]:not([hidden]) {
  position: relative;
  z-index: 1;
}

[data-confident-system] [data-system-panel],
[data-confident-system] [data-system-for],
[data-confident-system] [data-system-evidence],
[data-confident-system] [data-system-decision] {
  min-width: 0;
  border: 1px solid var(--civic-line);
  border-left: 4px solid var(--civic-line-strong);
  border-radius: var(--civic-radius-small);
  padding: var(--civic-space-3);
  background: var(--civic-paper);
  color: var(--civic-text);
}

/* Shared evidence, credibility, engagement, and method primitives. Route
 * packets supply content and placement; this stylesheet remains their sole
 * presentation owner. */
.artifact-preview {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: var(--civic-space-3);
  overflow: clip;
}

.artifact-preview :is(img, svg, object) {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--civic-line);
  border-radius: var(--civic-radius-small);
  background: var(--civic-paper);
}

.artifact-preview :is(.artifact-preview-title, h3) {
  color: var(--civic-ink);
  font-family: var(--civic-font-heading);
  line-height: 1.2;
}

.artifact-document-preview .artifact-preview-title {
  color: #fff;
}

.artifact-preview :is(.artifact-preview-link, a),
.credibility-primitive a,
.engagement-primitive a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
}

.credibility-primitive,
.engagement-primitive,
.five-stage-method,
.capability-stage-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--civic-card-min)), 1fr));
  gap: var(--civic-space-3);
  align-items: start;
}

.credibility-primitive,
.engagement-primitive {
  border: 1px solid var(--civic-line);
  border-radius: var(--civic-radius);
  padding: var(--civic-space-4);
  background: var(--civic-surface);
}

.connected-system {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: var(--civic-space-3);
  align-items: stretch;
}

.connected-system > * {
  min-width: 0;
}

html[data-confident-system-ready="true"] [data-confident-system] :is(
  [data-system-panel],
  [data-system-for],
  [data-system-evidence],
  [data-system-decision]
)[data-system-state="active"] {
  transform: translateY(calc(-1 * var(--civic-motion-sequence-travel)));
}

[data-confident-system] :is(
  [data-system-panel],
  [data-system-for],
  [data-system-evidence],
  [data-system-decision]
)[data-system-state="active"] {
  border-color: var(--civic-teal);
  border-left-color: var(--civic-teal);
  background: var(--civic-teal-soft);
  box-shadow: 0 8px 18px rgba(13, 108, 102, 0.12);
}

[data-confident-system] :is(
  [data-system-panel],
  [data-system-for],
  [data-system-evidence],
  [data-system-decision]
)[data-system-state="visited"] {
  border-left-color: var(--civic-teal);
}

[data-confident-system] [data-system-connector] {
  position: relative;
  min-height: 4px;
  border-radius: 999px;
  background: var(--civic-line);
  color: var(--civic-muted);
  transform: scaleX(1);
  transform-origin: left center;
}

html[data-confident-system-ready="true"] [data-confident-system] button[data-system-stage][data-system-state="upcoming"]::after,
html[data-confident-system-ready="true"] [data-confident-system] [data-system-connector][data-system-state="upcoming"] {
  transform: scaleX(0.12);
}

[data-confident-system] [data-system-connector][data-system-state="active"],
[data-confident-system] [data-system-connector][data-system-state="visited"] {
  background: var(--civic-teal);
  transform: scaleX(1);
}

[data-confident-system] .confident-system-flow,
[data-confident-system] .confident-system-choreography {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr));
  gap: var(--civic-space-2);
  margin: 0;
  padding: 0 var(--civic-space-4) var(--civic-space-4);
  list-style: none;
}

[data-confident-system] .confident-system-flow li {
  display: grid;
  gap: 8px;
  color: var(--civic-muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

[data-confident-system] .confident-system-flow [data-system-connector] {
  width: 100%;
  min-height: 6px;
}

[data-confident-system] .confident-system-choreography > li {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 6px;
  border: 2px solid var(--civic-line-strong);
  border-radius: var(--civic-radius-small);
  padding: 14px;
  background: var(--civic-paper);
  color: var(--civic-ink);
}

[data-confident-system] .confident-system-choreography > li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: calc(-1 * var(--civic-space-2));
  width: var(--civic-space-2);
  height: 3px;
  background: var(--civic-line-strong);
  content: "";
}

[data-confident-system] .confident-system-choreography > li > span {
  color: var(--civic-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

[data-confident-system] .confident-system-choreography > li[data-system-state="active"] {
  border-color: var(--civic-teal);
  background: var(--civic-teal-soft);
  box-shadow: 0 10px 24px rgba(13, 108, 102, 0.18);
  transform: translateY(-6px);
}

[data-confident-system] .confident-system-choreography > li[data-system-state="visited"] {
  border-color: var(--civic-teal);
}

[data-confident-system] .confident-system-causal-chain {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--civic-space-2);
  margin: 0;
  padding: 0 var(--civic-space-4) var(--civic-space-3);
  list-style: none;
}

[data-confident-system] .confident-system-causal-chain li {
  position: relative;
  display: grid;
  gap: 4px;
  border-top: 4px solid var(--civic-teal);
  padding-top: 10px;
  color: var(--civic-ink);
  font-weight: 800;
}

[data-confident-system] .confident-system-causal-chain li:not(:last-child)::after {
  position: absolute;
  top: -7px;
  right: calc(-1 * var(--civic-space-2));
  width: var(--civic-space-2);
  height: 2px;
  background: var(--civic-teal);
  content: "";
}

[data-confident-system] .confident-system-causal-chain span,
[data-confident-system] .confident-system-selector-label span,
[data-confident-system] .confident-system-scenario-grid span,
[data-confident-system] .confident-system-branch span {
  color: var(--civic-muted);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

[data-confident-system] .confident-system-selector-label {
  max-width: 72ch;
  margin: 0;
  padding: 0 var(--civic-space-4) var(--civic-space-2);
  color: var(--civic-text);
}

[data-confident-system] .confident-system-scenario-panels {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
}

[data-confident-system] .confident-system-scenario-panels > [data-system-panel] {
  border-width: 2px;
  border-left-width: 6px;
}

[data-confident-system] .confident-system-scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--civic-space-2);
  margin-top: var(--civic-space-3);
}

[data-confident-system] .confident-system-scenario-grid > article {
  display: grid;
  align-content: start;
  gap: 6px;
}

[data-confident-system] .confident-system-scenario-grid p,
[data-confident-system] .confident-system-branch p {
  margin: 0;
}

[data-confident-system] .confident-system-unresolved,
[data-confident-system] .confident-system-unresolved[data-system-state="active"],
[data-confident-system] .confident-system-unresolved[data-system-state="visited"] {
  border-color: var(--civic-accent);
  border-left-color: var(--civic-accent);
  background: #fff1f4;
  box-shadow: none;
}

[data-confident-system] .confident-system-unresolved::before {
  color: var(--civic-accent-dark);
  content: "Open until verified";
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

[data-confident-system] .confident-system-branch {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) 44px minmax(0, 1.5fr) 44px minmax(0, 0.9fr);
  gap: var(--civic-space-2);
  align-items: stretch;
  padding: 0 var(--civic-space-4) var(--civic-space-4);
}

[data-confident-system] .confident-system-branch > article,
[data-confident-system] .confident-system-branch-lanes > article {
  display: grid;
  align-content: start;
  gap: 6px;
}

[data-confident-system] .confident-system-branch-lanes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--civic-space-2);
}

[data-confident-system] .confident-system-branch-lanes > article:first-child {
  border-left-color: var(--civic-blue-dark);
}

[data-confident-system] .confident-system-branch-lanes > article:last-child {
  border-left-color: var(--civic-gold);
}

[data-confident-system] .confident-system-branch-connector {
  place-self: center stretch;
  min-height: 6px;
}

[data-confident-system] .confident-system-rejoin {
  border-left-color: var(--civic-teal);
}

[data-confident-system] [data-system-summary] {
  max-width: 72ch;
  margin: 0 var(--civic-space-4) var(--civic-space-4);
  border-left: 4px solid var(--civic-gold);
  padding: var(--civic-space-3);
  background: #fbf5e8;
  color: var(--civic-ink);
}

[data-confident-system] [data-system-status] {
  min-height: 1.5em;
  margin: calc(-1 * var(--civic-space-2)) var(--civic-space-4) var(--civic-space-4);
  color: var(--civic-muted);
  font-size: 0.875rem;
}

[data-confident-system][data-system-surface="dark"] {
  border-color: rgba(255, 255, 255, 0.26);
  background: var(--civic-navy-950);
  color: var(--civic-hero-text);
}

[data-confident-system][data-system-surface="dark"] > figcaption,
[data-confident-system][data-system-surface="dark"] > figcaption strong,
[data-confident-system][data-system-surface="dark"] .confident-system-title {
  color: #fff;
}

@media (max-width: 640px) {
  [data-confident-system] {
    margin-block: var(--civic-space-4);
  }

  [data-confident-system] .confident-system-flow,
  [data-confident-system] .confident-system-choreography {
    grid-template-columns: 1fr;
  }

  [data-confident-system] .confident-system-stages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--civic-space-2);
  }

  [data-confident-system] .confident-system-stages > li {
    min-width: 0;
  }

  [data-confident-system] button[data-system-stage] {
    min-height: 52px;
    padding: 9px 10px;
    font-size: 0.78rem;
    line-height: 1.2;
  }

  [data-confident-system] .confident-system-causal-chain,
  [data-confident-system] .confident-system-scenario-grid,
  [data-confident-system] .confident-system-branch,
  [data-confident-system] .confident-system-branch-lanes {
    grid-template-columns: 1fr;
  }

  [data-confident-system] .confident-system-causal-chain li:not(:last-child)::after {
    display: none;
  }

  [data-confident-system] .confident-system-branch-connector {
    width: 6px;
    min-height: 32px;
    place-self: stretch center;
    transform-origin: center top;
  }

  [data-confident-system] .confident-system-choreography > li:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: calc(-1 * var(--civic-space-2));
    width: 3px;
    height: var(--civic-space-2);
  }

  [data-confident-system] > figcaption,
  [data-confident-system] .confident-system-caption,
  [data-confident-system] :is(ol, ul)[data-system-stages],
  [data-confident-system] .confident-system-stages,
  [data-confident-system] [data-system-panels],
  [data-confident-system] .confident-system-panels,
  [data-confident-system] [data-system-controls],
  [data-confident-system] .confident-system-controls {
    padding-right: var(--civic-space-3);
    padding-left: var(--civic-space-3);
  }

  [data-confident-system] [data-system-summary] {
    margin-right: var(--civic-space-3);
    margin-left: var(--civic-space-3);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  [data-confident-system] button[data-system-stage]::after,
  [data-confident-system] [data-system-connector] {
    transform: scaleX(1);
  }
}

/* Surface-pairing gate: legacy route sheets can keep layout ownership, but
 * content colours must always resolve against the Civic-owned surface. */
.audience-pathfinder-heading > p:last-child,
.audience-panel > p,
.audience-panel-actions a span,
.audience-panel-actions a,
.audience-status {
  color: var(--civic-hero-text);
}

.audience-tabs button span {
  color: var(--civic-teal-bright);
}

.audience-tabs button[aria-selected="true"] span {
  color: var(--civic-navy-950);
}

.audience-panel-actions a {
  color: var(--civic-teal-bright);
}

.final-session-panel .section-kicker,
.lifecycle-section .section-kicker,
.evidence-brief-card .section-kicker,
.evidence-cta-panel .section-kicker {
  color: var(--civic-teal-bright);
}

.option1-shell .lifecycle-section {
  background-color: var(--civic-navy-950);
  background-image: var(--civic-hero-background);
}

.lifecycle-rail li {
  background: rgba(255, 255, 255, 0.04);
}

.final-session-panel h2,
.lifecycle-section h2,
.lifecycle-rail strong,
.evidence-brief-card h2,
.evidence-brief-card p,
.evidence-brief-card dt,
.evidence-cta-panel h2,
.evidence-cta-panel p {
  color: #fff;
}

.final-session-panel p:last-child,
.lifecycle-section .brief-section-heading-dark > p,
.lifecycle-rail p,
.evidence-brief-card dd,
.evidence-cta-panel p {
  color: var(--civic-hero-text);
}

.lifecycle-rail span {
  color: var(--civic-teal-bright);
}

.lifecycle-section .button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  background: transparent;
}

.lifecycle-section .button-secondary:hover {
  border-color: #fff;
  color: var(--civic-navy-950);
  background: #fff;
}

.evidence-brief-card,
.evidence-cta-panel {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--civic-hero-panel);
}

.evidence-brief-card {
  border-top-color: var(--civic-teal-bright);
}

.evidence-cta-panel {
  background-image: var(--civic-hero-background);
}

.solutions-boundary-panel .section-kicker {
  color: var(--civic-gold);
}

.solutions-boundary-panel h2 {
  color: var(--civic-ink);
}

.solutions-boundary-panel p {
  color: var(--civic-muted);
}

.services-method-bridge .capability-stage-rail li {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.services-method-bridge .capability-stage-rail strong {
  color: #fff;
}

.services-method-bridge .capability-stage-rail span {
  color: var(--civic-hero-text);
}

.aligned-route-resources .resource-selector-tools .text-link,
.aligned-route-resources .resource-selector-tools button.text-link,
.aligned-route-resources .selector-share-status {
  color: var(--civic-teal-bright);
}

.growth-assurance-block a,
.request-aside .growth-assurance-block a,
.request-conversion-shell .growth-assurance-block a {
  color: var(--civic-blue-dark);
}

.growth-assurance-block a:hover,
.growth-assurance-block a:focus-visible,
.request-aside .growth-assurance-block a:hover,
.request-aside .growth-assurance-block a:focus-visible,
.request-conversion-shell .growth-assurance-block a:hover,
.request-conversion-shell .growth-assurance-block a:focus-visible {
  color: var(--civic-blue-dark);
  text-decoration-color: currentColor;
}

.growth-assurance-block h3,
.request-aside .growth-assurance-block h3,
.request-conversion-shell .growth-assurance-block h3 {
  color: var(--civic-ink);
}

.growth-assurance-block p,
.request-aside .growth-assurance-block p,
.request-conversion-shell .growth-assurance-block p {
  color: var(--civic-muted);
}

/*
 * Civic Editorial correction sprint: shared-pattern ownership.
 *
 * The Civic layer remains the single final owner for cross-route container,
 * spacing, grid, stepper, evidence-label, and CTA presentation. Earlier
 * route sheets retain their structural and interaction contracts; the rules
 * below intentionally resolve their conflicting presentation without adding
 * another cascade layer.
 */

/* Headings and their content systems share one centered page container. */
.brief-section-heading,
.evidence-section-heading,
.connected-systems-grid,
.public-service-flow,
.evidence-gate-list {
  width: min(calc(100% - (2 * var(--civic-page-gutter))), var(--container));
  max-width: var(--container);
  margin-right: auto;
  margin-left: auto;
}

.brief-section-heading {
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.65fr);
  gap: clamp(var(--civic-space-4), 4vw, var(--civic-space-7));
  align-items: end;
}

.connected-systems-section .brief-section-heading {
  grid-template-columns: minmax(0, 35rem) minmax(18rem, 1fr);
  gap: clamp(var(--civic-space-4), 3.5vw, 48px);
}

.brief-section-heading > div,
.brief-section-heading > p,
.evidence-section-heading > * {
  min-width: 0;
}

.evidence-section-heading {
  margin-bottom: var(--civic-space-5);
}

.evidence-section-heading h2,
.evidence-section-heading > p {
  max-width: 920px;
}

.connected-systems-section,
.confidence-summary-section,
.federal-boundary-section,
.evidence-shell .evidence-section {
  padding-top: clamp(48px, 5vw, 72px);
  padding-bottom: clamp(48px, 5vw, 72px);
}

/* Request: one form-width stepper and compact, content-driven alternatives. */
.request-conversion-shell .growth-request-grid {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
  align-items: start;
}

.request-conversion-shell .studio-form-progress {
  width: 100%;
  margin: 0 0 var(--civic-space-4);
  padding: 0 0 var(--civic-space-4);
  box-sizing: border-box;
}

.request-conversion-shell .studio-form-progress > div {
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 15rem);
  gap: var(--civic-space-3);
}

.request-conversion-shell .studio-form-progress ol {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--civic-space-3);
}

.request-conversion-shell .studio-form-progress li {
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.request-conversion-shell .studio-form-progress li:nth-child(2) {
  text-align: center;
}

.request-conversion-shell .studio-form-progress li:last-child {
  text-align: right;
}

.request-conversion-shell .growth-request-assurance {
  gap: var(--civic-space-3);
  min-height: 0;
}

.request-context-summary-header {
  align-items: flex-start;
  flex-wrap: wrap;
}

.request-context-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.request-conversion-shell .growth-assurance-block {
  min-height: 0;
  padding: var(--civic-space-4);
}

.request-conversion-shell .growth-assurance-block .card-actions {
  display: grid;
  justify-items: start;
  gap: var(--civic-space-2);
  margin-top: var(--civic-space-3);
}

.request-conversion-shell .growth-assurance-block .card-actions a,
.request-conversion-shell .growth-assurance-block > .text-link {
  min-height: 44px;
  align-items: center;
}

.request-conversion-shell .growth-assurance-block .card-actions a:first-child {
  color: var(--civic-blue-dark);
  font-weight: 850;
}

/* Federal: balance the two facts and remove the empty action-card shell. */
.aligned-route-federal .federal-buyer-hero {
  padding-bottom: var(--civic-space-5);
}

.aligned-route-federal .federal-buyer-hero .aligned-route-hero-grid {
  padding-bottom: var(--civic-space-4);
}

.aligned-route-federal .federal-identity-strip {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  margin-top: 0;
}

.aligned-route-federal .procurement-classification-grid,
.aligned-route-federal .classification-layout {
  grid-template-columns: minmax(0, 1fr);
}

.aligned-route-federal .federal-proof-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--civic-space-4);
  align-items: start;
}

.aligned-route-federal .principal-experience-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--civic-space-3);
  margin: 0;
}

.aligned-route-federal .principal-experience-ledger dt {
  font-size: 0.78rem;
  line-height: 1.4;
}

.aligned-route-federal .principal-experience-ledger dd {
  font-size: 1rem;
  line-height: 1.55;
}

.aligned-route-federal .principal-experience-ledger dd strong {
  font-size: 1.15rem;
}

.aligned-route-federal .federal-boundary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aligned-route-federal .federal-final-cta .cta-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--civic-space-5);
  align-items: center;
}

.aligned-route-federal .federal-final-cta .capability-final-actions {
  width: auto;
  min-width: 0;
  min-height: 0;
  align-self: center;
  justify-self: end;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.aligned-route-federal .federal-final-cta .capability-final-actions .button {
  width: auto;
  min-width: min(18rem, 100%);
}

/* Trust: an even ledger remains balanced; only a true odd final item spans. */
.aligned-route-trust .trust-signal-ledger > div:last-child {
  grid-column: auto;
}

.aligned-route-trust .trust-signal-ledger > div:nth-child(odd):last-child {
  grid-column: 1 / -1;
}

.aligned-route-trust .trust-signal-ledger > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

/* Shared sequence and supporting-card systems size from their content. */
.studio-app-lifecycle,
.supporting-capability-grid,
.services-method-bridge .capability-stage-rail,
.trust-method-ledger .capability-stage-rail,
.federal-method-rail {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}

.studio-app-lifecycle li,
.supporting-capability-grid article,
.services-method-bridge .capability-stage-rail li,
.trust-method-ledger .capability-stage-rail li,
.federal-method-rail li,
.option1-home-engagement-card,
.services-engagement-card,
.confidence-evidence-card,
.trust-boundary-grid article {
  min-height: 0;
  grid-column: auto;
}

.aligned-route-resources .resource-path-selector {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.aligned-route-resources .resource-path-option {
  min-height: 44px;
}

.aligned-route-resources .guided-resource-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}

/* Services keeps its approved light engagement hero after the shared civic layer loads. */
body.aligned-route-services .page-hero.services-option1-hero[data-visual-system="solutions"] {
  border-bottom-color: rgba(8, 28, 51, 0.12);
  background:
    radial-gradient(circle at 85% 10%, rgba(12, 111, 104, 0.16), transparent 34%),
    linear-gradient(135deg, #f8fafc 0%, #eef3f7 60%, #f8fafc 100%);
  color: var(--ink);
}

body.aligned-route-services .page-hero.services-option1-hero[data-visual-system="solutions"] h1,
body.aligned-route-services .page-hero.services-option1-hero[data-visual-system="solutions"] .aligned-route-context-card h2 {
  color: var(--navy);
}

body.aligned-route-services .page-hero.services-option1-hero[data-visual-system="solutions"] .services-hero-copy > p:not(.eyebrow),
body.aligned-route-services .page-hero.services-option1-hero[data-visual-system="solutions"] .breadcrumb,
body.aligned-route-services .page-hero.services-option1-hero[data-visual-system="solutions"] .breadcrumb span {
  color: #334b5b;
}

body.aligned-route-services .page-hero.services-option1-hero[data-visual-system="solutions"] .breadcrumb a {
  color: var(--navy);
}

body.aligned-route-services .page-hero.services-option1-hero[data-visual-system="solutions"] .eyebrow {
  color: var(--accent-dark);
}

body.aligned-route-services .page-hero.services-option1-hero[data-visual-system="solutions"] .aligned-route-context-card {
  border-color: rgba(8, 28, 51, 0.18);
  border-left-color: var(--teal);
  background: rgba(255, 255, 255, 0.88);
  color: var(--slate);
}

body.aligned-route-services .page-hero.services-option1-hero[data-visual-system="solutions"] .breadcrumb-context,
body.aligned-route-services .page-hero.services-option1-hero[data-visual-system="solutions"] .section-kicker {
  border-color: rgba(8, 28, 51, 0.24);
  color: var(--accent-dark);
}

body.aligned-route-services .page-hero.services-option1-hero[data-visual-system="solutions"] .breadcrumb .breadcrumb-context {
  color: var(--accent-dark) !important;
}

body.aligned-route-services .page-hero.services-option1-hero[data-visual-system="solutions"] .services-audience-path {
  border-color: rgba(8, 28, 51, 0.18);
  color: var(--navy);
}

body.aligned-route-services .page-hero.services-option1-hero[data-visual-system="solutions"] .services-audience-path span span {
  color: #334b5b;
}

body.aligned-route-services .page-hero.services-option1-hero[data-visual-system="solutions"] .services-audience-path:hover,
body.aligned-route-services .page-hero.services-option1-hero[data-visual-system="solutions"] .services-audience-path:focus-visible {
  color: var(--accent-dark);
}

.aligned-route-resources .guided-resource-grid[data-active-resource-filter="federal-prime"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aligned-route-resources .resource-result-state {
  grid-column: 1 / -1;
}

/* The three resource decision-family actions are discrete navigation targets,
 * not inline prose links. */
.aligned-route-resources .resource-decision-family-grid a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-block: 8px;
}

/* Reconcile the inherited dark Services method surface and prevent the
 * procurement/evidence pair from stretching into an orphaned blank column. */
.aligned-route-services .services-method-bridge .section-heading h2 {
  color: #fff;
}

.aligned-route-services .services-method-bridge .section-heading > p:not(.section-kicker) {
  color: var(--civic-hero-text);
}

.aligned-route-services .services-method-bridge .section-kicker {
  color: var(--civic-teal-bright);
}

.aligned-route-services .services-context-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.aligned-route-services .services-context-grid > * {
  align-self: start;
}

.aligned-route-services .services-proof-method .proof-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.button,
.nav-toggle,
.brand,
.nav-drawer-close,
.nav-links > a,
.nav-links > details > summary,
.audience-tabs button,
[data-resource-filter],
[data-resource-path],
.classification-toggle,
.delivery-role-card > summary,
.reconciliation-details > summary,
.trust-boundary-disclosure > summary,
.trust-illustrative-details > summary,
.card-actions a,
.site-footer a,
.aligned-route-resources .guided-resource-grid article > a,
.growth-data-guidance a,
#confidential-warning a {
  min-height: 44px;
}

.nav-links > a {
  min-width: 44px;
  justify-content: center;
}

.brand,
.site-footer a,
.aligned-route-resources .guided-resource-grid article > a,
.growth-data-guidance a,
#confidential-warning a {
  display: inline-flex;
  align-items: center;
}

.site-footer address a,
.site-footer nav a,
.site-footer .footer-bottom a {
  min-height: 44px;
}

.nav-drawer-close {
  block-size: 44px;
  min-block-size: 44px;
}

@media (max-width: 640px) {
  .aligned-route-resources .guided-resource-grid[data-active-resource-filter="federal-prime"] {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-principal-control-section .final-session-panel {
    padding: var(--civic-space-4);
  }

  .home-principal-control-section [data-system-page-controls] {
    align-items: stretch;
  }

  .home-principal-control-section [data-system-page-controls] button {
    flex: 1 1 12rem;
  }

  .aligned-route-services .services-proof-method .proof-preview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .evidence-decision-section .confident-system-decision-needs button[data-system-stage] {
    min-height: 44px;
    padding: 8px 9px;
  }

  .evidence-decision-section .confident-system-decision-needs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .evidence-decision-section .confident-system-scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .evidence-decision-section .confident-system-scenario-panels > [data-system-panel] {
    padding: 14px;
  }

  .evidence-decision-section .confident-system-scenario-grid > article {
    gap: 4px;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .evidence-decision-section .confident-system-scenario-grid span {
    font-size: 0.68rem;
  }
}

/* Public-service sequence: responsive reading order without horizontal scroll. */
.public-service-flow {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--civic-space-3);
  margin-top: var(--civic-space-5);
  overflow-x: visible;
  padding: 0;
  list-style: none;
}

.public-service-flow li {
  grid-column: span 3;
  min-width: 0;
  min-height: 0;
  position: relative;
  border: 1px solid var(--civic-line);
  border-radius: var(--civic-radius);
  padding: var(--civic-space-4);
  background: var(--civic-surface);
}

.public-service-flow li:nth-child(n + 5) {
  grid-column: span 4;
}

.public-service-flow li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: calc(var(--civic-space-3) * -0.75);
  z-index: 2;
  width: 1.4rem;
  color: var(--civic-accent);
  content: "\2192";
  font-size: 1.45rem;
  font-weight: 900;
  text-align: center;
  transform: translateY(-50%);
}

.public-service-flow li:nth-child(4)::after {
  display: none;
}

/* Validation gates retain three balanced columns inside the same container. */
.evidence-gate-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Evidence labels stay attached to the card content they qualify. */
.resource-card .resource-provenance-badge,
.resource-card-public-service .resource-provenance-badge-synthetic {
  width: fit-content;
  max-width: 100%;
  align-self: start;
  margin: 0 0 var(--civic-space-3);
}

@media (max-width: 1100px) {
  .request-conversion-shell .growth-request-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brief-section-heading {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .public-service-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-service-flow li,
  .public-service-flow li:nth-child(n + 5) {
    grid-column: auto;
  }

  .public-service-flow li:last-child {
    grid-column: 1 / -1;
    width: 100%;
  }

  .public-service-flow li:nth-child(even):not(:last-child)::after {
    display: none;
  }

  .aligned-route-federal .federal-final-cta .cta-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .aligned-route-federal .federal-final-cta .capability-final-actions {
    justify-self: stretch;
  }

  .aligned-route-federal .federal-final-cta .capability-final-actions .button {
    width: 100%;
  }

  .evidence-gate-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .aligned-route-federal .federal-proof-layout,
  .aligned-route-federal .federal-boundary-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .aligned-route-trust .trust-signal-ledger > div:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--civic-line);
  }

  .aligned-route-trust .trust-signal-ledger > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .request-conversion-shell .studio-form-progress > div,
  .public-service-flow,
  .evidence-gate-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .request-conversion-shell .studio-form-progress ol {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--civic-space-2);
  }

  .request-conversion-shell .studio-form-progress li,
  .request-conversion-shell .studio-form-progress li:nth-child(2),
  .request-conversion-shell .studio-form-progress li:last-child {
    text-align: left;
  }

  .aligned-route-federal .principal-experience-ledger {
    grid-template-columns: minmax(0, 1fr);
  }

  .public-service-flow li,
  .public-service-flow li:nth-child(n + 5) {
    grid-column: auto;
  }

  .public-service-flow li:last-child {
    width: 100%;
  }

  .public-service-flow li:not(:last-child)::after,
  .public-service-flow li:nth-child(4)::after,
  .public-service-flow li:nth-child(even):not(:last-child)::after {
    display: block;
    top: auto;
    right: auto;
    bottom: calc(var(--civic-space-3) * -1.15);
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
}

/* Consolidated owner-review correction: shared density, proof, and request hierarchy. */
.brief-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(19rem, 0.72fr);
  gap: clamp(var(--civic-space-4), 4vw, var(--civic-space-7));
  padding-top: clamp(3rem, 7vh, 5rem);
  padding-bottom: clamp(3rem, 7vh, 5rem);
}

.brief-hero-copy {
  max-width: 48rem;
}

.brief-hero h1 {
  max-width: 15ch;
  font-size: clamp(3rem, 5vw, 4.75rem);
}

.brief-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--civic-space-3);
  margin-top: var(--civic-space-4);
}

.brief-hero .audience-pathfinder {
  max-width: 31rem;
  padding: var(--civic-space-4);
}

.brief-hero .audience-pathfinder h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
}

.brief-hero .audience-tabs {
  grid-template-columns: minmax(0, 1fr);
  gap: var(--civic-space-2);
  margin-top: var(--civic-space-3);
}

.brief-hero .audience-tabs button {
  min-height: 0;
  padding: 0.85rem 1rem;
}

.home-decision-results .audience-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--civic-space-3);
}

.home-decision-results .audience-panel {
  margin: 0;
  border-color: var(--civic-line);
  border-left-color: var(--civic-blue);
  background: var(--civic-surface);
  color: var(--civic-ink);
}

.home-decision-results .audience-destinations {
  grid-template-columns: minmax(0, 1fr);
}

.home-decision-results .audience-destinations a,
.home-decision-results .audience-panel-actions a,
.home-decision-results .audience-panel-actions span {
  color: var(--civic-blue);
}

.evidence-decision-section .brief-section-heading {
  align-items: end;
}

.proof-class-grid img {
  width: 100%;
  min-height: 11rem;
  max-height: 15rem;
  border: 1px solid var(--civic-line);
  object-fit: contain;
  background: #fff;
}

.resource-decision-focus {
  max-width: 62rem;
}

.resource-decision-focus article {
  border-left: 5px solid var(--civic-blue);
  padding: var(--civic-space-5);
  background: var(--civic-surface);
}

.resource-selector-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.resource-filter-utilities {
  display: flex;
  flex-wrap: wrap;
  gap: var(--civic-space-2);
}

.resource-library-navigation {
  font-weight: 850;
}

.cta-panel,
.final-session-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--civic-space-4);
  padding: var(--civic-space-4) var(--civic-space-5);
}

.cta-panel h2,
.final-session-panel h2 {
  max-width: 28ch;
}

.cta-panel p:last-child,
.final-session-panel p:last-child {
  margin-bottom: 0;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(13rem, 0.7fr) minmax(11rem, 0.55fr);
  gap: clamp(var(--civic-space-4), 4vw, var(--civic-space-6));
  padding-top: var(--civic-space-5);
  padding-bottom: var(--civic-space-4);
}

.footer-column-title {
  margin: 0 0 var(--civic-space-2);
  color: #fff;
  font-style: normal;
  font-weight: 850;
}

.classification-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--civic-space-2) var(--civic-space-3);
  align-items: end;
  margin-bottom: var(--civic-space-4);
  border: 1px solid var(--civic-line);
  border-left: 5px solid var(--civic-blue);
  padding: var(--civic-space-4);
  background: var(--civic-surface);
}

.classification-tools[hidden],
.classification-search-results[hidden] {
  display: none;
}

.classification-search-field label,
.classification-search-field input {
  display: block;
  width: 100%;
}

.classification-search-field label {
  margin-bottom: var(--civic-space-1);
  font-weight: 850;
}

.classification-search-field input {
  min-height: 3rem;
  border: 1px solid var(--civic-line-strong);
  border-radius: var(--civic-radius-small);
  padding: 0.7rem 0.8rem;
  color: var(--civic-ink);
  background: #fff;
}

.classification-tools > p,
.classification-search-results {
  grid-column: 1 / -1;
}

.classification-search-results {
  display: grid;
  gap: var(--civic-space-2);
  margin: var(--civic-space-2) 0 0;
  padding: 0;
  list-style: none;
}

.classification-search-results li {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: var(--civic-space-2);
  align-items: center;
  border-top: 1px solid var(--civic-line);
  padding-top: var(--civic-space-2);
}

.classification-result-type {
  color: var(--civic-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.classification-code-copy {
  min-height: 44px;
  border: 1px solid var(--civic-blue);
  border-radius: 0.25rem;
  padding: 0.3rem 0.5rem;
  color: var(--civic-blue);
  background: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.classification-code-copy:hover,
.classification-code-copy:focus-visible {
  color: #fff;
  background: var(--civic-blue);
}

.federal-primary-naics .classification-code-copy {
  display: block;
  width: fit-content;
  margin-block: var(--civic-space-1);
  font-size: 1.25rem;
}

.request-context-actions,
.narrative-suggestion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--civic-space-2);
}

.narrative-suggestion {
  margin-top: var(--civic-space-2);
  border: 1px solid var(--civic-line);
  border-left: 4px solid var(--civic-teal);
  padding: var(--civic-space-3);
  background: var(--civic-teal-soft);
}

.narrative-suggestion[hidden] {
  display: none;
}

.request-context-actions button,
.narrative-suggestion button {
  min-height: 44px;
}

.narrative-suggestion-label {
  width: 100%;
  margin: 0;
  font-weight: 850;
}

.narrative-suggestion-copy {
  flex: 1 1 24rem;
  border: 1px dashed var(--civic-line-strong);
  border-radius: var(--civic-radius-small);
  padding: var(--civic-space-3);
  color: var(--civic-ink);
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  line-height: 1.55;
  text-align: left;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .brief-hero-grid,
  .home-decision-results .audience-results {
    grid-template-columns: minmax(0, 1fr);
  }

  .brief-hero .audience-pathfinder {
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .capability-classification-section .confident-system-stages {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .capability-classification-section .confident-system-stages > * {
    grid-column: span 2;
  }

  .capability-classification-section .confident-system-stages > :nth-last-child(-n + 2) {
    grid-column: span 3;
  }
}

@media (max-width: 640px) {
  .aligned-route-federal .federal-buyer-hero .aligned-route-hero-grid {
    gap: 18px;
    padding-top: 24px;
    padding-bottom: 12px;
  }

  .aligned-route-federal .federal-buyer-hero h1 {
    max-width: 18ch;
    font-size: clamp(2rem, 9.4vw, 2.4rem);
    line-height: 1.02;
  }

  .aligned-route-federal .federal-buyer-hero .solutions-hero-copy > h1 + p {
    margin-top: 14px;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .aligned-route-federal .federal-buyer-hero .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }

  .aligned-route-federal .federal-buyer-hero .hero-actions .button {
    min-height: 52px;
    padding: 8px;
    font-size: 0.78rem;
  }

  .aligned-route-federal .federal-verification-card {
    padding: 16px;
  }

  .aligned-route-federal .federal-verification-card h2 {
    margin-top: 4px;
    font-size: 1.35rem;
  }

  .aligned-route-federal .federal-verification-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .aligned-route-federal .federal-verification-facts > div {
    min-width: 0;
    padding-top: 8px;
  }

  .aligned-route-federal .federal-verification-facts dd {
    overflow-wrap: anywhere;
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .aligned-route-federal .federal-verification-actions {
    margin-top: 10px;
  }

  .brief-hero-grid {
    padding-top: var(--civic-space-5);
    padding-bottom: var(--civic-space-5);
  }

  .brief-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .brief-hero .hero-actions,
  .brief-hero .hero-actions .button,
  .cta-panel .button,
  .final-session-panel .button {
    width: 100%;
  }

  .cta-panel,
  .final-session-panel,
  .footer-grid,
  .classification-tools,
  .classification-search-results li,
  .resource-selector-tools {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid > :first-child,
  .classification-tools > p,
  .classification-search-results {
    grid-column: auto;
  }

  .capability-classification-section .confident-system-stages,
  .capability-classification-section .confident-system-stages > *,
  .capability-classification-section .confident-system-stages > :nth-last-child(-n + 2) {
    grid-template-columns: minmax(0, 1fr);
    grid-column: auto;
  }

  .resource-filter-utilities > *,
  .classification-tools .button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .aligned-route-federal .federal-verification-facts > div:first-child dd {
    font-size: 0.68rem;
    letter-spacing: -0.02em;
  }

  .header-inner,
  .option1-shell .header-inner {
    gap: 0.35rem;
    padding-inline: 0.6rem;
  }

  .brand-logo {
    width: 2.15rem;
    height: 2.15rem;
  }

  .brand-wordmark {
    max-width: none;
    font-size: 0.69rem;
    letter-spacing: -0.025em;
    white-space: nowrap;
  }

  .menu-toggle {
    min-width: 2.75rem;
    padding-inline: 0.55rem;
  }
}

.home-decision-results .audience-panel > p,
.home-decision-results .audience-status {
  color: var(--civic-ink);
}

.aligned-route-resources .resources-library-section {
  padding-top: 44px;
}

.evidence-decision-section .text-link {
  min-height: 44px;
}

.nav-links > a.nav-contact-cta:focus-visible,
.option1-shell .nav-links > a.nav-contact-cta:focus-visible,
.nav-links [aria-current]:focus-visible {
  outline-color: #0c2d48 !important;
  outline-style: solid !important;
  outline-width: 3px !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px #ffcf4a !important;
}

.aligned-route-trust .cta-section .button-primary:hover {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .aligned-route-trust .cta-section .button-primary:hover {
    transform: none !important;
  }
}

/* CORE-JOURNEY-BUYER-USABILITY-CONSOLIDATED-CORRECTION-001-R1 */

/* Home: keep the chosen goal, its outcome, and one recommended action together. */
.brief-hero-grid {
  align-items: start;
  gap: clamp(var(--civic-space-4), 4vw, var(--civic-space-6));
  padding-top: clamp(2.25rem, 5vh, 3.75rem);
  padding-bottom: clamp(2.25rem, 5vh, 3.75rem);
}

.brief-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.6rem, 4.35vw, 4rem);
  line-height: 1.02;
}

.brief-hero .hero-copy,
.brief-hero .home-principal-credibility {
  max-width: 46rem;
}

.brief-hero .audience-pathfinder {
  width: 100%;
  max-width: none;
  padding: var(--civic-space-4);
}

.brief-hero .home-decision-results {
  margin-top: var(--civic-space-2);
  border-top: 1px solid var(--civic-line);
  padding: var(--civic-space-2) 0 0;
  background: transparent;
}

.brief-hero .home-decision-results .brief-section-heading,
.brief-hero .home-decision-results .audience-results {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: 0;
}

.brief-hero .home-decision-results .brief-section-heading {
  display: block;
  padding-bottom: var(--civic-space-1);
}

.brief-hero .home-decision-results .section-kicker {
  color: var(--civic-teal-bright);
}

.brief-hero .home-decision-results h2 {
  margin-top: 0.2rem;
  max-width: 34ch;
  color: #fff;
  font-size: clamp(1.125rem, 1.8vw, 1.45rem);
  line-height: 1.15;
  text-wrap: balance;
}

.brief-hero .home-decision-results .audience-results {
  display: block;
}

.brief-hero .home-decision-results .audience-panel {
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.brief-hero .home-decision-results .audience-panel[hidden] {
  display: none;
}

.brief-hero .home-decision-results .audience-panel > p {
  color: var(--civic-hero-text);
}

.brief-hero .home-decision-results .audience-destinations {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--civic-space-2);
  margin: var(--civic-space-2) 0 0;
  padding: 0;
  list-style: none;
}

.brief-hero .home-decision-results .audience-destinations a {
  min-height: 44px;
  border: 0;
  border-radius: 0;
  padding: 0.5rem 0;
  background: transparent;
  color: var(--civic-teal-bright);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.brief-hero .home-decision-results .audience-destinations a:hover,
.brief-hero .home-decision-results .audience-destinations a:focus-visible {
  background: transparent;
  color: #fff;
  text-decoration-thickness: 2px;
}

.brief-hero .home-decision-results .audience-panel-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  gap: var(--civic-space-1);
  margin-top: var(--civic-space-2);
  border: 0;
  padding: 0;
}

.brief-hero .home-decision-results [data-decision-session],
.brief-hero .home-decision-results [data-audience-session] {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--civic-accent);
  border-radius: var(--civic-radius-small);
  padding: 12px 20px;
  color: #fff;
  background: var(--civic-accent);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.brief-hero .home-decision-results [data-decision-session] span,
.brief-hero .home-decision-results [data-audience-session] span {
  color: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: none;
}

.brief-hero .home-decision-results [data-decision-proof],
.brief-hero .home-decision-results [data-audience-proof] {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  padding: 0.35rem 0;
  color: var(--civic-teal-bright);
}

.brief-hero .home-decision-results [data-decision-proof] span,
.brief-hero .home-decision-results [data-audience-proof] span {
  margin-right: 0.35em;
  color: var(--civic-hero-text);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brief-hero .home-decision-results .audience-status.visually-hidden {
  min-height: 0;
}

/* Services: choices lead; lifecycle and role depth remain available on demand. */
.aligned-route-services .services-engagement-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--civic-space-3);
}

.aligned-route-services .services-engagement-card {
  min-width: 0;
}

@media (min-width: 1081px) {
  .aligned-route-services .services-choice-header {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--civic-space-3);
    align-items: start;
  }

  .aligned-route-services .services-choice-heading,
  .aligned-route-services .services-choice-trigger {
    min-width: 0;
  }
}

.services-depth-disclosure {
  width: min(calc(100% - (2 * var(--civic-page-gutter))), var(--container));
  margin: var(--civic-space-5) auto 0;
  border: 1px solid var(--civic-line);
  border-radius: var(--civic-radius);
  overflow: clip;
  background: var(--civic-surface);
}

.services-depth-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem var(--civic-space-3);
  align-items: center;
  min-height: 52px;
  padding-block: var(--civic-space-3);
  cursor: pointer;
  list-style: none;
}

.services-depth-summary::-webkit-details-marker {
  display: none;
}

.services-depth-summary::after {
  grid-column: 2;
  grid-row: 1 / span 3;
  content: "+";
  color: var(--civic-blue);
  font-size: 1.6rem;
  font-weight: 850;
}

.services-depth-disclosure[open] > .services-depth-summary::after {
  content: "−";
}

.services-depth-summary > span:last-of-type {
  color: var(--civic-muted);
}

.services-depth-disclosure .services-method-bridge {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: var(--civic-space-5);
}

.aligned-route-services .services-proof-method .proof-preview-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
}

/* Resources: make the selected result path primary and utilities progressive. */
.aligned-route-resources .guided-resource-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  align-items: stretch;
}

.aligned-route-resources .resource-card {
  min-width: 0;
  overflow-wrap: anywhere;
}

.aligned-route-resources .resource-card .artifact-preview--compact {
  min-height: 0;
  margin-bottom: var(--civic-space-3);
}

.aligned-route-resources .artifact-preview-fields {
  display: grid;
  gap: var(--civic-space-1);
}

.aligned-route-resources .artifact-preview-fields > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--civic-space-2);
}

.aligned-route-resources .artifact-preview-fields :is(dt, dd) {
  min-width: 0;
  margin: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.resource-selector-tools {
  gap: var(--civic-space-3);
}

.resource-library-navigation .button {
  width: fit-content;
  max-width: 100%;
}

.resource-filter-utilities {
  display: block;
  min-width: 12rem;
}

.resource-filter-utilities > summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--civic-blue);
  font-weight: 850;
  cursor: pointer;
}

.aligned-route-resources .resource-selector-hero .resource-filter-utilities > summary {
  color: var(--civic-hero-text);
}

.resource-filter-utilities > div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--civic-space-2);
  margin-top: var(--civic-space-1);
}

@media (min-width: 1081px) {
  .aligned-route-resources .resource-selector-hero-inner {
    padding-top: 40px;
    padding-bottom: 44px;
  }
}

/* Federal classifications: one search, ranked results, conditional controls. */
.classification-tools {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.classification-search-actions,
.classification-type-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--civic-space-2);
  align-items: center;
}

.classification-search-actions,
.classification-tools > p,
.classification-search-results {
  grid-column: 1 / -1;
}

.classification-search-actions [hidden],
.classification-type-filters[hidden],
.classification-copy-status:empty {
  display: none;
}

.classification-type-filters button {
  min-height: 44px;
  border: 1px solid var(--civic-line-strong);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: var(--civic-blue);
  background: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.classification-type-filters button[aria-pressed="true"] {
  border-color: var(--civic-blue);
  color: #fff;
  background: var(--civic-blue);
}

.classification-search-status,
.classification-copy-status {
  margin: 0;
}

.classification-copy-status:not(:empty) {
  border-left: 4px solid var(--civic-teal);
  padding: 0.55rem 0.75rem;
  background: var(--civic-teal-soft);
}

.classification-result-description,
.classification-no-results {
  min-width: 0;
  overflow-wrap: anywhere;
}

.aligned-route-federal .federal-context-paths {
  padding-block: var(--civic-space-5);
}

.aligned-route-federal .federal-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--civic-space-4);
  align-items: stretch;
}

.aligned-route-federal .federal-context-grid article {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.aligned-route-federal .federal-context-grid article .text-link {
  margin-top: auto;
}

/* Trust and Request: company evidence first, one plain next action. */
.aligned-route-trust .trust-operating-evidence-grid {
  margin-top: var(--civic-space-4);
}

.aligned-route-trust .principal-experience-panel {
  margin-top: var(--civic-space-4);
}

.trust-direct-contact {
  margin-top: var(--civic-space-3);
}

.request-conversion-shell .growth-request-hero .page-hero-inner {
  padding-top: clamp(2.5rem, 5vh, 4rem);
  padding-bottom: clamp(2.5rem, 5vh, 4rem);
}

.request-conversion-shell .growth-request-hero h1 {
  font-size: clamp(2.6rem, 4vw, 3.75rem);
}

.narrative-suggestion-copy {
  position: relative;
  padding-bottom: 2.7rem;
}

.narrative-suggestion-copy::after {
  position: absolute;
  right: var(--civic-space-3);
  bottom: 0.65rem;
  content: "Choose this wording";
  color: var(--civic-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Shared footer: retain 44px targets while removing empty vertical bands. */
.footer-grid {
  gap: var(--civic-space-4);
  padding-top: var(--civic-space-4);
  padding-bottom: var(--civic-space-3);
}

.footer-brand-lockup {
  margin-bottom: var(--civic-space-1);
}

.footer-grid > div > p {
  margin-block: var(--civic-space-1);
}

.site-footer address,
.site-footer nav {
  display: grid;
  align-content: start;
  gap: 0;
}

.footer-bottom {
  padding-block: var(--civic-space-2);
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1080px) {
  .aligned-route-services .services-engagement-stack {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .brief-hero {
    padding-top: 0;
    padding-bottom: var(--civic-space-1);
  }

  .brief-hero-grid {
    gap: var(--civic-space-1);
    padding-top: var(--civic-space-1);
    padding-bottom: var(--civic-space-3);
  }

  .brief-hero .eyebrow {
    margin: 0;
  }

  .brief-hero h1 {
    max-width: 18ch;
    margin: var(--civic-space-1) 0 var(--civic-space-2);
    font-size: clamp(1.9rem, 9vw, 2.35rem);
    line-height: 1.04;
  }

  .brief-hero .hero-copy {
    margin-top: var(--civic-space-2);
  }

  .brief-hero .home-principal-credibility {
    margin: var(--civic-space-1) 0 0;
  }

  .brief-hero .audience-pathfinder {
    padding: var(--civic-space-2);
  }

  .brief-hero .home-decision-results .audience-panel,
  .services-depth-disclosure .services-method-bridge {
    padding: var(--civic-space-3);
  }

  .services-depth-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: var(--civic-space-3);
  }

  .brief-hero .hero-actions {
    gap: var(--civic-space-1);
    margin-top: var(--civic-space-1);
  }

  .brief-hero .audience-pathfinder-heading .panel-kicker,
  .brief-hero .audience-pathfinder-heading h2 {
    margin-bottom: var(--civic-space-1);
  }

  .brief-hero .audience-pathfinder-heading > p:last-child {
    margin-bottom: 0;
    line-height: 1.4;
  }

  .brief-hero .audience-pathfinder h2 {
    font-size: 1.5rem;
    line-height: 1.08;
  }

  .brief-hero .audience-tabs {
    gap: var(--civic-space-1);
    margin-top: var(--civic-space-2);
    margin-bottom: var(--civic-space-1);
  }

  .brief-hero .audience-tabs button {
    min-height: 48px;
    padding: var(--civic-space-1) 10px;
  }

  .brief-hero .home-decision-results {
    margin-top: var(--civic-space-1);
    padding-top: var(--civic-space-1);
  }

  .brief-hero .home-decision-results .brief-section-heading {
    padding-bottom: var(--civic-space-1);
  }

  .brief-hero .home-decision-results .audience-panel {
    padding: 0;
  }

  .brief-hero .home-decision-results .audience-destinations {
    gap: 0 var(--civic-space-1);
    margin: var(--civic-space-1) 0 0;
  }

  .brief-hero .home-decision-results .audience-panel-actions {
    gap: var(--civic-space-1);
    margin-top: var(--civic-space-1);
    padding: 0;
  }

  .brief-hero .home-decision-results [data-decision-session],
  .brief-hero .home-decision-results [data-audience-session] {
    width: 100%;
  }

  .resource-selector-tools,
  .aligned-route-federal .federal-context-grid,
  .classification-search-results li {
    grid-template-columns: minmax(0, 1fr);
  }

  .resource-library-navigation .button,
  .resource-filter-utilities,
  .resource-filter-utilities > summary,
  .classification-search-actions > .button {
    width: 100%;
  }

  .aligned-route-resources .artifact-preview-fields > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .classification-result-type {
    margin-top: var(--civic-space-1);
  }

  .classification-code-copy {
    width: fit-content;
  }

  .site-footer address,
  .site-footer nav {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brief-hero .home-decision-results [data-decision-session],
  .brief-hero .home-decision-results [data-audience-session],
  .classification-type-filters button,
  .resource-filter-utilities > summary {
    transition: none !important;
  }
}

/* Official icon lockup and procurement-path usability refinement, 2026-09-07.
 * The source SVG canvas retains the prescribed clearspace; the rendered canvas
 * is large enough for the mark to remain legible beside the text wordmark. */
.brand,
.option1-shell .brand {
  gap: var(--civic-space-1);
  min-height: 48px;
}

.brand-logo {
  width: 42px;
  height: 42px;
}

.footer-brand-lockup {
  gap: var(--civic-space-1);
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: transparent;
}

.site-footer,
.option1-shell .site-footer,
.evidence-shell .site-footer {
  background: #0b1f3a;
}

.capability-download-action {
  max-width: 100%;
  white-space: normal;
}

.resource-card a[href="/resources/nextgen-capability-statement.pdf"][download="nextgen-capability-statement.pdf"] {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid var(--civic-blue);
  border-radius: var(--civic-radius-small);
  padding: 9px 12px;
  background: #eaf2fc;
  color: var(--civic-blue-dark);
  font-weight: 850;
  line-height: 1.3;
  text-decoration: none;
}

.resource-card a[href="/resources/nextgen-capability-statement.pdf"][download="nextgen-capability-statement.pdf"]:hover,
.resource-card a[href="/resources/nextgen-capability-statement.pdf"][download="nextgen-capability-statement.pdf"]:focus-visible {
  border-color: var(--civic-blue-dark);
  background: #dceafb;
  color: var(--civic-blue-dark);
}

.experience-home .brief-hero .hero-actions {
  margin-top: var(--civic-space-2);
}

/* Bounded DEV audit cleanup: lead with the catalog; keep short resource
 * articles content-sized instead of stretching them beside company facts. */
.solutions-shell .solutions-hero-grid,
.capability-resource-shell .page-hero-inner {
  padding-block: clamp(24px, 3vw, 40px);
}

.solutions-shell .solutions-priority,
.capability-resource-shell main > .section {
  padding-block: clamp(24px, 3vw, 40px);
}

.capability-resource-shell .conversion-grid,
.capability-resource-shell .outcome-grid {
  align-items: start;
  gap: var(--civic-space-4);
}

.capability-resource-shell .capability-review-copy {
  display: grid;
  gap: var(--civic-space-4);
  min-width: 0;
}

.capability-resource-shell .conversion-grid article,
.capability-resource-shell .outcome-grid > article {
  min-width: 0;
  min-height: 0;
  padding: var(--civic-space-4);
}

.capability-resource-shell .cta-panel {
  min-height: 0;
  padding: var(--civic-space-5);
}

/* Compact only transition bands that were visibly oversized; content-heavy
 * reading sections retain the shared section rhythm. */
.evidence-home [data-home-section="final-cta"],
.aligned-route-services .services-final-cta {
  padding-block: var(--civic-section-space-compact);
}

@media (min-width: 768px) {
  .aligned-route-trust .principal-experience-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--civic-space-5);
    row-gap: var(--civic-space-3);
  }
}

.aligned-route-federal .procurement-readiness-section,
.aligned-route-federal .federal-proof-section {
  padding-block: clamp(48px, 5vw, 64px);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .capability-download-action,
  .experience-goals .audience-tabs button {
    transition:
      transform var(--civic-motion-micro) var(--civic-ease-standard),
      border-color var(--civic-motion-micro) var(--civic-ease-standard),
      background-color var(--civic-motion-micro) var(--civic-ease-standard);
  }

  .capability-download-action:hover,
  .capability-download-action:focus-visible,
  .experience-goals .audience-tabs button:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-wordmark {
    font-size: 0.78rem;
  }

  .footer-logo {
    width: 46px;
    height: 46px;
  }

  .experience-home .brief-hero .hero-actions .button,
  .aligned-route-federal .federal-buyer-hero .hero-actions .button,
  .aligned-route-trust .trust-hero .hero-actions .button,
  .offer-hero .hero-actions .button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-wordmark {
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .capability-download-action,
  .experience-goals .audience-tabs button {
    transition: none !important;
    transform: none !important;
  }
}

/* Presentation correction: Service comparison cards use true component
 * sections, and dense diagrams are explicitly previews with readable HTML
 * context plus a same-origin full-size fallback. */
.aligned-route-services.services-three-engagements .services-choice-card {
  padding: 0;
}

.aligned-route-services.services-three-engagements .services-choice-heading h3 {
  font-size: clamp(1.45rem, 1.8vw, 1.75rem);
  line-height: 1.15;
}

.solution-detail-shell main > .confident-system-section,
.service-detail-reconciled main > .confident-system-section {
  padding-top: 0;
}

.artifact-preview .artifact-preview-title {
  margin: 0;
  font-family: inherit;
  font-weight: 800;
  line-height: 1.3;
}

.artifact-preview--diagram {
  /* Reset the browser's figure margins: nested previews otherwise lose 80px. */
  margin: 0;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
}

.artifact-preview--diagram .diagram-preview-image-link {
  display: block;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: var(--civic-paper);
}

.artifact-preview--diagram .diagram-preview-image-link img {
  border: 0;
  border-radius: 0;
}

.diagram-preview-image-link:focus-visible {
  outline-offset: -6px !important;
  box-shadow: inset 0 0 0 3px var(--civic-focus) !important;
}

.artifact-preview--diagram .artifact-preview-body {
  display: grid;
  grid-template-rows: auto auto auto minmax(44px, auto);
  gap: var(--civic-space-2);
  align-content: start;
  padding: var(--civic-space-3) var(--civic-space-4) var(--civic-space-4);
}

.proof-preview-grid .artifact-preview--diagram .artifact-preview-body {
  grid-template-rows: auto auto auto 1fr auto;
}

.proof-preview-grid .artifact-preview--diagram .diagram-preview-actions {
  grid-row: 5;
}

.diagram-preview-label {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--civic-teal-soft);
  color: var(--civic-teal);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.diagram-preview-summary {
  margin: 0;
  color: var(--civic-muted);
  line-height: 1.55;
}

.diagram-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--civic-space-2) var(--civic-space-3);
  align-items: center;
  align-self: end;
  margin-top: auto;
}

.diagram-preview-actions a,
.artifact-preview--diagram .artifact-preview-link {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  margin: 0;
  padding-block: 8px;
  font-weight: 790;
}

.proof-class-grid .diagram-preview-image-link {
  display: block;
  min-height: 0;
  margin-top: 0;
  padding-top: 0;
}

.proof-class-grid .diagram-preview-actions {
  margin-top: auto;
}

.proof-class-grid .diagram-preview-actions a {
  min-height: 44px;
  margin-top: 0;
  padding-top: 8px;
}

@media (max-width: 640px) {
  .credibility-primitive:has(> .artifact-preview--diagram) {
    padding: var(--civic-space-3);
  }

  .artifact-preview--diagram .artifact-preview-body {
    padding: var(--civic-space-3);
  }
}
