/* Consolidated homepage sections; shared components remain unchanged. */
/* Match the former dashboard h3 without introducing a document heading. */
.hero .dash .dashboard-title {
  margin: 0 0 6px;
  color: #24324d;
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 380px) {
  .hero .dash .dashboard-title {
    overflow-wrap: anywhere;
  }
}

.home-content {
  color: #17284a;
}

.home-content .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.home-content__intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.home-content .eyebrow {
  color: #3155ce;
}

.home-content__intro h2 {
  margin: 12px 0 16px;
  line-height: 1.2;
  text-wrap: balance;
}

.home-content p {
  color: #53617b;
  line-height: 1.65;
}

.home-content__grid,
.home-content__industries,
.home-content__services {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-content__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid #dce2f1;
  border-radius: 16px;
  background: #fff;
}

.home-content__card h3 {
  margin: 18px 0 10px;
  font-size: 19px;
  line-height: 1.4;
}

.home-content__card p {
  margin: 0 0 20px;
  font-size: 15px;
}

.home-content__card > a {
  align-self: flex-start;
  margin-top: auto;
}

.home-content a:not(.btn) {
  color: #3155ce;
  font-weight: 600;
  text-underline-offset: 4px;
}

.home-content a:not(.btn):hover {
  text-decoration: underline;
}

.home-content a:focus-visible,
.home-footer a:focus-visible,
.home-footer summary:focus-visible {
  outline: 3px solid #5574d8;
  outline-offset: 4px;
  border-radius: 4px;
}

.home-content__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 28px;
}

.home-content__note {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid #dce2f1;
  font-size: 14px;
}

.home-content--industries {
  border-block: 1px solid #e3e8f3;
  background: #f8faff;
}

.home-content__industries a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  min-height: 76px;
  padding: 20px;
  border: 1px solid #dce2f1;
  border-radius: 12px;
  background: #fff;
  line-height: 1.5;
}

.home-content__services li {
  min-width: 0;
  padding: 20px;
  border-left: 2px solid #5875d4;
  background: #f8faff;
}

.home-content__services h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.4;
}

.home-content__services p {
  margin: 0;
  font-size: 14px;
}

.home-content--cta {
  padding-top: 0;
}

.home-content__cta {
  display: grid;
  gap: 24px;
  padding: 28px;
  border: 1px solid #dce2f1;
  border-radius: 20px;
  background: linear-gradient(120deg, #edf2ff, #f6f4ff);
}

.home-content__cta h2 {
  margin: 0 0 12px;
  line-height: 1.2;
  text-wrap: balance;
}

.home-content__cta p {
  max-width: 650px;
  margin: 0;
}

.home-content__cta .home-content__actions {
  margin-top: 0;
}

.home-footer > .wrap {
  display: block;
}

.home-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.home-footer__grid > nav {
  display: block;
  height: auto;
}

.home-footer__grid h2 {
  margin: 0 0 16px;
  font-size: 19px;
}

.home-footer__grid p {
  margin: 0 0 12px;
  color: #d0d9ef;
  line-height: 1.65;
}

.home-footer__grid ul,
.home-footer__resources ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-footer__grid a,
.home-footer__resources a {
  display: inline-block;
  margin: 0;
  padding-block: 6px;
  color: #e2e8f7;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.home-footer li {
  margin: 0;
}

.home-footer__resources {
  margin-top: 28px;
  border-top: 1px solid #3c4868;
  border-bottom: 1px solid #3c4868;
  color: #e2e8f7;
}

.home-footer__resources summary {
  padding-block: 8px;
  cursor: pointer;
}

.home-footer__resources ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 24px;
  padding-top: 12px;
}

.home-footer__resources p {
  max-width: 760px;
  color: #d0d9ef;
  line-height: 1.65;
}

@media (min-width: 640px) {
  .home-content__grid,
  .home-content__industries,
  .home-content__services,
  .home-footer__resources ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .home-footer__grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1000px) {
  .home-content__grid,
  .home-content__industries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .home-footer__grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }

  .home-footer__grid > div:first-child {
    grid-column: auto;
  }

  .home-footer__resources ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-content__cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 40px;
  }

  .home-content__cta .home-content__actions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

@media (min-width: 1200px) {
  .home-content__services {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
