.alignment-library {
  color: #15284a;
  background: #ffffff;
}

.alignment-shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.alignment-hero {
  background: #102443;
  color: #ffffff;
  padding: 96px 0 88px;
}

.alignment-hero--county {
  padding-top: 48px;
}

.alignment-hero__inner {
  max-width: 780px;
}

.alignment-eyebrow,
.alignment-plan-card__eyebrow,
.alignment-county-card__eyebrow {
  margin: 0 0 14px;
  color: #00859c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.alignment-hero .alignment-eyebrow {
  color: #6fe0e9;
}

.alignment-hero h1,
.alignment-section h2,
.alignment-section h3 {
  margin-top: 0;
}

.alignment-hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.alignment-hero__copy {
  max-width: 680px;
  margin: 0 0 30px;
  color: #e0eaf6;
  font-size: 1.16rem;
  line-height: 1.65;
}

.alignment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid #204873;
  border-radius: 8px;
  background: #204873;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.alignment-button:hover,
.alignment-button:focus-visible {
  border-color: #087f94;
  background: #087f94;
  color: #ffffff;
  transform: translateY(-1px);
}

.alignment-button--light {
  border-color: #ffffff;
  background: #ffffff;
  color: #102443;
}

.alignment-button--light:hover,
.alignment-button--light:focus-visible {
  border-color: #bdeff2;
  background: #bdeff2;
  color: #102443;
}

.alignment-back-link {
  display: inline-block;
  margin-bottom: 36px;
  color: #bfeef1;
  font-weight: 700;
  text-decoration: none;
}

.alignment-back-link:hover,
.alignment-back-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.alignment-section {
  padding: 84px 0;
}

.alignment-section--comparison,
.alignment-section--verify {
  background: #f1fafb;
}

.alignment-section--counties,
.alignment-section--documents {
  background: #ffffff;
}

.alignment-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 38px;
}

.alignment-section-heading--stacked {
  display: block;
  max-width: 740px;
}

.alignment-section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.alignment-section-heading > p,
.alignment-section-heading--stacked > p:last-child {
  margin: 0;
  color: #5d6e87;
  font-size: 1.08rem;
  line-height: 1.65;
}

.alignment-section-heading--stacked h2 {
  margin-bottom: 16px;
}

.alignment-check-grid,
.alignment-county-grid,
.alignment-plan-grid {
  display: grid;
  gap: 18px;
}

.alignment-check-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.alignment-check-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.alignment-check-card,
.alignment-county-card,
.alignment-plan-card,
.alignment-materials-note {
  border: 1px solid #cfe1e7;
  border-radius: 14px;
  background: #ffffff;
}

.alignment-check-card {
  padding: 28px;
}

.alignment-check-card__number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 23px;
  border-radius: 50%;
  background: #dff5f7;
  color: #007f94;
  font-size: 0.8rem;
  font-weight: 800;
}

.alignment-check-card h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.25;
}

.alignment-check-card p,
.alignment-plan-card p,
.alignment-materials-note p {
  margin: 0;
  color: #5d6e87;
  line-height: 1.6;
}

.alignment-region + .alignment-region {
  margin-top: 46px;
}

.alignment-region > h3 {
  margin-bottom: 18px;
  font-size: 1.38rem;
}

.alignment-county-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.alignment-county-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 28px;
  color: #15284a;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.alignment-county-card:hover,
.alignment-county-card:focus-visible {
  border-color: #01859a;
  box-shadow: 0 13px 32px rgba(21, 40, 74, 0.1);
  color: #15284a;
  transform: translateY(-3px);
}

.alignment-county-card__eyebrow {
  color: #00859c;
}

.alignment-county-card strong {
  margin-bottom: 13px;
  font-size: 1.35rem;
  line-height: 1.24;
}

.alignment-county-card > span:not(.alignment-county-card__eyebrow):not(.alignment-county-card__link) {
  color: #5d6e87;
  line-height: 1.55;
}

.alignment-county-card__link {
  margin-top: auto;
  padding-top: 24px;
  color: #007f94;
  font-weight: 800;
}

.alignment-plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.alignment-plan-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 30px;
}

.alignment-plan-card__file {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 25px;
  padding: 8px 10px;
  border-radius: 7px;
  background: #dff5f7;
  color: #007f94;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.alignment-plan-card h3 {
  margin-bottom: 12px;
  font-size: 1.42rem;
  line-height: 1.2;
}

.alignment-plan-card .alignment-button {
  width: fit-content;
  margin-top: auto;
}

.alignment-materials-note {
  max-width: 760px;
  padding: 40px;
}

.alignment-materials-note h3 {
  margin-bottom: 12px;
  font-size: 1.7rem;
  line-height: 1.25;
}

.alignment-materials-note .alignment-button {
  margin-top: 26px;
}

.alignment-section--cta {
  padding: 70px 0;
  background: #102443;
  color: #ffffff;
}

.alignment-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: center;
}

.alignment-cta h2 {
  max-width: 720px;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: clamp(2rem, 3.7vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.alignment-cta p:last-child {
  max-width: 750px;
  margin: 0;
  color: #dbe8f4;
  line-height: 1.65;
}

.alignment-disclosure {
  padding: 42px 0;
  background: #f7fafc;
}

.alignment-disclosure .medicare-disclosure,
.alignment-disclosure .sb-medicare-disclosure {
  margin: 0;
}

@media (max-width: 960px) {
  .alignment-check-grid--four,
  .alignment-county-grid,
  .alignment-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alignment-section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .alignment-shell {
    width: min(100% - 32px, 1200px);
  }

  .alignment-hero,
  .alignment-hero--county {
    padding: 66px 0;
  }

  .alignment-back-link {
    margin-bottom: 26px;
  }

  .alignment-section {
    padding: 58px 0;
  }

  .alignment-check-grid,
  .alignment-check-grid--four,
  .alignment-county-grid,
  .alignment-plan-grid,
  .alignment-cta {
    grid-template-columns: 1fr;
  }

  .alignment-check-card,
  .alignment-county-card,
  .alignment-plan-card,
  .alignment-materials-note {
    padding: 24px;
  }

  .alignment-county-card {
    min-height: 0;
  }

  .alignment-cta {
    gap: 28px;
  }

  .alignment-cta .alignment-button,
  .alignment-plan-card .alignment-button {
    width: 100%;
  }
}
