.home-flow_section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  border-top: 1px solid rgba(15, 23, 36, 0.08);
  color: #1a1d24;
}

.home-flow_section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}

.home-flow_value {
  background: #f7f8fb;
  color: #1a1d24;
}

.home-flow_value::before {
  background: radial-gradient(circle at 20% 10%, rgba(76, 132, 224, 0.16), transparent 55%);
}

.home-flow_positioning {
  background: #f2f4f7;
  color: #1a1d24;
}

.home-flow_statement {
  background: #f7f8fb;
  color: #1a1d24;
}

.home-flow_statement::before {
  background: radial-gradient(circle at 80% 20%, rgba(76, 132, 224, 0.12), transparent 60%);
}

.home-flow_authority {
  background: #f2f4f7;
  color: #1a1d24;
}

.home-flow_stats {
  background: #f7f8fb;
  color: #1a1d24;
}

.home-flow_blocks {
  background: #f2f4f7;
  color: #1a1d24;
}

.home-flow_final-cta {
  background: radial-gradient(circle at top, rgba(76, 132, 224, 0.18), rgba(247, 248, 251, 0.92) 55%), #f7f8fb;
  color: #1a1d24;
}

.home-flow_final-cta::before {
  background: radial-gradient(circle at 50% 0%, rgba(76, 132, 224, 0.16), transparent 60%);
}

.home-flow_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.home-flow_header {
  max-width: 760px;
  margin-bottom: 40px;
}

.home-flow_header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.home-flow_eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(43, 108, 207, 0.8);
  margin-bottom: 12px;
  font-weight: 600;
}

.home-flow_heading {
  font-family: Syne, Inter, sans-serif;
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 16px;
  color: #10131a;
}

.home-flow_lead {
  font-family: Inter, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(26, 29, 36, 0.7);
  margin: 0;
}

.home-flow_body {
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(26, 29, 36, 0.72);
  margin: 0 0 16px;
}

.home-flow_value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px; /* controls separation from what follows */
}

.home-flow_card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 36, 0.1);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
}

.home-flow_card-title {
  font-size: 20px;
  margin: 0;
  color: #10131a;
}

.home-flow_card-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(26, 29, 36, 0.68);
  margin: 0;
}

.home-flow_text-link {
  margin-top: auto;
  color: #2b6ccf;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-flow_positioning-text,
.home-flow_positioning-strong {
  max-width: 900px;
}

.home-flow_positioning-text {
  font-size: 20px;
  line-height: 1.7;
  color: rgba(26, 29, 36, 0.75);
  margin: 0 0 16px; /* reset default top margin so layout is controlled */
}

.home-flow_positioning-text.is-spaced {
  margin-top: 24px;
  padding-top: 0;
}

.home-flow_positioning-strong {
  font-size: 18px;
  color: #10131a;
  margin: 0;
}

.home-flow_statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.home-flow_statement-content {
  max-width: 520px;
  display: grid;
  gap: 16px;
}

.home-flow_statement-media {
  position: relative;
  min-height: 360px;
}

.home-flow_img-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 36, 0.08);
  background: #fff;
  box-shadow: 0 20px 42px rgba(16, 24, 40, 0.16);
}

.home-flow_img-card--primary {
  width: 80%;
  aspect-ratio: 16 / 10;
  margin-left: auto;
  z-index: 2;
}

.home-flow_img-card--secondary {
  width: 48%;
  aspect-ratio: 4 / 3;
  position: absolute;
  top: 6%;
  left: 0;
  z-index: 3;
}

.home-flow_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-flow_authority-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.home-flow_authority-content {
  max-width: 520px;
  display: grid;
  gap: 16px;
}

.home-flow_bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.home-flow_bullets li {
  position: relative;
  padding-left: 24px;
  color: rgba(26, 29, 36, 0.72);
  line-height: 1.6;
}

.home-flow_bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2b6ccf;
  box-shadow: 0 0 12px rgba(43, 108, 207, 0.28);
}

.home-flow_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.home-flow_btn--primary {
  background: linear-gradient(135deg, #3d7cf0 0%, #1f4c9a 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(28, 72, 144, 0.24);
}

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

.home-flow_stat-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 36, 0.1);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 18px 36px rgba(16, 24, 40, 0.12);
}

.home-flow_stat-number {
  font-size: 38px;
  font-weight: 700;
  color: #10131a;
}

.home-flow_stat-label {
  margin-top: 8px;
  font-size: 15px;
  color: rgba(26, 29, 36, 0.7);
}

