.ap-solutions-page {
  min-height: 100vh;
  background: #f4f7f3;
  color: #0d2b0a;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

.ap-solutions-shell {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
  padding-block: clamp(150px, 18vh, 220px) 96px;
}

.ap-solutions-intro {
  max-width: 760px;
  margin-bottom: clamp(42px, 7vw, 76px);
}

.ap-solutions-intro > a {
  min-height: 44px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  color: #0f8f06;
  font-size: 14px;
  font-weight: 800;
  text-underline-offset: 4px;
}

.ap-solutions-intro h1 {
  max-width: 14ch;
  margin: 0;
  color: #0d2b0a;
  font-size: clamp(38px, 6vw, 78px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
}

.ap-solutions-intro p {
  max-width: 62ch;
  margin: 24px 0 0;
  color: #3f4f3e;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 500;
  line-height: 1.55;
}

.ap-solution-map {
  border-block: 1px solid rgba(13, 43, 10, .18);
}

.ap-solution-map a {
  color: inherit;
  text-decoration: none;
}

.ap-solution-map a:focus-visible,
.ap-solution-detail a:focus-visible {
  outline: 3px solid #0f8f06;
  outline-offset: 4px;
}

.ap-solution-map__hub {
  min-height: 84px;
  padding-block: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ap-solution-map__hub span {
  color: #0f8f06;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ap-solution-map__hub strong {
  max-width: 34ch;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.2;
  text-align: right;
}

.ap-solution-map__hub.is-current strong {
  color: #0f8f06;
}

.ap-solution-map__categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(13, 43, 10, .18);
}

.ap-solution-map__category {
  min-width: 0;
  padding: 28px clamp(18px, 3vw, 34px) 30px;
}

.ap-solution-map__category + .ap-solution-map__category {
  border-left: 1px solid rgba(13, 43, 10, .18);
}

.ap-solution-map__category.is-current {
  background: #eaf9e7;
}

.ap-solution-map__category-link {
  min-height: 92px;
  display: block;
}

.ap-solution-map__category-link strong {
  display: block;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.ap-solution-map__category-link span {
  margin-top: 9px;
  display: block;
  color: #50604f;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.ap-solution-map__category-link[aria-current="page"] strong,
.ap-solution-map__category-link[aria-current="location"] strong {
  color: #0f8f06;
}

.ap-solution-map__category ul {
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(13, 43, 10, .16);
  list-style: none;
}

.ap-solution-map__category li + li {
  margin-top: 6px;
}

.ap-solution-map__category li a {
  min-height: 44px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  color: #243b23;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-underline-offset: 4px;
}

.ap-solution-map__category li a.is-current {
  color: #0f8f06;
  text-decoration: underline;
}

.ap-solution-detail {
  max-width: 900px;
  margin-top: clamp(52px, 8vw, 92px);
}

.ap-solution-detail > h2 {
  margin: 0 0 24px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
}

.ap-solution-detail__list {
  border-top: 1px solid rgba(13, 43, 10, .18);
}

.ap-solution-detail__list article {
  padding-block: 28px;
  border-bottom: 1px solid rgba(13, 43, 10, .18);
}

.ap-solution-detail__list h3 {
  margin: 0;
  font-size: clamp(21px, 2.5vw, 30px);
  line-height: 1.2;
}

.ap-solution-detail__list p,
.ap-solution-detail--service > p:first-child {
  max-width: 68ch;
  margin: 12px 0 0;
  color: #3f4f3e;
  font-size: 17px;
  line-height: 1.65;
}

.ap-solution-detail--service ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.ap-solution-detail--service li {
  padding: 10px 14px;
  border: 1px solid rgba(13, 43, 10, .24);
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
}

.ap-solution-detail__status {
  margin-top: 28px !important;
  color: #0b6b05 !important;
  font-size: 14px !important;
  font-weight: 800;
}

.ap-solution-pending {
  max-width: 900px;
  margin-top: clamp(52px, 8vw, 92px);
  padding-top: 28px;
  border-top: 1px solid rgba(13, 43, 10, .18);
}

.ap-solution-pending h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.2;
}

.ap-solution-pending p,
.ap-solution-pending li {
  color: #50604f;
  font-size: 15px;
  line-height: 1.55;
}

.ap-solution-pending ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.ap-solution-pending li + li {
  margin-top: 10px;
}

@media (max-width: 760px) {
  .ap-solutions-shell {
    width: min(100% - 28px, 1240px);
    padding-block: 124px 72px;
  }

  .ap-solutions-intro {
    margin-bottom: 36px;
  }

  .ap-solutions-intro h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .ap-solution-map__hub {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .ap-solution-map__hub strong {
    text-align: left;
  }

  .ap-solution-map__categories {
    grid-template-columns: 1fr;
  }

  .ap-solution-map__category {
    padding-inline: 4px;
  }

  .ap-solution-map__category + .ap-solution-map__category {
    border-top: 1px solid rgba(13, 43, 10, .18);
    border-left: 0;
  }

  .ap-solution-map__category.is-current {
    margin-inline: -10px;
    padding-inline: 14px;
  }

  .ap-solution-map__category-link {
    min-height: 0;
  }

  .ap-solution-detail--service ul {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ap-solutions-page *,
  .ap-solutions-page *::before,
  .ap-solutions-page *::after {
    scroll-behavior: auto !important;
  }
}
