:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-soft: #f1f6f9;
  --text: #17212b;
  --muted: #65717f;
  --line: rgba(23, 33, 43, 0.1);
  --line-strong: rgba(23, 33, 43, 0.16);
  --accent: #2f7fb8;
  --accent-soft: #e9f4fb;
  --shadow: 0 24px 70px rgba(24, 39, 54, 0.12);
  --shadow-soft: 0 14px 42px rgba(24, 39, 54, 0.1);
  --radius-lg: 8px;
  --radius-md: 8px;
  --radius-sm: 8px;
  /* Shared public-site layout tokens. Keep the existing desktop proportions
     through 1536px, then let visual content grow to a bounded 1920px layout. */
  --public-shell-base-width: 1140px;
  --public-shell-wide-width: 1440px;
  --public-shell-max-width: var(--public-shell-base-width);
  --public-normal-content-base-width: 1060px;
  --public-normal-content-wide-width: 1360px;
  --public-normal-content-max-width: var(--public-normal-content-base-width);
  --public-visual-content-base-width: 1280px;
  --public-visual-content-wide-width: 1540px;
  --public-visual-content-max-width: var(--public-visual-content-base-width);
  --public-process-base-width: 1080px;
  --public-process-wide-width: calc(var(--public-visual-content-wide-width) - 40px);
  --public-process-max-width: var(--public-process-base-width);
  --public-process-card-max-height: 580px;
  --public-pricing-grid-base-width: 1332px;
  --public-pricing-grid-wide-width: calc(var(--public-visual-content-wide-width) + 80px);
  --public-pricing-grid-max-width: var(--public-pricing-grid-base-width);
  --public-pricing-card-width: 309px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

@media (min-width: 1537px) {
  :root {
    --public-shell-max-width: clamp(
      var(--public-shell-base-width),
      calc(78.125vw - 60px),
      var(--public-shell-wide-width)
    );
    --public-normal-content-max-width: clamp(
      var(--public-normal-content-base-width),
      calc(78.125vw - 140px),
      var(--public-normal-content-wide-width)
    );
    --public-visual-content-max-width: clamp(
      var(--public-visual-content-base-width),
      calc(67.7083vw + 240px),
      var(--public-visual-content-wide-width)
    );
    --public-process-max-width: clamp(
      var(--public-process-base-width),
      calc(109.375vw - 600px),
      var(--public-process-wide-width)
    );
    --public-process-card-max-height: clamp(580px, calc(18.2292vw + 300px), 650px);
    --public-process-card-wide-min-height: clamp(
      520px,
      calc(44.2708vw - 160px),
      690px
    );
    --public-pricing-grid-max-width: clamp(
      var(--public-pricing-grid-base-width),
      calc(75vw + 180px),
      var(--public-pricing-grid-wide-width)
    );
    --public-pricing-card-width: clamp(309px, calc(18.75vw + 21px), 381px);
    --public-pricing-card-wide-min-height: clamp(
      452px,
      calc(4.1667vw + 388px),
      468px
    );
  }

}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 44%, #ffffff 100%);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: geometricPrecision;
}

