/* HAB: Swup 4 same-document Inzichtvenster for Home ↔ Zo werkt het. */

:root {
  --poc-blue: #135FD6;
  --poc-yellow: #ffbd1a;
  --poc-duration: 600ms !important;
  --poc-mobile-duration: 500ms;
}

body .site-header .desktop-nav > a {
  position: relative;
  box-shadow: none !important;
}

body .site-header .desktop-nav > a::after {
  position: absolute;
  right: .72rem;
  bottom: 3px;
  left: .72rem;
  height: 2.5px;
  content: '';
  border-radius: 2px;
  background: var(--poc-yellow);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform 150ms cubic-bezier(.2,0,0,1), opacity 100ms linear;
}

body .site-header .desktop-nav > a:not([aria-current='page']):hover::after,
body .site-header .desktop-nav > a:not([aria-current='page']):focus-visible::after,
body .site-header .desktop-nav > a.hab-poc-transition-origin::after {
  opacity: 1;
  transform: scaleX(1);
}

body .site-header .desktop-nav > a[aria-current='page']::after {
  background: var(--poc-blue);
  opacity: 1;
  transform: scaleX(1);
}

html.hab-poc-transitioning body .site-header .desktop-nav > a[aria-current='page']::after,
html.hab-poc-edge-live body .site-header .desktop-nav > a.hab-poc-transition-origin::after {
  opacity: 0;
}

.hab-poc-pressed {
  transition: filter 80ms linear;
  filter: brightness(.94);
}

::view-transition,
::view-transition-group(root),
::view-transition-image-pair(root),
::view-transition-old(root),
::view-transition-new(root),
::view-transition-group(hab-poc-edge),
::view-transition-image-pair(hab-poc-edge),
::view-transition-old(hab-poc-edge),
::view-transition-new(hab-poc-edge) {
  animation: none;
}

html.hab-poc-transitioning::view-transition-group(root) {
  z-index: 1;
  animation: none;
}

html.hab-poc-transitioning::view-transition-image-pair(root) {
  isolation: isolate;
}

html.hab-poc-transitioning::view-transition-old(root),
html.hab-poc-transitioning::view-transition-new(root) {
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: cover;
  mix-blend-mode: normal;
  transform: none;
  filter: none;
  visibility: visible;
  backface-visibility: hidden;
}

html.hab-poc-transitioning::view-transition-old(root) {
  z-index: 1;
  animation: hab-poc-mobile-out var(--poc-mobile-duration) linear both !important;
}

html.hab-poc-transitioning::view-transition-new(root) {
  z-index: 2;
  animation: hab-poc-mobile-in var(--poc-mobile-duration) linear both !important;
}

@keyframes hab-poc-mobile-out {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    animation-timing-function: cubic-bezier(.4, 0, 1, 1);
  }
  31.4286%, 100% {
    opacity: 0;
    transform: translate3d(0, -6px, 0);
  }
}

