.purchasing-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.8) 0%, rgba(5, 5, 5, 0.64) 46%, rgba(5, 5, 5, 0.42) 100%),
    url("/images/home/angeltrax-connected-roadway-hero-background.png") center 58% / cover no-repeat;
  background-attachment: scroll;
}

.purchasing-hero::before {
  position: absolute;
  inset: auto -14% -28% 38%;
  height: 62%;
  content: "";
  background: rgba(245, 155, 25, 0.16);
  transform: skewY(-8deg);
}

.purchasing-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.86fr);
  gap: 54px;
  align-items: center;
  min-height: 710px;
  padding: 78px 0 94px;
}

.purchasing-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  color: var(--white);
  font-size: 3.185rem;
  font-weight: 900;
  line-height: 1.03;
}

.purchasing-hero-copy p {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.purchasing-hero-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
}

.stage-header {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.stage-header span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stage-header strong {
  display: block;
  margin-top: 6px;
  color: var(--white);
  font-size: 2.1rem;
  line-height: 1.05;
}

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

.stage-compare > div {
  min-height: 250px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.stage-compare strong {
  color: var(--navy);
}

.stage-compare ol {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.stage-compare li {
  color: var(--muted);
  font-size: 0.88rem;
}

.stage-note {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.stage-note span:nth-child(odd) {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  color: var(--navy);
  font-weight: 900;
  border-radius: 6px;
  background: var(--orange);
}

.purchasing-proof-band {
  color: var(--white);
  background: var(--navy);
  border-top: 4px solid var(--orange);
}

.purchasing-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.purchasing-proof-grid div {
  min-height: 98px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 18px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.purchasing-proof-grid div:first-child {
  border-left: 0;
}

.purchasing-proof-grid strong {
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.purchasing-proof-grid span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.comparison-section,
.resources-section,
.faq-section {
  background: var(--soft);
}

.guidance-section,
.contracts-section {
  background: var(--white);
}

.process-grid,
.guidance-layout,
.resources-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
}

.process-card,
.guidance-card,
.resource-media,
.resource-grid a,
.contract-item,
.faq-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(8, 28, 72, 0.08);
}

.process-card {
  min-height: 640px;
  padding: 24px;
}

.process-card-header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.process-card-header span,
.guidance-kicker {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 6px;
  background: rgba(245, 155, 25, 0.18);
}

.process-card h3,
.guidance-card h3,
.resource-grid strong,
.contract-copy h3,
.faq-list h3 {
  margin: 12px 0 0;
  color: var(--navy);
  line-height: 1.16;
}

.process-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  font-weight: 800;
}

.process-list span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--navy);
  font-size: 0.74rem;
  font-weight: 900;
}

.short-path li {
  background: rgba(245, 155, 25, 0.1);
}

.short-path span {
  color: var(--navy);
  background: var(--orange);
}

.contract-card p,
.guidance-card p,
.resource-grid span,
.contract-copy p,
.contract-copy dd,
.faq-list p {
  color: var(--muted);
}

.contract-card p {
  margin-top: 22px;
  font-weight: 800;
}

.dark-list li {
  color: var(--muted);
}

.dark-list li::before {
  background: var(--navy);
}

.guidance-card {
  min-height: 390px;
  display: grid;
  align-content: center;
  padding: 34px;
}

.contact-stack {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-stack a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.contact-stack a:hover,
.contact-stack a:focus-visible,
.resource-grid a:hover,
.resource-grid a:focus-visible {
  border-color: rgba(245, 155, 25, 0.58);
  background: rgba(245, 155, 25, 0.08);
}

.resources-layout {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.05fr);
}

.resource-media {
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--navy);
}

.resource-media img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.resource-grid a {
  min-height: 156px;
  display: block;
  padding: 20px;
  color: inherit;
  text-decoration: none;
}

.resource-grid strong,
.resource-grid span {
  display: block;
}

.resource-grid span {
  margin-top: 8px;
  font-size: 0.92rem;
}

.contract-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contract-item {
  min-height: 370px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.contract-item:hover,
.contract-item:focus-visible {
  border-color: var(--orange);
  background: #252529;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 210, 4, 0.34);
  transform: translateY(-4px);
}

.vendor-mark {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  border-radius: 50%;
  background: var(--orange);
  font-size: 0.86rem;
  font-weight: 900;
}

.vendor-mark.blue {
  color: var(--white);
  background: var(--blue);
}

.vendor-mark.green {
  color: var(--white);
  background: var(--green);
}

.vendor-mark.gray {
  color: var(--white);
  background: #6b7280;
}

.contract-copy h3 {
  margin: 0 0 10px;
}

.national-contract-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.flag-star {
  width: 1in;
  height: 1in;
  flex: 0 0 1in;
  position: relative;
  display: inline-block;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  background:
    radial-gradient(circle at 18% 18%, #fff 0 2px, transparent 2.4px),
    radial-gradient(circle at 30% 29%, #fff 0 2px, transparent 2.4px),
    radial-gradient(circle at 18% 40%, #fff 0 2px, transparent 2.4px),
    radial-gradient(circle at 31% 51%, #fff 0 2px, transparent 2.4px),
    linear-gradient(90deg, #183a72 0 42%, transparent 42%),
    repeating-linear-gradient(180deg, #c41f32 0 8px, #fff 8px 16px);
  filter:
    drop-shadow(1px 0 0 rgba(255, 255, 255, 0.96))
    drop-shadow(-1px 0 0 rgba(255, 255, 255, 0.96))
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.96))
    drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.96))
    drop-shadow(0 8px 12px rgba(8, 28, 72, 0.18));
}

.flag-star::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 42%);
  pointer-events: none;
}

.contract-copy p {
  margin: 8px 0 16px;
  font-size: 0.92rem;
}

.contract-copy dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.contract-copy div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.contract-copy dt {
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contract-copy dd {
  margin: 4px 0 0;
  font-size: 0.9rem;
}

.needs-review {
  border-color: rgba(245, 155, 25, 0.54);
}

.status-pill {
  width: fit-content;
  display: inline-flex;
  margin-top: 14px;
  padding: 7px 9px;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 6px;
  background: rgba(245, 155, 25, 0.18);
}

.faq-layout {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list article {
  padding: 22px;
}

.faq-list h3 {
  margin-top: 0;
}

.faq-list p {
  margin-bottom: 0;
}

.purchasing-cta {
  background: var(--white);
}

@media (max-width: 1080px) {
  .purchasing-hero-inner,
  .process-grid,
  .guidance-layout,
  .resources-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .purchasing-hero-copy h1 {
  font-size: 2.8rem;
  }

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

  .purchasing-proof-grid div:nth-child(3) {
    border-left: 0;
  }

  .process-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .purchasing-hero-inner {
    min-height: auto;
    padding: 56px 0 66px;
  }

  .purchasing-hero-copy h1 {
  font-size: 2.03rem;
  }

  .purchasing-hero-stage {
    min-height: auto;
    padding: 18px;
  }

  .stage-compare,
  .stage-note,
  .purchasing-proof-grid,
  .resource-grid,
  .contract-grid {
    grid-template-columns: 1fr;
  }

  .stage-note {
    align-items: start;
  }

  .purchasing-proof-grid div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .purchasing-proof-grid div:first-child {
    border-top: 0;
  }

  .guidance-card,
  .resource-media,
  .contract-item {
    min-height: auto;
  }

  .guidance-card,
  .process-card,
  .contract-item {
    padding: 20px;
  }

  .resource-media img {
    min-height: 340px;
  }
}