main {
  overflow: visible;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(47, 127, 184, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #2d607f;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-intro {
  width: min(780px, calc(100vw - 40px));
  margin: 0 auto 34px;
  text-align: center;
}

.section-intro .eyebrow {
  margin-inline: auto;
}

.section-intro h2 {
  margin: 0;
  color: var(--text);
  font-size: 4rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-intro p:not(.eyebrow) {
  max-width: 660px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-section {
  height: 220vh;
  min-height: 1400px;
  background: #ffffff;
}

.hero-sticky {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(300px, 30%) minmax(0, 70%);
  align-items: center;
  gap: 0;
  width: auto;
  height: 100vh;
  min-height: 700px;
  margin: 0 52px;
  overflow: visible;
}



.hero-section[data-hero-active-scene="0"] .hero-sticky::after {
  content: "";
  position: absolute;
  top: calc(50% - 300px);
  left: 25%;
  z-index: 3;
  width: 260px;
  height: 210px;
  background: radial-gradient(ellipse at left center, #ffffff 0%, rgba(255, 255, 255, 0.95) 34%, rgba(255, 255, 255, 0.62) 58%, rgba(255, 255, 255, 0) 78%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-self: stretch;
  width: min(100%, 560px);
  max-width: 560px;
  padding: 44px 56px 44px 0;
  background: #ffffff;
}

.mobile-hero-message {
  display: none;
}

.mobile-hero-title-line {
  display: block;
  white-space: nowrap;
}

.pre-hero-device-tablet {
  display: none;
}

.pre-hero-version-tablet {
  display: none;
}

.pre-hero-laptop-note {
  display: block;
  margin-block: 0.5em;
}

.tablet-rotate-card,
.tablet-portrait-fallback {
  display: none;
}

.hero-scene {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(100%, 560px);
  max-width: 560px;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.hero-copy,
.hero-copy * {
  text-align: left;
}

.hero-scene.is-changing {
  opacity: 0;
  transform: translateY(10px);
}

.hero-copy h1 {
  display: flex;
  align-items: flex-end;
  width: max-content;
  max-width: min(680px, 70vw);
  min-height: 2.14em;
  margin: 0;
  color: #1d2a36;
  font-size: clamp(2.75rem, 4.4vw, 3.625rem);
  font-weight: 680;
  line-height: 1.07;
  letter-spacing: -0.03em;
}

.hero-copy h1 span {
  display: block;
}

.hero-subline {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 24px 0 0;
  padding: 8px 13px;
  border: 1px solid rgba(47, 127, 184, 0.16);
  border-radius: 14px;
  background: rgba(233, 244, 251, 0.72);
  color: #2d607f;
  font-size: clamp(1.125rem, 1.25vw, 1.375rem);
  font-weight: 680;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-body {
  min-height: 6.55em;
  max-width: 520px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1.125rem, 1.14vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 44px;
}

.hero-cta-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.hero-login-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  min-width: 132px;
  padding: 16px 22px;
  border: 1.5px solid rgba(47, 127, 184, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  color: #17364a;
  font-weight: 680;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.hero-login-cta:hover,
.hero-login-cta:focus-visible {
  background: rgba(247, 251, 253, 0.92);
  border-color: rgba(47, 127, 184, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 39, 54, 0.05);
}

.hero-login-cta:focus-visible {
  outline: 2px solid rgba(47, 127, 184, 0.42);
  outline-offset: 3px;
}

.hero-scroll-hint {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  margin: 40px 0 0;
  color: rgba(29, 42, 54, 0.52);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-copy[data-hero-active-scene="3"] .hero-scroll-hint {
  margin-top: -10px;
}

.hero-scroll-hint-icon {
  display: inline-block;
  animation: subtle-scroll-hint 1.8s ease-in-out infinite;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 24px;
  border: 1px solid rgba(47, 127, 184, 0.22);
  border-radius: 18px;
  background: #17364a;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(23, 54, 74, 0.15);
  font-weight: 680;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  background: #20506d;
  box-shadow: 0 14px 30px rgba(23, 54, 74, 0.2);
  transform: translateY(-1px);
}

.price-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  min-height: 1.45em;
}

.price-note[hidden] {
  display: block;
  visibility: hidden;
}

.hero-visual {
  position: relative;
  height: min(820px, 90vh);
  min-height: 660px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 100%);
}

.hero-visual::before {
  content: none;
}

.hero-visual-fade {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  display: block;
  width: 22%;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.88) 38%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.carousel-row {
  position: absolute;
  right: -98px;
  width: max(880px, 64vw);
  overflow: visible;
  transform: translate3d(0, 0, 0);
}

.carousel-row-one {
  top: 4%;
}

.hero-section[data-hero-active-scene="0"] .carousel-row-one {
  right: -98px;
}

.carousel-row-two {
  top: 36%;
  right: -18px;
}

.carousel-row-three {
  top: 68%;
  right: -72px;
}

.carousel-track {
  display: flex;
  width: max-content;
  padding: 8px 0 14px;
  animation: carousel-move var(--duration, 86s) linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.carousel-track.is-ready {
  animation-play-state: running;
}

html.is-page-hidden .carousel-track,
html.is-page-blurred .carousel-track,
html.is-page-hidden .carousel-track.is-ready,
html.is-page-blurred .carousel-track.is-ready {
  animation-play-state: paused;
}

.carousel-sequence {
  display: flex;
  flex: 0 0 auto;
  gap: 24px;
  padding-right: 24px;
}

.carousel-row-two .carousel-track {
  animation-duration: var(--duration, 96s);
  animation-delay: -18s;
}

.carousel-row-three .carousel-track {
  animation-duration: var(--duration, 104s);
  animation-delay: -34s;
}

.hero-image-trigger {
  display: block;
  width: clamp(260px, 18vw, 330px);
  aspect-ratio: 16 / 10;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(23, 33, 43, 0.12);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 24px rgba(24, 39, 54, 0.07);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.hero-image-trigger img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-image-trigger:hover {
  box-shadow: 0 16px 28px rgba(24, 39, 54, 0.1);
  transform: translateY(-2px);
}

.hero-image-trigger:focus-visible {
  outline: 2px solid rgba(36, 92, 145, 0.55);
  outline-offset: 4px;
}

.carousel-row-two .hero-image-trigger {
  width: clamp(260px, 18vw, 330px);
  aspect-ratio: 16 / 10;
}

@keyframes carousel-move {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-25%, 0, 0);
  }
}

@keyframes subtle-scroll-hint {

  0%,
  100% {
    opacity: 0.55;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(4px);
  }
}

.transformation-section {
  --transformation-entry-space: 72px;
  --transformation-final-hold: 70vh;
  position: relative;
  height: calc(562.5vh + var(--transformation-entry-space) + var(--transformation-final-hold));
  min-height: calc(2875px + var(--transformation-entry-space) + var(--transformation-final-hold));
  padding-top: var(--transformation-entry-space);
  background: #D2E5ED;
}

.transformation-section::before {
  content: none;
}

.transformation-sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 100vh;
  padding: 24px 0;
  overflow: hidden;
}

.transformation-stage {
  position: relative;
  width: min(94vw, 1680px, calc((100vh - 64px) * 16 / 9));
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: #eef3f6;
  box-shadow: none;
  transform: scale(var(--transform-scale, 1));
  transform-origin: center center;
  transition:
    border-radius 90ms linear,
    box-shadow 90ms linear,
    border-color 90ms linear;
  will-change: transform, border-radius;
}

.transformation-stage img,
.transformation-stage video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.scroll-frame {
  opacity: var(--scroll-opacity, 1);
}

.final-frame {
  opacity: var(--final-opacity, 0);
}

.process-section {
  padding: clamp(86px, 12vw, 150px) 0 clamp(76px, 11vw, 132px);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}

.process-inner {
  width: min(1320px, calc(100vw - 56px));
  margin: 0 auto;
}

.process-intro {
  margin-bottom: clamp(42px, 6vw, 74px);
}

.process-board {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1fr 1fr;
  gap: 22px;
}

.process-board::before,
.process-board::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, rgba(47, 127, 184, 0.12), rgba(47, 127, 184, 0.46));
}

.process-board::before {
  left: calc(33.333% - 38px);
}

.process-board::after {
  left: calc(66.666% - 38px);
}

.process-column {
  display: grid;
  align-content: start;
  gap: 18px;
}

.process-column-start {
  align-content: center;
}

.column-label {
  margin: 0 0 4px;
  color: #2d607f;
  font-size: 0.86rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

.process-card {
  min-height: 216px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 48px rgba(24, 39, 54, 0.08);
}

.process-card h3 {
  margin: 16px 0 10px;
  color: var(--text);
  font-size: 1.32rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.process-card p {
  margin: 0;
  color: var(--muted);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  border: 1px solid rgba(47, 127, 184, 0.15);
  border-radius: 999px;
  background: var(--accent-soft);
  color: #2d607f;
  font-size: 0.78rem;
  font-weight: 780;
}

.route-dashboard {
  border-color: rgba(47, 127, 184, 0.16);
}

.route-whatsapp {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
}

.text-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(47, 127, 184, 0.36);
  background: transparent;
  color: #276f9d;
  font-weight: 680;
  line-height: inherit;
}

.text-link:hover,
.text-link:focus-visible {
  color: #174961;
  border-bottom-color: #174961;
}

/* Stacked Process Section */
.stacked-process-section {
  min-height: 420vh;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 38%),
    #EEF5F7;
}

.stacked-process-sticky {
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: clamp(32px, 5vw, 64px) 0;
  overflow: hidden;
}

.stacked-process-badge {
  position: absolute;
  top: clamp(36px, 7vh, 72px);
  left: 50%;
  z-index: 6;
  width: fit-content;
  margin: 0;
  padding: 7px 13px;
  border: 1px solid rgba(47, 127, 184, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #2d607f;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  transform: translate(-50%, var(--stacked-process-badge-y, 0px));
  opacity: var(--stacked-process-badge-opacity, 1);
  pointer-events: none;
  transition:
    opacity 120ms linear,
    transform 120ms linear;
}

.stacked-process-deck {
  position: relative;
  width: min(92vw, var(--public-process-max-width));
  height: clamp(520px, 60vh, var(--public-process-card-max-height));
  margin-top: clamp(20px, 3vh, 40px);
}

.stacked-process-card {
  --stacked-card-rest-rotation: 0deg;
  --stacked-card-bg: #ffffff;
  --stacked-card-shade-height: 0%;
  --stacked-card-shade-opacity: 0;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 3.5vw, 44px);
  border: 1px solid rgba(24, 39, 54, 0.075);
  border-radius: 36px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfd 45%, #f7fafb 100%);
  box-shadow:
    0 44px 110px rgba(24, 39, 54, 0.14),
    0 18px 46px rgba(24, 39, 54, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  overflow: hidden;
  opacity: var(--stacked-card-opacity, 0);
  transform:
    translate3d(0, var(--stacked-card-y, 560px), 0) rotate(var(--stacked-card-hover-rotation, var(--stacked-card-natural-rotation, var(--stacked-card-rest-rotation)))) scale(var(--stacked-card-scale, 0.985));
  transform-origin: center center;
  transition:
    opacity 160ms linear,
    transform 160ms linear,
    background 160ms linear,
    box-shadow 160ms linear;
  will-change: transform, opacity;
}

.stacked-process-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  opacity: 0.55;
  pointer-events: none;
}

.stacked-process-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: var(--stacked-card-shade-height);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(234, 234, 234, 0.84) 72%);
  opacity: var(--stacked-card-shade-opacity);
  pointer-events: none;
  transition:
    height 160ms linear,
    opacity 160ms linear;
}

.stacked-process-card>* {
  position: relative;
  z-index: 1;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  transform: translateZ(0);
}

.stacked-process-card:nth-child(1) {
  --stacked-card-rest-rotation: 0deg;
}

.stacked-process-card:nth-child(2) {
  --stacked-card-rest-rotation: 0deg;
}

.stacked-process-card:nth-child(3) {
  --stacked-card-rest-rotation: 0deg;
}

.stacked-process-card:hover {
  --stacked-card-hover-rotation: 0deg;
}

.stacked-process-card.is-active {
  --stacked-card-opacity: 1;
  --stacked-card-y: 0px;
  --stacked-card-scale: 1;
  opacity: 1;
}

.stacked-process-card.is-deep-stacked>* {
  opacity: 0.18;
}

/* Card Grid & Columns */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(24px, 3.5vw, 44px);
  width: 100%;
  height: 100%;
  align-items: center;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.card-media {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

@media (min-width: 1537px) {
  .stacked-process-deck {
    display: grid;
    height: auto;
    min-height: max(
      clamp(520px, 60vh, var(--public-process-card-max-height)),
      var(--public-process-card-wide-min-height)
    );
  }

  .stacked-process-card {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    min-height: inherit;
  }

  .card-grid,
  .card-media {
    height: auto;
  }
}

/* Browser Mockup styling */
.mockup-browser {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(24, 39, 54, 0.08);
  border-radius: 14px;
  box-shadow:
    0 15px 35px rgba(24, 39, 54, 0.08),
    0 5px 15px rgba(24, 39, 54, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.mockup-header {
  height: 32px;
  background: #f4f6f8;
  border-bottom: 1px solid rgba(24, 39, 54, 0.06);
  display: flex;
  align-items: center;
  padding: 0 14px;
  position: relative;
}

.mockup-dots {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f56;
  box-shadow: 14px 0 0 #ffbd2e, 28px 0 0 #27c93f;
  margin-right: 36px;
}

.mockup-address {
  flex: 1;
  background: #ffffff;
  border-radius: 6px;
  font-size: 11px;
  color: #8c9ba5;
  text-align: center;
  padding: 3px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  border: 1px solid rgba(24, 39, 54, 0.05);
  margin-right: 48px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-content {
  position: relative;
  background: #f8fafc;
  line-height: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.mockup-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Phone Mockup styling */
.mockup-phone {
  position: absolute;
  bottom: 0px;
  right: -10px;
  width: clamp(140px, 16vw, 190px);
  aspect-ratio: 9 / 18.5;
  background: #1e252b;
  border: 6px solid #1e252b;
  border-radius: 28px;
  box-shadow:
    0 25px 55px rgba(24, 39, 54, 0.22),
    0 8px 18px rgba(24, 39, 54, 0.12);
  overflow: hidden;
  z-index: 5;
  transition: transform 0.3s ease;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 14px;
  background: #1e252b;
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 9px;
  z-index: 10;
}

.phone-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f8fafc;
  border-radius: 22px;
  overflow: hidden;
}

.phone-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Micro interaction zoom on hover */
.stacked-process-card:hover .mockup-browser {
  transform: translateY(-4px) scale(1.01);
}

.stacked-process-card:hover .mockup-phone {
  transform: translateY(-8px) rotate(1deg);
}

/* Card details typography */
.stacked-process-label {
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid rgba(47, 127, 184, 0.12);
  border-radius: 999px;
  background: rgba(233, 244, 251, 0.58);
  color: #2d607f;
  font-size: 0.7rem;
  font-weight: 740;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stacked-process-card h3 {
  max-width: 560px;
  margin: 0;
  color: #1b2631;
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.stacked-process-card p {
  max-width: 540px;
  margin: 14px 0 0;
  color: #5d6974;
  font-size: clamp(0.92rem, 1vw, 1.02rem);
  line-height: 1.5;
}

.stacked-process-card ul {
  display: grid;
  gap: 8px;
  max-width: 500px;
  margin: 18px 0 0;
  padding: 0;
  color: #66727d;
  font-size: clamp(0.88rem, 0.94vw, 0.96rem);
  list-style: none;
}

.stacked-process-card li {
  position: relative;
  padding-left: 20px;
}

.stacked-process-card li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(47, 127, 184, 0.45);
}

.stacked-process-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stacked-process-action {
  width: fit-content;
  margin-top: 20px;
  padding: 8px 14px;
  border: 1px solid rgba(47, 127, 184, 0.16);
  border-radius: 999px;
  background: rgba(247, 251, 253, 0.74);
  color: #276f9d;
  font-size: 0.8rem;
  font-weight: 680;
  line-height: 1.2;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.stacked-process-action:hover,
.stacked-process-action:focus-visible {
  border-color: rgba(39, 111, 157, 0.32);
  background: rgba(224, 240, 249, 0.92);
  color: #174961;
}

@media (min-width: 1537px) {
  .stacked-process-label {
    margin-bottom: clamp(16px, 1.0417vw, 20px);
    padding: clamp(6px, 0.3906vw, 7.5px)
      clamp(12px, 0.7813vw, 15px);
    font-size: clamp(0.7rem, 0.7292vw, 0.875rem);
  }

  .stacked-process-card h3 {
    font-size: clamp(2.2rem, 2.2917vw, 2.75rem);
  }

  .stacked-process-card p {
    margin-top: clamp(14px, 0.9115vw, 17.5px);
    font-size: clamp(0.96rem, 1vw, 1.2rem);
  }

  .stacked-process-card ul {
    gap: clamp(8px, 0.5208vw, 10px);
    margin-top: clamp(18px, 1.1719vw, 22.5px);
    font-size: clamp(0.902rem, 0.94vw, 1.128rem);
  }

  .stacked-process-card li {
    padding-left: clamp(20px, 1.3021vw, 25px);
  }

  .stacked-process-card li::before {
    width: clamp(5px, 0.3255vw, 6.25px);
    height: clamp(5px, 0.3255vw, 6.25px);
  }

  .stacked-process-actions {
    gap: clamp(12px, 0.7813vw, 15px);
  }

  .stacked-process-action {
    margin-top: clamp(20px, 1.3021vw, 25px);
    padding: clamp(8px, 0.5208vw, 10px)
      clamp(14px, 0.9115vw, 17.5px);
    font-size: clamp(0.8rem, 0.8333vw, 1rem);
  }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 28px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.modal.is-closing-instant {
  pointer-events: none !important;
  opacity: 0 !important;
  transition: none !important;
}

.modal.is-closing-instant .modal-panel {
  transition: none !important;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 22, 31, 0.54);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(1280px, calc(100vw - 36px));
  max-height: min(90vh, 980px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
  transform: translateY(12px) scale(0.98);
  transition: transform 180ms ease;
}

.modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal[data-modal-key="whatsapp1"] .modal-panel,
.modal[data-modal-key="whatsapp2"] .modal-panel {
  width: min(940px, calc(100vw - 36px));
}

.modal[data-modal-key="whatsapp2"] .modal-panel {
  width: min(560px, calc(100vw - 36px));
}

.modal[data-modal-key="gevel-lijnen"] .modal-panel {
  width: min(1040px, calc(100vw - 36px));
}

.modal[data-modal-key="message-tool"] .modal-panel {
  width: min(560px, calc(100vw - 36px));
}
.modal[data-modal-key="gemaksservice"] .modal-backdrop {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.modal[data-modal-key="gemaksservice"] .modal-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(460px, calc(100vw - 36px));
  border-radius: 16px;
}

.modal[data-modal-key="gemaksservice"] .modal-header {
  width: 100%;
  position: relative;
  justify-content: center;
  padding: 14px 54px;
}

.modal[data-modal-key="gemaksservice"] .modal-header h2 {
  width: 100%;
  text-align: center;
}

.modal[data-modal-key="gemaksservice"] .modal-close {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
}

.modal[data-modal-key="gemaksservice"] .gemaksservice-modal-icon {
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 30px;
  margin: 18px auto 0;
  color: var(--accent);
}

.modal[data-modal-key="gemaksservice"] .gemaksservice-modal-icon[hidden] {
  display: none;
}

.modal[data-modal-key="gemaksservice"] .modal-panel > img {
  display: block;
  width: min(390px, calc(100% - 36px));
  height: auto;
  max-height: none;
  margin-top: 14px;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  background: transparent;
  filter: none;
  opacity: 1;
  object-fit: contain;
}

.modal[data-modal-key="gemaksservice"] .modal-copy {
  width: 100%;
  padding: 16px 24px 26px;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.5;
}

.pricing-cta-button[type="button"] {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.2;
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
}

.modal img {
  width: 100%;
  max-height: calc(90vh - 60px);
  padding: clamp(10px, 1.4vw, 18px);
  object-fit: contain;
  background: #f6f8fa;
}

.modal img[hidden],
.modal [data-modal-email-icon][hidden],
.modal-copy[hidden] {
  display: none;
}

.modal-copy {
  margin: 0;
  padding: clamp(24px, 4vw, 38px);
  color: #4b5966;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.65;
}

@media (min-width: 981px) and (max-height: 760px) {
  .hero-visual {
    height: min(820px, 96vh);
    height: min(820px, 96svh);
    min-height: 0;
  }

  .carousel-track {
    padding: 4px 0 8px;
  }

  .carousel-sequence {
    gap: 20px;
    padding-right: 20px;
  }

  .hero-image-trigger,
  .carousel-row-two .hero-image-trigger {
    width: clamp(240px, 17.5vw, 305px);
    border-radius: 18px;
  }

  .carousel-row-one {
    top: 5.5%;
  }

  .carousel-row-two {
    top: 36%;
  }

  .carousel-row-three {
    top: 67%;
  }
}

@media (min-width: 981px) and (max-height: 660px) {
  .hero-visual {
    height: 98vh;
    height: 98svh;
    min-height: 0;
  }

  .carousel-track {
    padding: 3px 0 6px;
  }

  .hero-image-trigger,
  .carousel-row-two .hero-image-trigger {
    width: clamp(225px, 16.8vw, 290px);
    border-radius: 16px;
  }

  .carousel-row-one {
    top: 5%;
  }

  .carousel-row-two {
    top: 35.5%;
  }

  .carousel-row-three {
    top: 66.5%;
  }
}

/* Keep the desktop hero in proportion as the CSS viewport grows beyond 1536px.
   One unit is 1px at 1536px wide, capped by the available height (1px at 768px)
   and by the 1920px desktop scale. Short desktop windows retain their own rules. */
@media (min-width: 1537px) and (min-height: 761px) {
  .hero-sticky {
    --hero-wide-unit: clamp(1px, min(0.0651042vw, 0.1302083vh), 1.25px);
  }

  .hero-section[data-hero-active-scene="0"] .hero-sticky::after {
    top: calc(50% - 300 * var(--hero-wide-unit));
    width: calc(260 * var(--hero-wide-unit));
    height: calc(210 * var(--hero-wide-unit));
  }

  .hero-copy {
    padding: calc(44 * var(--hero-wide-unit)) calc(56 * var(--hero-wide-unit))
      calc(44 * var(--hero-wide-unit)) 0;
    font-size: calc(16 * var(--hero-wide-unit));
  }

  .hero-copy h1 {
    font-size: calc(58 * var(--hero-wide-unit));
  }

  .hero-copy .hero-subline {
    margin-top: calc(24 * var(--hero-wide-unit));
    padding: calc(8 * var(--hero-wide-unit)) calc(13 * var(--hero-wide-unit));
    border-radius: calc(14 * var(--hero-wide-unit));
    font-size: calc(19.2 * var(--hero-wide-unit));
  }

  .hero-copy .hero-body {
    margin-top: calc(32 * var(--hero-wide-unit));
    font-size: calc(18 * var(--hero-wide-unit));
  }

  .hero-copy .hero-actions {
    gap: calc(18 * var(--hero-wide-unit));
    margin-top: calc(44 * var(--hero-wide-unit));
  }

  .hero-copy .hero-cta-row {
    gap: calc(12 * var(--hero-wide-unit));
  }

  .hero-copy .primary-cta,
  .hero-copy .hero-login-cta {
    min-height: calc(54 * var(--hero-wide-unit));
    padding-top: calc(16 * var(--hero-wide-unit));
    padding-bottom: calc(16 * var(--hero-wide-unit));
    border-radius: calc(18 * var(--hero-wide-unit));
  }

  .hero-copy .primary-cta {
    padding-right: calc(24 * var(--hero-wide-unit));
    padding-left: calc(24 * var(--hero-wide-unit));
  }

  .hero-copy .hero-login-cta {
    min-width: calc(132 * var(--hero-wide-unit));
    padding-right: calc(22 * var(--hero-wide-unit));
    padding-left: calc(22 * var(--hero-wide-unit));
  }

  .hero-copy .price-note {
    font-size: calc(14.4 * var(--hero-wide-unit));
  }

  .hero-copy .hero-scroll-hint {
    margin-top: calc(40 * var(--hero-wide-unit));
    font-size: calc(25.6 * var(--hero-wide-unit));
  }

  .hero-copy[data-hero-active-scene="3"] .hero-scroll-hint {
    margin-top: calc(-10 * var(--hero-wide-unit));
  }

  .hero-visual {
    height: min(1025px, 90vh);
  }

  .hero-visual .carousel-track {
    padding: calc(8 * var(--hero-wide-unit)) 0
      calc(14 * var(--hero-wide-unit));
  }

  .hero-visual .carousel-sequence {
    gap: calc(24 * var(--hero-wide-unit));
    padding-right: calc(24 * var(--hero-wide-unit));
  }

  .hero-visual .hero-image-trigger,
  .hero-visual .carousel-row-two .hero-image-trigger {
    width: clamp(260px, min(18vw, 36vh), 412.5px);
    border-radius: calc(20 * var(--hero-wide-unit));
  }
}

@media (max-width: 767px),
(min-width: 768px) and (max-width: 1024px) and (orientation: portrait),
(min-width: 768px) and (max-width: 1024px) and (hover: hover) and (pointer: fine) {
  main {
    display: flex;
    flex-direction: column;
  }

  .hero-section {
    order: 1;
    height: auto;
    min-height: 0;
    padding: clamp(42px, 9vw, 82px) 0 clamp(30px, 7vw, 58px);
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
  }

  .examples-section {
    order: 2;
  }

  .stacked-process-section {
    order: 3;
  }

  .included-tools-section {
    order: 4;
  }

  .pricing-section {
    order: 5;
  }

  .transformation-section {
    display: none;
  }

  .hero-sticky {
    position: relative;
    display: block;
    width: min(100% - 32px, 760px);
    height: auto;
    min-height: 0;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
  }

  .hero-section[data-hero-active-scene="0"] .hero-sticky::after,
  .hero-sticky::before,
  .hero-sticky::after,
  .hero-copy::before,
  .hero-copy::after,
  .hero-visual::before,
  .hero-visual::after,
  .hero-scene::before,
  .hero-scene::after {
    display: none;
    content: none;
  }

  .hero-copy,
  .hero-visual,
  .hero-scene,
  .carousel-row,
  .carousel-track {
    display: none;
  }

  .mobile-hero-message {
    display: grid;
    position: relative;
    z-index: 10;
    isolation: isolate;
    gap: clamp(16px, 3vw, 22px);
    width: min(100% - 32px, 760px);
    margin: 0 auto;
    padding: clamp(24px, 5vw, 42px);
    border: 1px solid rgba(47, 127, 184, 0.14);
    border-radius: 24px;
    background: #ffffff;
    opacity: 1;
    filter: none;
    mask-image: none;
    -webkit-mask-image: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow:
      0 28px 70px rgba(24, 39, 54, 0.08),
      0 1px 0 rgba(255, 255, 255, 0.9) inset;
  }

  .mobile-hero-message::before,
  .mobile-hero-message::after {
    display: none;
    content: none;
  }

  .mobile-hero-kicker {
    width: fit-content;
    margin: 0;
    padding: 7px 12px;
    border: 1px solid rgba(47, 127, 184, 0.16);
    border-radius: 999px;
    background: rgba(233, 244, 251, 0.72);
    color: #2d607f;
    font-size: 0.78rem;
    font-weight: 760;
    letter-spacing: 0;
  }

  .mobile-hero-message h1 {
    max-width: 660px;
    margin: 0;
    color: #1d2a36;
    font-size: clamp(2.05rem, 6.8vw, 3.2rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
  }

  .mobile-hero-message p:not(.mobile-hero-kicker) {
    max-width: 660px;
    margin: 0;
    color: #526475;
    font-size: clamp(1.02rem, 2.5vw, 1.22rem);
    line-height: 1.62;
  }

  .examples-section {
    min-height: 0;
    padding: clamp(26px, 6vw, 52px) 0 clamp(46px, 8vw, 72px);
  }

  .examples-inner {
    width: min(100% - 32px, 760px);
  }

  .examples-badge {
    margin-bottom: 18px;
  }

  .examples-showcase {
    --examples-card-width: min(100%, 760px);
    --examples-visual-offset-y: 0px;
    position: relative;
    width: 100%;
    margin-left: 0;
    display: block;
    min-height: 0;
  }

  .before-after-card {
    border-radius: 18px;
  }

  .examples-nav {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
  }

  .examples-nav:hover,
  .examples-nav:focus-visible {
    transform: translateY(-50%);
  }

  .examples-nav-prev {
    left: -10px;
  }

  .examples-nav-next {
    right: -10px;
  }

  .stacked-process-section {
    min-height: 0;
    padding: clamp(48px, 8vw, 76px) 0;
  }

  .stacked-process-sticky {
    position: relative;
    display: block;
    min-height: 0;
    padding: 0;
    overflow: visible;
  }

  .stacked-process-badge {
    position: static;
    margin: 0 auto 24px;
    transform: none;
    opacity: 1;
  }

  .stacked-process-deck {
    display: grid;
    gap: 18px;
    width: min(100% - 32px, 680px);
    height: auto;
    margin: 0 auto;
  }

  .stacked-process-card {
    position: relative;
    inset: auto;
    min-height: 0;
    padding: clamp(22px, 4vw, 34px);
    border-radius: 24px;
    opacity: 1 !important;
    transform: none !important;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 0;
    height: auto;
  }

  .card-media {
    display: none;
  }

  .stacked-process-card ul {
    margin-top: 14px;
  }
}

@media (max-width: 980px) {
  .hero-section {
    height: auto;
    min-height: 0;
  }

  .hero-sticky {
    position: relative;
    grid-template-columns: 1fr;
    width: min(760px, calc(100vw - 36px));
    height: auto;
    min-height: 0;
    gap: 34px;
    padding: 86px 0 72px;
    overflow: hidden;
  }


  .hero-copy {
    align-self: auto;
    max-width: 560px;
    padding: 0;
    background: #ffffff;
  }

  .hero-copy h1 {
    display: block;
    width: auto;
    max-width: 100%;
    min-height: 0;
    font-size: clamp(2.75rem, 7vw, 3.75rem);
    line-height: 1.06;
  }

  .hero-body {
    min-height: 0;
  }

  .hero-visual {
    height: 430px;
    min-height: 400px;
    border-radius: 22px;
    mask-image: none;
  }

  .carousel-row {
    right: -120px;
    width: 980px;
  }

  .carousel-row-two {
    right: -54px;
  }

  .transformation-stage {
    width: calc(100vw - 24px);
  }

  .stacked-process-section {
    min-height: 380vh;
  }

  .stacked-process-deck {
    width: min(92vw, 840px);
    height: clamp(500px, 58vh, 560px);
  }

  .stacked-process-card {
    padding: clamp(24px, 3.2vw, 36px);
    border-radius: 34px;
  }

  .stacked-process-card h3 {
    font-size: clamp(1.6rem, 3.2vw, 2rem);
  }

  @media (max-width: 860px) {
    .stacked-process-deck {
      width: min(90vw, 560px);
      height: clamp(520px, 68vh, 600px);
    }

    .card-grid {
      grid-template-columns: 1fr;
      gap: 16px;
      height: 100%;
      align-content: center;
    }

    .card-media {
      padding-right: 0;
      height: 190px;
    }

    .mockup-browser {
      max-height: 180px;
    }

    .mockup-phone {
      width: 90px;
      border-width: 3px;
      border-radius: 12px;
      bottom: -5px;
      right: 5px;
    }

    .phone-notch {
      height: 6px;
      border-bottom-left-radius: 4px;
      border-bottom-right-radius: 4px;
    }

    .phone-content {
      border-radius: 9px;
    }

    .stacked-process-card h3 {
      font-size: 1.5rem;
    }

    .stacked-process-card p {
      font-size: 0.9rem;
      margin-top: 8px;
    }

    .stacked-process-card ul {
      display: none;
    }

    .stacked-process-action {
      margin-top: 10px;
    }
  }

  .process-board {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .process-board::before,
  .process-board::after {
    display: none;
  }

  .process-column,
  .process-column-start {
    align-content: start;
  }

  .process-card {
    min-height: 0;
  }

  .section-intro h2 {
    font-size: 3rem;
  }

  .section-intro p:not(.eyebrow) {
    font-size: 1.08rem;
  }

  .hero-body {
    font-size: 1.14rem;
  }

  .hero-subline {
    font-size: 1.08rem;
  }
}

@media (max-width: 640px) {
  body {
    background: #ffffff;
  }

  .section-intro {
    width: min(100% - 32px, 620px);
    text-align: left;
  }

  .section-intro h2 {
    font-size: 2.35rem;
  }

  .section-intro .eyebrow {
    margin-inline: 0;
  }

  .hero-sticky {
    width: min(100% - 32px, 620px);
    padding-top: 70px;
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 9vw, 3rem);
    line-height: 1.05;
  }

  .hero-subline {
    margin-top: 18px;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .hero-cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .hero-login-cta {
    width: 100%;
  }

  .primary-cta {
    width: 100%;
  }

  .hero-visual {
    height: 330px;
    min-height: 300px;
    margin-inline: -16px;
    border-radius: 0;
  }

  .carousel-track {
    padding: 10px 0 18px;
  }

  .carousel-sequence {
    gap: 18px;
    padding-right: 18px;
  }

  .hero-image-trigger,
  .carousel-row-two .hero-image-trigger {
    width: 232px;
    border-radius: 18px;
  }

  .carousel-row {
    right: -176px;
    width: 780px;
  }

  .carousel-row-one {
    top: 4%;
  }

  .carousel-row-two {
    top: 36%;
    right: -106px;
  }

  .carousel-row-three {
    top: 68%;
    right: -150px;
  }

  .transformation-section {
    --transformation-entry-space: 0px;
    --transformation-final-hold: 0px;
    height: auto;
    min-height: 0;
  }

  .transformation-sticky {
    position: relative;
    min-height: 0;
    padding: 78px 0;
  }

  .transformation-stage {
    border-radius: 8px;
    transform: none !important;
  }

  .stacked-process-section {
    min-height: 0;
    padding: 72px 0;
  }

  .stacked-process-sticky {
    position: relative;
    display: block;
    min-height: 0;
    padding: 0;
    overflow: visible;
  }

  .stacked-process-badge {
    position: static;
    margin: 0 auto 28px;
    transform: none;
    opacity: 1;
  }

  .stacked-process-deck {
    display: grid;
    gap: 24px;
    width: min(100% - 32px, 620px);
    height: auto;
    margin: 0 auto;
  }

  .stacked-process-card {
    position: relative;
    inset: auto;
    min-height: 0;
    padding: clamp(24px, 4.5vw, 32px);
    border-radius: 28px;
    opacity: 1 !important;
    transform: none !important;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-media {
    height: 220px;
    padding-right: 15px;
  }

  .mockup-browser {
    max-height: 190px;
  }

  .mockup-phone {
    width: 100px;
    border-width: 4px;
    border-radius: 16px;
    bottom: -5px;
    right: 5px;
  }

  .phone-notch {
    height: 8px;
  }

  .phone-content {
    border-radius: 12px;
  }

  .stacked-process-label {
    margin-bottom: 14px;
  }

  .stacked-process-card h3 {
    font-size: 1.7rem;
    line-height: 1.1;
  }

  .stacked-process-card p {
    margin-top: 26px;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .stacked-process-card ul {
    gap: 8px;
    margin-top: 14px;
  }

  .stacked-process-action {
    margin-top: 18px;
  }

  .process-inner {
    width: min(100% - 32px, 620px);
  }

  .process-column {
    display: contents;
  }

  .column-label {
    display: none;
  }

  .card-workspace {
    order: 1;
  }

  .card-upload {
    order: 2;
  }

  .card-dashboard-result {
    order: 3;
  }

  .card-whatsapp-send {
    order: 4;
  }

  .card-whatsapp-result {
    order: 5;
  }

  .process-card {
    padding: 22px;
  }

  .modal {
    padding: 10px;
  }

  .modal-panel {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 8px;
  }

  .modal-header h2 {
    font-size: 1.08rem;
  }

  .modal img {
    max-height: calc(100vh - 96px);
  }
}

/* Card illustrations (kwast & stopwatch) */
.card-illustration {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 20px 45px rgba(24, 39, 54, 0.12));
  transition: transform 0.3s ease;
  will-change: transform;
}

.stacked-process-card:hover .card-illustration {
  transform: translateY(-4px) scale(1.01);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-scroll-hint-icon {
    animation: none !important;
  }

  .intro-scroll-arrow {
    animation: none !important;
  }

  .hero-section,
  .transformation-section,
  .stacked-process-section {
    --transformation-entry-space: 0px;
    --transformation-final-hold: 0px;
    height: auto;
    min-height: 0;
  }

  .hero-sticky,
  .transformation-sticky,
  .stacked-process-sticky {
    position: relative;
  }

  .stacked-process-section {
    padding: 72px 0;
  }

  .stacked-process-sticky {
    display: block;
    padding: 0;
    overflow: visible;
  }

  .stacked-process-kicker,
  .stacked-process-deck {
    width: min(100% - 32px, 760px);
  }

  .stacked-process-kicker {
    position: relative;
    top: auto;
    left: auto;
    margin: 0 auto 26px;
    transform: none;
  }

  .stacked-process-deck {
    display: grid;
    gap: 18px;
    height: auto;
    margin: 0 auto;
  }

  .stacked-process-card {
    position: relative;
    inset: auto;
    opacity: 1 !important;
    transform: none !important;
  }

  .final-frame {
    opacity: 1;
  }

  .scroll-frame {
    opacity: 0;
  }
}

/* Included facade tools */
.included-tools-section {
  position: relative;
  padding: clamp(72px, 7.5vw, 112px) 0;
  background:
    radial-gradient(circle at 83% 34%, rgba(233, 244, 251, 0.72), rgba(233, 244, 251, 0) 34%),
    #ffffff;
  overflow: hidden;
}

.included-tools-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(540px, 1.12fr);
  align-items: center;
  gap: clamp(56px, 6vw, 96px);
  width: min(var(--public-visual-content-max-width), calc(100vw - 48px));
  margin: 0 auto;
}

.included-tools-copy {
  max-width: 540px;
}

.included-tools-copy .eyebrow {
  margin-bottom: 22px;
  background: var(--accent-soft);
}

.included-tools-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.4rem, 3.7vw, 4rem);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

@media (min-width: 981px) {
  .included-tools-title-first-line {
    white-space: nowrap;
  }
}

.included-tools-intro {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.18vw, 1.16rem);
  line-height: 1.65;
}

.included-tools-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
  border-block: 1px solid var(--line);
}

.included-tools-option {
  padding: 24px 24px 25px 0;
}

.included-tools-option + .included-tools-option {
  padding-right: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.included-tools-option h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 720;
  line-height: 1.3;
}

.included-tools-option p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.included-tools-assurance {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0 0;
  padding: 15px 17px;
  border: 1px solid rgba(47, 127, 184, 0.16);
  border-radius: var(--radius-md);
  background: rgba(233, 244, 251, 0.68);
  color: #234e69;
  font-size: 0.96rem;
  font-weight: 680;
  line-height: 1.45;
}

.included-tools-assurance svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--accent);
}

.included-tools-visual {
  position: relative;
  min-width: 0;
}

.included-tools-image-stack,
.included-tools-combined-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.15 / 1;
}

.included-tools-image {
  position: absolute;
  width: 68%;
  margin: 0;
  border: 1px solid rgba(23, 33, 43, 0.1);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.included-tools-image-blur {
  top: 6%;
  left: 0;
  z-index: 1;
}

.included-tools-image-marked {
  right: 0;
  bottom: 6%;
  z-index: 2;
  box-shadow: var(--shadow);
}

.included-tools-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.included-tools-image figcaption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid rgba(47, 127, 184, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #234e69;
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.included-tools-combined-image {
  height: auto;
  border-radius: 18px;
  object-fit: contain;
}

@media (min-width: 1537px) {
  .included-tools-section {
    padding: clamp(112px, 7.2917vw, 140px) 0;
  }

  .included-tools-inner {
    gap: clamp(92px, 6vw, 115px);
    width: min(clamp(1280px, 83.3333vw, 1600px), calc(100vw - 60px));
  }

  .included-tools-copy {
    max-width: clamp(540px, 35.1563vw, 675px);
  }

  .included-tools-copy .eyebrow {
    margin-bottom: clamp(22px, 1.4323vw, 27.5px);
    padding: clamp(7px, 0.4557vw, 8.75px) clamp(12px, 0.7813vw, 15px);
    font-size: clamp(0.79rem, 0.8229vw, 0.9875rem);
  }

  .included-tools-copy h2 {
    font-size: clamp(3.552rem, 3.7vw, 4.44rem);
  }

  .included-tools-intro {
    max-width: clamp(520px, 33.8542vw, 650px);
    margin-top: clamp(24px, 1.5625vw, 30px);
    font-size: clamp(1.16rem, 1.2083vw, 1.445rem);
  }

  .included-tools-options {
    margin-top: clamp(34px, 2.2135vw, 42.5px);
  }

  .included-tools-option {
    padding: clamp(24px, 1.5625vw, 30px) clamp(24px, 1.5625vw, 30px)
      clamp(25px, 1.6276vw, 31.25px) 0;
  }

  .included-tools-option + .included-tools-option {
    padding-right: 0;
    padding-left: clamp(24px, 1.5625vw, 30px);
  }

  .included-tools-option h3 {
    font-size: clamp(1.04rem, 1.0833vw, 1.3rem);
  }

  .included-tools-option p {
    margin-top: clamp(8px, 0.5208vw, 10px);
    font-size: clamp(0.94rem, 0.9792vw, 1.175rem);
  }

  .included-tools-assurance {
    gap: clamp(12px, 0.7813vw, 15px);
    margin-top: clamp(24px, 1.5625vw, 30px);
    padding: clamp(15px, 0.9766vw, 18.75px) clamp(17px, 1.1068vw, 21.25px);
    font-size: clamp(0.96rem, 1vw, 1.2rem);
  }

  .included-tools-assurance svg {
    flex-basis: clamp(20px, 1.3021vw, 25px);
    width: clamp(20px, 1.3021vw, 25px);
    height: clamp(20px, 1.3021vw, 25px);
  }

  .included-tools-image {
    border-radius: clamp(18px, 1.1719vw, 22.5px);
  }

  .included-tools-image figcaption {
    bottom: clamp(12px, 0.7813vw, 15px);
    left: clamp(12px, 0.7813vw, 15px);
    padding: clamp(7px, 0.4557vw, 8.75px) clamp(11px, 0.7161vw, 13.75px);
    font-size: clamp(0.78rem, 0.8125vw, 0.975rem);
  }
}

@media (max-width: 980px) {
  .included-tools-section {
    padding: 88px 0 80px;
  }

  .included-tools-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    width: min(720px, calc(100vw - 48px));
  }

  .included-tools-copy {
    max-width: 660px;
  }

  .included-tools-copy h2 {
    font-size: clamp(2.55rem, 6vw, 3.65rem);
  }
}

@media (max-width: 640px) {
  .included-tools-section {
    padding: 68px 0 62px;
  }

  .included-tools-inner {
    gap: 32px;
    width: min(100% - 32px, 560px);
  }

  .included-tools-copy .eyebrow {
    margin-bottom: 18px;
    font-size: 0.72rem;
  }

  .included-tools-copy h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.06;
  }

  .included-tools-intro {
    margin-top: 18px;
    font-size: 1rem;
  }

  .included-tools-options {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .included-tools-option,
  .included-tools-option + .included-tools-option {
    padding: 20px 0;
    border-left: 0;
  }

  .included-tools-option + .included-tools-option {
    border-top: 1px solid var(--line);
  }

  .included-tools-assurance {
    margin-top: 20px;
  }

  .included-tools-image-stack,
  .included-tools-combined-image {
    aspect-ratio: 1.15 / 1;
  }

  .included-tools-image {
    width: 72%;
    border-radius: 14px;
  }

  .included-tools-image-blur {
    top: 4%;
  }

  .included-tools-image-marked {
    bottom: 4%;
  }

  .included-tools-image figcaption {
    bottom: 9px;
    left: 9px;
    padding: 6px 9px;
    font-size: 0.7rem;
  }
}

@media (max-width: 640px) and (orientation: portrait) {
  .included-tools-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "eyebrow"
      "heading"
      "intro"
      "visual"
      "features"
      "assurance";
    align-items: stretch;
    gap: 0;
  }

  .included-tools-copy {
    display: contents;
  }

  .included-tools-copy .eyebrow {
    grid-area: eyebrow;
  }

  .included-tools-copy h2 {
    grid-area: heading;
  }

  .included-tools-intro {
    grid-area: intro;
  }

  .included-tools-visual {
    grid-area: visual;
  }

  .included-tools-options {
    grid-area: features;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .included-tools-option {
    min-width: 0;
    padding: 20px clamp(8px, 2.5vw, 14px) 20px 0;
  }

  .included-tools-option + .included-tools-option {
    padding: 20px 0 20px clamp(8px, 2.5vw, 14px);
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .included-tools-option h3 {
    font-size: clamp(0.875rem, 3.8vw, 1.04rem);
  }

  .included-tools-assurance {
    grid-area: assurance;
  }
}

/* Pricing Section (Section 4) */
.pricing-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  background: #f8fafc;
  /* zacht off-white/blauw voor zwevend contrast */
  border-top: 1px solid rgba(23, 33, 43, 0.05);
  position: relative;
  overflow: hidden;
}

.pricing-inner {
  width: min(var(--public-visual-content-max-width), calc(100vw - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pricing-section .section-intro {
  margin: -16px auto 16px;
  text-align: center;
  transform: translateY(-18px);
}

.pricing-section .section-intro h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.25rem);
  margin-top: 8px;
}

/* Demo booking stays inside the pricing container, outside the card grid. */
.pricing-demo {
  display: grid;
  grid-template-columns: minmax(0, max-content) max-content;
  justify-content: center;
  align-items: center;
  gap: 14px 24px;
  width: 100%;
  min-width: 0;
  margin-top: clamp(32px, 4vw, 48px);
  text-align: center;
}

.pricing-demo-note,
.pricing-demo-fallback {
  grid-column: 1 / -1;
  justify-self: center;
}

@media (max-width: 767px) {
  .pricing-demo {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }
}

.pricing-demo h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
}

.pricing-demo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(47, 127, 184, 0.18);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-demo-button:hover {
  background: #256b9c;
  box-shadow: 0 8px 22px rgba(47, 127, 184, 0.24);
}

.pricing-demo-button:focus-visible,
.pricing-demo-fallback a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.pricing-demo-note,
.pricing-demo-fallback {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.pricing-demo-fallback[hidden] {
  display: none;
}

.pricing-demo-fallback a {
  color: var(--accent);
  text-underline-offset: 3px;
}

/* Pricing Grid & Cards Layout */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 380px));
  gap: clamp(16px, 2.5vw, 32px);
  width: 100%;
  justify-content: center;
  align-items: stretch;
}

@media (min-width: 1200px) and (orientation: landscape) {
  .pricing-grid {
    align-self: center;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    justify-content: center;
    transform: none;
  }

  .pricing-grid > .pricing-card:first-child .pricing-card-disclaimer {
    margin-top: 48px;
  }
}

@media (min-width: 981px) and (max-width: 1199px) and (orientation: landscape) {
  .pricing-grid {
    align-self: center;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(76vw, 380px);
    width: 100%;
    max-width: 100%;
    justify-content: start;
    transform: none;
    overflow-x: auto;
    overflow-y: visible;
    padding: 12px 16px 32px;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .pricing-grid > .pricing-card:first-child .pricing-card-disclaimer {
    margin-top: 48px;
  }

  .pricing-grid > .pricing-card.featured {
    width: 100% !important;
    max-width: 380px !important;
    margin-inline: 0 !important;
  }
}

.pricing-placeholder {
  pointer-events: none;
  opacity: 0;
}

/* Centered pricing card styling (COMPACT VERSION) */
.pricing-card.featured {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(47, 127, 184, 0.18);
  /* iets sterker contrast */
  border-radius: 20px;
  padding: 24px 20px 20px;
  box-shadow:
    0 40px 90px rgba(23, 54, 74, 0.12),
    0 16px 36px rgba(23, 54, 74, 0.04),
    0 4px 12px rgba(47, 127, 184, 0.04),
    0 0 0 1px rgba(47, 127, 184, 0.06);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  width: 100%;
  max-width: 380px;
  height: auto;
  /* Revert to auto height so it doesn't stretch */
  justify-self: center;
}

.pricing-card.featured:hover {
  transform: translateY(-8px);
  /* Elevates higher for stronger floating feel */
  border-color: rgba(47, 127, 184, 0.3);
  box-shadow:
    0 54px 112px rgba(23, 54, 74, 0.16),
    /* Softer, wider shadow showing high elevation */
    0 20px 48px rgba(23, 54, 74, 0.06),
    0 6px 18px rgba(47, 127, 184, 0.08),
    0 0 0 1px rgba(47, 127, 184, 0.08);
}

.pricing-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 99px;
  background-color: var(--accent-soft);
  color: #2d607f;
  font-size: 0.62rem;
  font-weight: 780;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card-title {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.card-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.pricing-service-description {
  margin-top: 20px;
}

/* Pricing Display */
.pricing-card-price {
  margin: 12px 0;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 2px;
  min-height: 68px;
}

.price-val-wrapper {
  grid-column: 1;
  grid-row: 1;
}

.price-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.price-sub {
  display: contents;
  text-align: left;
}

.price-per {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.price-billing {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.3;
  white-space: nowrap;
}

/* Call to Action Button */
.pricing-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 8px 24px;
  border-radius: 99px;
  /* pill shape like reference */
  background: var(--accent-soft);
  /* light blue background */
  color: #2d607f;
  /* deep slate-blue text color */
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  margin: 6px 0 8px;
}

.pricing-cta-button:hover {
  background: rgba(47, 127, 184, 0.16);
  color: #17364a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(47, 127, 184, 0.12);
  /* soft light-blue glow shadow */
}

.pricing-cta-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Included Features list */
.pricing-card-features {
  margin-top: 14px;
  border-top: 1px solid rgba(23, 33, 43, 0.06);
  padding-top: 12px;
}

.features-title {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 780;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card-features ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: #4b5563;
  line-height: 1.35;
}

.pricing-feature-line {
  white-space: nowrap;
}

.pricing-feature-extra {
  color: #7a8a97;
  font-size: 0.72rem;
  font-weight: 500;
}

.pricing-feature-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #276f9d;
  font: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(39, 111, 157, 0.34);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  cursor: pointer;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease;
}

.pricing-feature-link:hover {
  color: #174961;
  text-decoration-color: currentColor;
}

.pricing-feature-link:focus-visible {
  outline: 2px solid rgba(47, 127, 184, 0.55);
  outline-offset: 3px;
}

.feature-icon {
  width: 14px;
  height: 14px;
  color: #2f7fb8;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card-disclaimer {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: left;
  font-style: italic;
  margin: 16px 0 0;
  line-height: 1.4;
  white-space: pre-line;
  width: 100%;
}

.pricing-card-renewal {
  display: block;
  margin-top: 0.5em;
}

.pricing-card.featured .pricing-card-disclaimer.pricing-card-footer {
  margin-top: auto;
  padding-top: calc(16 * var(--pricing-wide-unit, 1px));
  min-height: calc(3.3em + 16 * var(--pricing-wide-unit, 1px));
}

.examples-section {
  min-height: calc(100vh + clamp(80px, 10.5vh, 112px));
  padding: clamp(32px, 5vh, 56px) 0 0;
  background: linear-gradient(180deg, #EEF5F7 0%, #D2E5ED 100%);
}

.examples-inner {
  width: min(1560px, calc(100vw - 64px));
  margin: 0 auto;
}

.examples-badge {
  width: fit-content;
  margin: 0 auto 30px;
  padding: 7px 13px;
  border: 1px solid rgba(47, 127, 184, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #2d607f;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
}

.examples-showcase {
  --examples-gap: clamp(12px, 2vw, 24px);
  --examples-card-width: min(1455px, calc((100vh - 128px) * 1.654), calc(100vw - 114px));
  --examples-visual-offset-y: -28px;
  position: sticky;
  top: 0;
  width: 100%;
  margin-left: 0;
  display: grid;
  grid-template-columns: minmax(0, var(--examples-card-width));
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.before-after-dots {
  grid-column: 1;
  grid-row: 1;
  position: absolute;
  top: 50%;
  left: calc((50% - (var(--examples-card-width) / 2) - var(--examples-gap) - 23px) / 2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.examples-nav-prev {
  left: max(-16px, calc(50% - (var(--examples-card-width) / 2) - var(--examples-gap) - 46px));
  grid-row: 1;
}

.before-after-card {
  grid-column: 1;
  grid-row: 1;
  --compare-position: 50%;
  --compare-x: 50%;
  --before-after-stage-width: 100%;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 24px;
  background: #eef3f6;
  box-shadow:
    0 44px 110px rgba(24, 39, 54, 0.16),
    0 12px 32px rgba(24, 39, 54, 0.08);
  top: var(--examples-visual-offset-y);
  touch-action: none;
}

.before-after-stage,
.before-after-layer {
  position: absolute;
  inset: 0;
}

.before-after-stage {
  z-index: 1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.before-after-layer {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.before-after-card.is-transitioning .before-after-layer {
  will-change: opacity;
}

.before-after-layer.is-active {
  z-index: 2;
  opacity: 1;
}

.before-after-layer.is-entering {
  z-index: 3;
}

.before-after-layer.is-exiting {
  z-index: 1;
  opacity: 0;
}

.examples-nav-next {
  right: max(-16px, calc(50% - (var(--examples-card-width) / 2) - var(--examples-gap) - 46px));
  grid-row: 1;
}

.before-after-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.before-after-after-clip {
  position: absolute;
  inset: 0 0 0 auto;
  width: calc(var(--before-after-stage-width) - var(--compare-x));
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.before-after-card .before-after-layer .before-after-after-clip .before-after-after {
  inset: 0 0 0 auto;
  width: var(--before-after-stage-width);
  max-width: none;
}

.before-after-label {
  position: absolute;
  top: 18px;
  z-index: 3;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: #17364a;
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(24, 39, 54, 0.05);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: opacity 160ms ease;
}

.before-after-label-before {
  left: 18px;
}

.before-after-label-after {
  right: 18px;
}

.before-after-card.is-before-label-hidden .before-after-label-before,
.before-after-card.is-after-label-hidden .before-after-label-after {
  opacity: 0;
}

.before-after-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
  z-index: 4;
  width: 2px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 1px rgba(23, 54, 74, 0.08);
  transform: translateX(-50%);
  pointer-events: none;
  transition: background-color 0.25s ease, width 0.25s ease;
}

.before-after-card:hover .before-after-divider {
  background: rgba(255, 255, 255, 1);
  width: 3px;
}

.before-after-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(47, 127, 184, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(24, 39, 54, 0.16);
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background-color 0.25s ease;
  animation: handle-pulse 2.2s infinite ease-in-out;
  pointer-events: auto;
}

@keyframes handle-pulse {
  0% {
    box-shadow: 0 12px 28px rgba(24, 39, 54, 0.16), 0 0 0 0 rgba(47, 127, 184, 0.25);
  }

  70% {
    box-shadow: 0 12px 28px rgba(24, 39, 54, 0.16), 0 0 0 8px rgba(47, 127, 184, 0);
  }

  100% {
    box-shadow: 0 12px 28px rgba(24, 39, 54, 0.16), 0 0 0 0 rgba(47, 127, 184, 0);
  }
}

.before-after-handle:hover,
.before-after-card.is-dragging .before-after-handle {
  transform: translate(-50%, -50%) scale(1.12);
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(47, 127, 184, 0.3), 0 0 0 5px rgba(47, 127, 184, 0.15);
  animation: none;
}

.before-after-handle::before,
.before-after-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid rgba(45, 96, 127, 0.88);
  border-left: 2px solid rgba(45, 96, 127, 0.88);
  transition: transform 0.25s ease;
}

.before-after-handle::before {
  left: 10px;
  transform: translateY(-50%) rotate(-45deg);
}

.before-after-handle::after {
  right: 10px;
  transform: translateY(-50%) rotate(135deg);
}

.before-after-handle:hover::before,
.before-after-card.is-dragging .before-after-handle::before {
  transform: translateY(-50%) rotate(-45deg) scale(1.05);
}

.before-after-handle:hover::after,
.before-after-card.is-dragging .before-after-handle::after {
  transform: translateY(-50%) rotate(135deg) scale(1.05);
}

.before-after-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(45, 96, 127, 0.88);
  transform: translate(-50%, -50%);
}

.before-after-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .before-after-layer {
    transition: none;
  }
}

/* Pagination Dots Capsule */
.before-after-dots {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(47, 127, 184, 0.1);
  box-shadow: 0 4px 12px rgba(24, 39, 54, 0.03);
  z-index: 10;
}

.before-after-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(45, 96, 127, 0.22);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.before-after-dot:hover {
  background: rgba(45, 96, 127, 0.45);
  transform: scale(1.2);
}

.before-after-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: #2d607f;
  box-shadow: 0 2px 8px rgba(45, 96, 127, 0.2);
}

.examples-nav {
  position: absolute;
  top: calc(50% + var(--examples-visual-offset-y));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(47, 127, 184, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.66);
  color: #2d607f;
  box-shadow: 0 10px 24px rgba(24, 39, 54, 0.08);
  transform: translateY(-50%);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.examples-nav span {
  font-size: 0;
}

.examples-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  transform-origin: center;
}

.examples-nav-prev::before {
  transform: translate(-42%, -50%) rotate(-135deg);
}

.examples-nav-next::before {
  transform: translate(-58%, -50%) rotate(45deg);
}

.examples-nav:hover,
.examples-nav:focus-visible {
  border-color: rgba(47, 127, 184, 0.28);
  background: rgba(255, 255, 255, 0.86);
  transform: translateY(calc(-50% - 1px));
}

.examples-nav:focus-visible {
  outline: 2px solid rgba(47, 127, 184, 0.42);
  outline-offset: 3px;
}

/* Responsive Styles for Pricing Section */
@media (max-width: 980px) {
  .pricing-section {
    min-height: 0;
    padding: 64px 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }

  .pricing-placeholder {
    display: none;
  }
}

@media (max-width: 640px) {
  .examples-section {
    min-height: 0;
    padding: 64px 0;
  }

  .examples-inner {
    width: min(100% - 28px, 560px);
  }

  .examples-badge {
    margin-bottom: 22px;
  }

  .examples-showcase {
    --examples-visual-offset-y: 0px;
    position: relative;
    width: auto;
    margin-left: 0;
    display: block;
    min-height: 0;
  }

  .before-after-dots {
    position: absolute;
    left: 50%;
    bottom: -40px;
    top: auto;
    transform: translateX(-50%);
    flex-direction: row;
    padding: 6px 10px;
    margin: 0;
    gap: 8px;
  }

  .before-after-card {
    border-radius: 16px;
  }

  .before-after-label {
    top: 12px;
    padding: 5px 9px;
    font-size: 0.68rem;
  }

  .before-after-label-before {
    left: 12px;
  }

  .before-after-label-after {
    right: 12px;
  }

  .before-after-handle {
    width: 36px;
    height: 36px;
  }

  .examples-nav {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
  }

  .examples-nav:hover,
  .examples-nav:focus-visible {
    transform: translateY(-50%);
  }

  .examples-nav-prev {
    left: -8px;
  }

  .examples-nav-next {
    right: -8px;
  }

  .pricing-section {
    padding: 32px 0;
  }

}

@media (max-width: 767px),
(min-width: 768px) and (max-width: 1024px) and (orientation: portrait),
(min-width: 768px) and (max-width: 1024px) and (hover: hover) and (pointer: fine) {
  .hero-section {
    order: 1;
    height: auto;
    min-height: 0;
  }

  .examples-section {
    order: 2;
  }

  .stacked-process-section {
    order: 3;
    min-height: 0;
  }

  .included-tools-section {
    order: 4;
  }

  .pricing-section {
    order: 5;
    min-height: 0;
  }

  .transformation-section {
    display: none;
  }

  .hero-copy,
  .hero-visual {
    display: none;
  }

  .hero-sticky {
    display: block;
    overflow: visible;
  }

  .mobile-hero-message {
    display: grid;
    position: relative;
    z-index: 10;
    isolation: isolate;
    opacity: 1 !important;
    filter: none;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .stacked-process-deck {
    display: grid;
    gap: 18px;
    width: min(100% - 32px, 680px);
    height: auto;
    margin: 0 auto;
  }

  .stacked-process-card {
    position: relative;
    inset: auto;
    min-height: 0;
    opacity: 1 !important;
    transform: none !important;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 0;
    height: auto;
  }

  .card-media {
    display: none;
  }
}

/* Digital sales proposal */
.digital-proposal-section {
  order: 6;
  position: relative;
  padding: clamp(88px, 8vw, 128px) 0;
  overflow: hidden;
  background: #ffffff;
  border-top: 1px solid rgba(23, 33, 43, 0.06);
}

.digital-proposal-inner {
  width: min(var(--public-visual-content-max-width), calc(100vw - 48px));
  margin: 0 auto;
}

.digital-proposal-heading {
  max-width: none;
}

.digital-proposal-heading .eyebrow {
  margin-bottom: 22px;
  background: var(--accent-soft);
}

.digital-proposal-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.25rem, 3vw, 3rem);
  font-weight: 720;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.digital-proposal-title-line {
  display: block;
}

.digital-proposal-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.28fr) minmax(0, 0.72fr);
  align-items: start;
  gap: clamp(36px, 4vw, 64px);
  margin-top: clamp(14px, 1.5vw, 22px);
}

.digital-proposal-copy {
  max-width: 500px;
}

.digital-proposal-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.14rem);
  line-height: 1.68;
}

.digital-proposal-paragraphs > p:first-child {
  margin-top: 1.68em;
}

.digital-proposal-copy p + p {
  margin-top: 20px;
}

.digital-proposal-copy strong {
  color: var(--text);
  font-weight: 720;
}

.digital-proposal-actions {
  display: block;
  margin-top: 32px;
}

.digital-proposal-links {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-top: 20px;
}

.digital-proposal-price {
  display: inline-grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid rgba(47, 127, 184, 0.16);
  border-radius: var(--radius-md);
  background: rgba(233, 244, 251, 0.72);
  line-height: 1.25;
}

.digital-proposal-price-main {
  color: #17364a;
  font-size: 0.9rem;
  font-weight: 720;
}

.digital-proposal-price-detail {
  color: #52748a;
  font-size: 0.76rem;
  font-weight: 560;
}

.digital-proposal-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(47, 127, 184, 0.36);
  color: #276f9d;
  font-weight: 680;
  line-height: 1.4;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
}

.digital-proposal-link span {
  transition: transform 180ms ease;
}

.digital-proposal-link:hover,
.digital-proposal-link:focus-visible {
  border-bottom-color: #174961;
  color: #174961;
}

.digital-proposal-link:hover span,
.digital-proposal-link:focus-visible span {
  transform: translateX(3px);
}

.digital-proposal-link:focus-visible {
  outline: 2px solid rgba(47, 127, 184, 0.42);
  outline-offset: 5px;
}

.digital-proposal-visual {
  min-width: 0;
}

.digital-proposal-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 1200px) {
  .digital-proposal-paragraphs > p:first-child {
    position: relative;
    z-index: 2;
    width: 630px;
    max-width: 630px;
  }
}

/* The visual shell already grows above 1536px; grow this section's content
   with it so the 1536px desktop proportions carry through to 1920px. */
@media (min-width: 1537px) {
  .digital-proposal-section {
    --digital-proposal-unit: clamp(1px, 0.0651042vw, 1.25px);
  }

  .digital-proposal-heading .eyebrow {
    margin-bottom: calc(22 * var(--digital-proposal-unit));
    padding: calc(7 * var(--digital-proposal-unit))
      calc(12 * var(--digital-proposal-unit));
    font-size: calc(12.64 * var(--digital-proposal-unit));
  }

  .digital-proposal-heading h2 {
    font-size: calc(46.08 * var(--digital-proposal-unit));
  }

  .digital-proposal-grid {
    margin-top: calc(22 * var(--digital-proposal-unit));
  }

  .digital-proposal-copy p {
    font-size: calc(17.664 * var(--digital-proposal-unit));
  }

  .digital-proposal-copy p + p {
    margin-top: calc(20 * var(--digital-proposal-unit));
  }

  .digital-proposal-actions {
    margin-top: calc(32 * var(--digital-proposal-unit));
  }

  .digital-proposal-price {
    gap: calc(3 * var(--digital-proposal-unit));
    padding: calc(10 * var(--digital-proposal-unit))
      calc(12 * var(--digital-proposal-unit));
  }

  .digital-proposal-price-main {
    font-size: calc(14.4 * var(--digital-proposal-unit));
  }

  .digital-proposal-price-detail {
    font-size: calc(12.16 * var(--digital-proposal-unit));
  }

  .digital-proposal-links {
    gap: calc(10 * var(--digital-proposal-unit));
    margin-top: calc(20 * var(--digital-proposal-unit));
  }

  .digital-proposal-link {
    gap: calc(7 * var(--digital-proposal-unit));
    padding-bottom: calc(2 * var(--digital-proposal-unit));
    font-size: calc(16 * var(--digital-proposal-unit));
  }
}

@media (max-width: 1199px) {
  .digital-proposal-intro-break {
    display: none;
  }
}

@media (max-width: 980px) {
  .digital-proposal-section {
    padding: 88px 0 80px;
  }

  .digital-proposal-inner {
    width: min(720px, calc(100vw - 48px));
  }

  .digital-proposal-title-line {
    display: inline;
  }

  .digital-proposal-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    margin-top: 16px;
  }

  .digital-proposal-copy {
    max-width: 660px;
  }
}