@keyframes hab-poc-mobile-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  31.4286% {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
    animation-timing-function: cubic-bezier(.22, 1, .36, 1);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

html.hab-poc-transitioning body .site-header {
  view-transition-name: hab-poc-mobile-header;
}

html.hab-poc-transitioning::view-transition {
  background: #031125;
}

html.hab-poc-transitioning::view-transition-group(hab-poc-mobile-header) {
  z-index: 4;
  animation: none !important;
}

html.hab-poc-transitioning::view-transition-image-pair(hab-poc-mobile-header),
html.hab-poc-transitioning::view-transition-old(hab-poc-mobile-header),
html.hab-poc-transitioning::view-transition-new(hab-poc-mobile-header) {
  opacity: 1;
  mix-blend-mode: normal;
  transform: none;
  animation: none !important;
}

html.hab-poc-transitioning::view-transition-image-pair(hab-poc-mobile-header) {
  isolation: isolate;
}

html.hab-poc-transitioning::view-transition-old(hab-poc-mobile-header) {
  z-index: 1;
}

html.hab-poc-transitioning::view-transition-new(hab-poc-mobile-header) {
  z-index: 0;
  opacity: 0;
}

@media (max-width: 1199px) {
  html.hab-poc-mobile-departure body .site-header .menu-toggle span,
  html.hab-poc-mobile-departure body .site-header .menu-toggle span:only-child {
    transition: none !important;
  }
}

@media (max-width: 767.98px) {
  html {
    background: #031125;
    scrollbar-color: rgba(255, 255, 255, .3) #031125;
  }

  html body .site-header {
    box-shadow: 0 1px 0 var(--poc-blue) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hab-poc-edge-capture {
    display: none;
    view-transition-name: none;
  }

  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

/* Home ↔ Zo werkt het: one sharp destination window, old page held beneath it. */
html.hab-insight-transitioning::view-transition-old(root) {
  opacity: 1;
  animation: none !important;
  transform: none;
}
html.hab-insight-transitioning::view-transition-new(root) {
  opacity: 1;
  transform: none;
  clip-path: var(--poc-clip-0);
  animation: hab-insight-open var(--poc-insight-duration, 550ms) linear both !important;
}
@keyframes hab-insight-open {
  0% { clip-path: var(--poc-clip-0); animation-timing-function: cubic-bezier(.2,.6,.3,1); }
  34% { clip-path: var(--poc-clip-1); animation-timing-function: cubic-bezier(.42,0,.25,1); }
  76% { clip-path: var(--poc-clip-2); animation-timing-function: cubic-bezier(.15,.6,.25,1); }
  100% { clip-path: var(--poc-clip-4); }
}
/* Close the menu in the same activation; no separate overlay fade before the reveal. */
html.hab-insight-preparing [data-mobile-menu],
html.hab-insight-preparing [data-menu-overlay] {
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html.hab-insight-transitioning::view-transition-new(root) {
    clip-path: none;
    animation: none !important;
  }
}

/* Zo werkt het — interactive dossier controls and flagship conversation path. */
body.page-how .how-route-dossier__controls {
  display: grid;
  grid-template-columns: 2.25rem minmax(11.5rem, auto) 2.25rem;
  align-items: center;
  gap: .55rem;
}

body.page-how .how-route-dossier__controls > span {
  color: #526983;
  text-align: center;
  white-space: nowrap;
}

body.page-how .how-route-dossier__controls button {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  padding: 0;
  color: #0b4faf;
  border: 1px solid #c7d6e8;
  border-radius: 50%;
  background: #f6f9fd;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

body.page-how .how-route-dossier__controls button:hover:not(:disabled),
body.page-how .how-route-dossier__controls button:focus-visible {
  color: #031125;
  border-color: #ffbf1f;
  background: #fff6d8;
  outline: none;
  transform: translateY(-1px);
}

body.page-how .how-route-dossier__controls button:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 191, 31, .2);
}

body.page-how .how-route-dossier__controls button:disabled {
  opacity: .34;
  cursor: default;
}

body.page-how .how-route-dossier__controls svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body.page-how .how-scenario-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(38, 119, 235, .2), transparent 31rem),
    radial-gradient(circle at 16% 88%, rgba(12, 68, 142, .19), transparent 28rem),
    linear-gradient(145deg, #020e20 0%, #071c39 55%, #031327 100%);
}

body.page-how .how-scenario-section::before {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(155, 196, 255, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 196, 255, .1) 1px, transparent 1px);
  background-size: 88px 88px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
}

body.page-how .how-scenario-section > .container {
  position: relative;
  z-index: 1;
}

