/* Accredia360 Ã¢â‚¬â€ How It Works page. Uses master_style.css for the shared design system. */
.hiw-page {
  --hiw-blue-900: #063b86;
  --hiw-blue-700: #0b63ce;
  --hiw-blue-500: #2488e8;
  --hiw-blue-100: #eaf5ff;
  --hiw-ink: #0b2545;
  --hiw-muted: #5f7288;
  --hiw-line: rgba(8, 74, 145, 0.12);
  background: #fff;
  color: var(--hiw-ink);
}

.hiw-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 90px;
  background: linear-gradient(
    135deg,
    #dff2ff 0%,
    #63b6f4 42%,
    #0a63c7 72%,
    #063b86 100%
  );
}

.hiw-hero::before,
.hiw-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
}

.hiw-hero::before {
  width: 420px;
  height: 420px;
  top: -210px;
  right: 5%;
  background: rgba(255, 255, 255, 0.18);
}

.hiw-hero::after {
  width: 520px;
  height: 520px;
  bottom: -330px;
  left: -140px;
  background: rgba(0, 44, 111, 0.22);
}

.hiw-hero__content,
.hiw-hero__visual {
  position: relative;
  z-index: 2;
}

.hiw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hiw-hero h1 {
  max-width: 760px;
  margin: 20px 0 18px;
  color: #fff;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hiw-hero__lead {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.hiw-hero__visual {
  margin-top: 48px;
}

.hiw-dashboard-frame {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 32px 80px rgba(2, 36, 87, 0.32);
  backdrop-filter: blur(12px);
}

.hiw-dashboard-frame img {
  display: block;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.25);
}

.hiw-section {
  padding: clamp(70px, 8vw, 110px) 0;
}