@media (max-width: 640px) {
  .digital-proposal-section {
    padding: 68px 0 62px;
  }

  .digital-proposal-inner {
    width: min(100% - 32px, 560px);
  }

  .digital-proposal-heading .eyebrow {
    margin-bottom: 18px;
    font-size: 0.72rem;
  }

  .digital-proposal-heading h2 {
    font-size: clamp(1.95rem, 8vw, 2.35rem);
    line-height: 1.1;
  }

  .digital-proposal-grid {
    gap: 32px;
    margin-top: 14px;
  }

  .digital-proposal-copy p {
    font-size: 1rem;
  }

  .digital-proposal-actions {
    align-items: flex-start;
    gap: 14px 18px;
    margin-top: 26px;
  }
}

@media (max-width: 640px) and (orientation: portrait) {
  .digital-proposal-grid {
    margin-top: 20px;
  }

  .digital-proposal-visual {
    order: -1;
  }

  .digital-proposal-paragraphs > p:first-child {
    margin-top: 0;
  }
}

/* Site Footer */
.site-footer {
  background: #112533;
  /* Deep premium slate blue */
  color: rgba(255, 255, 255, 0.7);
  padding: 44px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (min-width: 1537px) {
  .pricing-section {
    /* 1px at the 1536px reference, up to 1.25px at 1920px. */
    --pricing-wide-unit: clamp(1px, 0.0651042vw, 1.25px);
  }

  .pricing-inner {
    width: min(calc(1332 * var(--pricing-wide-unit)), calc(100vw - 48px));
  }

  .pricing-section .section-intro {
    margin: calc(-16 * var(--pricing-wide-unit)) auto
      calc(16 * var(--pricing-wide-unit));
    transform: translateY(calc(-18 * var(--pricing-wide-unit)));
  }

  .pricing-section .section-intro h2 {
    margin-top: calc(8 * var(--pricing-wide-unit));
    font-size: calc(36 * var(--pricing-wide-unit));
  }





  .pricing-grid {
    gap: calc(32 * var(--pricing-wide-unit));
  }

  .pricing-demo h3 {
    font-size: calc(24 * var(--pricing-wide-unit));
  }

  .pricing-demo-button {
    min-width: calc(269 * var(--pricing-wide-unit));
    min-height: calc(48 * var(--pricing-wide-unit));
    padding: calc(12 * var(--pricing-wide-unit))
      calc(28 * var(--pricing-wide-unit));
    font-size: calc(16 * var(--pricing-wide-unit));
  }

  .pricing-grid > .pricing-card:first-child .pricing-card-disclaimer {
    margin-top: calc(48 * var(--pricing-wide-unit));
  }

  .site-footer {
    font-size: clamp(0.9rem, calc(0.66rem + 0.25vw), 0.96rem);
  }

  .pricing-card.featured {
    max-width: calc(309 * var(--pricing-wide-unit));
    min-height: calc(452 * var(--pricing-wide-unit));
    padding: calc(24 * var(--pricing-wide-unit))
      calc(20 * var(--pricing-wide-unit))
      calc(20 * var(--pricing-wide-unit));
    border-radius: calc(20 * var(--pricing-wide-unit));
  }

  .pricing-card.featured .card-badge {
    margin-bottom: calc(8 * var(--pricing-wide-unit));
    padding: calc(4 * var(--pricing-wide-unit))
      calc(10 * var(--pricing-wide-unit));
    font-size: calc(9.92 * var(--pricing-wide-unit));
  }

  .pricing-card.featured .card-title {
    margin-bottom: calc(4 * var(--pricing-wide-unit));
    font-size: calc(21.6 * var(--pricing-wide-unit));
  }

  .pricing-card.featured .card-description,
  .pricing-card.featured .price-per {
    font-size: calc(13.44 * var(--pricing-wide-unit));
  }

  .pricing-card.featured .pricing-card-price {
    min-height: calc(68 * var(--pricing-wide-unit));
    margin: calc(12 * var(--pricing-wide-unit)) 0;
    column-gap: calc(8 * var(--pricing-wide-unit));
    row-gap: calc(2 * var(--pricing-wide-unit));
  }

  .pricing-card.featured .price-val {
    font-size: calc(35.2 * var(--pricing-wide-unit));
  }

  .pricing-card.featured .price-billing {
    font-size: calc(12 * var(--pricing-wide-unit));
  }

  .pricing-card.featured .pricing-cta-button {
    min-height: calc(42 * var(--pricing-wide-unit));
    margin: calc(6 * var(--pricing-wide-unit)) 0
      calc(8 * var(--pricing-wide-unit));
    padding: calc(8 * var(--pricing-wide-unit))
      calc(24 * var(--pricing-wide-unit));
    font-size: calc(14.08 * var(--pricing-wide-unit));
  }

  .pricing-card.featured .pricing-card-features {
    margin-top: calc(14 * var(--pricing-wide-unit));
    padding-top: calc(12 * var(--pricing-wide-unit));
  }

  .pricing-card.featured .features-title {
    margin-bottom: calc(8 * var(--pricing-wide-unit));
    font-size: calc(12.48 * var(--pricing-wide-unit));
  }

  .pricing-card.featured .pricing-card-features ul {
    gap: calc(8 * var(--pricing-wide-unit));
  }

  .pricing-card.featured .pricing-card-features li {
    gap: calc(8 * var(--pricing-wide-unit));
    font-size: calc(13.12 * var(--pricing-wide-unit));
  }

  .pricing-card.featured .feature-icon {
    width: calc(14 * var(--pricing-wide-unit));
    height: calc(14 * var(--pricing-wide-unit));
    margin-top: calc(2 * var(--pricing-wide-unit));
  }

  .pricing-card.featured .pricing-feature-extra,
  .pricing-card.featured .pricing-card-disclaimer {
    font-size: calc(11.52 * var(--pricing-wide-unit));
  }

  .pricing-card.featured .pricing-card-disclaimer {
    margin-top: calc(16 * var(--pricing-wide-unit));
  }
}

.footer-inner {
  width: min(1455px, calc((100vh - 128px) * 1.654), calc(100vw - 114px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 0.8fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

@media (min-width: 841px) {
  .footer-col:nth-child(2) {
    transform: translateX(-18px);
  }

  .footer-col:nth-child(3) {
    transform: translateX(56px);
  }
}

@media (min-width: 841px) and (max-width: 1100px) {
  .footer-col:nth-child(2),
  .footer-col:nth-child(3) {
    transform: none;
  }
}

@media (min-width: 841px) {
  .site-footer--four-column .footer-inner {
    width: min(1600px, calc(100% - clamp(48px, 6vw, 96px)));
  }

  .site-footer--four-column .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(24px, 3vw, 64px);
  }

  .site-footer--four-column .footer-col {
    min-width: 0;
    transform: none;
  }
}

@media (min-width: 1200px) {
  .site-footer--four-column .footer-inner {
    width: 100%;
    max-width: 1920px;
    margin-inline: auto;
    padding-inline: clamp(96px, 8vw, 160px) clamp(16px, 1vw, 24px);
    box-sizing: border-box;
  }
}

.footer-col-title {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-description {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 340px;
}

.footer-aig-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-aig-link:hover {
  color: inherit;
  text-decoration-color: currentColor;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-phone {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-phone-image {
  display: inline-block;
  height: 13.5px;
  width: auto;
  margin-left: 1.5px;
  opacity: 0.9;
  filter: grayscale(1);
  transform: translateY(2px);
}

.footer-email-wrap {
  display: flex;
  align-items: center;
  margin-top: 0;
  min-height: 1.6em;
}

.contact-modal__trigger {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  line-height: 0;
}

.contact-modal__trigger:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 4px;
}

.footer-email-image-button {
  height: 13.5px;
  width: auto;
  display: block;
  cursor: pointer;
  opacity: 0.9;
  filter: grayscale(1);
  margin-left: 1.5px;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.contact-modal__trigger:hover .footer-email-image-button {
  opacity: 1;
  filter: grayscale(1) brightness(1.04);
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Restore the four-column footer's vertical proportions above the 1536px reference. */
@media (min-width: 1537px) {
  .site-footer--four-column {
    padding: clamp(44px, 2.8646vw, 55px) 0;
    font-size: clamp(0.9rem, 0.9375vw, 1.125rem);
  }

  .site-footer--four-column .footer-col-title {
    margin-bottom: clamp(16px, 1.0417vw, 20px);
    font-size: clamp(1.05rem, 1.0938vw, 1.3125rem);
  }

  .site-footer--four-column .footer-description {
    margin-bottom: clamp(12px, 0.7813vw, 15px);
    max-width: clamp(340px, 22.1354vw, 425px);
  }

  .site-footer--four-column .footer-contact {
    gap: clamp(10px, 0.651vw, 12.5px);
  }

  .site-footer--four-column .footer-nav {
    gap: clamp(12px, 0.7813vw, 15px);
  }

  .site-footer--four-column .footer-email-image-button,
  .site-footer--four-column .footer-phone-image {
    height: clamp(13.5px, 0.8789vw, 16.875px);
    width: auto;
  }
}

@media (max-width: 840px) {
  .site-footer {
    padding: 36px 0;
  }

  .footer-inner {
    gap: 28px;
    width: min(100% - 32px, 560px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-description {
    max-width: 100%;
  }
}

/* Contactformulier */
body.contact-modal-scroll-lock {
  position: fixed;
  inset-inline: 0;
  top: var(--contact-modal-scroll-offset, 0);
  width: 100%;
  overflow: hidden;
  padding-right: var(--contact-modal-scrollbar-compensation, 0);
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding:
    max(24px, env(safe-area-inset-top))
    max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.contact-modal--visible {
  pointer-events: auto;
  opacity: 1;
}

.contact-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 26, 36, 0.58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  border: 1px solid rgba(23, 33, 43, 0.1);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(17, 37, 51, 0.24);
  transform: translateY(8px) scale(0.985);
  transition: transform 180ms ease;
}

.contact-modal--visible .contact-modal__dialog {
  transform: translateY(0) scale(1);
}

.contact-modal__body {
  max-height: calc(100dvh - 48px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(30px, 5vw, 42px);
  scrollbar-gutter: stable;
}

.contact-modal__header {
  padding-right: 38px;
}

.contact-modal__header h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.65rem, 4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.contact-modal__header > p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.contact-modal__header .contact-modal__faq-copy {
  margin-top: 8px;
  font-size: 0.9rem;
}

.contact-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #3d4c58;
  font-size: 1.55rem;
  line-height: 1;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.contact-modal__close:hover {
  border-color: var(--line-strong);
  background: var(--surface-soft);
  color: var(--text);
}

.contact-modal__close:focus-visible,
.contact-modal__text-link:focus-visible,
.contact-modal__submit:focus-visible,
.contact-choice__tile--action:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.contact-choice__dialog {
  width: min(590px, 100%);
}

.contact-choice__body {
  padding: 28px 32px;
}

.contact-choice__eyebrow {
  margin: 0 0 9px !important;
  color: var(--accent) !important;
  font-size: 0.75rem !important;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.contact-choice__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

.contact-choice__tile {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(23, 54, 74, 0.13);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 252, 0.96));
  color: var(--text);
  box-shadow: 0 10px 28px rgba(23, 54, 74, 0.07);
  font: inherit;
  text-align: left;
}

.contact-choice__tile--action {
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.contact-choice__tile--action:hover {
  border-color: rgba(47, 127, 184, 0.42);
  box-shadow: 0 16px 36px rgba(23, 54, 74, 0.13);
  transform: translateY(-2px);
}

.contact-choice__tile--static {
  background:
    linear-gradient(145deg, rgba(250, 251, 252, 0.98), rgba(240, 244, 247, 0.94));
}

.contact-choice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(47, 127, 184, 0.18);
  border-radius: 13px;
  background: rgba(47, 127, 184, 0.09);
  color: #205f8d;
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1;
}

.contact-choice__content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 20px;
}

.contact-choice__title {
  color: var(--text);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
}

.contact-choice__detail {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.contact-choice__phone-image {
  display: inline-block;
  width: auto;
  height: 1em;
  vertical-align: baseline;
}

.contact-choice__phone-number {
  display: block;
  color: var(--text);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.contact-choice__availability {
  margin-top: auto;
  padding-top: 15px;
  color: #536675;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: 0.025em;
}

.contact-choice-illustration {
  position: relative;
  display: block;
  flex: 1 1 0;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  color: #205f8d;
  pointer-events: none;
}

.contact-choice-illustration svg {
  position: absolute;
  inset: 0;
  width: 80px;
  height: 80px;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  opacity: 0.62;
}

.callback-request__body {
  width: 100%;
  min-width: 0;
}

.callback-request__form {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 12px;
  margin-top: 16px;
}

.callback-request__form .contact-modal__field,
.callback-request__form .contact-modal__field input,
.callback-request__form .contact-modal__field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.callback-request__form .contact-modal__field input {
  display: block;
  min-height: 48px;
  padding: 11px 13px;
  font-size: 1rem;
}

.callback-request__form .contact-modal__field label {
  margin-bottom: 7px;
  font-size: 0.88rem;
}

.callback-request__form .contact-modal__field textarea {
  min-height: 94px;
  max-height: 160px;
  padding: 10px 12px;
  font-size: 1rem;
  resize: vertical;
}

.callback-request__form .contact-modal__submit {
  min-width: 0;
  min-height: 52px;
  margin-top: 0;
  padding: 14px 12px;
  font-size: 1rem;
}

.callback-request__turnstile {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 0;
  overflow: hidden;
}

.callback-request__turnstile[data-interactive="true"] {
  height: auto;
}

.callback-request__error {
  margin: 0;
  overflow-wrap: anywhere;
}

.callback-request__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  gap: 10px;
  margin-block: auto;
  padding-block: 24px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
}

.callback-request__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  border: 1px solid rgba(39, 99, 66, 0.28);
  border-radius: 50%;
  background: rgba(238, 248, 242, 0.9);
  color: #2f7f58;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.callback-request__success-title {
  color: #21583a;
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.3;
}

.callback-request__success-message {
  max-width: 32ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-choice__tile--callback [hidden] {
  display: none !important;
}

.contact-modal__form {
  position: relative;
  display: grid;
  gap: 17px;
  margin-top: 25px;
}

.contact-modal__field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-modal__field {
  min-width: 0;
}

.contact-modal__field label {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-modal__field input,
.contact-modal__field select,
.contact-modal__field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.contact-modal__field input,
.contact-modal__field select {
  min-height: 48px;
  padding: 11px 13px;
}

.contact-modal__field textarea {
  min-height: 116px;
  max-height: 220px;
  padding: 12px 13px;
  resize: vertical;
}

.contact-modal__field input::placeholder,
.contact-modal__field textarea::placeholder {
  color: #8a949e;
  opacity: 1;
}

.contact-modal__field input:hover,
.contact-modal__field select:hover,
.contact-modal__field textarea:hover {
  border-color: rgba(47, 127, 184, 0.4);
}

.contact-modal__field input:focus,
.contact-modal__field select:focus,
.contact-modal__field textarea:focus {
  outline: none;
  border-color: rgba(47, 127, 184, 0.78);
  box-shadow: 0 0 0 2px rgba(47, 127, 184, 0.1);
}

.contact-modal__field input[aria-invalid="true"],
.contact-modal__field select[aria-invalid="true"],
.contact-modal__field textarea[aria-invalid="true"] {
  border-color: #b74b4b;
  background: #fffafa;
}

.contact-modal__error {
  margin: 6px 0 0;
  color: #9c3636;
  font-size: 0.8rem;
  line-height: 1.35;
}

.contact-modal__error[hidden] {
  display: none;
}

.contact-modal__text-link {
  color: var(--accent);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 160ms ease;
}

.contact-modal__text-link:hover {
  color: #205f8d;
}

.contact-modal__privacy-copy {
  margin: -1px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.contact-modal__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-modal__turnstile {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-modal__turnstile[data-interactive="true"] {
  position: relative;
  display: flex;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 0;
  overflow: visible;
  opacity: 1;
  pointer-events: auto;
}

.contact-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin: 9px 0 0;
  padding: 14px 24px;
  border: 1px solid rgba(47, 127, 184, 0.22);
  border-radius: 18px;
  background: #17364a;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(23, 54, 74, 0.15);
  font-weight: 680;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.contact-modal__submit:hover:not(:disabled) {
  background: #20506d;
  box-shadow: 0 14px 30px rgba(23, 54, 74, 0.2);
  transform: translateY(-1px);
}

.contact-modal__submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-modal__submit[hidden] {
  display: none;
}

.contact-modal__status {
  margin: 7px 0 -1px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 33, 43, 0.08);
  border-radius: var(--radius-md);
  background: rgba(247, 249, 251, 0.82);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
  text-align: center;
}

.contact-modal__status[hidden] {
  display: none;
}

.contact-modal__status[data-status-type="success"] {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px 18px;
  color: #276342;
  border-color: rgba(39, 99, 66, 0.28);
  background: rgba(238, 248, 242, 0.9);
  text-align: left;
}

.contact-modal__status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 50%;
  background: #2f7f58;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.contact-modal__status-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.contact-modal__status-title {
  color: #21583a;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
}

.contact-modal__status-message {
  color: #3c654d;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-modal__status[data-status-type="error"] {
  color: #9c3636;
  border-color: rgba(156, 54, 54, 0.16);
  background: rgba(255, 246, 246, 0.92);
}

/* Keep the contact form's desktop scale; the choice dialog has its own breakpoint below. */
@media (min-width: 1537px) {
  .contact-modal__dialog {
    width: min(100%, clamp(620px, 40.365vw, 775px));
    border-radius: clamp(18px, 1.172vw, 23px);
  }

  .contact-modal__body {
    padding: clamp(42px, 2.735vw, 53px);
  }

  .contact-choice__body {
    padding: 28px 32px;
  }

  .contact-modal__header {
    padding-right: clamp(38px, 2.474vw, 48px);
  }

  .contact-modal__header h2 {
    font-size: clamp(2rem, 2.083vw, 2.5rem);
  }

  .contact-modal__header > p {
    margin-top: clamp(13px, 0.846vw, 16px);
    font-size: clamp(0.98rem, 1.021vw, 1.225rem);
  }

  .contact-modal__header .contact-modal__faq-copy {
    margin-top: clamp(8px, 0.521vw, 10px);
    font-size: clamp(0.9rem, 0.938vw, 1.125rem);
  }

  .contact-modal__close {
    top: clamp(18px, 1.172vw, 23px);
    right: clamp(18px, 1.172vw, 23px);
    width: clamp(38px, 2.474vw, 48px);
    height: clamp(38px, 2.474vw, 48px);
    font-size: clamp(1.55rem, 1.615vw, 1.94rem);
  }

  .contact-choice__eyebrow {
    font-size: clamp(0.75rem, 0.781vw, 0.9375rem) !important;
  }

  .contact-choice__tile {
    padding: 22px;
    border-radius: clamp(16px, 1.042vw, 20px);
  }

  .contact-choice__icon {
    width: clamp(42px, 2.734vw, 53px);
    height: clamp(42px, 2.734vw, 53px);
    border-radius: clamp(13px, 0.846vw, 16px);
    font-size: clamp(1.05rem, 1.094vw, 1.3125rem);
  }

  .contact-choice__content {
    gap: clamp(5px, 0.326vw, 6px);
    margin-top: clamp(20px, 1.302vw, 25px);
  }

  .contact-choice__title {
    font-size: clamp(1rem, 1.042vw, 1.25rem);
  }

  .contact-choice__detail {
    font-size: clamp(0.88rem, 0.917vw, 1.1rem);
  }

  .contact-choice__availability {
    padding-top: clamp(15px, 0.977vw, 19px);
    font-size: clamp(0.9375rem, 0.833vw, 1rem);
  }

  .contact-modal__form {
    gap: clamp(17px, 1.107vw, 21px);
    margin-top: clamp(25px, 1.628vw, 31px);
  }

  .contact-modal__field-row {
    gap: clamp(16px, 1.042vw, 20px);
  }

  .contact-modal__field label {
    margin-bottom: clamp(7px, 0.456vw, 9px);
    font-size: clamp(0.88rem, 0.917vw, 1.1rem);
  }

  .contact-modal__field input,
  .contact-modal__field select,
  .contact-modal__field textarea {
    font-size: clamp(1rem, 1.042vw, 1.25rem);
  }

  .contact-modal__field input,
  .contact-modal__field select {
    min-height: clamp(48px, 3.125vw, 60px);
    padding: clamp(11px, 0.716vw, 14px) clamp(13px, 0.846vw, 16px);
  }

  .contact-modal__field textarea {
    min-height: clamp(116px, 7.552vw, 145px);
    max-height: clamp(220px, 14.323vw, 275px);
    padding: clamp(12px, 0.781vw, 15px) clamp(13px, 0.846vw, 16px);
  }

  .contact-modal__error {
    font-size: clamp(0.8rem, 0.833vw, 1rem);
  }

  .contact-modal__privacy-copy {
    font-size: clamp(0.84rem, 0.875vw, 1.05rem);
  }

  .contact-modal__submit {
    min-height: clamp(52px, 3.385vw, 65px);
    margin-top: clamp(9px, 0.586vw, 11px);
    padding: clamp(14px, 0.911vw, 18px) clamp(24px, 1.563vw, 30px);
    border-radius: clamp(18px, 1.172vw, 23px);
    font-size: clamp(1rem, 1.042vw, 1.25rem);
  }

  .contact-modal__status {
    font-size: clamp(0.86rem, 0.896vw, 1.075rem);
  }

  .contact-modal__status[data-status-type="success"] {
    gap: clamp(13px, 0.846vw, 16px);
    padding: clamp(17px, 1.107vw, 21px) clamp(18px, 1.172vw, 23px);
  }

  .contact-modal__status-icon {
    flex-basis: clamp(28px, 1.823vw, 35px);
    width: clamp(28px, 1.823vw, 35px);
    height: clamp(28px, 1.823vw, 35px);
    font-size: clamp(1rem, 1.042vw, 1.25rem);
  }

  .contact-modal__status-title {
    font-size: clamp(1rem, 1.042vw, 1.25rem);
  }

  .contact-modal__status-message {
    font-size: clamp(0.9rem, 0.938vw, 1.125rem);
  }
}

/* Three usable cards fit from 1100px, including the 1536px desktop viewport. */
@media (min-width: 1100px) {
  .contact-modal__dialog.contact-choice__dialog {
    width: min(1240px, calc(100vw - 48px), 100%);
  }

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

/* NL phone: match the envelope's free zone, independent of the number height.
   The bounds mirror card padding, icon/title space and the mail CTA footer. */
@media (min-width: 1100px) {
  .contact-choice__tile--static:not([data-web-call-trigger]) > .contact-choice-illustration--phone {
    position: absolute;
    inset:
      calc(22px + 42px + 20px + 1.25rem)
      22px
      calc(22px + 15px + 0.9375rem * 1.45);
  }
}

@media (min-width: 1537px) {
  .contact-choice__tile--static:not([data-web-call-trigger]) > .contact-choice-illustration--phone {
    top: calc(22px + clamp(42px, 2.734vw, 53px) + clamp(20px, 1.302vw, 25px) + clamp(1rem, 1.042vw, 1.25rem) * 1.25);
    bottom: calc(22px + clamp(15px, 0.977vw, 19px) + clamp(0.9375rem, 0.833vw, 1rem) * 1.45);
  }
}

@media (max-width: 1099px) {
  .contact-choice__phone-number {
    font-size: 1.6875rem;
  }

  .contact-choice-illustration {
    display: none;
  }

  .contact-choice__options {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .contact-choice__phone-number {
    font-size: 1.5rem;
  }

  .contact-modal {
    align-items: center;
    padding:
      max(12px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
  }

  .contact-modal__dialog,
  .contact-modal__body {
    max-height: calc(100dvh - 24px);
  }

  .contact-modal__dialog {
    border-radius: 14px;
  }

  .contact-modal__body {
    padding: 26px 20px max(24px, env(safe-area-inset-bottom));
  }

  .contact-modal__header {
    padding-right: 34px;
  }

  .contact-modal__close {
    top: 14px;
    right: 14px;
  }

  .contact-modal__field-row {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .contact-modal__field input,
  .contact-modal__field select,
  .contact-modal__field textarea {
    font-size: 16px;
  }

  .contact-choice__body {
    padding: 28px 22px;
  }

  .contact-choice__options {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .contact-choice__tile {
    min-height: 130px;
    padding: 18px;
  }

  .contact-choice__content {
    margin-top: 16px;
  }

}

/* Dutch and Belgian contact choices on portrait phones; retain tablet layouts.
   The row borrows pricing's card widths, snapping and native two-axis gestures. */
@media (max-width: 767px) and (orientation: portrait) {
  html:not(.tablet-portrait-active):not(.tablet-landscape-active) :is([data-contact-choice-country="nl"], [data-contact-choice-country="be"]) {
    --contact-choice-viewport-gap: calc(max(12px, env(safe-area-inset-top)) + max(12px, env(safe-area-inset-bottom)));
    padding:
      max(12px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
  }

  html:not(.tablet-portrait-active):not(.tablet-landscape-active) :is([data-contact-choice-country="nl"], [data-contact-choice-country="be"]) .contact-choice__dialog {
    min-width: 0;
    max-height: calc(100dvh - var(--contact-choice-viewport-gap));
  }

  html:not(.tablet-portrait-active):not(.tablet-landscape-active) :is([data-contact-choice-country="nl"], [data-contact-choice-country="be"]) .contact-choice__body {
    min-width: 0;
    max-height: calc(100dvh - var(--contact-choice-viewport-gap) - 2px);
    padding: 28px 22px;
    scrollbar-gutter: auto;
  }

  html:not(.tablet-portrait-active):not(.tablet-landscape-active) :is([data-contact-choice-country="nl"], [data-contact-choice-country="be"]) .contact-choice__options {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: calc(100% + 44px);
    min-width: 0;
    max-width: calc(100% + 44px);
    gap: 16px;
    /* Stay inside the dialog; keep room for card shadows and focus outlines. */
    margin-inline: -22px;
    padding: 12px 12px 28px;
    background: transparent;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 12px;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  html:not(.tablet-portrait-active):not(.tablet-landscape-active) :is([data-contact-choice-country="nl"], [data-contact-choice-country="be"]) .contact-choice__options::-webkit-scrollbar {
    display: none;
  }

  html:not(.tablet-portrait-active):not(.tablet-landscape-active) :is([data-contact-choice-country="nl"], [data-contact-choice-country="be"]) .contact-choice__tile {
    /* The callback form determines the row height; never cap or shrink it. */
    flex: 0 0 min(clamp(235.6px, 74.1vw, 313.5px), calc(95% - 34.2px));
    min-height: 0;
    padding: 18px;
    scroll-snap-align: start;
  }

  html:not(.tablet-portrait-active):not(.tablet-landscape-active) :is([data-contact-choice-country="nl"], [data-contact-choice-country="be"]) .contact-choice__icon {
    flex-shrink: 0;
  }

  html:not(.tablet-portrait-active):not(.tablet-landscape-active) :is([data-contact-choice-country="nl"], [data-contact-choice-country="be"]) .contact-choice-illustration {
    display: block;
    flex: 1 0 160px;
    min-height: 160px;
  }

  html:not(.tablet-portrait-active):not(.tablet-landscape-active) :is([data-contact-choice-country="nl"], [data-contact-choice-country="be"]) .contact-choice-illustration svg {
    width: clamp(104px, 32vw, 144px);
    height: clamp(104px, 32vw, 144px);
  }

  /* Let the existing phone number follow the illustration at the card footer. */
  html:not(.tablet-portrait-active):not(.tablet-landscape-active) [data-contact-choice-country="nl"] .contact-choice__tile--static > .contact-choice__content {
    display: contents;
  }

  html:not(.tablet-portrait-active):not(.tablet-landscape-active) [data-contact-choice-country="nl"] .contact-choice__tile--static .contact-choice__title {
    order: 1;
    margin-top: 16px;
  }

  html:not(.tablet-portrait-active):not(.tablet-landscape-active) :is([data-contact-choice-country="nl"], [data-contact-choice-country="be"]) .contact-choice-illustration--phone {
    order: 2;
  }

  html:not(.tablet-portrait-active):not(.tablet-landscape-active) [data-contact-choice-country="nl"] .contact-choice__tile--static .contact-choice__detail {
    order: 3;
    padding-top: 15px;
  }

  html:not(.tablet-portrait-active):not(.tablet-landscape-active) :is([data-contact-choice-country="nl"], [data-contact-choice-country="be"]) .contact-choice__phone-label {
    display: none;
  }

  html:not(.tablet-portrait-active):not(.tablet-landscape-active) :is([data-contact-choice-country="nl"], [data-contact-choice-country="be"]) .contact-choice__phone-icon {
    display: block !important;
  }
  /* Keep the Belgian internet-call intro, microphone note and live status. */
  html:not(.tablet-portrait-active):not(.tablet-landscape-active) [data-contact-choice-country="be"] [data-web-call-trigger] > .contact-choice__content {
    display: contents;
  }

  html:not(.tablet-portrait-active):not(.tablet-landscape-active) [data-contact-choice-country="be"] .be-webcall-intro {
    order: 1;
    margin-top: 16px;
  }

  html:not(.tablet-portrait-active):not(.tablet-landscape-active) [data-contact-choice-country="be"] .be-webcall-microphone-note {
    order: 3;
    padding-top: 15px;
  }

  html:not(.tablet-portrait-active):not(.tablet-landscape-active) [data-contact-choice-country="be"] [data-web-call-trigger] > .contact-choice__availability {
    order: 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-modal,
  .contact-modal__dialog,
  .contact-modal__submit,
  .contact-choice__tile--action {
    scroll-behavior: auto;
    transition-duration: 1ms;
  }

  .contact-modal__dialog,
  .contact-modal--visible .contact-modal__dialog {
    transform: none;
  }
}

.mobile-hero-cards {
  display: none;
}

@media (max-width: 767px) {

  html.mobile-gate-unlocked .mobile-hero-message {
    display: none;
  }

  body,
  main,
  .hero-section {
    max-width: 100%;
  }

  .hero-section {
    height: auto;
    min-height: 0;
    padding: max(12px, env(safe-area-inset-top)) 12px calc(96px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #F4F8FA 0%, #EEF5F7 100%);
  }

  html.mobile-gate-unlocked .hero-section {
    padding: 12px 12px 26px;
  }

  .hero-sticky {
    display: none;
    width: auto;
    margin: 0;
    padding: 0;
  }

  .mobile-hero-message {
    position: relative;
    left: auto;
    right: auto;
    display: grid;
    width: calc(100% - 32px);
    max-width: 520px;
    margin-inline: auto;
    padding: 32px 24px;
    overflow: visible;
    transform: none;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid rgba(47, 127, 184, 0.18);
    border-radius: 20px;
    box-shadow:
      0 40px 90px rgba(23, 54, 74, 0.12),
      0 16px 36px rgba(23, 54, 74, 0.04),
      0 4px 12px rgba(47, 127, 184, 0.04),
      0 0 0 1px rgba(47, 127, 184, 0.06);
  }

  .mobile-hero-message h1 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .mobile-hero-message p:not(.mobile-hero-kicker) {
    font-size: clamp(0.98rem, 4.2vw, 1.08rem);
    line-height: 1.55;
  }

  html.mobile-gate-unlocked .mobile-hero-cards {
    display: grid;
  }

  .mobile-hero-cards {
    gap: 28px;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    box-sizing: border-box;
  }

  .mobile-hero-card {
    display: grid;
    grid-template-rows: auto auto;
    gap: clamp(20px, 5vh, 28px);
    width: calc(100% - 32px);
    max-width: 520px;
    min-width: 0;
    min-height: 0;
    height: auto;
    margin-inline: auto;
    padding: clamp(28px, 6vw, 36px) clamp(20px, 5vw, 24px);
    overflow: hidden;
    position: relative;
    left: auto;
    right: auto;
    transform: none;
    box-sizing: border-box;
    border: 1px solid rgba(47, 127, 184, 0.18);
    border-radius: 20px;
    background: #ffffff;
    box-shadow:
      0 40px 90px rgba(23, 54, 74, 0.12),
      0 16px 36px rgba(23, 54, 74, 0.04),
      0 4px 12px rgba(47, 127, 184, 0.04),
      0 0 0 1px rgba(47, 127, 184, 0.06);
  }

  .mobile-hero-card-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
    padding-bottom: 0;
  }

  .mobile-hero-card-number {
    display: none;
  }

  .mobile-hero-card h1,
  .mobile-hero-card h2 {
    margin: 0;
    color: #1d2a36;
    font-size: clamp(2rem, 9vw, 2.75rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.025em;
  }

  .mobile-hero-card-subline {
    width: fit-content;
    margin: 18px 0 0;
    padding: 7px 11px;
    border: 1px solid rgba(47, 127, 184, 0.16);
    border-radius: 14px;
    background: rgba(233, 244, 251, 0.72);
    color: #2d607f;
    font-size: clamp(0.98rem, 4.2vw, 1.08rem);
    font-weight: 680;
    line-height: 1.2;
  }

  .mobile-hero-card-copy>p:not(.mobile-hero-card-number):not(.mobile-hero-card-subline):not(.mobile-hero-card-note) {
    margin: 22px 0 0;
    color: #526475;
    font-size: clamp(0.98rem, 4vw, 1.08rem);
    line-height: 1.55;
  }

  .mobile-hero-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: 100%;
    margin-top: 24px;
  }

  .mobile-hero-card-actions .primary-cta,
  .mobile-hero-card-actions .hero-login-cta {
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 16px;
    white-space: nowrap;
  }

  .mobile-hero-card-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .mobile-hero-row {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 4px 0 10px;
    overflow: hidden;
    contain: layout paint;
    touch-action: pan-y;
  }

  .mobile-hero-row-track {
    display: flex;
    width: max-content;
    transform: translate3d(0, 0, 0);
    animation: mobile-carousel-scroll 42s linear infinite;
    animation-play-state: paused;
    will-change: transform;
  }

  .mobile-hero-row-track.is-ready {
    animation-play-state: running;
  }

  .mobile-hero-card:nth-child(2) .mobile-hero-row-track {
    animation-duration: 48s;
    animation-delay: -12s;
  }

  .mobile-hero-card:nth-child(3) .mobile-hero-row-track {
    animation-duration: 44s;
    animation-delay: -24s;
  }

  html.is-page-hidden .mobile-hero-row-track,
  html.is-page-blurred .mobile-hero-row-track {
    animation-play-state: paused;
  }

  .mobile-hero-row-sequence {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 14px;
    padding-right: 14px;
  }

  .mobile-hero-row img {
    flex: 0 0 auto;
    width: clamp(180px, 62vw, 280px);
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    object-fit: cover;
    background: #edf3f6;
    box-shadow: 0 12px 28px rgba(24, 39, 54, 0.12);
    opacity: 1;
    transition: opacity 180ms ease;
  }

  .mobile-hero-row img[data-mobile-src] {
    opacity: 0;
  }

  .mobile-hero-card-compact {
    display: block;
    min-height: 0;
    padding-block: clamp(34px, 11vw, 52px);
  }

  .mobile-hero-card-compact .mobile-hero-card-copy {
    min-height: 0;
    padding-bottom: 0;
  }

}

@keyframes mobile-carousel-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-25%, 0, 0);
  }
}

@media (max-width: 380px) and (max-height: 820px) {
  .mobile-hero-card {
    padding: 20px;
  }

  .mobile-hero-card h1,
  .mobile-hero-card h2 {
    font-size: clamp(1.85rem, 8.5vw, 2.3rem);
  }

  .mobile-hero-card-copy>p:not(.mobile-hero-card-number):not(.mobile-hero-card-subline):not(.mobile-hero-card-note) {
    margin-top: 18px;
    font-size: 0.95rem;
  }

  .mobile-hero-card-actions {
    margin-top: 18px;
  }
}

/* Smartphone Card & Background Overrides (max-width: 767px) */
@media (max-width: 767px) {

  /* Pricing Section & Card Overrides */
  .pricing-section {
    min-height: 0 !important;
    padding: 64px 0 !important;
    background: #EEF5F7 !important;
  }

  .pricing-card.featured {
    width: calc(100% - 32px) !important;
    max-width: 320px !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
  }

  /* Phone-only pricing row; tablet mode keeps its existing layout. */
  html.mobile-active .pricing-inner {
    width: calc(100% - 48px);
    min-width: 0;
    max-width: 100%;
  }

  html.mobile-active .pricing-grid {
    display: flex;
    flex-wrap: nowrap;
    width: calc(100% + 48px);
    max-width: calc(100% + 48px);
    min-width: 0;
    justify-content: flex-start;
    gap: 16px;
    /* Extend the transparent scrollport to the section edges, within the viewport.
       The extra bottom gutter preserves shadow falloff without adding section height. */
    margin: 0 -24px -64px;
    padding: 12px 24px 96px;
    background: transparent;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 24px;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  html.mobile-active .pricing-grid::-webkit-scrollbar {
    display: none;
  }

  html.mobile-active .pricing-grid > .pricing-card.featured {
    flex: 0 0 clamp(248px, 78vw, 330px);
    width: clamp(248px, 78vw, 330px) !important;
    max-width: 330px !important;
    min-width: 0;
    margin-inline: 0 !important;
    scroll-snap-align: start;
  }

  /* Instruction Cards & Section Overrides */
  .stacked-process-section {
    min-height: 0 !important;
    padding: 64px 0 !important;
    background: #EEF5F7 !important;
  }

  .stacked-process-deck {
    display: grid !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .stacked-process-card {
    position: relative !important;
    inset: auto !important;
    min-height: 0 !important;
    width: calc(100% - 56px) !important;
    /* Narrower and consistent with hero card margins */
    margin-inline: auto !important;
    padding: 32px 24px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(47, 127, 184, 0.18) !important;
    background: #ffffff !important;
    box-shadow:
      0 40px 90px rgba(23, 54, 74, 0.12),
      0 16px 36px rgba(23, 54, 74, 0.04),
      0 4px 12px rgba(47, 127, 184, 0.04),
      0 0 0 1px rgba(47, 127, 184, 0.06) !important;
    opacity: 1 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  /* Phone-only steps use the same swipe and shadow gutters as pricing. */
  html.mobile-active .stacked-process-section,
  html.mobile-active .stacked-process-sticky {
    min-width: 0;
    max-width: 100%;
  }

  html.mobile-active .stacked-process-deck {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    height: auto;
    gap: 16px !important;
    margin: 0 0 -64px !important;
    padding: 12px 24px 96px;
    background: transparent;
    overflow-x: auto;
    overflow-y: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 24px;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  html.mobile-active .stacked-process-deck::-webkit-scrollbar {
    display: none;
  }

  html.mobile-active .stacked-process-deck > .stacked-process-card {
    flex: 0 0 clamp(248px, 78vw, 330px);
    align-self: stretch;
    justify-content: flex-start;
    width: clamp(248px, 78vw, 330px) !important;
    max-width: 330px !important;
    min-width: 0;
    height: auto;
    margin-inline: 0 !important;
    overflow: visible;
    scroll-snap-align: start;
  }

  /* Before/After Section & Card Overrides */
  .examples-section {
    min-height: 0 !important;
    padding: 20px 0 64px !important;
    /* Reduced top padding to move badge closer to hero card */
    background: linear-gradient(180deg, #EEF5F7 0%, #D2E5ED 100%) !important;
  }

  .examples-inner {
    width: 100% !important;
    max-width: 520px !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
  }

  .before-after-card {
    width: calc(100% - 32px) !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(47, 127, 184, 0.18) !important;
    border-radius: 20px !important;
    box-shadow:
      0 40px 90px rgba(23, 54, 74, 0.12),
      0 16px 36px rgba(23, 54, 74, 0.04),
      0 4px 12px rgba(47, 127, 184, 0.04),
      0 0 0 1px rgba(47, 127, 184, 0.06) !important;
  }

  .examples-nav-prev {
    left: 0;
  }

  .examples-nav-next {
    right: 0;
  }
}

/* Strict Smartphone Landscape touch-only Override */
@media (orientation: landscape) and (hover: none) and (pointer: coarse) and (max-height: 500px) {
  .examples-inner {
    max-width: none !important;
  }

  .before-after-card {
    width: min(calc(100vw - 32px), calc((100svh - 72px) * 1.5), 760px) !important;
    max-width: none !important;
    aspect-ratio: 3 / 2 !important;
    margin-inline: auto !important;
  }
}

/* Final smartphone card-width and top-background alignment. */
@media (max-width: 767px) {

  html,
  body,
  main {
    background: #EEF5F7;
  }

  .hero-section {
    background: linear-gradient(180deg, #F4F8FA 0%, #EEF5F7 100%);
  }

  .mobile-hero-cards,
  .mobile-hero-message {
    background-clip: padding-box;
  }

  .stacked-process-deck {
    width: min(calc(100% - 48px), 340px) !important;
    max-width: 340px !important;
    margin-inline: auto !important;
  }

  .stacked-process-card {
    width: calc(100% - 32px) !important;
    max-width: 320px !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(47, 127, 184, 0.18) !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow:
      0 40px 90px rgba(23, 54, 74, 0.12),
      0 16px 36px rgba(23, 54, 74, 0.04),
      0 4px 12px rgba(47, 127, 184, 0.04),
      0 0 0 1px rgba(47, 127, 184, 0.06) !important;
  }
}

/* Smartphone landscape orientation gate. Tablets have a landscape short side above 520px. */
.mobile-landscape-gate {
  display: none;
}

@media (orientation: landscape) and (max-width: 950px) and (max-height: 520px) and (hover: none) and (pointer: coarse) {

  html.mobile-landscape-gate-active,
  html.mobile-landscape-gate-active body {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
  }

  html.mobile-landscape-gate-active .mobile-landscape-gate {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    padding: max(12px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
    overflow: auto;
    box-sizing: border-box;
    background: linear-gradient(180deg, #F4F8FA 0%, #EEF5F7 100%);
    color: #1d2a36;
    overscroll-behavior: contain;
    text-align: center;
    touch-action: none;
  }

  .mobile-landscape-gate__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-content: center;
    width: min(100%, 640px);
    margin: auto;
    gap: clamp(8px, 2.4vh, 14px);
  }

  .mobile-landscape-gate__kicker {
    width: fit-content;
    margin: 0;
    padding: 6px 12px;
    border: 1px solid rgba(47, 127, 184, 0.16);
    border-radius: 999px;
    background: rgba(233, 244, 251, 0.72);
    color: #2d607f;
    font-size: clamp(0.7rem, 1.5vw, 0.84rem);
    font-weight: 760;
    line-height: 1.2;
  }

  .mobile-landscape-gate h1 {
    max-width: 100%;
    margin: 0;
    font-size: clamp(1.62rem, 4.4vw, 2.2rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
  }

  .mobile-landscape-gate__description {
    max-width: 590px;
    margin: 0;
    color: #526475;
    font-size: clamp(0.8rem, 1.8vw, 1rem);
    line-height: 1.45;
  }

  .mobile-landscape-gate__orientation {
    display: grid;
    justify-items: center;
    gap: clamp(6px, 1.8vh, 10px);
    width: min(100%, 590px);
    margin-top: clamp(2px, 1vh, 6px);
  }

  .mobile-landscape-gate__orientation h2 {
    margin: 0;
    color: #1d2a36;
    font-size: clamp(0.9rem, 2vw, 1.08rem);
    font-weight: 720;
    line-height: 1.25;
  }

  .mobile-landscape-gate__orientation img {
    display: block;
    width: clamp(78px, 24vh, 118px);
    height: auto;
    object-fit: contain;
  }
}

@media (orientation: landscape) and (max-width: 950px) and (max-height: 360px) and (hover: none) and (pointer: coarse) {

  .mobile-landscape-gate__content {
    gap: 7px;
  }

  .mobile-landscape-gate h1 {
    font-size: clamp(1.5rem, 4.4vw, 1.8rem);
  }

  .mobile-landscape-gate__description {
    font-size: 0.8rem;
  }

  .mobile-landscape-gate__orientation img {
    width: clamp(70px, 21vh, 86px);
  }
}

/* Final smartphone landscape before/after sizing. */
@media (orientation: landscape) and (hover: none) and (pointer: coarse) and (max-width: 950px) and (max-height: 500px) {
  .examples-section {
    min-height: 100svh !important;
    padding: 16px 0 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .examples-inner {
    width: 100% !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding-inline: 16px;
    box-sizing: border-box;
  }

  .examples-badge {
    display: none;
  }

  .examples-showcase {
    --examples-card-width: min(70vw, calc((100vh - 48px) * 1.5), 760px);
    --examples-card-height: min(46.6667vw, calc(100vh - 48px), 506.667px);
    --examples-visual-offset-y: 0px;
    position: relative;
    top: auto;
    display: block;
    width: 100%;
    min-height: 0;
    overflow: visible;
  }

  .before-after-card {
    position: relative;
    width: var(--examples-card-width) !important;
    height: var(--examples-card-height) !important;
    max-width: none !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 3 / 2 !important;
    margin-inline: auto !important;
    overflow: hidden !important;
    transform: none !important;
  }

  .before-after-card img,
  .before-after-card picture,
  .before-after-card video,
  .before-after-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .before-after-dots {
    display: none;
  }

  .examples-nav {
    position: absolute;
    top: 50%;
    z-index: 20;
    transform: translateY(-50%);
  }

  .examples-nav-prev {
    left: calc(50% - (var(--examples-card-width) / 2) - 46px);
  }

  .examples-nav-next {
    right: calc(50% - (var(--examples-card-width) / 2) - 46px);
  }

  @supports (height: 100svh) {
    .examples-showcase {
      --examples-card-width: min(70vw, calc((100svh - 48px) * 1.5), 760px);
      --examples-card-height: min(46.6667vw, calc(100svh - 48px), 506.667px);
    }
  }
}

/*
 * Safari iOS fallback: JS applies this class only while a physical phone is
 * in landscape. Explicit pixel dimensions avoid Safari viewport/aspect-ratio
 * timing differences; portrait styles remain untouched.
 */
html.is-phone-landscape-slider .examples-section {
  min-height: 100svh !important;
  padding: 16px 0 20px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

html.is-phone-landscape-slider .examples-inner {
  width: 100% !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding-inline: 16px;
  box-sizing: border-box;
}

html.is-phone-landscape-slider .examples-badge {
  display: none;
}

html.is-phone-landscape-slider .examples-showcase {
  --examples-card-width: var(--phone-landscape-slider-width);
  --examples-card-height: var(--phone-landscape-slider-height);
  --examples-visual-offset-y: 0px;
  position: relative;
  top: auto;
  display: block;
  width: 100%;
  min-height: 0;
  overflow: visible;
}

html.is-phone-landscape-slider .before-after-card {
  position: relative;
  width: var(--phone-landscape-slider-width) !important;
  height: var(--phone-landscape-slider-height) !important;
  max-width: none !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 3 / 2 !important;
  margin-inline: auto !important;
  overflow: hidden !important;
  transform: none !important;
}

html.is-phone-landscape-slider .before-after-card img,
html.is-phone-landscape-slider .before-after-card picture,
html.is-phone-landscape-slider .before-after-card video,
html.is-phone-landscape-slider .before-after-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html.is-phone-landscape-slider .before-after-dots {
  display: none;
}

html.is-phone-landscape-slider .examples-nav {
  position: absolute;
  top: 50%;
  z-index: 20;
  transform: translateY(-50%);
}

html.is-phone-landscape-slider .examples-nav-prev {
  left: calc(50% - (var(--phone-landscape-slider-width) / 2) - 46px);
}

html.is-phone-landscape-slider .examples-nav-next {
  right: calc(50% - (var(--phone-landscape-slider-width) / 2) - 46px);
}

/* Tablet portrait base: mobile flow, card structure and interactions. */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {

  html,
  body,
  main {
    max-width: 100%;
    background: #EEF5F7;
  }

  .pre-hero-device-tablet {
    display: inline;
  }

  html.tablet-gate-active body>main>section:not(.hero-section),
  html.tablet-gate-active .site-footer,
  html.tablet-gate-active .mobile-hero-cards {
    display: none;
  }

  html.tablet-gate-unlocked .mobile-hero-message {
    display: none;
  }

  .hero-section {
    height: auto;
    min-height: 0;
    padding: max(24px, env(safe-area-inset-top)) 32px max(24px, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #F4F8FA 0%, #EEF5F7 100%);
  }

  html.tablet-gate-active .hero-section {
    display: grid;
    place-items: center;
    min-height: 100svh;
  }

  html.tablet-gate-unlocked .hero-section {
    padding-top: 28px;
  }

  .hero-sticky {
    display: none;
  }

  .mobile-hero-message {
    display: grid;
    justify-items: center;
    gap: 16px;
    width: min(100%, 680px);
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    isolation: auto;
  }

  .mobile-hero-message .mobile-hero-kicker {
    justify-self: center;
    padding: 8px 15px;
    font-size: clamp(0.8125rem, 1.65vw, 0.9375rem);
    text-align: center;
  }

  .mobile-hero-message h1 {
    max-width: 680px;
    width: 100%;
    margin: 0 0 18px;
    font-size: clamp(2.625rem, 5.75vw, 2.875rem);
    line-height: 1.06;
    text-align: center;
    white-space: nowrap;
  }

  .mobile-hero-message p:not(.mobile-hero-kicker) {
    width: min(100%, 620px);
    max-width: 620px;
    margin: 0;
    font-size: clamp(1.1875rem, 2.1vw, 1.375rem);
    line-height: 1.55;
    text-align: center;
  }

  .tablet-rotate-card {
    display: grid;
    justify-items: center;
    gap: 14px;
    width: min(100%, 620px);
    max-width: 620px;
    margin-top: 26px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: default;
  }

  .mobile-hero-message .tablet-rotate-card .tablet-rotate-heading {
    margin: 0;
    color: #1d2a36;
    font-size: clamp(1.375rem, 2.45vw, 1.5625rem);
    font-weight: 720;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
  }

  .tablet-rotate-image {
    display: block;
    width: clamp(170px, 19vw, 200px);
    height: auto;
    margin: 16px 0 32px;
    object-fit: contain;
  }

  .tablet-portrait-fallback {
    display: inline-flex;
    justify-self: center;
    width: fit-content;
    margin-top: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2d607f;
    font: inherit;
    font-size: clamp(1rem, 1.75vw, 1.125rem);
    font-weight: 650;
    line-height: 1.35;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
  }

  .tablet-portrait-fallback:hover,
  .tablet-portrait-fallback:focus-visible {
    color: #1d4f6f;
  }

  html.tablet-gate-unlocked .mobile-hero-cards {
    display: grid;
  }

  .mobile-hero-cards {
    gap: 36px;
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .mobile-hero-card {
    display: grid;
    grid-template-rows: auto auto;
    gap: 32px;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: clamp(40px, 5.5vw, 52px);
    overflow: hidden;
    border: 1px solid rgba(47, 127, 184, 0.18);
    border-radius: 28px;
    background: #ffffff;
    box-shadow:
      0 40px 90px rgba(23, 54, 74, 0.12),
      0 16px 36px rgba(23, 54, 74, 0.04),
      0 4px 12px rgba(47, 127, 184, 0.04),
      0 0 0 1px rgba(47, 127, 184, 0.06);
  }

  .mobile-hero-card-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
  }

  .mobile-hero-card-number {
    display: none;
  }

  .mobile-hero-card h1,
  .mobile-hero-card h2 {
    margin: 0;
    color: #1d2a36;
    font-size: clamp(2.7rem, 6vw, 3.55rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.025em;
  }

  .mobile-hero-card-subline {
    width: fit-content;
    margin: 20px 0 0;
    padding: 8px 13px;
    border: 1px solid rgba(47, 127, 184, 0.16);
    border-radius: 14px;
    background: rgba(233, 244, 251, 0.72);
    color: #2d607f;
    font-size: 1.08rem;
    font-weight: 680;
    line-height: 1.2;
  }

  .mobile-hero-card-copy>p:not(.mobile-hero-card-number):not(.mobile-hero-card-subline):not(.mobile-hero-card-note) {
    max-width: 620px;
    margin: 24px 0 0;
    color: #526475;
    font-size: 1.1rem;
    line-height: 1.62;
  }

  .mobile-hero-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    width: min(100%, 500px);
    margin-top: 28px;
  }

  .mobile-hero-card-actions .primary-cta,
  .mobile-hero-card-actions .hero-login-cta {
    min-width: 0;
    min-height: 52px;
    padding: 13px 18px;
    border-radius: 16px;
    white-space: nowrap;
  }

  .mobile-hero-card-note {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .mobile-hero-row {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 6px 0 12px;
    overflow: hidden;
    contain: layout paint;
    touch-action: pan-y;
  }

  .mobile-hero-row-track {
    display: flex;
    width: max-content;
    transform: translate3d(0, 0, 0);
    animation: mobile-carousel-scroll 42s linear infinite;
    animation-play-state: paused;
    will-change: transform;
  }

  .mobile-hero-row-track.is-ready {
    animation-play-state: running;
  }

  .mobile-hero-card:nth-child(2) .mobile-hero-row-track {
    animation-duration: 48s;
    animation-delay: -12s;
  }

  .mobile-hero-card:nth-child(3) .mobile-hero-row-track {
    animation-duration: 44s;
    animation-delay: -24s;
  }

  html.is-page-hidden .mobile-hero-row-track,
  html.is-page-blurred .mobile-hero-row-track {
    animation-play-state: paused;
  }

  .mobile-hero-row-sequence {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 20px;
    padding-right: 20px;
  }

  .mobile-hero-row img {
    flex: 0 0 auto;
    width: clamp(320px, 48vw, 420px);
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    object-fit: cover;
    background: #edf3f6;
    box-shadow: 0 16px 34px rgba(24, 39, 54, 0.14);
    opacity: 1;
    transition: opacity 180ms ease;
  }

  .mobile-hero-row img[data-mobile-src] {
    opacity: 0;
  }

  .mobile-hero-card-compact {
    display: block;
    min-height: 0;
    padding-block: clamp(44px, 6vw, 60px);
  }

  .examples-section {
    min-height: 0 !important;
    padding: 32px 0 88px !important;
    background: linear-gradient(180deg, #EEF5F7 0%, #D2E5ED 100%) !important;
  }

  .examples-inner {
    width: min(calc(100% - 64px), 760px) !important;
  }

  .examples-showcase {
    --examples-card-width: min(100%, 720px);
    --examples-visual-offset-y: 0px;
    position: relative;
    display: block;
    width: 100%;
    min-height: 0;
  }

  .before-after-card {
    width: 100% !important;
    margin-inline: auto !important;
    border: 1px solid rgba(47, 127, 184, 0.18) !important;
    border-radius: 24px !important;
    box-shadow:
      0 40px 90px rgba(23, 54, 74, 0.12),
      0 16px 36px rgba(23, 54, 74, 0.04) !important;
  }

  .before-after-dots {
    position: absolute;
    top: auto;
    bottom: -48px;
    left: 50%;
    flex-direction: row;
    gap: 10px;
    margin: 0;
    padding: 7px 12px;
    transform: translateX(-50%);
  }

  .examples-nav {
    width: 44px;
    height: 44px;
  }

  .examples-nav-prev {
    left: -14px;
  }

  .examples-nav-next {
    right: -14px;
  }

  .before-after-handle {
    width: 46px;
    height: 46px;
  }

  .stacked-process-section,
  .pricing-section {
    min-height: 0 !important;
    padding: 80px 0 !important;
    background: #EEF5F7 !important;
  }

  .stacked-process-deck {
    display: grid !important;
    gap: 30px !important;
    width: min(calc(100% - 64px), 700px) !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  .stacked-process-card {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 40px !important;
    border: 1px solid rgba(47, 127, 184, 0.18) !important;
    border-radius: 26px !important;
    background: #ffffff !important;
    box-shadow:
      0 34px 76px rgba(23, 54, 74, 0.1),
      0 12px 28px rgba(23, 54, 74, 0.04) !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .pricing-grid {
    max-width: 500px;
  }

  .pricing-card.featured {
    width: min(calc(100% - 64px), 500px) !important;
    max-width: 500px !important;
    margin-inline: auto !important;
  }
}

/*
 * Runtime fallback for tablets that report an incorrect CSS orientation.
 * JavaScript applies this class only while the actual tablet viewport is portrait.
 */
html.tablet-portrait-active,
html.tablet-portrait-active body,
html.tablet-portrait-active main {
  max-width: 100%;
  background: #EEF5F7;
}

html.tablet-portrait-active body {
  overflow-x: hidden;
}

html.tablet-portrait-active.tablet-gate-active,
html.tablet-portrait-active.tablet-gate-active body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

html.tablet-portrait-active .pre-hero-device-tablet,
html.tablet-portrait-active .pre-hero-version-tablet {
  display: inline;
}

html.tablet-portrait-active.tablet-gate-active body>main>section:not(.hero-section),
html.tablet-portrait-active.tablet-gate-active .site-footer,
html.tablet-portrait-active.tablet-gate-active .mobile-hero-cards {
  display: none !important;
}

html.tablet-portrait-active.tablet-gate-unlocked .mobile-hero-message {
  display: none !important;
}

html.tablet-portrait-active main {
  display: flex;
  flex-direction: column;
}

html.tablet-portrait-active .hero-section {
  order: 1;
  height: auto;
  min-height: 0;
  padding: max(24px, env(safe-area-inset-top)) 32px max(24px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #F4F8FA 0%, #EEF5F7 100%);
}

html.tablet-portrait-active.tablet-gate-active .hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  overflow: auto;
}

html.tablet-portrait-active.tablet-gate-unlocked .hero-section {
  padding-top: 36px;
}

html.tablet-portrait-active .hero-sticky,
html.tablet-portrait-active .hero-copy,
html.tablet-portrait-active .hero-visual,
html.tablet-portrait-active .carousel-row,
html.tablet-portrait-active .carousel-track {
  display: none !important;
}

html.tablet-portrait-active .mobile-hero-message {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: auto;
}

html.tablet-portrait-active .mobile-hero-message .mobile-hero-kicker {
  justify-self: center;
  padding: 8px 15px;
  font-size: clamp(0.8125rem, 1.65vw, 0.9375rem);
  text-align: center;
}

html.tablet-portrait-active .mobile-hero-message h1 {
  max-width: 680px;
  width: 100%;
  margin: 0 0 18px;
  font-size: clamp(2.625rem, 5.75vw, 2.875rem);
  line-height: 1.06;
  text-align: center;
  white-space: nowrap;
}

html.tablet-portrait-active .mobile-hero-message p:not(.mobile-hero-kicker) {
  width: min(100%, 620px);
  max-width: 620px;
  margin: 0;
  font-size: clamp(1.1875rem, 2.1vw, 1.375rem);
  line-height: 1.55;
  text-align: center;
}

html.tablet-portrait-active .tablet-rotate-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(100%, 620px);
  max-width: 620px;
  margin-top: 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: default;
}

html.tablet-portrait-active .mobile-hero-message .tablet-rotate-card .tablet-rotate-heading {
  margin: 0;
  color: #1d2a36;
  font-size: clamp(1.375rem, 2.45vw, 1.5625rem);
  font-weight: 720;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

html.tablet-portrait-active .tablet-rotate-image {
  display: block;
  width: clamp(170px, 19vw, 200px);
  height: auto;
  margin: 16px 0 32px;
  object-fit: contain;
}

html.tablet-portrait-active .tablet-portrait-fallback {
  display: inline-flex;
  justify-self: center;
  width: fit-content;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2d607f;
  font: inherit;
  font-size: clamp(1rem, 1.75vw, 1.125rem);
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

html.tablet-portrait-active .tablet-portrait-fallback:hover,
html.tablet-portrait-active .tablet-portrait-fallback:focus-visible {
  color: #1d4f6f;
}

html.tablet-portrait-active.tablet-gate-unlocked .mobile-hero-cards {
  display: grid;
}

html.tablet-portrait-active .mobile-hero-cards {
  gap: 44px;
  width: min(100%, 880px);
  margin: 0 auto;
}

html.tablet-portrait-active .mobile-hero-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  gap: 40px;
  width: 100%;
  max-width: 880px;
  min-width: 0;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: clamp(48px, 6vw, 64px);
  overflow: hidden;
  transform: none;
  border: 1px solid rgba(47, 127, 184, 0.18);
  border-radius: 32px;
  background: #ffffff;
  box-shadow:
    0 40px 90px rgba(23, 54, 74, 0.12),
    0 16px 36px rgba(23, 54, 74, 0.04),
    0 4px 12px rgba(47, 127, 184, 0.04),
    0 0 0 1px rgba(47, 127, 184, 0.06);
}

html.tablet-portrait-active .mobile-hero-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

html.tablet-portrait-active .mobile-hero-card-number {
  display: none;
}

html.tablet-portrait-active .mobile-hero-card h1,
html.tablet-portrait-active .mobile-hero-card h2 {
  margin: 0;
  color: #1d2a36;
  font-size: clamp(3rem, 5.8vw, 4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

html.tablet-portrait-active .mobile-hero-card-subline {
  width: fit-content;
  margin: 22px 0 0;
  padding: 9px 15px;
  border: 1px solid rgba(47, 127, 184, 0.16);
  border-radius: 14px;
  background: rgba(233, 244, 251, 0.72);
  color: #2d607f;
  font-size: 1.14rem;
  font-weight: 680;
  line-height: 1.2;
}

html.tablet-portrait-active .mobile-hero-card-copy>p:not(.mobile-hero-card-number):not(.mobile-hero-card-subline):not(.mobile-hero-card-note) {
  max-width: 720px;
  margin: 28px 0 0;
  color: #526475;
  font-size: 1.16rem;
  line-height: 1.62;
}

html.tablet-portrait-active .mobile-hero-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  width: min(100%, 560px);
  margin-top: 32px;
}

html.tablet-portrait-active .mobile-hero-card-actions .primary-cta,
html.tablet-portrait-active .mobile-hero-card-actions .hero-login-cta {
  min-width: 0;
  min-height: 56px;
  padding: 15px 20px;
  border-radius: 16px;
  white-space: nowrap;
}

html.tablet-portrait-active .mobile-hero-card-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

html.tablet-portrait-active .mobile-hero-row {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 8px 0 14px;
  overflow: hidden;
  contain: layout paint;
  touch-action: pan-y;
}

html.tablet-portrait-active .mobile-hero-row-track {
  display: flex;
  width: max-content;
  transform: translate3d(0, 0, 0);
  animation: mobile-carousel-scroll 42s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

html.tablet-portrait-active .mobile-hero-row-track.is-ready {
  animation-play-state: running;
}

html.tablet-portrait-active .mobile-hero-card:nth-child(2) .mobile-hero-row-track {
  animation-duration: 48s;
  animation-delay: -12s;
}

html.tablet-portrait-active .mobile-hero-card:nth-child(3) .mobile-hero-row-track {
  animation-duration: 44s;
  animation-delay: -24s;
}

html.tablet-portrait-active .mobile-hero-row-sequence {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
}

html.tablet-portrait-active .mobile-hero-row img {
  flex: 0 0 auto;
  width: clamp(400px, 56vw, 520px);
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  object-fit: cover;
  background: #edf3f6;
  box-shadow: 0 16px 34px rgba(24, 39, 54, 0.14);
  opacity: 1;
}

html.tablet-portrait-active .mobile-hero-row img[data-mobile-src] {
  opacity: 0;
}

html.tablet-portrait-active .mobile-hero-card-compact {
  display: block;
  min-height: 0;
  padding-block: clamp(52px, 7vw, 72px);
}

html.tablet-portrait-active .transformation-section {
  display: none !important;
}

html.tablet-portrait-active .examples-section {
  order: 2;
  min-height: 0 !important;
  padding: 44px 0 104px !important;
  background: linear-gradient(180deg, #EEF5F7 0%, #D2E5ED 100%) !important;
}

html.tablet-portrait-active .examples-inner {
  width: min(calc(100% - 80px), 880px) !important;
  max-width: 880px !important;
}

html.tablet-portrait-active .examples-showcase {
  --examples-card-width: min(100%, 880px);
  --examples-visual-offset-y: 0px;
  position: relative;
  top: auto;
  display: block;
  width: 100%;
  min-height: 0;
}

html.tablet-portrait-active .before-after-card {
  width: 100% !important;
  max-width: 880px !important;
  margin-inline: auto !important;
  transform: none !important;
  border: 1px solid rgba(47, 127, 184, 0.18) !important;
  border-radius: 28px !important;
}

html.tablet-portrait-active .before-after-dots {
  position: absolute;
  top: auto;
  bottom: -48px;
  left: 50%;
  flex-direction: row;
  gap: 10px;
  margin: 0;
  padding: 7px 12px;
  transform: translateX(-50%);
}

html.tablet-portrait-active .examples-nav {
  top: 50%;
  width: 48px;
  height: 48px;
}

html.tablet-portrait-active .examples-nav-prev {
  left: -18px;
}

html.tablet-portrait-active .examples-nav-next {
  right: -18px;
}

html.tablet-portrait-active .stacked-process-section {
  order: 3;
}

html.tablet-portrait-active .included-tools-section {
  order: 4;
}

html.tablet-portrait-active .pricing-section {
  order: 5;
}

html.tablet-portrait-active .stacked-process-section,
html.tablet-portrait-active .pricing-section {
  min-height: 0 !important;
  padding: 80px 0 !important;
  background: #EEF5F7 !important;
}

html.tablet-portrait-active .stacked-process-sticky {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
}

html.tablet-portrait-active .stacked-process-deck {
  display: grid !important;
  gap: 30px !important;
  width: min(calc(100% - 80px), 820px) !important;
  max-width: 820px !important;
  height: auto !important;
  margin: 0 auto !important;
}

html.tablet-portrait-active .stacked-process-card {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 48px !important;
  border: 1px solid rgba(47, 127, 184, 0.18) !important;
  border-radius: 30px !important;
  background: #ffffff !important;
  opacity: 1 !important;
  transform: none !important;
}

html.tablet-portrait-active .card-grid {
  grid-template-columns: 1fr;
  gap: 0;
  height: auto;
}

html.tablet-portrait-active .card-media {
  display: none;
}

html.tablet-portrait-active .pricing-grid {
  align-self: center;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: min(76vw, 380px);
  width: 100%;
  max-width: 100%;
  justify-content: start;
  transform: none;
  overflow-x: auto;
  overflow-y: visible;
  margin: 0;
  padding: 12px 16px 32px;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

html.tablet-portrait-active .pricing-placeholder {
  display: none;
}

html.tablet-portrait-active .pricing-grid > .pricing-card.featured {
  width: 100% !important;
  max-width: 380px !important;
  margin-inline: 0 !important;
}

@media (prefers-reduced-motion: reduce) {

  .mobile-hero-row-track,
  .mobile-hero-row-track.is-ready {
    animation-play-state: paused;
  }
}

/*
 * Tablet portrait final sizing.
 *
 * This is deliberately the final block in the stylesheet and does not depend
 * on a JavaScript mode class. The 700–767px branch only applies to emulated
 * touch/tablet viewports where Chrome subtracts scrollbar width from a nominal
 * 768px device preset.
 */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait),
(min-width: 700px) and (max-width: 767px) and (orientation: portrait) and (hover: none) and (pointer: coarse) {

  html,
  body,
  main {
    max-width: 100% !important;
    background: #EEF5F7 !important;
  }

  .pre-hero-device-tablet,
  .pre-hero-version-tablet {
    display: inline !important;
  }

  .hero-section {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: max(24px, env(safe-area-inset-top)) 32px max(24px, env(safe-area-inset-bottom)) !important;
    background: linear-gradient(180deg, #F4F8FA 0%, #EEF5F7 100%) !important;
  }

  html.tablet-gate-active .hero-section {
    display: grid !important;
    place-items: center !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
  }

  .hero-sticky,
  .hero-copy,
  .hero-visual,
  .carousel-row,
  .carousel-track {
    display: none !important;
  }

  .mobile-hero-message {
    display: grid !important;
    justify-items: center !important;
    width: min(calc(100vw - 64px), 680px) !important;
    max-width: 680px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 16px !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    isolation: auto !important;
  }

  .mobile-hero-message .mobile-hero-kicker {
    justify-self: center !important;
    padding: 8px 15px !important;
    font-size: clamp(0.8125rem, 1.65vw, 0.9375rem) !important;
    text-align: center !important;
  }

  html.tablet-gate-unlocked .mobile-hero-message,
  html.mobile-gate-unlocked .mobile-hero-message {
    display: none !important;
  }

  html.tablet-gate-unlocked .mobile-hero-cards,
  html.mobile-gate-unlocked .mobile-hero-cards {
    display: grid !important;
  }

  .mobile-hero-message h1 {
    max-width: 680px !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    font-size: clamp(2.625rem, 5.75vw, 2.875rem) !important;
    line-height: 1.06 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .mobile-hero-message p:not(.mobile-hero-kicker) {
    width: min(100%, 620px) !important;
    max-width: 620px !important;
    margin: 0 !important;
    font-size: clamp(1.1875rem, 2.1vw, 1.375rem) !important;
    line-height: 1.55 !important;
    text-align: center !important;
  }

  .tablet-rotate-card {
    display: grid !important;
    justify-items: center !important;
    gap: 14px !important;
    width: min(100%, 620px) !important;
    max-width: 620px !important;
    margin-top: 26px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: default !important;
  }

  .mobile-hero-message .tablet-rotate-card .tablet-rotate-heading {
    margin: 0 !important;
    color: #1d2a36 !important;
    font-size: clamp(1.375rem, 2.45vw, 1.5625rem) !important;
    font-weight: 720 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .tablet-rotate-image {
    display: block !important;
    width: clamp(170px, 19vw, 200px) !important;
    height: auto !important;
    margin: 16px 0 32px !important;
    object-fit: contain !important;
  }

  .tablet-portrait-fallback {
    display: inline-flex !important;
    justify-self: center !important;
    width: fit-content !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #2d607f !important;
    font: inherit !important;
    font-size: clamp(1rem, 1.75vw, 1.125rem) !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    cursor: pointer !important;
  }

  .mobile-hero-cards {
    width: min(calc(100vw - 64px), 620px) !important;
    max-width: 620px !important;
    margin-inline: auto !important;
    gap: 44px !important;
  }

  .mobile-hero-card {
    display: grid !important;
    grid-template-rows: auto auto !important;
    width: min(calc(100vw - 64px), 620px) !important;
    max-width: 620px !important;
    height: auto !important;
    min-height: 0 !important;
    margin-inline: auto !important;
    padding: clamp(48px, 6vw, 64px) !important;
    gap: 40px !important;
    border-radius: 32px !important;
  }

  .mobile-hero-card h1,
  .mobile-hero-card h2 {
    font-size: clamp(3rem, 5.8vw, 4rem) !important;
    line-height: 1.06 !important;
  }

  .mobile-hero-card-subline {
    margin-top: 22px !important;
    padding: 9px 15px !important;
    font-size: 1.14rem !important;
  }

  .mobile-hero-card-copy>p:not(.mobile-hero-card-number):not(.mobile-hero-card-subline):not(.mobile-hero-card-note) {
    max-width: 720px !important;
    margin-top: 28px !important;
    font-size: 1.16rem !important;
    line-height: 1.62 !important;
  }

  .mobile-hero-card-actions {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-top: 32px !important;
    gap: 14px !important;
  }

  .mobile-hero-card-actions .primary-cta {
    flex: 0 0 190px !important;
    width: 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 22px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .mobile-hero-card-actions .hero-login-cta {
    flex: 0 0 132px !important;
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 22px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .mobile-hero-row {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    padding: 8px 0 14px !important;
  }

  .mobile-hero-row-sequence {
    gap: 24px !important;
    padding-right: 24px !important;
  }

  .mobile-hero-row img {
    width: clamp(360px, 50vw, 460px) !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 24px !important;
  }

  .mobile-hero-card-compact {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding-block: clamp(52px, 7vw, 72px) !important;
  }

  .transformation-section {
    display: none !important;
  }

  html.tablet-portrait-active .examples-section,
  .examples-section {
    min-height: 0 !important;
    padding: 24px 0 48px !important;
  }

  html.tablet-portrait-active .examples-inner,
  .examples-inner {
    width: min(calc(100vw - 80px), 620px) !important;
    max-width: 620px !important;
    margin-inline: auto !important;
  }

  html.tablet-portrait-active .examples-showcase,
  .examples-showcase {
    --examples-card-width: min(calc(100vw - 80px), 620px) !important;
    --examples-visual-offset-y: 0px !important;
    position: relative !important;
    top: auto !important;
    display: block !important;
    width: min(calc(100vw - 80px), 620px) !important;
    max-width: 620px !important;
    min-height: 0 !important;
    margin-inline: auto !important;
  }

  html.tablet-portrait-active .before-after-card,
  .before-after-card {
    width: min(calc(100vw - 80px), 620px) !important;
    max-width: 620px !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 3 / 2 !important;
    margin-inline: auto !important;
    border-radius: 28px !important;
    transform: none !important;
  }

  .before-after-dots {
    top: auto !important;
    bottom: -48px !important;
    left: 50% !important;
    flex-direction: row !important;
    transform: translateX(-50%) !important;
  }

  html.tablet-portrait-active .stacked-process-section,
  .stacked-process-section {
    min-height: 0 !important;
    padding: 40px 0 88px !important;
  }

  .pricing-section {
    min-height: 0 !important;
    padding: 88px 0 !important;
  }

  html.tablet-portrait-active .stacked-process-deck,
  .stacked-process-deck {
    width: min(calc(100vw - 64px), 620px) !important;
    max-width: 620px !important;
    height: auto !important;
    margin-inline: auto !important;
    gap: 32px !important;
  }

  html.tablet-portrait-active .stacked-process-card,
  .stacked-process-card {
    width: 100% !important;
    max-width: 620px !important;
    height: auto !important;
    min-height: 0 !important;
    margin-inline: auto !important;
    padding: 48px !important;
    border-radius: 30px !important;
  }

  .stacked-process-card .stacked-process-action {
    margin-top: 28px;
  }

  .pricing-card.featured {
    width: min(calc(100vw - 96px), 340px) !important;
    max-width: 340px !important;
    margin-inline: auto !important;
  }

  /* Place the existing illustrations between each heading and its copy. */
  .included-tools-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "eyebrow"
      "heading"
      "visual"
      "intro"
      "features"
      "assurance";
    align-items: stretch;
    gap: 0;
  }

  .included-tools-copy {
    display: contents;
  }

  .included-tools-copy .eyebrow {
    grid-area: eyebrow;
  }

  .included-tools-copy h2 {
    grid-area: heading;
    max-width: 660px;
  }

  .included-tools-visual {
    grid-area: visual;
    margin: 24px 0;
  }

  .included-tools-intro {
    grid-area: intro;
    margin-top: 0;
  }

  .included-tools-options {
    grid-area: features;
    max-width: 660px;
  }

  .included-tools-assurance {
    grid-area: assurance;
    max-width: 660px;
  }

  .digital-proposal-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }

  .digital-proposal-visual {
    order: -1;
  }

  .digital-proposal-paragraphs > p:first-child {
    margin-top: 0;
  }
}

@media (min-width: 981px) and (max-width: 1024px) and (orientation: portrait) {
  .included-tools-inner {
    width: min(720px, calc(100vw - 48px));
  }

  .included-tools-copy h2,
  .included-tools-options,
  .included-tools-assurance,
  .included-tools-visual {
    max-width: 540px;
  }

  .digital-proposal-visual {
    width: calc(100vw - 48px - clamp(36px, 4vw, 64px) - 320px);
    max-width: 100%;
  }
}

/* Wide portrait tablets: center the proposal and use one full-width action row. */
@media (min-width: 1025px) and (max-width: 1199px) and (orientation: portrait) {
  html.tablet-portrait-active .digital-proposal-inner {
    width: min(var(--public-normal-content-max-width), calc(100vw - 96px));
    margin-inline: auto;
    transform: translateX(24px);
  }

  html.tablet-portrait-active .digital-proposal-grid {
    grid-template-rows: auto auto;
    row-gap: 24px;
  }

  html.tablet-portrait-active .digital-proposal-copy {
    display: contents;
  }

  html.tablet-portrait-active .digital-proposal-paragraphs {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    max-width: 500px;
  }

  html.tablet-portrait-active .digital-proposal-visual {
    grid-column: 2;
    grid-row: 1;
  }

  html.tablet-portrait-active .digital-proposal-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 24px);
    min-width: 0;
    margin-top: 0;
  }

  html.tablet-portrait-active .digital-proposal-price {
    flex: none;
  }

  html.tablet-portrait-active .digital-proposal-links {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: clamp(16px, 2vw, 24px);
    min-width: 0;
    margin-top: 0;
  }

  html.tablet-portrait-active .digital-proposal-link:first-child {
    display: block;
    flex: 1 1 240px;
    min-width: 0;
  }

  html.tablet-portrait-active .digital-proposal-link:last-child {
    flex: none;
    white-space: nowrap;
  }
}

/* Landscape tablet: desktop layout with a lighter section flow. */
@media (min-width: 768px) and (max-width: 1400px) and (orientation: landscape) {

  html.tablet-landscape-active,
  html.tablet-landscape-active body {
    max-width: 100%;
    overflow-x: clip;
  }

  html.tablet-landscape-active main {
    display: flex;
    flex-direction: column;
  }

  html.tablet-landscape-active .hero-section {
    order: 1;
  }

  html.tablet-landscape-active .examples-section {
    order: 2;
  }

  html.tablet-landscape-active .stacked-process-section {
    order: 3;
  }

  html.tablet-landscape-active .included-tools-section {
    order: 4;
  }

  html.tablet-landscape-active .pricing-section {
    order: 5;
  }

  html.tablet-landscape-active .before-after-card {
    touch-action: pan-y;
  }

  html.tablet-landscape-active .hero-sticky {
    grid-template-columns: minmax(332px, 36%) minmax(0, 64%);
  }

  html.tablet-landscape-active .hero-copy {
    padding-right: 24px;
  }

  html.tablet-landscape-active .hero-cta-row {
    flex-wrap: nowrap;
    gap: 12px;
    max-width: 100%;
  }

  html.tablet-landscape-active .hero-cta-row .primary-cta,
  html.tablet-landscape-active .hero-cta-row .hero-login-cta {
    box-sizing: border-box;
    flex-shrink: 0;
    height: 54px;
    min-height: 54px;
    padding-top: 14px;
    padding-bottom: 14px;
    line-height: 1.2;
    white-space: nowrap;
  }

  html.tablet-landscape-active .hero-cta-row .primary-cta {
    padding-right: 18px;
    padding-left: 18px;
  }

  html.tablet-landscape-active .hero-cta-row .hero-login-cta {
    min-width: 120px;
    padding-right: 18px;
    padding-left: 18px;
  }
}

/* Wide landscape tablet heroes: restore desktop-like spacing and use the taller viewport.
   Keep the existing text sizes and column widths; smaller tablets retain their layout. */
@media (min-width: 1200px) and (max-width: 1400px) and (min-height: 761px) and (orientation: landscape) {
  html.tablet-landscape-active .hero-scene {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    /* Keep the heading, badge and copy adjacent; distribute space below the copy. */
    grid-template-rows: auto auto auto minmax(0, 2fr) auto minmax(0, 1fr) auto;
    min-height: 76svh;
    justify-content: normal;
    justify-items: start;
    align-items: start;
  }

  html.tablet-landscape-active .hero-copy .hero-subline {
    margin-top: 24px;
  }

  html.tablet-landscape-active .hero-copy .hero-body {
    margin-top: 32px;
    line-height: 1.9;
  }

  html.tablet-landscape-active .hero-copy .hero-actions {
    grid-row: 5;
    margin-top: clamp(44px, 5.8svh, 64px);
    gap: clamp(18px, 2.4svh, 26px);
  }

  html.tablet-landscape-active .hero-copy .hero-scroll-hint {
    grid-row: 7;
    margin-top: clamp(40px, 5.4svh, 60px);
  }

  html.tablet-landscape-active .hero-copy[data-hero-active-scene="3"] .hero-scroll-hint {
    margin-top: -10px;
  }

  html.tablet-landscape-active .hero-visual {
    height: min(1025px, 94vh);
    height: min(1025px, 94svh);
    min-height: 0;
  }

  html.tablet-landscape-active .hero-visual .hero-image-trigger,
  html.tablet-landscape-active .hero-visual .carousel-row-two .hero-image-trigger {
    width: clamp(260px, min(28vw, 36vh), 380px);
    width: clamp(260px, min(28vw, 36svh), 380px);
  }
}

/* Tall landscape tablets: size the copy naturally instead of filling empty grid rows.
   The height threshold excludes iPad Mini; carousel geometry stays in the rule above. */
@media (min-width: 1200px) and (max-width: 1400px) and (min-height: 900px) and (orientation: landscape) {
  html.tablet-landscape-active .hero-scene {
    display: flex;
    min-width: 0;
    min-height: 0;
    justify-content: flex-start;
  }

  html.tablet-landscape-active .hero-copy h1 {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  html.tablet-landscape-active .hero-copy h1 span {
    min-width: 0;
    max-width: 100%;
  }

  html.tablet-landscape-active .hero-copy .hero-subline {
    box-sizing: border-box;
    max-width: 100%;
    font-size: 19px;
    white-space: normal;
  }

  html.tablet-landscape-active .hero-copy .hero-body {
    min-height: 0;
    max-width: 100%;
    margin-top: 36px;
    font-size: 20px;
    line-height: 1.75;
  }

  html.tablet-landscape-active .hero-copy .hero-actions {
    max-width: 100%;
    grid-row: auto;
    margin-top: 48px;
    gap: 20px;
  }

  html.tablet-landscape-active .hero-cta-row .primary-cta,
  html.tablet-landscape-active .hero-cta-row .hero-login-cta {
    height: 58px;
    min-height: 58px;
    font-size: 17px;
  }

  html.tablet-landscape-active .hero-copy .hero-scroll-hint {
    grid-row: auto;
    margin-top: 48px;
  }

  html.tablet-landscape-active .hero-copy[data-hero-active-scene="3"] .hero-scroll-hint {
    margin-top: 48px;
  }

  /* Scenes 2–4 balance a compact group between equal outer tracks, with a separate arrow.
     Scene indices are zero-based, so scene 1 is deliberately excluded. */
  html.tablet-landscape-active .hero-copy:is([data-hero-active-scene="1"], [data-hero-active-scene="2"], [data-hero-active-scene="3"]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    justify-content: normal;
    align-items: stretch;
  }

  html.tablet-landscape-active .hero-copy:is([data-hero-active-scene="1"], [data-hero-active-scene="2"], [data-hero-active-scene="3"]) .hero-scene {
    display: grid;
    grid-template-rows: minmax(0, 1fr) repeat(4, auto) minmax(48px, 1fr) auto;
    align-content: stretch;
    align-items: start;
  }

  html.tablet-landscape-active .hero-copy:is([data-hero-active-scene="1"], [data-hero-active-scene="2"], [data-hero-active-scene="3"]) h1 {
    grid-row: 2;
    min-height: 0;
  }

  html.tablet-landscape-active .hero-copy:is([data-hero-active-scene="1"], [data-hero-active-scene="2"], [data-hero-active-scene="3"]) .hero-subline {
    grid-row: 3;
    margin-top: 20px;
    font-size: 20px;
  }

  html.tablet-landscape-active .hero-copy:is([data-hero-active-scene="1"], [data-hero-active-scene="2"], [data-hero-active-scene="3"]) .hero-body {
    grid-row: 4;
    margin-top: 38px;
    font-size: 21px;
  }

  html.tablet-landscape-active .hero-copy:is([data-hero-active-scene="1"], [data-hero-active-scene="2"], [data-hero-active-scene="3"]) .hero-actions {
    grid-row: 5;
  }

  html.tablet-landscape-active .hero-copy:is([data-hero-active-scene="1"], [data-hero-active-scene="2"], [data-hero-active-scene="3"]) .price-note[hidden] {
    display: none;
  }

  html.tablet-landscape-active .hero-copy:is([data-hero-active-scene="1"], [data-hero-active-scene="2"], [data-hero-active-scene="3"]) .hero-cta-row :is(.primary-cta, .hero-login-cta) {
    height: 60px;
    min-height: 60px;
    font-size: 18px;
  }

  /* Preserve the original arrow track so the content group's geometry is unchanged. */
  html.tablet-landscape-active .hero-copy:is([data-hero-active-scene="1"], [data-hero-active-scene="2"], [data-hero-active-scene="3"]) .hero-scene::after {
    content: "↓";
    display: inline-flex;
    grid-column: 1;
    grid-row: 7;
    font-size: 1.6rem;
    visibility: hidden;
  }

  html.tablet-landscape-active .hero-copy:is([data-hero-active-scene="1"], [data-hero-active-scene="2"], [data-hero-active-scene="3"]) .hero-scroll-hint {
    grid-column: 1;
    grid-row: 6 / 8;
    align-self: end;
    margin-top: 0;
    /* Match scene 1's measured arrow height without changing its layout. */
    margin-bottom: max(0px, calc(50svh - 392px));
    padding-top: 0;
  }
}

/* Only the 16px correction extends to taller landscape tablets above the class's 1400px limit. */
@media (min-width: 1200px) and (max-width: 1536px) and (min-height: 900px) and (orientation: landscape) {
  html.tablet-landscape-active .hero-copy:is([data-hero-active-scene="1"], [data-hero-active-scene="2"], [data-hero-active-scene="3"]) :is(h1, .hero-subline) {
    translate: 0 -16px;
  }

  html.tablet-landscape-active .hero-copy:is([data-hero-active-scene="1"], [data-hero-active-scene="2"], [data-hero-active-scene="3"]) .hero-cta-row {
    translate: 0 16px;
  }
}

@media (min-width: 1401px) and (max-width: 1536px) and (min-height: 900px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
  .hero-copy:is([data-hero-active-scene="1"], [data-hero-active-scene="2"], [data-hero-active-scene="3"]) :is(h1, .hero-subline) {
    translate: 0 -16px;
  }

  .hero-copy:is([data-hero-active-scene="1"], [data-hero-active-scene="2"], [data-hero-active-scene="3"]) .hero-cta-row {
    translate: 0 16px;
  }
}

/* Wide landscape tablets keep the existing stacked interaction at a larger scale. */
@media (min-width: 1200px) and (max-width: 1400px) and (orientation: landscape) {
  html.tablet-landscape-active .stacked-process-section {
    min-height: 340vh;
  }

  html.tablet-landscape-active .stacked-process-sticky {
    padding: clamp(24px, 3vw, 40px) 0;
  }

  html.tablet-landscape-active .stacked-process-deck {
    width: min(calc(100vw - 96px), 1100px);
    height: clamp(560px, 62vh, 640px);
    margin-top: clamp(16px, 2vh, 24px);
  }

  html.tablet-landscape-active .stacked-process-card {
    padding: clamp(40px, 3.5vw, 48px);
  }

  html.tablet-landscape-active .pricing-grid {
    align-self: center;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(76vw, 380px);
    width: 100%;
    max-width: 100%;
    justify-content: start;
    transform: none;
    overflow-x: auto;
    overflow-y: visible;
    padding: 12px 16px 32px;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  html.tablet-landscape-active .pricing-grid > .pricing-card:first-child .pricing-card-disclaimer {
    margin-top: 48px;
  }

  html.tablet-landscape-active .pricing-grid > .pricing-card.featured {
    width: 100% !important;
    max-width: 380px !important;
    margin-inline: 0 !important;
  }
}

@media (min-width: 981px) and (max-width: 1400px) and (orientation: landscape) {
  html.tablet-landscape-active .digital-proposal-inner {
    padding-left: clamp(32px, 4vw, 48px);
    transform: translateX(6.5vw);
  }

  html.tablet-landscape-active .digital-proposal-grid {
    grid-template-rows: auto auto;
    row-gap: 24px;
  }

  html.tablet-landscape-active .digital-proposal-copy {
    display: contents;
  }

  html.tablet-landscape-active .digital-proposal-paragraphs {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    max-width: 500px;
  }

  html.tablet-landscape-active .digital-proposal-visual {
    grid-column: 2;
    grid-row: 1;
  }

  html.tablet-landscape-active .digital-proposal-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.5vw, 32px);
    min-width: 0;
    margin-top: 0;
  }

  html.tablet-landscape-active .digital-proposal-price {
    flex: none;
  }

  html.tablet-landscape-active .digital-proposal-links {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.5vw, 32px);
    min-width: 0;
    margin-top: 0;
  }

  html.tablet-landscape-active .digital-proposal-link:first-child {
    display: block;
    flex: 0 1 240px;
  }

  html.tablet-landscape-active .digital-proposal-link:last-child {
    flex: none;
    white-space: nowrap;
  }
}

/* Wide landscape tablets: compact pricing and center the proposal container. */
@media (min-width: 1200px) and (max-width: 1400px) and (orientation: landscape) {
  html.tablet-landscape-active .pricing-section {
    min-height: 0;
    justify-content: flex-start;
    padding: 56px 0 48px;
  }

  html.tablet-landscape-active .pricing-inner {
    justify-content: flex-start;
  }

  html.tablet-landscape-active .pricing-section .section-intro {
    margin: 0 auto 16px;
    transform: none;
  }


  html.tablet-landscape-active .digital-proposal-inner {
    width: min(var(--public-visual-content-max-width), calc(100vw - 96px));
    padding-left: 0;
    transform: none;
  }
}

/* Tablet pricing: reuse the step scroller's transparent shadow gutter.
   Extend the scrollport to the section edges, retaining card positions and row height. */
@media (orientation: portrait),
  (min-width: 981px) and (max-width: 1400px) and (orientation: landscape) {
  html:is(.tablet-portrait-active, .tablet-landscape-active) .pricing-grid {
    --pricing-scroll-gutter: max(
      40px,
      calc((100vw - var(--public-visual-content-max-width)) / 2 + 16px)
    );
    width: 100vw;
    max-width: 100vw;
    margin-bottom: -64px;
    padding: 12px var(--pricing-scroll-gutter) 96px;
    background: transparent;
    scrollbar-width: none;
  }

  html:is(.tablet-portrait-active, .tablet-landscape-active) .pricing-grid::-webkit-scrollbar {
    display: none;
  }
}

/* Landscape tablet pricing: 66.5% of the original card width, with shared auto height. */
@media (min-width: 768px) and (max-width: 1400px) and (orientation: landscape) {
  html.tablet-landscape-active .pricing-grid {
    grid-auto-columns: min(50.54vw, 252.7px);
    grid-auto-rows: 1fr;
    align-items: stretch;
  }

  html.tablet-landscape-active .pricing-grid > .pricing-card.featured {
    width: 100% !important;
    max-width: 252.7px !important;
    min-width: 0;
    height: auto;
  }

  html.tablet-landscape-active .pricing-card.featured :is(.price-billing, .pricing-feature-line) {
    white-space: normal;
  }

  html.tablet-landscape-active .pricing-card-features li > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

/* Let smaller landscape tablets use the available side space before scrolling. */
@media (min-width: 981px) and (max-width: 1199px) and (orientation: landscape) {
  html.tablet-landscape-active .pricing-grid {
    --pricing-scroll-gutter: max(
      16px,
      min(40px, calc((100vw - 1010.8px - 3 * clamp(16px, 2.5vw, 32px)) / 2))
    );
  }
}

/* Center the complete row whenever it fits, preserving access to overflow cards. */
@media (min-width: 981px) and (max-width: 1400px) and (orientation: landscape) {
  html.tablet-landscape-active .pricing-grid {
    justify-content: safe center;
  }
}

@media (min-width: 768px) and (max-width: 980px) and (orientation: landscape) {
  html.tablet-landscape-active .pricing-grid {
    grid-template-columns: minmax(0, 226.1px);
  }

  html.tablet-landscape-active .pricing-grid > .pricing-card.featured {
    max-width: 226.1px !important;
  }
}

/* ========================================================================== 
   SITE HEADER (FOR INTERNAL PAGES LIKE VOORWAARDEN.HTM)
   ========================================================================== */

html.tablet-landscape-active .transformation-section {
  display: none;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(23, 33, 43, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.header-inner {
  width: min(var(--public-shell-max-width), calc(100vw - 40px));
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: #112533;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav-link {
  color: #4a5568;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.header-nav-link:hover {
  color: #2f7fb8;
}

.header-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  background: #2f7fb8;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-cta-button:hover {
  background: #256b9c;
  transform: translateY(-1px);
}

/* Match the public header and footer to the desktop fluid scale used by the
   content sections on FAQ, about and legal-document pages. */
@media (min-width: 1537px) {
  body:is(.faq-page-body, .about-page-body, .terms-page-body) .header-inner {
    height: clamp(68px, 4.4271vw, 85px);
  }

  body:is(.faq-page-body, .about-page-body, .terms-page-body) .header-brand {
    font-size: clamp(1.25rem, 1.3021vw, 1.5625rem);
  }

  body:is(.faq-page-body, .about-page-body, .terms-page-body) .header-nav {
    gap: clamp(28px, 1.8229vw, 35px);
  }

  body:is(.faq-page-body, .about-page-body, .terms-page-body) .header-nav-link {
    font-size: clamp(0.92rem, 0.9583vw, 1.15rem);
  }

  body:is(.faq-page-body, .about-page-body, .terms-page-body)
    .site-header
    > .header-inner
    > div {
    gap: clamp(14px, 0.9115vw, 17.5px);
  }

  body:is(.faq-page-body, .about-page-body, .terms-page-body)
    .site-header
    a[href*="inloggen"] {
    font-size: clamp(0.9rem, 0.9375vw, 1.125rem);
  }

  body:is(.faq-page-body, .about-page-body, .terms-page-body) .header-cta-button {
    padding: clamp(9px, 0.5859vw, 11.25px) clamp(20px, 1.3021vw, 25px);
    font-size: clamp(0.88rem, 0.9167vw, 1.1rem);
  }

  body:is(.faq-page-body, .about-page-body, .terms-page-body) .terms-header {
    top: clamp(112px, 7.2917vw, 140px);
  }

  body:is(.faq-page-body, .about-page-body, .terms-page-body)
    .site-footer:not(.site-footer--four-column) {
    padding: clamp(44px, 2.8646vw, 55px) 0;
    font-size: clamp(0.9rem, 0.9375vw, 1.125rem);
  }

  body:is(.faq-page-body, .about-page-body, .terms-page-body)
    .site-footer:not(.site-footer--four-column)
    .footer-inner {
    width: min(
      1521.7px,
      calc((100vh - clamp(128px, 8.3333vw, 160px)) * 1.654),
      calc(100vw - clamp(114px, 7.4219vw, 142.5px))
    );
    gap: clamp(32px, 2.0833vw, 40px);
  }

  body:is(.faq-page-body, .about-page-body, .terms-page-body)
    .site-footer:not(.site-footer--four-column)
    .footer-grid {
    gap: clamp(40px, 2.6042vw, 50px);
  }

  body:is(.faq-page-body, .about-page-body, .terms-page-body)
    .site-footer:not(.site-footer--four-column)
    .footer-col:nth-child(2) {
    transform: translateX(clamp(-22.5px, -1.1719vw, -18px));
  }

  body:is(.faq-page-body, .about-page-body, .terms-page-body)
    .site-footer:not(.site-footer--four-column)
    .footer-col:nth-child(3) {
    transform: translateX(clamp(56px, 3.6458vw, 70px));
  }

  body:is(.faq-page-body, .about-page-body, .terms-page-body)
    .site-footer:not(.site-footer--four-column)
    .footer-col-title {
    margin-bottom: clamp(16px, 1.0417vw, 20px);
    font-size: clamp(1.05rem, 1.0938vw, 1.3125rem);
  }

  body:is(.faq-page-body, .about-page-body, .terms-page-body)
    .site-footer:not(.site-footer--four-column)
    .footer-description {
    max-width: clamp(340px, 22.1354vw, 425px);
  }

  body:is(.faq-page-body, .about-page-body, .terms-page-body)
    .site-footer:not(.site-footer--four-column)
    .footer-contact {
    gap: clamp(10px, 0.651vw, 12.5px);
  }

  body:is(.faq-page-body, .about-page-body, .terms-page-body)
    .site-footer:not(.site-footer--four-column)
    .footer-email-image-button {
    height: clamp(13.5px, 0.8789vw, 16.875px);
  }

  body:is(.faq-page-body, .about-page-body, .terms-page-body)
    .site-footer:not(.site-footer--four-column)
    .footer-nav {
    gap: clamp(12px, 0.7813vw, 15px);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 58px;
    padding: 0 16px;
  }

  .header-nav {
    display: none;
  }

  .header-brand {
    font-size: 1.15rem;
  }

  .header-cta-button {
    padding: 7px 14px;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   ALGEMENE VOORWAARDEN (TERMS & CONDITIONS PAGE)
   ========================================================================== */

.terms-page-root,
.terms-page-body {
  height: 100%;
  overflow: hidden;
}

.terms-page-body {
  background: var(--bg, #f7f9fb);
}

.terms-page-main {
  background: var(--bg, #f7f9fb);
  padding: 44px 0 80px;
  min-height: calc(100vh - 350px);
}

.terms-page-container {
  width: min(var(--public-shell-max-width), calc(100vw - 40px));
  margin: 0 auto;
}

.terms-back-wrapper {
  margin-bottom: 20px;
}

.terms-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2d607f;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(47, 127, 184, 0.32);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.terms-back-link:hover {
  background: #ffffff;
  color: #174961;
  border-color: rgba(47, 127, 184, 0.5);
  box-shadow: 0 4px 12px rgba(47, 127, 184, 0.08);
  transform: translateX(-3px);
}

/* Main Terms Card */
.terms-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(23, 33, 43, 0.1);
  box-shadow: 0 20px 60px rgba(24, 39, 54, 0.08);
  overflow: clip;
}

/* Header Bar */
.terms-header {
  background: #d5e0ea;
  position: sticky;
  top: 112px;
  z-index: 90;
  padding: 26px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid rgba(23, 33, 43, 0.08);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 10px 18px rgba(24, 39, 54, 0.06);
}

.terms-header-title {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 700;
  color: #17212b;
  letter-spacing: -0.02em;
}

.terms-self-link,
.terms-self-link:visited,
.terms-self-link:hover,
.terms-self-link:active {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.terms-header-date {
  font-size: 0.9rem;
  font-weight: 500;
  color: #65717f;
}

.terms-header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.terms-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.terms-header-action {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  padding: 0;
  color: #2d607f;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(47, 127, 184, 0.2);
  border-radius: 8px;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.terms-header-action:hover {
  color: #174961;
  background: #ffffff;
  border-color: rgba(47, 127, 184, 0.38);
  box-shadow: 0 4px 12px rgba(47, 127, 184, 0.1);
}

.terms-header-action:focus-visible {
  outline: 3px solid rgba(47, 127, 184, 0.28);
  outline-offset: 2px;
}

.terms-print-heading {
  display: none;
}

/* Mobile TOC Bar */
.terms-mobile-toc-bar {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid rgba(23, 33, 43, 0.08);
  padding: 12px 20px;
}

.terms-mobile-toc-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f7f9fb;
  border: 1px solid rgba(23, 33, 43, 0.1);
  border-radius: 10px;
  font-weight: 600;
  color: #17212b;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.terms-mobile-toc-button:hover {
  background: #eef4f8;
}

.toc-chevron {
  transition: transform 0.25s ease;
}

.terms-mobile-toc-button[aria-expanded="true"] .toc-chevron {
  transform: rotate(180deg);
}

.terms-mobile-toc-drawer {
  margin-top: 12px;
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid rgba(23, 33, 43, 0.08);
  border-radius: 10px;
  background: #ffffff;
  padding: 8px 0;
}

.terms-mobile-toc-drawer[hidden] {
  display: none;
}

.terms-mobile-toc-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.terms-mobile-toc-drawer li a {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 16px;
  color: #2c3846;
  text-decoration: none;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(23, 33, 43, 0.04);
}

.terms-mobile-toc-drawer li a:hover,
.terms-mobile-toc-drawer li a.is-active {
  background: rgba(47, 127, 184, 0.08);
  color: #2f7fb8;
  font-weight: 600;
}

/* 2 Column Layout */
.terms-layout {
  background: #ffffff;
  display: grid;
  grid-template-columns: 310px 1fr;
  align-items: stretch;
  height: max(420px, calc(100vh - 92px));
  min-height: 0;
  overflow: hidden;
}

/* Navigation Column */
.terms-navigation {
  position: static;
  height: 100%;
  min-height: 0;
  max-height: calc(100vh - 212px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 32px 20px 32px 28px;
  border-right: 1px solid rgba(23, 33, 43, 0.08);
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 33, 43, 0.2) transparent;
}

.terms-navigation::-webkit-scrollbar {
  width: 5px;
}

.terms-navigation::-webkit-scrollbar-track {
  background: transparent;
}

.terms-navigation::-webkit-scrollbar-thumb {
  background: rgba(23, 33, 43, 0.15);
  border-radius: 999px;
}

.terms-toc-heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #65717f;
  margin: 0 0 16px 8px;
}

.terms-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.terms-toc-link {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #4a5568;
  font-size: 0.86rem;
  line-height: 1.4;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}

.terms-toc-link:hover {
  background: #f7f9fb;
  color: #17212b;
}

.terms-toc-link.is-active {
  background: rgba(47, 127, 184, 0.08);
  color: #2f7fb8;
  font-weight: 600;
  border-left-color: #2f7fb8;
}

.toc-num {
  font-weight: 600;
  flex-shrink: 0;
}

/* Content Column */
.terms-content {
  width: 100%;
  padding: 36px 48px 48px;
  max-width: 820px;
  justify-self: center;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 33, 43, 0.2) transparent;
}

.terms-content::-webkit-scrollbar {
  width: 6px;
}

.terms-content::-webkit-scrollbar-track {
  background: transparent;
}

.terms-content::-webkit-scrollbar-thumb {
  background: rgba(23, 33, 43, 0.15);
  border-radius: 999px;
}

.terms-article {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(23, 33, 43, 0.06);
  scroll-margin-top: 236px;
}

.terms-article:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.terms-article-title {
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #17212b;
  line-height: 1.35;
}

.terms-article-body {
  font-size: 0.94rem;
  line-height: 1.68;
  color: #2c3846;
}

.terms-article-body p {
  margin: 0 0 14px;
}

.terms-p {
  margin-bottom: 12px;
}

.terms-intro-p {
  font-weight: 600;
  color: #17212b;
  margin-top: 16px;
  margin-bottom: 8px;
}

/* Clauses */
.terms-clause {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: baseline;
}

.clause-num {
  font-weight: 700;
  color: #2d607f;
  flex-shrink: 0;
  min-width: 22px;
}

.clause-body {
  flex: 1;
}

.clause-body p {
  margin: 0 0 8px;
}

.clause-body p:last-child {
  margin-bottom: 0;
}

/* Sublists */
.terms-sublist {
  margin: 8px 0 12px 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.terms-sublist li {
  line-height: 1.6;
  color: #2c3846;
}

.terms-details-list {
  list-style: none;
  margin: 12px 0 16px 0;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid rgba(23, 33, 43, 0.08);
  border-radius: 10px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 2ch;
  row-gap: 6px;
  font-size: 0.9rem;
}

.terms-details-list li {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: baseline;
}

.terms-details-list li strong {
  color: #17212b;
  display: block;
}

.terms-details-list li span {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Bottom Bar */
.terms-bottom {
  background: #d5e0ea;
  height: 48px;
  border-top: 1px solid rgba(23, 33, 43, 0.08);
  border-radius: 0 0 20px 20px;
}

/* Keep the legal-document layout visually proportional as the public shell
   grows beyond its 1536px reference viewport. */
@media (min-width: 1537px) {
  .terms-page-main {
    padding-top: clamp(44px, 2.8646vw, 55px);
    padding-bottom: clamp(80px, 5.2083vw, 100px);
  }

  .terms-back-wrapper {
    margin-bottom: clamp(20px, 1.3021vw, 25px);
  }

  .terms-back-link {
    gap: clamp(8px, 0.5208vw, 10px);
    padding: clamp(8px, 0.5208vw, 10px) clamp(14px, 0.9115vw, 17.5px);
    border-radius: clamp(8px, 0.5208vw, 10px);
    font-size: clamp(0.9rem, 0.9375vw, 1.125rem);
  }

  .terms-card {
    border-radius: clamp(20px, 1.3021vw, 25px);
  }

  .terms-header {
    padding: clamp(26px, 1.6927vw, 32.5px) clamp(36px, 2.3438vw, 45px);
    gap: clamp(12px, 0.7813vw, 15px);
    border-radius: clamp(20px, 1.3021vw, 25px) clamp(20px, 1.3021vw, 25px) 0 0;
  }

  .terms-header-title {
    font-size: clamp(1.85rem, 1.9271vw, 2.3125rem);
  }

  .terms-header-date {
    font-size: clamp(0.9rem, 0.9375vw, 1.125rem);
  }

  .terms-header-tools {
    gap: clamp(18px, 1.1719vw, 22.5px);
  }

  .terms-header-actions {
    gap: clamp(8px, 0.5208vw, 10px);
  }

  .terms-header-action {
    width: clamp(40px, 2.6042vw, 50px);
    height: clamp(40px, 2.6042vw, 50px);
    flex-basis: clamp(40px, 2.6042vw, 50px);
    border-radius: clamp(8px, 0.5208vw, 10px);
  }

  .terms-layout {
    grid-template-columns: clamp(310px, 20.1823vw, 387.5px) 1fr;
    height: max(
      clamp(420px, 27.3438vw, 525px),
      calc(100vh - clamp(92px, 5.9896vw, 115px))
    );
  }

  .terms-navigation {
    max-height: calc(100vh - clamp(212px, 13.8021vw, 265px));
    padding: clamp(32px, 2.0833vw, 40px) clamp(20px, 1.3021vw, 25px)
      clamp(32px, 2.0833vw, 40px) clamp(28px, 1.8229vw, 35px);
  }

  .terms-toc-heading {
    margin: 0 0 clamp(16px, 1.0417vw, 20px) clamp(8px, 0.5208vw, 10px);
    font-size: clamp(0.82rem, 0.8542vw, 1.025rem);
  }

  .terms-toc-list {
    gap: clamp(2px, 0.1302vw, 2.5px);
  }

  .terms-toc-link {
    gap: clamp(6px, 0.3906vw, 7.5px);
    padding: clamp(8px, 0.5208vw, 10px) clamp(12px, 0.7813vw, 15px);
    border-radius: clamp(8px, 0.5208vw, 10px);
    font-size: clamp(0.86rem, 0.8958vw, 1.075rem);
  }

  .terms-content {
    max-width: clamp(820px, 53.3854vw, 1025px);
    padding: clamp(36px, 2.3438vw, 45px) clamp(48px, 3.125vw, 60px)
      clamp(48px, 3.125vw, 60px);
  }

  .terms-article {
    margin-bottom: clamp(26px, 1.6927vw, 32.5px);
    padding-bottom: clamp(22px, 1.4323vw, 27.5px);
    scroll-margin-top: clamp(236px, 15.3646vw, 295px);
  }

  .terms-article-title {
    margin-bottom: clamp(14px, 0.9115vw, 17.5px);
    font-size: clamp(1.25rem, 1.3021vw, 1.5625rem);
  }

  .terms-article-body {
    font-size: clamp(0.94rem, 0.9792vw, 1.175rem);
  }

  .terms-article-body p {
    margin-bottom: clamp(14px, 0.9115vw, 17.5px);
  }

  .terms-p {
    margin-bottom: clamp(12px, 0.7813vw, 15px);
  }

  .terms-intro-p {
    margin-top: clamp(16px, 1.0417vw, 20px);
    margin-bottom: clamp(8px, 0.5208vw, 10px);
  }

  .terms-clause {
    gap: clamp(10px, 0.651vw, 12.5px);
    margin-bottom: clamp(14px, 0.9115vw, 17.5px);
  }

  .clause-num {
    min-width: clamp(22px, 1.4323vw, 27.5px);
  }

  .clause-body p {
    margin-bottom: clamp(8px, 0.5208vw, 10px);
  }

  .terms-sublist {
    margin: clamp(8px, 0.5208vw, 10px) 0 clamp(12px, 0.7813vw, 15px);
    padding-left: clamp(20px, 1.3021vw, 25px);
    gap: clamp(6px, 0.3906vw, 7.5px);
  }

  .terms-details-list {
    margin: clamp(12px, 0.7813vw, 15px) 0 clamp(16px, 1.0417vw, 20px);
    padding: clamp(16px, 1.0417vw, 20px) clamp(20px, 1.3021vw, 25px);
    border-radius: clamp(10px, 0.651vw, 12.5px);
    row-gap: clamp(6px, 0.3906vw, 7.5px);
    font-size: clamp(0.9rem, 0.9375vw, 1.125rem);
  }

  .terms-bottom {
    height: clamp(48px, 3.125vw, 60px);
    border-radius: 0 0 clamp(20px, 1.3021vw, 25px) clamp(20px, 1.3021vw, 25px);
  }
}

/* Responsive Styles */
@media (max-width: 960px) {
  .terms-layout {
    grid-template-columns: 1fr;
  }

  .terms-navigation {
    display: none;
  }

  .terms-mobile-toc-bar {
    display: block;
  }

  .terms-content {
    padding: 28px 24px 36px;
    max-width: 100%;
  }

  .terms-header {
    top: 102px;
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .terms-header-title {
    font-size: 1.5rem;
  }

  .terms-header-tools {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    margin-left: 0;
  }

  .terms-details-list {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .terms-details-list li {
    grid-column: 1;
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 420px) {
  .terms-header {
    padding: 18px 20px;
  }

  .terms-header-date {
    font-size: 0.82rem;
  }

  .terms-header-action {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
}

/* Portrait tablets: reuse the existing step content and desktop images. */
html.tablet-portrait-active .stacked-process-sticky {
  overflow: visible;
}

html.tablet-portrait-active .stacked-process-badge {
  position: static;
  margin: 0 auto 28px;
  transform: none;
  opacity: 1;
}

html.tablet-portrait-active .stacked-process-section,
html.tablet-portrait-active .stacked-process-sticky {
  min-width: 0;
  max-width: 100%;
}

html.tablet-portrait-active .stacked-process-deck {
  --tablet-process-gutter: clamp(32px, 4vw, 48px);
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  height: auto !important;
  gap: 24px !important;
  margin: 0 0 -64px !important;
  padding: 12px var(--tablet-process-gutter) 96px;
  box-sizing: border-box;
  background: transparent;
  overflow-x: auto;
  overflow-y: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--tablet-process-gutter);
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

html.tablet-portrait-active .stacked-process-deck::-webkit-scrollbar {
  display: none;
}

html.tablet-portrait-active .stacked-process-deck > .stacked-process-card {
  flex: 0 0 clamp(400px, 60vw, 560px);
  align-self: stretch;
  justify-content: flex-start;
  width: clamp(400px, 60vw, 560px) !important;
  max-width: 560px !important;
  min-width: 0;
  height: auto !important;
  margin-inline: 0 !important;
  padding: 32px !important;
  box-sizing: border-box;
  overflow: visible;
  scroll-snap-align: start;
}

html.tablet-portrait-active .stacked-process-card .card-grid {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 28px;
  min-width: 0;
  height: auto;
  align-items: stretch;
}

html.tablet-portrait-active .stacked-process-card .card-content {
  min-width: 0;
  justify-content: flex-start;
}

html.tablet-portrait-active .stacked-process-card ul {
  display: grid;
}

html.tablet-portrait-active .stacked-process-card .card-media {
  display: flex;
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  margin-top: auto;
  padding: 0;
}

html.tablet-portrait-active .stacked-process-card .mockup-browser {
  max-height: none;
}

html.tablet-portrait-active .stacked-process-card .card-illustration {
  width: 82%;
  max-width: 82%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Continuous document scrolling, scoped to the three legal pages.
   JavaScript measures the sticky headers; these values also cover initial layout. */
@media screen {
  html.legal-page-root {
    --legal-site-header-height: 69px;
    --legal-content-offset: 240px;
  }

  html.legal-page-root,
  html.legal-page-root .terms-page-body:not(.contact-modal-scroll-lock) {
    height: auto;
    overflow: visible;
  }

  .legal-page-root .terms-layout {
    height: auto;
    align-items: start;
    overflow: visible;
  }

  .legal-page-root .terms-content {
    height: auto;
    overflow: visible;
    overscroll-behavior: auto;
  }

  .legal-page-root .terms-page-body .terms-header {
    top: var(--legal-site-header-height);
  }

  .legal-page-root .terms-navigation {
    position: sticky;
    top: var(--legal-content-offset);
    height: auto;
    max-height: max(0px, calc(100vh - var(--legal-content-offset) - 24px));
    max-height: max(0px, calc(100dvh - var(--legal-content-offset) - 24px));
  }

  .legal-page-root .terms-article {
    scroll-margin-top: var(--legal-content-offset);
  }
}

@media print {
  @page {
    size: A4;
    margin: 16mm 15mm 18mm;
  }

  .terms-page-root,
  .terms-page-body {
    height: auto !important;
    overflow: visible !important;
  }

  .terms-page-body,
  .terms-page-main {
    background: #ffffff !important;
  }

  .site-header,
  .site-footer,
  .terms-header,
  .terms-navigation,
  .terms-mobile-toc-bar,
  .terms-header-actions,
  .terms-bottom {
    display: none !important;
  }

  .terms-page-main {
    min-height: 0;
    padding: 0;
  }

  .terms-page-container {
    width: 100%;
    margin: 0;
  }

  .terms-card {
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .terms-print-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8mm;
    margin: 0 0 10mm;
    padding: 0 0 8mm;
    border-bottom: 1px solid #cfd8df;
  }

  .terms-print-heading h1 {
    margin: 0;
    font-size: 21pt;
    line-height: 1.15;
    color: #17212b;
  }

  .terms-print-heading p {
    margin: 0;
    font-size: 9pt;
    line-height: 1.3;
    color: #65717f;
    white-space: nowrap;
  }

  .terms-layout {
    display: block;
    height: auto !important;
    min-height: 0;
    overflow: visible !important;
  }

  .terms-content {
    width: 100%;
    max-width: none;
    height: auto !important;
    overflow: visible !important;
    padding: 0;
  }

  .terms-article {
    margin-bottom: 8mm;
    padding-bottom: 6mm;
    break-inside: auto;
  }

  .terms-article-title {
    margin-bottom: 4mm;
    font-size: 14pt;
    break-after: avoid;
  }

  .terms-article-body {
    font-size: 9.5pt;
    line-height: 1.5;
  }

  .terms-clause,
  .terms-sublist li,
  .terms-details-list li {
    break-inside: avoid;
  }

  .terms-details-list {
    background: #ffffff;
    border-color: #cfd8df;
  }
}