body.page-how .how-scenario {
  display: grid;
  grid-template-columns: minmax(15.5rem, .34fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

body.page-how .how-scenario-tabs {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: .5rem;
  margin: 0;
  padding: .75rem;
  border: 1px solid rgba(155, 196, 255, .22);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(14, 43, 78, .9), rgba(5, 25, 50, .88));
  box-shadow: 0 24px 55px rgba(0, 7, 20, .28), inset 0 1px 0 rgba(255, 255, 255, .05);
}

body.page-how .how-scenario-tabs::before {
  padding: .7rem .75rem .55rem;
  color: rgba(205, 225, 249, .58);
  content: "Uw startsituatie";
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.page-how .how-scenario-tabs button {
  position: relative;
  min-height: 5rem;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: .7rem;
  padding: .8rem .9rem;
  color: rgba(225, 237, 251, .67);
  border: 1px solid rgba(155, 196, 255, .09);
  border-radius: .85rem;
  background: rgba(255, 255, 255, .025);
  font-size: .89rem;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

body.page-how .how-scenario-tabs button::after {
  position: absolute;
  top: 50%;
  right: .85rem;
  width: .42rem;
  height: .42rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
  opacity: .44;
  transform: translateY(-50%) rotate(45deg);
}

body.page-how .how-scenario-tabs button span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: #ffd15c;
  border: 1px solid rgba(255, 191, 31, .34);
  border-radius: 50%;
  background: rgba(255, 191, 31, .07);
}

body.page-how .how-scenario-tabs button:hover {
  color: #fff;
  border-color: rgba(155, 196, 255, .25);
  background: rgba(93, 155, 235, .09);
}

body.page-how .how-scenario-tabs button[aria-selected="true"] {
  color: #fff;
  border-color: rgba(255, 191, 31, .54);
  background: linear-gradient(105deg, rgba(25, 91, 180, .38), rgba(15, 51, 94, .78));
  box-shadow: inset 3px 0 0 #ffbf1f, 0 12px 28px rgba(0, 8, 22, .24);
  transform: translateX(.25rem);
}

body.page-how .how-scenario-tabs button[aria-selected="true"] span {
  color: #071c37;
  border-color: #ffbf1f;
  background: #ffbf1f;
}

body.page-how .how-scenario-workspace {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(155, 196, 255, .24);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 85% 8%, rgba(36, 116, 234, .13), transparent 23rem),
    linear-gradient(150deg, rgba(13, 40, 74, .96), rgba(5, 23, 47, .96));
  box-shadow: 0 30px 68px rgba(0, 7, 20, .3), inset 0 1px 0 rgba(255, 255, 255, .05);
}

body.page-how .how-scenario-workspace > header {
  min-height: 4.4rem;
  padding: 1rem 1.35rem;
  color: rgba(205, 225, 249, .56);
  border-bottom-color: rgba(155, 196, 255, .15);
  background: rgba(2, 14, 32, .26);
}

body.page-how .how-scenario-workspace > header span:first-child {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

body.page-how .how-scenario-workspace > header span:first-child::before {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #ffbf1f;
  box-shadow: 0 0 0 5px rgba(255, 191, 31, .11);
  content: "";
}

body.page-how .how-scenario-panel {
  min-height: 0;
  padding: clamp(2rem, 3.6vw, 3.5rem) clamp(1.5rem, 3.4vw, 3.25rem);
}

body.page-how .how-scenario-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  align-items: start;
}

body.page-how .how-scenario-path::before {
  top: 1.2rem;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, #ffbf1f 0%, #66a5f4 48%, rgba(102, 165, 244, .22) 100%);
  box-shadow: 0 0 18px rgba(59, 139, 236, .2);
}

body.page-how .how-scenario-path section {
  min-height: 13.75rem;
  padding: 3.9rem 1.3rem 1.4rem;
  border-color: rgba(155, 196, 255, .17);
  border-radius: 1rem;
  background: linear-gradient(155deg, rgba(15, 48, 87, .7), rgba(4, 20, 42, .64));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 16px 34px rgba(0, 8, 22, .16);
}

body.page-how .how-scenario-path section:nth-child(2) {
  margin-top: 1rem;
  border-color: rgba(101, 163, 241, .25);
  background: linear-gradient(155deg, rgba(20, 66, 119, .78), rgba(5, 24, 49, .7));
}

body.page-how .how-scenario-path section:nth-child(3) {
  margin-top: 2rem;
}

body.page-how .how-scenario-path section > span {
  top: .55rem;
  left: 1rem;
  width: 2.55rem;
  height: 2.55rem;
  color: #071c37;
  border: 6px solid #0b284c;
  background: #ffbf1f;
  box-shadow: 0 0 0 1px rgba(255, 191, 31, .25), 0 8px 18px rgba(0, 8, 22, .28);
}

body.page-how .how-scenario-path h3 {
  margin-bottom: .75rem;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.12;
}

body.page-how .how-scenario-path p {
  color: rgba(225, 237, 251, .72);
  font-size: .88rem;
  line-height: 1.58;
}

@media (max-width: 920px) {
  body.page-how .how-scenario {
    grid-template-columns: 1fr;
  }

  body.page-how .how-scenario-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-how .how-scenario-tabs::before {
    grid-column: 1 / -1;
  }

  body.page-how .how-scenario-tabs button[aria-selected="true"] {
    transform: none;
  }
}

@media (max-width: 767.98px) {
  body.page-how .how-route-dossier__top {
    min-height: 4.1rem;
    align-items: center;
  }

  body.page-how .how-route-dossier__controls {
    grid-template-columns: 2rem minmax(0, 1fr) 2rem;
    gap: .35rem;
  }

  body.page-how .how-route-dossier__controls button {
    width: 2rem;
    height: 2rem;
  }

  body.page-how .how-route-dossier__controls > span {
    font-size: .55rem;
  }

  body.page-how .how-scenario-section::before {
    background-size: 56px 56px;
  }

  body.page-how .how-scenario {
    gap: .75rem;
  }

  body.page-how .how-scenario-tabs {
    gap: .4rem;
    padding: .55rem;
    border-radius: 1rem;
  }

  body.page-how .how-scenario-tabs::before {
    padding: .45rem .45rem .35rem;
  }

  body.page-how .how-scenario-tabs button {
    min-height: 4.5rem;
    grid-template-columns: 1.75rem minmax(0, 1fr);
    gap: .5rem;
    padding: .65rem .7rem;
    font-size: .75rem;
  }

  body.page-how .how-scenario-tabs button::after {
    display: none;
  }

  body.page-how .how-scenario-tabs button span {
    width: 1.75rem;
    height: 1.75rem;
    font-size: .55rem;
  }

  body.page-how .how-scenario-workspace {
    border-radius: 1rem;
  }

  body.page-how .how-scenario-workspace > header {
    min-height: 3.9rem;
    align-items: flex-start;
    padding: .8rem 1rem;
    font-size: .57rem;
  }

  body.page-how .how-scenario-panel {
    padding: 1rem;
  }

  body.page-how .how-scenario-path {
    grid-template-columns: 1fr;
    gap: .6rem;
  }

  body.page-how .how-scenario-path::before {
    top: 2.25rem;
    bottom: 2.25rem;
    left: 1.83rem;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, #ffbf1f, #66a5f4 58%, rgba(102, 165, 244, .2));
  }

  body.page-how .how-scenario-path section,
  body.page-how .how-scenario-path section:nth-child(2),
  body.page-how .how-scenario-path section:nth-child(3) {
    min-height: 7.4rem;
    margin-top: 0;
    padding: 1.25rem 1rem 1.2rem 4.35rem;
  }

  body.page-how .how-scenario-path section > span {
    top: 1rem;
    left: .55rem;
    width: 2.55rem;
    height: 2.55rem;
  }

  body.page-how .how-scenario-path h3 {
    margin-bottom: .4rem;
    font-size: 1.08rem;
  }

  body.page-how .how-scenario-path p {
    font-size: .8rem;
    line-height: 1.5;
  }
}

@media (max-width: 520px) {
  body.page-how .how-route-dossier__top {
    align-items: stretch;
    flex-direction: column;
    gap: .7rem;
    padding-block: .8rem;
  }

  body.page-how .how-route-dossier__controls {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-how .how-route-dossier__controls button,
  body.page-how .how-scenario-tabs button {
    transition: none;
  }
}

/* Shared hero proof bridge — one compact transition surface on every photo route. */
body #main-content .hab-hero-assurances {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  margin: 13px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, .74);
  font-size: .8rem;
  line-height: 1.4;
  list-style: none;
}

body #main-content .hab-hero-assurances li {
  display: flex;
  align-items: center;
  gap: .75rem;
}