.hiw-section--soft {
  background: linear-gradient(145deg, #f7fbff, #eaf5ff 52%, #fff);
}

.hiw-section--blue {
  background: linear-gradient(135deg, #e7f5ff 0%, #5fb4f1 48%, #0b63c9 100%);
}

.hiw-section__intro {
  max-width: 780px;
  margin: 0 auto 54px;
  text-align: center;
}

.hiw-section__eyebrow {
  margin-bottom: 10px;
  color: var(--hiw-blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hiw-section__title {
  margin-bottom: 16px;
  color: var(--hiw-ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hiw-section--blue .hiw-section__title,
.hiw-section--blue .hiw-section__eyebrow {
  color: #fff;
}

.hiw-section__lead {
  color: var(--hiw-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hiw-section--blue .hiw-section__lead {
  color: rgba(255, 255, 255, 0.86);
}

.hiw-step {
  position: relative;
  height: 100%;
  padding: 30px 26px;
  border: 1px solid var(--hiw-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(7, 61, 119, 0.09);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.hiw-step:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 50px rgba(7, 61, 119, 0.16);
}

.hiw-step__number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--hiw-blue-500), var(--hiw-blue-900));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(10, 99, 199, 0.25);
}

.hiw-step__icon {
  display: block;
  margin-bottom: 16px;
  color: var(--hiw-blue-700);
  font-size: 1.55rem;
}

.hiw-step h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  font-weight: 750;
}

.hiw-step p {
  margin: 0;
  color: var(--hiw-muted);
  line-height: 1.65;
}

.hiw-role {
  height: 100%;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 45px rgba(0, 38, 94, 0.14);
}

.hiw-role__icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--hiw-blue-100);
  color: var(--hiw-blue-700);
  font-size: 1.35rem;
}

.hiw-role h3 {
  font-weight: 800;
}
.hiw-role p {
  color: var(--hiw-muted);
  line-height: 1.7;
}

.hiw-visual-card {
  overflow: hidden;
  border: 1px solid var(--hiw-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 25px 65px rgba(5, 65, 130, 0.14);
}

.hiw-visual-card img {
  display: block;
  width: 100%;
  height: auto;
}

.hiw-visual-card__caption {
  padding: 18px 22px;
  color: var(--hiw-muted);
  font-size: 0.92rem;
}

.hiw-state {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hiw-state span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
}

.hiw-cta {
  padding: 80px 20px;
  background: linear-gradient(135deg, #063b86, #0a63c7 55%, #5bb5f1);
  color: #fff;
  text-align: center;
}

.hiw-cta h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hiw-cta p {
  max-width: 680px;
  margin: 14px auto 28px;
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 991.98px) {
  .hiw-hero {
    padding-top: 125px;
  }
  .hiw-hero__visual {
    margin-top: 34px;
  }
}

@media (max-width: 767.98px) {
  .hiw-hero {
    padding: 105px 0 65px;
  }
  .hiw-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }
  .hiw-step,
  .hiw-role {
    padding: 25px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hiw-step {
    transition: none;
  }
}

/* Product carousel: reuse the same Accredia360 carousel treatment as the homepage. */
.hiw-hero .accr-hero-carousel {
  position: relative;
  width: 100%;
  padding: 14px 58px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 75px rgba(2, 36, 87, 0.34);
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.hiw-hero .accr-carousel-track {
  position: relative;
  min-height: 430px;
  padding: 0;
}
.hiw-hero .accr-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  pointer-events: none;
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hiw-hero .accr-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.hiw-hero .accr-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(229, 236, 248, 0.95);
  background: #fff;
  box-shadow: 0 22px 50px rgba(5, 31, 74, 0.28);
}
.hiw-hero .accr-slide figcaption {
  margin-top: 10px;
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.85rem;
}
.hiw-hero .accr-carousel-controls {
  position: absolute;
  top: 50%;
  right: 10px;
  left: auto;
  bottom: auto;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
  padding: 0;
  background: transparent;
}
.hiw-hero .accr-carousel-btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0b63ce;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(2, 36, 87, 0.2);
}
.hiw-hero .accr-carousel-dots {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.hiw-hero .accr-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.hiw-hero .accr-carousel-dots button.is-active {
  width: 10px;
  height: 10px;
  background: #fff;
  transform: scale(1.1);
}
@media (max-width: 991.98px) {
  .hiw-hero__visual {
    margin-top: 28px;
  }
  .hiw-hero .accr-carousel-track {
    min-height: 360px;
  }
}
@media (max-width: 575.98px) {
  .hiw-hero .accr-hero-carousel {
    padding: 8px 8px 50px;
    border-radius: 18px;
  }
  .hiw-hero .accr-carousel-track {
    min-height: 245px;
  }
  .hiw-hero .accr-carousel-controls {
    top: auto;
    right: 50%;
    bottom: 8px;
    transform: translateX(50%);
    flex-direction: row;
  }
  .hiw-hero .accr-carousel-dots {
    flex-direction: row;
  }
  .hiw-hero .accr-carousel-btn {
    width: 32px;
    height: 32px;
  }
  .hiw-hero .accr-slide figcaption {
    font-size: 0.72rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hiw-hero .accr-slide {
    transition: none;
  }
}

/* Six-stage experience: card grid rather than stacked rows. */
.hiw-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.hiw-steps-grid .hiw-step {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  isolation: isolate;
}

.hiw-steps-grid .hiw-step::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  top: -78px;
  right: -70px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(91, 181, 241, 0.18),
    rgba(6, 59, 134, 0.08)
  );
  z-index: -1;
}

.hiw-steps-grid .hiw-step:nth-child(2n) {
  transform: translateY(18px);
}

.hiw-steps-grid .hiw-step:nth-child(2n):hover {
  transform: translateY(11px);
}

.hiw-steps-grid .hiw-step__number {
  align-self: flex-start;
}

@media (max-width: 991.98px) {
  .hiw-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .hiw-steps-grid .hiw-step:nth-child(2n) {
    transform: none;
  }

  .hiw-steps-grid .hiw-step:nth-child(2n):hover {
    transform: translateY(-7px);
  }
}

@media (max-width: 575.98px) {
  .hiw-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hiw-steps-grid .hiw-step,
  .hiw-steps-grid .hiw-step:nth-child(2n) {
    min-height: 0;
    transform: none;
  }

  .hiw-steps-grid .hiw-step:hover,
  .hiw-steps-grid .hiw-step:nth-child(2n):hover {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hiw-steps-grid .hiw-step,
  .hiw-steps-grid .hiw-step:nth-child(2n) {
    transform: none;
  }
}

/* Six-stage card layout: preserve card presentation across breakpoints. */
@media (max-width: 991.98px) {
  .hiw-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .hiw-steps-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hiw-steps-grid .hiw-step {
    min-height: 0;
  }
}

/* Hero depth layer: workflow signals + subtle product-grid atmosphere. */
.hiw-hero::after {
  width: 680px;
  height: 680px;
  bottom: -430px;
  left: -180px;
  background: rgba(0, 44, 111, 0.18);
}

.hiw-hero::before {
  width: 520px;
  height: 520px;
  top: -260px;
  right: -60px;
  background: rgba(255, 255, 255, 0.16);
}

.hiw-hero .container {
  position: relative;
}

.hiw-hero .container::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -110px;
  right: -170px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(255, 255, 255, 0.035),
    0 0 0 94px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.hiw-hero__content {
  z-index: 3;
}

.hiw-hero__signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 30px;
}

.hiw-hero__signal {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.105);
  box-shadow: 0 14px 30px rgba(2, 36, 87, 0.13);
  backdrop-filter: blur(12px);
}

.hiw-hero__signal-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 0.85rem;
}

.hiw-hero__signal strong,
.hiw-hero__signal small {
  display: block;
}

.hiw-hero__signal strong {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.25;
}

.hiw-hero__signal small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  line-height: 1.3;
}

.hiw-hero__visual {
  z-index: 3;
}

.hiw-hero .accr-hero-carousel {
  transform: rotate(0.25deg);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.hiw-hero .accr-hero-carousel:hover {
  transform: translateY(-5px) rotate(0deg);
  box-shadow: 0 38px 88px rgba(2, 36, 87, 0.42);
}

@media (max-width: 1199.98px) {
  .hiw-hero__signals {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

@media (max-width: 991.98px) {
  .hiw-hero__signals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }
  .hiw-hero .container::before {
    right: -280px;
  }
}

@media (max-width: 767.98px) {
  .hiw-hero__signals {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hiw-hero__signal {
    min-height: 58px;
  }
}

/* Hero product composition Ã¢â‚¬â€ inspired by the Features hero, adapted for the workflow story. */
.hiw-hero__visual {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiw-hero__visual-backdrop {
  position: absolute;
  width: 78%;
  right: -4%;
  top: 10%;
  transform: rotate(5deg) translateY(8px);
  border-radius: 24px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 28px 65px rgba(2, 34, 83, 0.22);
  opacity: 0.34;
  overflow: hidden;
}

.hiw-hero__visual-backdrop img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  filter: saturate(0.82) contrast(1.04);
}

.hiw-hero__visual-shell::before {
  content: "HOW THE WORKFLOW CONNECTS";
  position: absolute;
  top: -15px;
  left: 24px;
  z-index: 4;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(7, 57, 125, 0.72);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  box-shadow: 0 10px 24px rgba(2, 36, 87, 0.18);
  backdrop-filter: blur(10px);
}

.hiw-hero__visual-shell {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 18px 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 34px 75px rgba(8, 39, 89, 0.3);
  backdrop-filter: blur(14px);
}

.hiw-hero__float {
  position: absolute;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(7, 39, 86, 0.22);
  backdrop-filter: blur(12px);
}

.hiw-hero__float strong,
.hiw-hero__float small {
  display: block;
}

.hiw-hero__float strong {
  color: #143e70;
  font-size: 0.76rem;
  line-height: 1.25;
}

.hiw-hero__float small {
  margin-top: 3px;
  color: #6b829d;
  font-size: 0.62rem;
  line-height: 1.35;
}

.hiw-hero__float-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eaf5ff;
  color: #2472c4;
  font-size: 0.78rem;
}

.hiw-hero__float--one {
  left: -30px;
  top: 17%;
}

.hiw-hero__float--two {
  right: -42px;
  top: 67%;
}

.hiw-hero__float--three {
  left: 8%;
  bottom: 3%;
}

@media (max-width: 1199px) {
  .hiw-hero__float--one {
    left: -8px;
  }
  .hiw-hero__float--two {
    right: -8px;
  }
}

@media (max-width: 991.98px) {
  .hiw-hero__visual {
    min-height: 460px;
    margin-top: 28px;
  }
  .hiw-hero__visual-backdrop {
    right: 2%;
    width: 72%;
  }
  .hiw-hero__float--one {
    left: 0;
    top: 13%;
  }
  .hiw-hero__float--two {
    right: 0;
    top: 52%;
  }
  .hiw-hero__float--three {
    left: 9%;
    bottom: 0;
  }
}

@media (max-width: 575.98px) {
  .hiw-hero__visual {
    min-height: 0;
    display: block;
  }
  .hiw-hero__visual-backdrop {
    display: none;
  }
  .hiw-hero__visual-shell {
    padding: 14px 9px 12px;
    border-radius: 20px;
  }
  .hiw-hero__visual-shell::before {
    left: 14px;
    top: -12px;
    font-size: 0.5rem;
  }
  .hiw-hero__float {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    min-width: 0;
    margin-top: 10px;
  }
  .hiw-hero__float--three {
    margin-bottom: 4px;
  }
}

/* Keep the floating WhatsApp control viewport-relative on this page. */
.whatsapp-icon {
  position: fixed;
  left: 20px;
  bottom: 45px;
  z-index: 999;
}

.whatsapp-icon a img {
  width: 70px;
  height: 70px;
}

/* How It Works â€” narrow desktop/tablet header fit.
   Keep the shared header implementation intact; only reduce its horizontal
   footprint on this page between the Bootstrap lg and xl breakpoints. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hiw-page-body .accredia-header .site-header__container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hiw-page-body .accredia-brand__name {
    font-size: 22px;
  }

  .hiw-page-body .accredia-brand__tagline {
    font-size: 7.5px;
    letter-spacing: 0.9px;
  }

  .hiw-page-body .accredia-nav__desktop {
    gap: 8px;
  }

  .hiw-page-body .accredia-nav__list {
    gap: 0;
  }

  .hiw-page-body .accredia-nav__list a {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 12px;
  }

  .hiw-page-body .accredia-nav__list a::after {
    left: 5px;
    right: 5px;
  }

  .hiw-page-body .accredia-nav__actions {
    gap: 7px;
  }

  .hiw-page-body .accredia-nav__link {
    font-size: 12px;
  }

  .hiw-page-body .accredia-nav__cta {
    min-height: 40px;
    padding-left: 11px;
    padding-right: 11px;
    font-size: 12px;
    white-space: nowrap;
  }
}

/* Mobile viewport root fix â€” keep the page and hero at the full viewport width. */
@media (max-width: 767.98px) {
  html,
  body {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hiw-page-body,
  .hiw-page,
  .hiw-hero {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .hiw-hero {
    overflow: hidden;
  }

  .hiw-hero .container {
    width: 100%;
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   How It Works â€” full viewport responsive pass (768pxâ€“1390px)
   Page-scoped only. Shared header.css/header.html remain untouched.
   -------------------------------------------------------------------------- */
.hiw-page-body,
.hiw-page-body .hiw-page,
.hiw-page-body .hiw-hero,
.hiw-page-body .hiw-section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.hiw-page-body .hiw-hero .container,
.hiw-page-body .hiw-section .container {
  width: 100%;
  min-width: 0;
}

.hiw-page-body .hiw-hero .row,
.hiw-page-body .hiw-section .row {
  min-width: 0;
}

.hiw-page-body .hiw-hero__content,
.hiw-page-body .hiw-hero__visual {
  min-width: 0;
}

.hiw-page-body .hiw-hero h1,
.hiw-page-body .hiw-hero__lead,
.hiw-page-body .hiw-section__title,
.hiw-page-body .hiw-section__lead,
.hiw-page-body .hiw-step,
.hiw-page-body .hiw-role {
  overflow-wrap: anywhere;
}

/* Large desktop: 1200pxâ€“1390px */
@media (min-width: 1200px) and (max-width: 1390px) {
  .hiw-page-body .hiw-hero {
    padding-top: 128px;
    padding-bottom: 82px;
  }

  .hiw-page-body .hiw-hero h1 {
    max-width: 680px;
    font-size: clamp(3.45rem, 4.15vw, 4.35rem);
    line-height: .99;
  }

  .hiw-page-body .hiw-hero__lead {
    max-width: 620px;
    font-size: 1.08rem;
    line-height: 1.68;
  }

  .hiw-page-body .hiw-hero__visual {
    min-height: 455px;
    margin-top: 24px;
  }

  .hiw-page-body .hiw-hero__visual-shell {
    width: min(100%, 535px);
    margin-left: auto;
    margin-right: auto;
  }

  .hiw-page-body .hiw-hero__visual-backdrop {
    width: 72%;
    right: 2%;
  }

  .hiw-page-body .hiw-hero__float {
    min-width: 175px;
  }

  .hiw-page-body .hiw-hero__float--one {
    left: 0;
  }

  .hiw-page-body .hiw-hero__float--two {
    right: 0;
  }

  .hiw-page-body .hiw-hero__float--three {
    left: 8%;
  }
}

/* Tablet / compact desktop: 992pxâ€“1199px */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hiw-page-body .hiw-hero {
    padding-top: 122px;
    padding-bottom: 76px;
  }

  .hiw-page-body .hiw-hero h1 {
    max-width: 590px;
    font-size: clamp(3.15rem, 4.25vw, 4rem);
    line-height: 1;
  }

  .hiw-page-body .hiw-hero__lead {
    max-width: 560px;
    font-size: 1rem;
    line-height: 1.68;
  }

  .hiw-page-body .hiw-hero__visual {
    min-height: 420px;
    margin-top: 12px;
  }

  .hiw-page-body .hiw-hero__visual-shell {
    width: min(100%, 445px);
    margin-left: auto;
    margin-right: auto;
  }

  .hiw-page-body .hiw-hero__visual-backdrop {
    width: 70%;
    right: 2%;
  }

  .hiw-page-body .hiw-hero__float {
    min-width: 160px;
    padding: 9px 10px;
  }

  .hiw-page-body .hiw-hero__float--one {
    left: 0;
  }

  .hiw-page-body .hiw-hero__float--two {
    right: 0;
  }

  .hiw-page-body .hiw-hero__float--three {
    left: 7%;
  }

  .hiw-page-body .hiw-hero__signal {
    min-width: 0;
  }
}

/* Tablet: 768pxâ€“991px â€” single-column hero with controlled visual width. */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hiw-page-body .hiw-hero {
    padding-top: 112px;
    padding-bottom: 70px;
  }

  .hiw-page-body .hiw-hero .container {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hiw-page-body .hiw-hero h1 {
    max-width: 760px;
    font-size: clamp(3rem, 7vw, 4.2rem);
    line-height: .99;
  }

  .hiw-page-body .hiw-hero__lead {
    max-width: 720px;
    font-size: 1.06rem;
    line-height: 1.7;
  }

  .hiw-page-body .hiw-hero__signals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }

  .hiw-page-body .hiw-hero__signal:last-child {
    grid-column: 1 / -1;
  }

  .hiw-page-body .hiw-hero__visual {
    width: min(100%, 720px);
    min-height: 430px;
    margin: 38px auto 0;
  }

  .hiw-page-body .hiw-hero__visual-shell {
    width: min(100%, 650px);
    margin: 0 auto;
  }

  .hiw-page-body .hiw-hero__visual-backdrop {
    width: 68%;
    right: 6%;
  }

  .hiw-page-body .hiw-hero__float {
    min-width: 175px;
  }

  .hiw-page-body .hiw-hero__float--one {
    left: 0;
  }

  .hiw-page-body .hiw-hero__float--two {
    right: 0;
  }

  .hiw-page-body .hiw-hero__float--three {
    left: 12%;
  }
}

/* Small mobile: retain the working full-width behavior below 768px. */
@media (max-width: 767.98px) {
  .hiw-page-body .hiw-hero .container,
  .hiw-page-body .hiw-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hiw-page-body .hiw-hero h1 {
    max-width: 100%;
  }

  .hiw-page-body .hiw-hero__visual {
    width: 100%;
    max-width: 100%;
  }
}

/* Prevent decorative/float layers from creating horizontal scroll at every width. */
@media (max-width: 1390px) {
  .hiw-page-body .hiw-hero,
  .hiw-page-body .hiw-section {
    overflow-x: clip;
  }
}

/* ---------------------------------------------------------------
   HOW IT WORKS â€” single-image carousel presentation
   The separate tilted backdrop image is intentionally removed.
   The carousel shell now fits the active product screenshot only.
   --------------------------------------------------------------- */
.hiw-page-body .hiw-hero__visual-backdrop {
  display: none !important;
}

.hiw-page-body .hiw-hero__visual-shell {
  width: 100%;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.hiw-page-body .hiw-hero__visual-shell::before {
  display: none !important;
}

.hiw-page-body .hiw-hero .accr-hero-carousel {
  width: 100%;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
  backdrop-filter: none !important;
}

.hiw-page-body .hiw-hero .accr-carousel-track {
  width: 100%;
  min-height: 0 !important;
  aspect-ratio: 1200 / 760;
  padding: 0 !important;
  overflow: hidden !important;
}

.hiw-page-body .hiw-hero .accr-slide {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  transform: scale(.985) !important;
  transition: opacity .65s ease, transform .65s cubic-bezier(.22,.61,.36,1) !important;
}

.hiw-page-body .hiw-hero .accr-slide.is-active {
  opacity: 1 !important;
  transform: scale(1) !important;
  z-index: 2 !important;
}

.hiw-page-body .hiw-hero .accr-slide img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  border: 1px solid rgba(229,236,248,.95) !important;
  border-radius: 16px !important;
  background: #fff !important;
  filter: none !important;
  opacity: 1 !important;
  box-shadow: 0 24px 55px rgba(5,31,74,.26) !important;
}

.hiw-page-body .hiw-hero .accr-slide figcaption {
  display: none !important;
}

/* Keep navigation inside the image frame without adding extra carousel height. */
.hiw-page-body .hiw-hero .accr-carousel-controls {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  transform: none !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 12px !important;
  background: transparent !important;
  pointer-events: none !important;
  z-index: 5 !important;
}

.hiw-page-body .hiw-hero .accr-carousel-btn {
  pointer-events: auto !important;
}

.hiw-page-body .hiw-hero .accr-carousel-dots {
  position: absolute !important;
  left: 50% !important;
  bottom: 10px !important;
  transform: translateX(-50%) !important;
  flex-direction: row !important;
  z-index: 6 !important;
}

@media (max-width: 767.98px) {
  .hiw-page-body .hiw-hero .accr-hero-carousel {
    border-radius: 14px !important;
  }

  .hiw-page-body .hiw-hero .accr-carousel-controls {
    padding: 0 8px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hiw-page-body .hiw-hero .accr-slide {
    transition: none !important;
  }
}

/* Restore the original layered hero presentation while keeping one active
   carousel image visible at a time. */
.hiw-page-body .hiw-hero__visual-backdrop {
  display: block !important;
  position: absolute !important;
  inset: auto auto auto 20% !important;
  width: 96% !important;
  height: 75% !important;
  z-index: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  opacity: .24 !important;
  filter: none !important;
  transform: rotate(9deg) scale(.96) !important;
}

.hiw-page-body .hiw-hero__visual-backdrop img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: inherit !important;
  box-shadow: 0 24px 60px rgba(4,32,74,.14) !important;
}

.hiw-page-body .hiw-hero__visual-shell {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  padding: 14px !important;
  border: 1px solid rgba(255,255,255,.62) !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.34) !important;
  box-shadow: 0 28px 70px rgba(4,32,74,.18), inset 0 1px 0 rgba(255,255,255,.55) !important;
  backdrop-filter: blur(14px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.08) !important;
}

.hiw-page-body .hiw-hero__visual-shell::before {
  display: flex !important;
  content: "EVIDENCE WORKFLOW" !important;
  position: absolute !important;
  top: -15px !important;
  right: 28px !important;
  left: auto !important;
  inset-inline: auto 28px !important;
  width: max-content !important;
  height: auto !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 7px 13px !important;
  border: 1px solid rgba(255,255,255,.46) !important;
  border-radius: 999px !important;
  background: rgba(7,57,125,.78) !important;
  color: rgba(255,255,255,.94) !important;
  font-size: .58rem !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 24px rgba(2,36,87,.18) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  pointer-events: none !important;
  z-index: 6 !important;
}

.hiw-page-body .hiw-hero .accr-hero-carousel {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

/* No arrows/dots: the carousel remains automatic and image-only. */
.hiw-page-body .hiw-hero .accr-carousel-controls {
  display: none !important;
}

@media (max-width: 767.98px) {
  .hiw-page-body .hiw-hero__visual-backdrop {
    inset: 4% auto auto 0% !important;
    width: 102% !important;
    height: 82% !important;
    transform: rotate(4deg) scale(.94) !important;
  }

  .hiw-page-body .hiw-hero__visual-shell {
    padding: 9px !important;
    border-radius: 18px !important;
  }

  .hiw-page-body .hiw-hero__visual-shell::before {
    top: -13px !important;
    right: 18px !important;
    padding: 6px 10px !important;
    font-size: .52rem !important;
  }

  .hiw-page-body .hiw-hero .accr-hero-carousel {
    border-radius: 12px !important;
  }
}