.home-hero {
  min-height: min(760px, calc(100vh - var(--bit-header-height)));
}

.home-hero .bit-hero__inner {
  width: min(calc(100% - 2rem), var(--bit-content-max));
  margin-inline: auto;
}

.home-hero__search {
  display: flex;
  max-width: 680px;
  padding: 0.45rem;
  margin-top: 2rem;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(var(--bit-brand-rgb), 0.2);
  border-radius: 1rem;
  box-shadow: var(--bit-shadow);
}

.home-hero__search .form-control {
  min-width: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-hero__search .btn {
  flex: 0 0 auto;
}

.home-hero__quick {
  display: flex;
  margin-top: 0.9rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  color: var(--bit-text-muted);
  font-size: 0.82rem;
}

.home-hero__quick a {
  color: var(--bit-brand-dark);
  font-weight: 650;
  text-decoration: none;
}

.home-channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-channel-card {
  position: relative;
  display: flex;
  min-height: 230px;
  padding: 1.5rem;
  overflow: hidden;
  flex-direction: column;
  color: var(--bit-text);
  background: #fff;
  border: 1px solid var(--bit-border);
  border-radius: var(--bit-radius);
  text-decoration: none;
  transition: transform var(--bit-transition), box-shadow var(--bit-transition), border-color var(--bit-transition);
}

.home-channel-card::after {
  position: absolute;
  right: -2.5rem;
  bottom: -2.5rem;
  width: 8rem;
  height: 8rem;
  content: "";
  background: var(--bit-brand-light);
  border-radius: 50%;
  transition: transform var(--bit-transition);
}

.home-channel-card:hover {
  color: var(--bit-text);
  border-color: rgba(var(--bit-brand-rgb), 0.35);
  box-shadow: var(--bit-shadow);
  transform: translateY(-4px);
}

.home-channel-card:hover::after {
  transform: scale(1.15);
}

.home-channel-card--feature {
  grid-column: span 2;
  color: #fff;
  background: linear-gradient(135deg, var(--bit-brand-deep), var(--bit-brand-dark));
  border-color: transparent;
}

.home-channel-card--feature::after {
  width: 14rem;
  height: 14rem;
  background: rgba(255, 255, 255, 0.06);
}

.home-channel-card--feature:hover,
.home-channel-card--feature h3,
.home-channel-card--feature .home-channel-card__meta {
  color: #fff;
}

.home-channel-card__top,
.home-channel-card__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-channel-card h3 {
  position: relative;
  z-index: 1;
  margin: 1.4rem 0 0.55rem;
  font-size: 1.35rem;
}

.home-channel-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  color: var(--bit-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.home-channel-card--feature p {
  color: rgba(255, 255, 255, 0.78);
}

.home-channel-card__footer {
  margin-top: auto;
  color: var(--bit-brand);
  font-size: 0.82rem;
  font-weight: 750;
}

.home-channel-card--feature .home-channel-card__footer {
  color: #fff;
}

.home-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-feed {
  padding: 1.45rem;
  background: #fff;
  border: 1px solid var(--bit-border);
  border-radius: var(--bit-radius);
}

.home-feed__heading {
  display: flex;
  padding-bottom: 1rem;
  margin-bottom: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--bit-border);
}

.home-feed__heading h3 {
  margin: 0;
  font-size: 1.2rem;
}

.home-feed__list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.home-feed__item {
  padding: 1rem 0;
  border-bottom: 1px dashed var(--bit-border);
}

.home-feed__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.home-feed__item a {
  display: block;
  color: var(--bit-text);
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
}

.home-feed__item a:hover {
  color: var(--bit-brand);
}

.home-feed__meta {
  display: flex;
  margin-top: 0.45rem;
  justify-content: space-between;
  gap: 1rem;
  color: var(--bit-text-muted);
  font-size: 0.78rem;
}

.home-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
  gap: 1.5rem;
}

.home-featured__main {
  position: relative;
  min-height: 430px;
  display: flex;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  align-items: flex-end;
  color: #fff;
  background: var(--bit-brand-deep) url("/img/logo/placeholder-article-1200x675.jpg") center / cover no-repeat;
  border-radius: var(--bit-radius-lg);
}

.home-featured__main::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 43, 77, 0.08), rgba(3, 43, 77, 0.93));
}

.home-featured__content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.home-featured__content h3,
.home-featured__content a {
  color: #fff;
}

.home-featured__content .btn-light {
  color: var(--bit-brand-deep);
  background: #f8fbff;
  border-color: #f8fbff;
}

.home-featured__content .btn-light:hover,
.home-featured__content .btn-light:focus-visible {
  color: #fff;
  background: var(--bit-accent);
  border-color: var(--bit-accent);
}

.home-featured__content h3 {
  margin: 0.75rem 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.home-featured__side {
  display: grid;
  gap: 1rem;
}

.home-mini-article {
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--bit-border);
  border-radius: var(--bit-radius);
}

.home-mini-article h3 {
  margin: 0.75rem 0 0.55rem;
  font-size: 1.08rem;
}

.home-mini-article a {
  color: var(--bit-text);
  text-decoration: none;
}

.home-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-directory-panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--bit-border);
  border-radius: var(--bit-radius-lg);
}