body #main-content .hab-hero-assurances li + li::before {
  width: 3px;
  height: 3px;
  flex: 0 0 3px;
  border-radius: 50%;
  background: #ffbf1f;
  content: "";
}

body #main-content .hab-proof-bridge.hab-proof-bridge {
  position: relative;
  z-index: 6;
  display: block;
  box-sizing: border-box;
  width: min(var(--site-container), calc(100% - 48px));
  min-height: 84px;
  margin-top: -42px;
  padding: 8px 12px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(130, 175, 230, .25);
  border-radius: 16px;
  background:
    radial-gradient(circle at 82% 0%, rgba(36, 116, 234, .16), transparent 22rem),
    #071c37;
  box-shadow: 0 18px 42px rgba(2, 13, 30, .23);
}

body #main-content .hab-proof-bridge.hab-proof-bridge::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 3px;
  background: linear-gradient(180deg, #2474ea 0 68%, #ffbf1f 68% 100%);
  content: "";
}

body #main-content .hab-proof-bridge .hab-proof-bridge__items {
  display: grid;
  min-height: 66px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

body #main-content .hab-proof-bridge .hab-proof-bridge__items li {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  gap: .7rem;
  padding: .55rem clamp(.85rem, 2vw, 1.65rem);
}

body #main-content .hab-proof-bridge .hab-proof-bridge__items li + li {
  border-left: 1px solid rgba(144, 183, 229, .2);
}