.home-flow_blocks-stack {
  display: grid;
  gap: 48px;
  margin-top: 40px;
}

.home-flow_block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.home-flow_block.is-reverse .home-flow_block-media {
  order: 2;
}

.home-flow_block.is-reverse .home-flow_block-content {
  order: 1;
}

.home-flow_block-img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 36, 0.08);
  box-shadow: 0 18px 36px rgba(16, 24, 40, 0.14);
  display: block;
}

.home-flow_subheading {
  font-size: 26px;
  margin: 0 0 12px;
  color: #10131a;
}

.home-flow_block-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgba(26, 29, 36, 0.72);
}

.home-flow_block-list li {
  line-height: 1.6;
}

.home-flow_final-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.home-flow_img-placeholder {
  background: linear-gradient(135deg, rgba(61, 124, 240, 0.2), rgba(247, 248, 251, 0.9));
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 36, 0.1);
  width: 100%;
  aspect-ratio: 16 / 10;
}

.home-flow_img-placeholder.is-small {
  aspect-ratio: 4 / 3;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.home-flow_shift-left {
  transform: translateY(14px) translateX(-14px);
}

.home-flow_shift-right {
  transform: translateY(14px) translateX(14px);
}

.home-flow_shift-left.is-inview,
.home-flow_shift-right.is-inview {
  transform: translateY(0) translateX(0);
}

.home-flow_stat-note {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: rgba(15, 23, 36, 0.7);
}

@media screen and (max-width: 991px) {
  .home-flow_section {
    padding: 80px 0;
  }

  .home-flow_heading {
    font-size: 34px;
  }

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

  .home-flow_statement-grid,
  .home-flow_authority-grid,
  .home-flow_block {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-flow_statement-media {
    min-height: 300px;
  }

  .home-flow_block.is-reverse .home-flow_block-media {
    order: 0;
  }

  .home-flow_block.is-reverse .home-flow_block-content {
    order: 1;
  }
}

@media screen and (max-width: 767px) {
  .home-flow_section {
    padding: 64px 0;
  }

  .home-flow_container {
    padding: 0 24px;
  }

  .home-flow_heading {
    font-size: 30px;
  }

  .home-flow_value-grid,
  .home-flow_stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-flow_statement-media {
    min-height: 240px;
  }

  .home-flow_img-card--primary {
    width: 92%;
  }

  .home-flow_img-card--secondary {
    width: 58%;
  }

  .home-flow_subheading {
    font-size: 22px;
  }
}

@media screen and (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
  }
}

/* Trust marquee */
.section.trust-band {
  padding-top: 24px;
  padding-bottom: 24px;
}

.trust-band__header {
  margin-bottom: 12px;
}

.trust-band__marquee {
  position: relative;
  margin-top: 6px;
  --trust-marquee-duration: 45s;
}

.trust-band__viewport {
  overflow: hidden;
  width: 100%;
}

.trust-band__move {
  display: flex;
  width: max-content;
  animation: trust-marquee var(--trust-marquee-duration) linear infinite;
  will-change: transform;
}

.trust-band__track {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  flex-shrink: 0;
}

.trust-band__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.trust-band__logo {
  height: 22px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.trust-band__item:hover .trust-band__logo {
  opacity: 0.95;
  filter: grayscale(0%);
}

.trust-band__placeholder {
  height: 22px;
  min-width: 120px;
  padding: 6px 12px;
  border: 1px solid rgba(248, 250, 252, 0.2);
  border-radius: 999px;
  color: rgba(248, 250, 252, 0.7);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-band__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  pointer-events: none;
  z-index: 2;
}

.trust-band__fade--left {
  left: 0;
  background: linear-gradient(90deg, #0f1724 0%, rgba(15, 23, 36, 0) 100%);
}

.trust-band__fade--right {
  right: 0;
  background: linear-gradient(270deg, #0f1724 0%, rgba(15, 23, 36, 0) 100%);
}

.trust-band__marquee:hover .trust-band__move {
  animation-play-state: paused;
}

@keyframes trust-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 767px) {
  .section.trust-band {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .trust-band__logo {
    height: 18px;
  }

  .trust-band__track {
    gap: 28px;
    padding-right: 28px;
  }

  .trust-band__fade {
    width: 52px;
  }
}

@media screen and (prefers-reduced-motion: reduce) {
  .trust-band__move {
    animation: none;
    transform: none;
  }

  .trust-band__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .trust-band__track {
    gap: 28px;
    padding-right: 28px;
  }

  .trust-band__fade {
    display: none;
  }
}