.home-directory-panel__head {
  display: flex;
  margin-bottom: 1.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-directory-panel__head h3 {
  margin: 0;
}

.home-tool-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.home-tool-item {
  display: flex;
  padding: 0.85rem;
  align-items: center;
  gap: 0.75rem;
  color: var(--bit-text);
  background: var(--bit-page);
  border: 1px solid transparent;
  border-radius: 0.75rem;
  text-decoration: none;
}

.home-tool-item:hover {
  color: var(--bit-brand);
  background: var(--bit-brand-light);
  border-color: rgba(var(--bit-brand-rgb), 0.2);
}

.home-tool-item .bi {
  color: var(--bit-brand);
  font-size: 1.2rem;
}

.home-capabilities {
  color: rgba(255, 255, 255, 0.82);
  background: var(--bit-brand-deep);
}

.home-capabilities h2,
.home-capabilities h3,
.home-capabilities .bit-eyebrow {
  color: #fff;
}

.home-capability-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.home-capability {
  display: flex;
  min-height: 280px;
  padding: 1.4rem;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--bit-radius);
  text-decoration: none;
  transition: background var(--bit-transition), transform var(--bit-transition);
}

.home-capability:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-4px);
}

.home-capability .bit-icon-box {
  color: #063b63;
  background: #d9f2ff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.home-capability:nth-child(2) .bit-icon-box {
  color: #07503e;
  background: #d9f7e9;
}

.home-capability:nth-child(3) .bit-icon-box {
  color: #664008;
  background: #fff0c2;
}

.home-capability:nth-child(4) .bit-icon-box {
  color: #50358b;
  background: #ebe2ff;
}

.home-capability:nth-child(5) .bit-icon-box {
  color: #8a321f;
  background: #ffe2dc;
}

.home-capability h3 {
  margin: 1.25rem 0 0.65rem;
  font-size: 1.15rem;
}

.home-capability span:last-child {
  margin-top: auto;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 750;
}

.home-opc {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(130deg, #052f54 0%, #075b91 62%, #006fba 100%);
  border-radius: var(--bit-radius-lg);
}

.home-opc::before,
.home-opc::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.home-opc::before {
  width: 34rem;
  height: 34rem;
  top: -18rem;
  right: -8rem;
}

.home-opc::after {
  width: 20rem;
  height: 20rem;
  right: 5rem;
  bottom: -13rem;
}

.home-opc__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(2.25rem, 6vw, 5rem);
  align-items: center;
}

.home-opc h2,
.home-opc h3,
.home-opc .bit-eyebrow {
  color: #fff;
}

.home-opc__steps {
  display: grid;
  gap: 0.8rem;
}

.home-opc__step {
  display: flex;
  padding: 0.85rem 1rem;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.8rem;
}

.home-opc__step strong {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  color: #fff;
  background: var(--bit-accent);
  border-radius: 50%;
  font-size: 0.82rem;
  place-items: center;
}

.home-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.5rem;
}

.home-solution-list {
  display: grid;
  gap: 0.85rem;
}

.home-solution-item {
  display: flex;
  padding: 1rem 1.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--bit-text);
  background: #fff;
  border: 1px solid var(--bit-border);
  border-radius: 0.8rem;
  text-decoration: none;
}

.home-solution-item:hover {
  color: var(--bit-brand);
  border-color: rgba(var(--bit-brand-rgb), 0.35);
}

.home-case-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bit-border);
  border-radius: var(--bit-radius-lg);
}

.home-case-card img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}

.home-case-card__body {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.home-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.home-about-grid > aside img {
  width: 112px;
  height: 112px;
}

.home-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 2.25rem 0 0;
  gap: 0.8rem;
  list-style: none;
}

.home-timeline li {
  position: relative;
  min-width: 0;
  padding: 0.9rem 0.8rem 0.9rem 1rem;
  color: var(--bit-text-muted);
  background: #fff;
  border: 1px solid var(--bit-border);
  border-left: 3px solid var(--bit-accent);
  border-radius: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: left;
  overflow-wrap: anywhere;
}

.home-timeline li::before {
  display: none;
}

.home-timeline li::after {
  display: none;
}

.home-timeline li:last-child::after {
  display: none;
}

.home-timeline strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--bit-brand-dark);
  font-size: 1rem;
}

.home-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(220px, 0.55fr));
  gap: 1rem;
  align-items: stretch;
}

.home-contact-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: #fff;
  background: var(--bit-brand-dark);
  border-radius: var(--bit-radius);
}

.home-contact-card h2,
.home-contact-card h3 {
  color: #fff;
}

.home-contact-list {
  display: grid;
  padding: 0;
  margin: 1.5rem 0 0;
  gap: 0.75rem;
  list-style: none;
}

.home-contact-list a,
.home-contact-list li {
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 1199.98px) {
  .home-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .home-contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-contact-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991.98px) {
  .home-latest-grid,
  .home-featured,
  .home-opc__inner,
  .home-proof-grid,
  .home-about-grid {
    grid-template-columns: 1fr;
  }

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

  .home-case-card {
    grid-template-columns: 1fr;
  }

  .home-case-card img {
    min-height: 260px;
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 767.98px) {
  .home-hero__search {
    align-items: stretch;
    flex-direction: column;
    background: #fff;
  }

  .home-hero__search .btn {
    width: 100%;
  }

  .home-directory-grid,
  .home-contact-grid {
    grid-template-columns: 1fr;
  }

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

  .home-contact-card {
    grid-column: auto;
  }
}

@media (max-width: 575.98px) {
  .home-hero .bit-hero__inner {
    width: min(calc(100% - 1.25rem), var(--bit-content-max));
  }

  .home-channel-grid,
  .home-capability-grid,
  .home-tool-list {
    grid-template-columns: 1fr;
  }

  .home-channel-card--feature {
    grid-column: auto;
  }

  .home-channel-card {
    min-height: 210px;
  }
}