body #main-content .hab-proof-bridge .hab-proof-bridge__items li > span {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  min-height: 0;
  place-items: center;
  justify-content: center;
  padding: 0;
  color: #9dc8ff;
  border: 1px solid rgba(106, 169, 245, .5);
  border-radius: 50%;
  background: rgba(32, 104, 204, .12);
  box-shadow: 0 0 0 3px rgba(42, 121, 226, .05);
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .06em;
}

body #main-content .hab-proof-bridge .hab-proof-bridge__items li:last-child > span {
  color: #071c37;
  border-color: #ffbf1f;
  background: #ffbf1f;
  box-shadow: 0 0 0 3px rgba(255, 191, 31, .08);
}

body #main-content .hab-proof-bridge .hab-proof-bridge__items li > span {
  min-height: 0;
  justify-content: center;
  padding: 0;
}

body #main-content .hab-proof-bridge .hab-proof-bridge__items li > div {
  min-width: 0;
}

body #main-content .hab-proof-bridge .hab-proof-bridge__items small,
body #main-content .hab-proof-bridge .hab-proof-bridge__items strong {
  display: block;
}

body #main-content .hab-proof-bridge .hab-proof-bridge__items small {
  margin-bottom: .2rem;
  color: #8fb9ec;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.1;
  text-transform: uppercase;
}

body #main-content .hab-proof-bridge .hab-proof-bridge__items strong {
  color: #fff;
  font-family: var(--font-display, inherit);
  font-size: .82rem;
  font-weight: 760;
  line-height: 1.28;
}

/* Keep the first content beat equally spaced on every photo route. */
body #main-content .hab-proof-bridge.hab-proof-bridge + .section {
  padding-top: clamp(76px, 8vw, 112px);
}

body #main-content .hab-proof-bridge.hab-proof-bridge + .contract-scan-section .contract-scan-layout {
  align-items: start;
}

/* The route switcher belongs to the dossier and uses the dossier's light surface. */

body.page-how .how-route {
  display: block;
  overflow: hidden;
  border-color: rgba(7, 28, 55, .11);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 64px rgba(3, 17, 37, .14);
}

body.page-how .how-route-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: stretch;
  gap: .45rem;
  padding: .75rem;
  color: #071c37;
  border-bottom: 1px solid #d8e2ee;
  background: linear-gradient(180deg, #f8fafd, #f1f5fa);
}

body.page-how .how-route-progress,
body.page-how .how-route-tab::before {
  display: none;
}

body.page-how .how-route-tab {
  min-height: 4.2rem;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: .65rem;
  padding: .7rem .85rem;
  color: #647990;
  border: 1px solid transparent;
  border-radius: .75rem;
  background: transparent;
  transition: color 170ms ease, border-color 170ms ease, background-color 170ms ease, box-shadow 170ms ease;
}

body.page-how .how-route-tab span {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  padding: 0;
  color: #286ac5;
  border: 1px solid #b9d1ef;
  border-radius: 50%;
  background: #fff;
  font-size: .6rem;
}

body.page-how .how-route-tab strong {
  color: inherit;
  font-size: .9rem;
}

body.page-how .how-route-tab:hover {
  color: #0b2e57;
  border-color: #ccdae9;
  background: rgba(255, 255, 255, .72);
}

body.page-how .how-route-tab[aria-selected="true"] {
  color: #071c37;
  border-color: #cad8e8;
  background: #fff;
  box-shadow: inset 0 -3px 0 #2474ea, 0 8px 22px rgba(7, 28, 55, .07);
  transform: none;
}

body.page-how .how-route-tab[aria-selected="true"] span {
  color: #071c37;
  border-color: #ffbf1f;
  background: #ffbf1f;
  box-shadow: 0 0 0 4px rgba(255, 191, 31, .1);
}

body.page-how .how-route-dossier {
  background: #fff;
}

/* The conversation path is a sequence, not a staircase. */
body.page-how .how-scenario-path section:nth-child(2),
body.page-how .how-scenario-path section:nth-child(3) {
  margin-top: 0;
}

@media (max-width: 1120px) {
  body #main-content .hab-proof-bridge.hab-proof-bridge {
    width: min(var(--site-container), calc(100% - 48px));
  }

  body #main-content .hab-proof-bridge .hab-proof-bridge__items li {
    gap: .6rem;
    padding-inline: 1rem;
  }

  body #main-content .hab-proof-bridge .hab-proof-bridge__items strong {
    font-size: .8rem;
  }
}

@media (max-width: 767.98px) {
  body #main-content .hab-hero-assurances {
    gap: .35rem .6rem;
    margin-top: 12px;
    font-size: .72rem;
  }

  body #main-content .hab-hero-assurances li {
    gap: .6rem;
  }

  body #main-content .hab-proof-bridge.hab-proof-bridge {
    width: calc(100% - 24px);
    min-height: 0;
    margin-top: -32px;
    padding: 6px 12px;
    border-radius: 15px;
  }

  body #main-content .hab-proof-bridge .hab-proof-bridge__items {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  body #main-content .hab-proof-bridge .hab-proof-bridge__items li {
    min-height: 48px;
    grid-template-columns: 1.85rem minmax(0, 1fr);
    gap: .6rem;
    padding: .45rem .3rem;
  }

  body #main-content .hab-proof-bridge .hab-proof-bridge__items li + li {
    border-top: 1px solid rgba(144, 183, 229, .16);
    border-left: 0;
  }

  body #main-content .hab-proof-bridge .hab-proof-bridge__items li > span {
    width: 1.7rem;
    height: 1.7rem;
    font-size: .52rem;
  }

  body #main-content .hab-proof-bridge .hab-proof-bridge__items small {
    margin-bottom: .1rem;
    font-size: .51rem;
  }

  body #main-content .hab-proof-bridge .hab-proof-bridge__items strong {
    font-size: .73rem;
  }

  body #main-content .hab-proof-bridge + .about-why-section .about-why > div {
    order: -1;
  }

  body.page-how .how-route-section {
    padding-top: 78px;
  }

  body.page-how .how-route {
    border-radius: 16px;
  }

  body.page-how .how-route-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .4rem;
    padding: .55rem;
  }

  body.page-how .how-route-tab {
    min-height: 3.65rem;
    grid-template-columns: 1.65rem minmax(0, 1fr);
    gap: .5rem;
    padding: .55rem .6rem;
  }

  body.page-how .how-route-tab span {
    width: 1.55rem;
    height: 1.55rem;
    font-size: .53rem;
  }

  body.page-how .how-route-tab strong {
    font-size: .78rem;
  }
}
