/* Mail: één tastbare stroom van binnenkomst naar menselijk besluit. */

.vp-mail-page {
  --mail-paper: var(--vp-kaart, #fbf9f4);
  --mail-band: var(--vp-band, #f3f0e9);
  --mail-ink: var(--vp-navy, #1e3a5f);
  --mail-body: var(--vp-body, #263f5c);
  --mail-line: var(--vp-zachte-rand, #ded8cc);
  --mail-orange: var(--vp-accent-op-licht, #a5441a);
  --mail-orange-bright: #e66d36;
  --mail-teal: var(--vp-teal, #0fa48d);
  --mail-shadow: 0 34px 70px -42px rgba(14, 24, 38, .58);
  background: var(--mail-paper);
  color: var(--mail-body);
  overflow-x: clip;
}

.vp-mail-page main {
  overflow: clip;
}

.vp-mail-page main > section {
  padding-block: clamp(56px, 5.5vw, 88px);
}

.vp-mail-page main > section > .container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.vp-mail-page h1,
.vp-mail-page h2,
.vp-mail-page h3,
.vp-mail-page p,
.vp-mail-page li,
.vp-mail-page dt,
.vp-mail-page dd {
  color: inherit;
}

.vp-mail-page h2 {
  margin: 0;
  color: var(--mail-ink);
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -1px;
  text-wrap: balance;
}

.vp-mail-page h2 span {
  color: var(--mail-orange);
}

.vp-mail-page h3 {
  margin: 0;
  color: var(--mail-ink);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.18;
  letter-spacing: -.025em;
}

.vp-mail-page .vp-mail-lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--mail-body);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.62;
}

.vp-mail-page main a:not(.app-button) {
  color: var(--mail-orange);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.vp-mail-page a:focus-visible,
.vp-mail-page button:focus-visible {
  outline: 3px solid var(--mail-orange-bright);
  outline-offset: 4px;
}

/* Hero ------------------------------------------------------------------ */

.vp-mail-page .vp-mail-hero {
  min-height: min(760px, 84svh);
  padding-block: clamp(130px, 11vw, 168px) clamp(64px, 6vw, 88px);
  display: flex;
  align-items: center;
}

.vp-mail-page .vp-mail-hero-grid {
  grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  display: grid;
}

.vp-mail-page .vp-mail-hero-copy {
  width: auto;
  max-width: 860px;
  margin-inline: auto;
  min-width: 0;
  text-align: center;
}

.vp-mail-page.vp-homepage-canon.vp-x-kern .vp-mail-hero h1 {
  max-width: 10.8ch;
  margin: 0;
  color: var(--mail-ink);
  font-size: clamp(3.5rem, 5.4vw, 5rem);
  line-height: 1;
  letter-spacing: -2px;
  text-wrap: balance;
  margin-inline: auto;
}

.vp-mail-page .vp-mail-hero h1 span {
  color: var(--mail-orange);
}

.vp-mail-page .vp-mail-hero-copy > p {
  max-width: 590px;
  margin: 30px auto 0;
  color: var(--mail-body);
  font-size: clamp(1.1rem, 1.5vw, 1.27rem);
  line-height: 1.62;
}

.vp-mail-page .vp-mail-hero .button-div {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* Alle scenes delen materiaal, perspectief, vloer en licht. */
.vp-mail-scene {
  --scene-height: 480px;
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: var(--scene-height);
  border: 1px solid rgba(30, 58, 95, .1);
  border-radius: 34px;
  background:
    radial-gradient(circle at 60% 32%, rgba(255, 255, 255, .96), rgba(255, 255, 255, 0) 36%),
    linear-gradient(145deg, #f9f6ef, #eae4d9);
  box-shadow: inset 0 1px rgba(255, 255, 255, .9), var(--mail-shadow);
  perspective: 1050px;
  overflow: hidden;
}

.vp-mail-scene::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 12%;
  right: 8%;
  bottom: 8%;
  height: 31%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(30, 58, 95, .22), transparent 68%);
  filter: blur(15px);
  transform: rotateX(72deg);
}

.vp-mail-scene::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 10%;
  right: 8%;
  width: 58%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 109, 54, .15), transparent 68%);
  filter: blur(16px);
}

.vp-mail-hero-scene {
  --scene-height: 530px;
  transform: rotate(.8deg);
}

.vp-mail-tray {
  position: absolute;
  z-index: 4;
  left: 8%;
  bottom: 14%;
  width: 55%;
  height: 42%;
  border: 10px solid var(--mail-ink);
  border-top: 0;
  border-radius: 0 0 27px 27px;
  background: linear-gradient(155deg, #294968, #14273f);
  box-shadow: -18px 30px 42px -29px rgba(14, 24, 38, .82);
  transform: rotateX(55deg) rotateZ(-7deg) translateZ(10px);
}

.vp-mail-tray::before {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: -13px;
  height: 25px;
  border-radius: 13px;
  background: #345876;
  box-shadow: inset 0 1px rgba(255, 255, 255, .2);
}

.vp-mail-sheet,
.vp-mail-concept {
  position: absolute;
  border: 1px solid rgba(30, 58, 95, .15);
  border-radius: 17px;
  background: linear-gradient(150deg, #fffdf8, #e8e1d5);
  box-shadow: inset 0 1px white, -20px 29px 38px -28px rgba(14, 24, 38, .64);
}

.vp-mail-sheet::before,
.vp-mail-sheet::after,
.vp-mail-concept::before,
.vp-mail-concept::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  height: 6px;
  border-radius: 3px;
  background: #c9c1b5;
}

.vp-mail-sheet::before,
.vp-mail-concept::before { top: 28%; }
.vp-mail-sheet::after,
.vp-mail-concept::after { top: 49%; right: 34%; }

.vp-mail-sheet--a {
  z-index: 2;
  left: 15%;
  top: 19%;
  width: 45%;
  height: 42%;
  transform: rotateY(-13deg) rotateZ(-10deg) translateZ(-24px);
}

.vp-mail-sheet--b {
  z-index: 3;
  left: 20%;
  top: 22%;
  width: 46%;
  height: 42%;
  transform: rotateY(-8deg) rotateZ(-5deg) translateZ(-5px);
}

.vp-mail-sheet--urgent {
  z-index: 5;
  left: 24%;
  top: 25%;
  width: 47%;
  height: 42%;
  transform: rotateY(-3deg) rotateZ(2deg) translateZ(25px);
}

.vp-mail-sheet--urgent i {
  position: absolute;
  right: 12%;
  top: 12%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mail-orange-bright);
  box-shadow: 0 0 18px rgba(230, 109, 54, .62);
}

.vp-mail-concept {
  z-index: 6;
  right: 7%;
  top: 18%;
  width: 32%;
  height: 50%;
  border-color: rgba(165, 68, 26, .2);
  transform: rotateY(-17deg) rotateZ(7deg) translateZ(55px);
}

.vp-mail-concept i {
  position: absolute;
  left: 14%;
  bottom: 16%;
  width: 46%;
  height: 7px;
  border-radius: 4px;
  background: var(--mail-orange-bright);
}

.vp-mail-route {
  position: absolute;
  z-index: 7;
  left: 57%;
  top: 51%;
  width: 17%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--mail-orange), var(--mail-orange-bright));
  transform: rotate(-12deg) translateZ(70px);
}

.vp-mail-route::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 13px;
  height: 13px;
  border-top: 4px solid var(--mail-orange-bright);
  border-right: 4px solid var(--mail-orange-bright);
  transform: translateY(-50%) rotate(45deg);
}

/* Eén hoofdverhaal ------------------------------------------------------ */

.vp-mail-flow-section {
  background: var(--mail-paper);
}

.vp-mail-flow-head {
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: end;
  display: grid;
}

.vp-mail-flow-head .vp-mail-lead {
  margin: 0 0 7px;
}

.vp-mail-flow-board {
  margin-top: clamp(48px, 6vw, 82px);
  padding: clamp(26px, 4vw, 48px);
  border-radius: 32px;
  background: var(--mail-band);
}

.vp-mail-flow-visual {
  position: relative;
  isolation: isolate;
  min-height: 470px;
  border: 1px solid rgba(30, 58, 95, .1);
  border-radius: 32px;
  background:
    radial-gradient(circle at 58% 29%, rgba(255, 255, 255, .98), transparent 37%),
    linear-gradient(145deg, #faf7f0, #e8e1d6);
  box-shadow: inset 0 1px rgba(255, 255, 255, .92), 0 30px 60px -44px rgba(14, 24, 38, .58);
  perspective: 1150px;
  overflow: hidden;
}

.vp-mail-flow-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 6%;
  right: 4%;
  width: 52%;
  height: 62%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 109, 54, .16), transparent 68%);
  filter: blur(19px);
}

.vp-mail-flow-visual .vp-tool-beeld {
  position: absolute;
  z-index: 0;
  inset: 0;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.vp-mail-flow-visual .vp-tool-beeld svg {
  width: 100%;
  height: 100%;
  max-height: none;
  overflow: visible;
}

.vp-mail-flow-floor {
  fill: rgba(30, 58, 95, .15);
  filter: blur(13px);
}

.vp-mail-flow-signal {
  fill: none;
  stroke: var(--mail-orange-bright);
  stroke-width: 5;
  stroke-linecap: round;
  opacity: .82;
}

.vp-mail-flow-envelope {
  position: absolute;
  z-index: 5;
  left: 7%;
  top: 25%;
  width: 25%;
  height: 38%;
  border: 1px solid rgba(30, 58, 95, .17);
  border-radius: 18px;
  background: linear-gradient(145deg, #fffdf8, #e6ded2);
  box-shadow: inset 0 1px white, -22px 31px 39px -28px rgba(14, 24, 38, .65);
  transform: rotateY(20deg) rotateZ(-10deg) translateZ(58px);
}

.vp-mail-flow-envelope::before,
.vp-mail-flow-envelope::after {
  content: "";
  position: absolute;
  top: 22%;
  width: 58%;
  height: 2px;
  background: #c5bdb1;
}

.vp-mail-flow-envelope::before { left: 1%; transform: rotate(31deg); }
.vp-mail-flow-envelope::after { right: 1%; transform: rotate(-31deg); }

.vp-mail-flow-envelope i {
  position: absolute;
  right: 12%;
  top: 13%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--mail-orange-bright);
  box-shadow: 0 0 17px rgba(230, 109, 54, .58);
}

.vp-mail-flow-sorter {
  position: absolute;
  z-index: 4;
  left: 25%;
  right: 8%;
  bottom: 10%;
  height: 34%;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 27px;
  background: linear-gradient(154deg, #345877, #14273f 72%);
  box-shadow: inset 0 2px rgba(255, 255, 255, .16), -20px 34px 44px -29px rgba(14, 24, 38, .8);
  transform: rotateX(58deg) rotateZ(-3deg) translateZ(5px);
}

.vp-mail-flow-sorter::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 17%;
  height: 18%;
  border-radius: 10px;
  background: #10243a;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .38);
}

.vp-mail-flow-sorter span {
  position: absolute;
  bottom: 16%;
  width: 23%;
  height: 13%;
  border-radius: 5px;
  background: rgba(255, 255, 255, .15);
}

.vp-mail-flow-sorter span:nth-child(1) { left: 8%; }
.vp-mail-flow-sorter span:nth-child(2) { left: 38.5%; background: rgba(230, 109, 54, .76); }
.vp-mail-flow-sorter span:nth-child(3) { right: 8%; background: rgba(15, 164, 141, .72); }

.vp-mail-flow-sorter i {
  position: absolute;
  right: 5%;
  top: 8%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mail-teal);
  box-shadow: 0 0 14px rgba(15, 164, 141, .7);
}

.vp-mail-flow-card {
  position: absolute;
  z-index: 6;
  top: 17%;
  width: 20%;
  height: 45%;
  border: 1px solid rgba(30, 58, 95, .16);
  border-radius: 18px;
  background: linear-gradient(145deg, #fffdf8, #e8e0d4);
  box-shadow: inset 0 1px white, -18px 27px 34px -25px rgba(14, 24, 38, .58);
}

.vp-mail-flow-card::before,
.vp-mail-flow-card::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  height: 6px;
  border-radius: 3px;
  background: #c8c0b4;
}

.vp-mail-flow-card::before { top: 31%; }
.vp-mail-flow-card::after { top: 49%; right: 34%; }

.vp-mail-flow-card--attention {
  left: 38%;
  transform: rotateY(12deg) rotateZ(-7deg) translateZ(35px);
}

.vp-mail-flow-card--attention i {
  position: absolute;
  right: 13%;
  top: 13%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--mail-teal);
}

.vp-mail-flow-card--concept {
  left: 57%;
  top: 13%;
  transform: rotateY(3deg) rotateZ(1deg) translateZ(70px);
}

.vp-mail-flow-card--concept i {
  position: absolute;
  left: 15%;
  bottom: 17%;
  width: 48%;
  height: 7px;
  border-radius: 4px;
  background: var(--mail-orange-bright);
}

.vp-mail-flow-card--review {
  right: 5%;
  top: 20%;
  width: 17%;
  height: 38%;
  border-color: rgba(255, 255, 255, .16);
  background: linear-gradient(145deg, #2e506f, #14283f);
  transform: rotateY(-18deg) rotateZ(8deg) translateZ(96px);
}

.vp-mail-flow-card--review::before,
.vp-mail-flow-card--review::after { display: none; }

.vp-mail-flow-card--review span {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
}

.vp-mail-flow-card--review i {
  position: absolute;
  right: 13%;
  bottom: 12%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mail-teal);
}

.vp-mail-flow-copy {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
  margin-top: 36px;
  display: grid;
}

.vp-mail-flow-copy article {
  min-width: 0;
  padding-top: 21px;
  border-top: 2px solid rgba(30, 58, 95, .14);
}

.vp-mail-flow-copy article:nth-child(2) { border-color: rgba(165, 68, 26, .55); }
.vp-mail-flow-copy article:nth-child(3) { border-color: rgba(15, 164, 141, .55); }

.vp-mail-flow-copy p,
.vp-mail-role-list p,
.vp-mail-choice-list p,
.vp-mail-fit-copy p,
.vp-mail-faq p {
  margin: 11px 0 0;
  color: var(--mail-body);
  font-size: 1.06rem;
  line-height: 1.6;
}

/* Vastpilot-rol --------------------------------------------------------- */

.vp-mail-role-section {
  color: var(--mail-body);
  background: var(--mail-paper);
}

.vp-mail-role-grid {
  grid-template-columns: minmax(390px, 1fr) minmax(0, .92fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  display: grid;
}

.vp-mail-role-section h2,
.vp-mail-role-section h3 { color: var(--mail-ink); }
.vp-mail-role-section h2 span { color: var(--mail-orange); }
.vp-mail-role-section .vp-mail-lead,
.vp-mail-role-section .vp-mail-role-list p { color: var(--mail-body); }

/* Twee kolommen: vier punten naast elkaar in plaats van onder elkaar,
   dat scheelt een schermhoogte scrollen. */
.vp-mail-role-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 56px);
  margin-top: 30px;
  display: grid;
}

.vp-mail-role-list article {
  padding: 19px 0;
  border-top: 1px solid rgba(30, 58, 95, .16);
}

.vp-mail-role-list article:nth-last-child(-n+2) {
  border-bottom: 1px solid rgba(30, 58, 95, .16);
}

.vp-mail-role-scene {
  --scene-height: 500px;
  border-color: rgba(255, 255, 255, .11);
  background:
    radial-gradient(circle at 52% 38%, rgba(255, 255, 255, .13), transparent 37%),
    linear-gradient(145deg, #233f60, #101d2d);
  box-shadow: inset 0 1px rgba(255, 255, 255, .11), 0 38px 70px -40px rgba(0, 0, 0, .86);
}

.vp-mail-role-scene::after {
  background: radial-gradient(circle, rgba(230, 109, 54, .22), transparent 68%);
}

.vp-mail-project-file {
  position: absolute;
  z-index: 4;
  left: 13%;
  top: 18%;
  width: 55%;
  height: 57%;
  padding: 42px 34px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  background: linear-gradient(145deg, #fffdf8, #dcd4c7);
  box-shadow: inset 0 1px white, -24px 34px 46px -30px rgba(0, 0, 0, .75);
  transform: rotateY(18deg) rotateZ(-7deg) translateZ(35px);
}

.vp-mail-project-file::before {
  content: "";
  position: absolute;
  left: 21px;
  top: -14px;
  width: 38%;
  height: 22px;
  border-radius: 8px 8px 0 0;
  background: #ddd4c6;
}

.vp-mail-project-file span {
  width: 100%;
  height: 8px;
  margin-bottom: 28px;
  border-radius: 4px;
  background: #c7bfb3;
  display: block;
}

.vp-mail-project-file span:nth-child(2) { width: 76%; }
.vp-mail-project-file span:nth-child(3) { width: 88%; }
.vp-mail-project-file span:nth-child(4) { width: 52%; background: var(--mail-orange-bright); }

.vp-mail-service-unit {
  position: absolute;
  z-index: 6;
  right: 10%;
  bottom: 16%;
  width: 34%;
  height: 27%;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 20px;
  background: linear-gradient(145deg, #294a6b, #13283e);
  box-shadow: -18px 26px 34px -24px rgba(0, 0, 0, .8);
  transform: rotateY(-20deg) rotateZ(6deg) translateZ(70px);
}

.vp-mail-service-unit::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 4px;
}

.vp-mail-service-unit span {
  position: absolute;
  left: 25%;
  right: 25%;
  top: 45%;
  height: 6px;
  border-radius: 3px;
  background: var(--mail-orange-bright);
}

.vp-mail-service-unit i {
  position: absolute;
  right: 17px;
  bottom: 15px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mail-teal);
  box-shadow: 0 0 13px rgba(15, 164, 141, .78);
}

.vp-mail-service-line {
  position: absolute;
  z-index: 5;
  left: 53%;
  top: 54%;
  width: 31%;
  height: 38px;
  border-right: 5px solid var(--mail-orange-bright);
  border-bottom: 5px solid var(--mail-orange-bright);
  border-radius: 0 0 17px 0;
  transform: rotate(-8deg) translateZ(55px);
}

/* Keuze klant ----------------------------------------------------------- */

.vp-mail-choice-section {
  background: var(--mail-paper);
}

.vp-mail-choice-grid {
  grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  display: grid;
}

.vp-mail-choice-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 44px);
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  counter-reset: mail-keuze;
}

.vp-mail-choice-list li {
  padding: 17px 0 21px;
  border-top: 1px solid rgba(30, 58, 95, .16);
  counter-increment: mail-keuze;
}

.vp-mail-choice-list li::before {
  content: "0" counter(mail-keuze);
  color: var(--mail-orange);
  font-size: clamp(1.6rem, 2vw, 2.1rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.04em;
  display: block;
}

.vp-mail-choice-list p { margin: 10px 0 0; }

.vp-mail-choice-link { margin-top: 28px; }

/* In de kopregels van keuze en wel/niet is de scene begeleiding, geen
   hoofdmoment: lager houden scheelt schermhoogte. */
.vp-mail-choice-grid .vp-mail-choice-scene,
.vp-mail-fit-layout .vp-mail-fit-scene {
  --scene-height: 360px;
}

.vp-mail-choice-scene {
  --scene-height: 485px;
}

.vp-mail-choice-deck {
  position: absolute;
  z-index: 3;
  left: 8%;
  right: 8%;
  bottom: 9%;
  height: 42%;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 28px;
  background: linear-gradient(155deg, #345877, #14273f);
  box-shadow: inset 0 2px rgba(255, 255, 255, .16), -18px 34px 44px -29px rgba(14, 24, 38, .78);
  transform: rotateX(58deg) rotateZ(-3deg) translateZ(-5px);
}

.vp-mail-choice-deck::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 18%;
  height: 19%;
  border-radius: 9px;
  background: #0e2136;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .42);
}

.vp-mail-choice-sheet {
  position: absolute;
  z-index: 5;
  left: 21%;
  top: 11%;
  width: 46%;
  height: 47%;
  padding: 15% 13%;
  border: 1px solid rgba(30, 58, 95, .15);
  border-radius: 20px;
  background: linear-gradient(145deg, #fffdf8, #e7dfd3);
  box-shadow: inset 0 1px white, -23px 32px 41px -29px rgba(14, 24, 38, .65);
  transform: rotateY(13deg) rotateZ(-7deg) translateZ(55px);
}

.vp-mail-choice-sheet span {
  width: 100%;
  height: 7px;
  margin-bottom: 23px;
  border-radius: 4px;
  background: #c6beb2;
  display: block;
}

.vp-mail-choice-sheet span:nth-child(2) { width: 67%; }

.vp-mail-choice-sheet i {
  position: absolute;
  left: 13%;
  bottom: 17%;
  width: 45%;
  height: 7px;
  border-radius: 4px;
  background: var(--mail-orange-bright);
}

.vp-mail-choice-rail {
  position: absolute;
  z-index: 7;
  left: 14%;
  right: 13%;
  bottom: 18%;
  height: 18px;
  border-radius: 8px;
  background: linear-gradient(90deg, #f1e9dd 0 47%, var(--mail-orange-bright) 47% 53%, #f1e9dd 53%);
  box-shadow: 0 13px 18px -11px rgba(14, 24, 38, .62);
  transform: rotateZ(-3deg) translateZ(85px);
}

.vp-mail-choice-rail::before,
.vp-mail-choice-rail::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 3px;
  height: 32px;
  background: rgba(30, 58, 95, .3);
}

.vp-mail-choice-rail::before { left: 28%; }
.vp-mail-choice-rail::after { right: 24%; }

.vp-mail-choice-control {
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: 13%;
  width: 17%;
  height: 25%;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: linear-gradient(145deg, #2e506f, #14283f);
  box-shadow: -13px 22px 29px -22px rgba(14, 24, 38, .8);
  transform: translateX(-50%) rotateY(-8deg) rotateZ(2deg) translateZ(105px);
}

.vp-mail-choice-control::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -57%;
  width: 7px;
  height: 70%;
  border-radius: 4px;
  background: linear-gradient(var(--mail-orange-bright), #8e3816);
  transform: translateX(-50%) rotate(12deg);
  transform-origin: 50% 100%;
}

.vp-mail-choice-control i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 5px solid #f8f2e8;
  border-radius: 50%;
  background: var(--mail-orange);
  transform: translate(-50%, -50%);
}

.vp-mail-choice-hold,
.vp-mail-choice-pass {
  position: absolute;
  z-index: 8;
  bottom: 12%;
  width: 25%;
  height: 27%;
  border-radius: 17px;
  box-shadow: -14px 24px 30px -24px rgba(14, 24, 38, .65);
}

.vp-mail-choice-hold {
  left: 7%;
  border: 6px solid var(--mail-orange);
  background: linear-gradient(145deg, #fffdf8, #e9e1d5);
  transform: rotateY(18deg) rotateZ(-8deg) translateZ(83px);
}

.vp-mail-choice-hold span,
.vp-mail-choice-pass span {
  position: absolute;
  left: 17%;
  right: 17%;
  top: 45%;
  height: 6px;
  border-radius: 3px;
  background: #c4bbae;
}

.vp-mail-choice-pass {
  right: 6%;
  border: 6px solid var(--mail-ink);
  background: linear-gradient(145deg, #2d4f6e, #14283f);
  transform: rotateY(-18deg) rotateZ(8deg) translateZ(88px);
}

.vp-mail-choice-pass span { background: var(--mail-orange-bright); }

.vp-mail-choice-pass i {
  position: absolute;
  right: 12px;
  bottom: 11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mail-teal);
  box-shadow: 0 0 13px rgba(15, 164, 141, .8);
}

/* Feiten ---------------------------------------------------------------- */

.vp-mail-facts-section {
  background: var(--mail-band);
}

.vp-mail-facts-head {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: clamp(42px, 8vw, 112px);
  align-items: center;
  display: grid;
}

.vp-mail-facts-object {
  position: relative;
  isolation: isolate;
  min-height: 330px;
  border: 1px solid rgba(30, 58, 95, .1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 63% 26%, rgba(255, 255, 255, .95), transparent 38%),
    linear-gradient(145deg, #faf7f0, #e8e1d6);
  box-shadow: inset 0 1px rgba(255, 255, 255, .9), 0 30px 54px -40px rgba(14, 24, 38, .48);
  perspective: 950px;
  overflow: hidden;
}

.vp-mail-facts-object::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 7%;
  right: 5%;
  bottom: 5%;
  height: 32%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(30, 58, 95, .24), transparent 68%);
  filter: blur(13px);
}

.vp-mail-facts-object::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 3%;
  right: 1%;
  width: 54%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 109, 54, .15), transparent 68%);
  filter: blur(17px);
}

.vp-mail-facts-kit {
  position: absolute;
  z-index: 2;
  inset: 0;
  perspective: inherit;
}

.vp-mail-facts-folder {
  position: absolute;
  z-index: 6;
  left: 7%;
  right: 5%;
  bottom: 8%;
  height: 34%;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  background: linear-gradient(155deg, #345877, #14273f);
  box-shadow: inset 0 2px rgba(255, 255, 255, .16), -17px 29px 36px -26px rgba(14, 24, 38, .78);
  transform: rotateX(57deg) rotateZ(-4deg) translateZ(42px);
}

.vp-mail-facts-folder::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 17%;
  height: 21%;
  border-radius: 8px;
  background: #10243a;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .42);
}

.vp-mail-facts-folder::after {
  content: "";
  position: absolute;
  left: 12%;
  width: 42%;
  bottom: 18%;
  height: 8px;
  border-radius: 4px;
  background: var(--mail-orange-bright);
}

.vp-mail-facts-card {
  position: absolute;
  z-index: 3;
  top: 16%;
  width: 31%;
  height: 48%;
  border: 1px solid rgba(30, 58, 95, .16);
  border-radius: 15px;
  background: linear-gradient(145deg, #fffdf8, #e8e0d4);
  box-shadow: inset 0 1px white, -14px 24px 31px -23px rgba(14, 24, 38, .58);
}

.vp-mail-facts-card::before,
.vp-mail-facts-card::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  height: 5px;
  border-radius: 3px;
  background: #c7bfb3;
}

.vp-mail-facts-card::before { top: 29%; }
.vp-mail-facts-card::after { top: 45%; right: 36%; }

.vp-mail-facts-card span {
  position: absolute;
  left: 15%;
  right: 24%;
  bottom: 18%;
  height: 5px;
  border-radius: 3px;
  background: #c7bfb3;
}

.vp-mail-facts-card--mail {
  left: 6%;
  top: 24%;
  transform: rotateY(20deg) rotateZ(-13deg) translateZ(5px);
}

.vp-mail-facts-card--rules {
  left: 24%;
  top: 15%;
  transform: rotateY(10deg) rotateZ(-6deg) translateZ(25px);
}

.vp-mail-facts-card--owner {
  left: 44%;
  top: 12%;
  transform: rotateY(-4deg) rotateZ(3deg) translateZ(48px);
}

.vp-mail-facts-card--route {
  right: 5%;
  top: 21%;
  transform: rotateY(-17deg) rotateZ(11deg) translateZ(70px);
}

.vp-mail-facts-card i {
  position: absolute;
  display: block;
}

.vp-mail-facts-card--mail i {
  right: 13%;
  top: 12%;
  width: 18px;
  height: 13px;
  border: 2px solid var(--mail-orange-bright);
  border-radius: 3px;
}

.vp-mail-facts-card--mail i::before,
.vp-mail-facts-card--mail i::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 11px;
  height: 2px;
  background: var(--mail-orange-bright);
}

.vp-mail-facts-card--mail i::before { left: -1px; transform: rotate(33deg); }
.vp-mail-facts-card--mail i::after { right: -1px; transform: rotate(-33deg); }

.vp-mail-facts-card--rules i {
  right: 13%;
  top: 13%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mail-teal);
}

.vp-mail-facts-card--owner i {
  right: 13%;
  top: 11%;
  width: 16px;
  height: 16px;
  border: 3px solid var(--mail-ink);
  border-radius: 50%;
  box-shadow: 0 13px 0 -4px var(--mail-ink);
}

.vp-mail-facts-card--route i {
  right: 12%;
  bottom: 17%;
  width: 42%;
  height: 5px;
  border-radius: 3px;
  background: var(--mail-orange-bright);
}

.vp-mail-facts-card--route i::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 4px solid var(--mail-orange-bright);
  border-right: 4px solid var(--mail-orange-bright);
  transform: translateY(-50%) rotate(45deg);
}

/* Vier voorwaarden als 2x2-blok: kop boven tekst, twee naast elkaar. */
.vp-mail-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 5vw, 72px);
  margin: clamp(36px, 5vw, 60px) 0 0;
  padding: 0;
  display: grid;
}

.vp-mail-facts > div {
  padding: 24px 0 28px;
  border-top: 1px solid rgba(30, 58, 95, .17);
}

.vp-mail-facts dt {
  margin-bottom: 10px;
  color: var(--mail-ink);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 700;
}

.vp-mail-facts dd {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.6;
}

.vp-mail-integration-list {
  margin: 8px 0 0;
  padding-left: 20px;
}

.vp-mail-integration-list li::marker { color: var(--mail-orange); }

/* Wel of niet ----------------------------------------------------------- */

.vp-mail-fit-section {
  background: var(--mail-paper);
}

.vp-mail-fit-layout {
  grid-template-columns: minmax(300px, .46fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  display: grid;
}

.vp-mail-fit-scene {
  --scene-height: 430px;
}

.vp-mail-fit-track {
  position: absolute;
  z-index: 2;
  left: 7%;
  right: 7%;
  bottom: 9%;
  height: 37%;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 26px;
  background: linear-gradient(155deg, #345877, #14273f);
  box-shadow: inset 0 2px rgba(255, 255, 255, .16), -18px 32px 42px -29px rgba(14, 24, 38, .78);
  transform: rotateX(60deg) rotateZ(-3deg) translateZ(-10px);
}

.vp-mail-fit-track::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 18%;
  height: 18%;
  border-radius: 8px;
  background: #10243a;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .4);
}

.vp-mail-fit-repeat {
  position: absolute;
  z-index: 5;
  left: 7%;
  top: 22%;
  width: 37%;
  height: 49%;
  transform-style: preserve-3d;
}

.vp-mail-fit-repeat span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(30, 58, 95, .15);
  border-radius: 17px;
  background: linear-gradient(145deg, #fffdf8, #e8e0d4);
  box-shadow: inset 0 1px white, -16px 25px 31px -23px rgba(14, 24, 38, .55);
}

.vp-mail-fit-repeat span::before,
.vp-mail-fit-repeat span::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  height: 6px;
  border-radius: 3px;
  background: #c7bfb3;
}

.vp-mail-fit-repeat span::before { top: 31%; }
.vp-mail-fit-repeat span::after { top: 50%; right: 37%; }

.vp-mail-fit-repeat span:nth-child(1) { transform: rotateY(17deg) rotateZ(-12deg) translate3d(-3%, 5%, -35px); }
.vp-mail-fit-repeat span:nth-child(2) { transform: rotateY(13deg) rotateZ(-7deg) translate3d(4%, 1%, -8px); }
.vp-mail-fit-repeat span:nth-child(3) { transform: rotateY(9deg) rotateZ(-2deg) translate3d(18%, -3%, 22px); }

.vp-mail-fit-gate {
  position: absolute;
  z-index: 7;
  left: 40%;
  top: 13%;
  width: 34%;
  height: 64%;
  border: 16px solid var(--mail-ink);
  border-bottom-width: 23px;
  border-radius: 26px 26px 18px 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), -18px 30px 39px -27px rgba(14,24,38,.66);
  transform: rotateY(8deg) rotateZ(-3deg) translateZ(72px);
}

.vp-mail-fit-gate::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(30, 58, 95, .22);
  border-radius: 13px;
  background: rgba(255,255,255,.22);
}

.vp-mail-fit-gate i {
  position: absolute;
  right: -11px;
  bottom: -16px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--mail-teal);
  box-shadow: 0 0 14px rgba(15, 164, 141, .74);
}

.vp-mail-fit-outlier {
  position: absolute;
  z-index: 9;
  right: 6%;
  bottom: 14%;
  width: 29%;
  height: 42%;
  border: 1px solid rgba(165, 68, 26, .25);
  border-radius: 19px;
  background: linear-gradient(145deg, #fffdf8, #e7ded1);
  box-shadow: inset 0 1px white, -17px 28px 35px -25px rgba(14,24,38,.68);
  transform: rotateY(-19deg) rotateZ(11deg) translateZ(94px);
}

.vp-mail-fit-outlier::before,
.vp-mail-fit-outlier::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  height: 6px;
  border-radius: 3px;
  background: #c7bfb3;
}

.vp-mail-fit-outlier::before { top: 31%; }
.vp-mail-fit-outlier::after { top: 50%; right: 35%; }

.vp-mail-fit-outlier span {
  position: absolute;
  left: 15%;
  bottom: 17%;
  width: 48%;
  height: 7px;
  border-radius: 4px;
  background: var(--mail-orange-bright);
}

.vp-mail-fit-outlier i {
  position: absolute;
  right: 13%;
  top: 12%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--mail-orange-bright);
  box-shadow: 0 0 15px rgba(230, 109, 54, .6);
}

.vp-mail-fit-diversion {
  position: absolute;
  z-index: 8;
  left: 64%;
  top: 55%;
  width: 15%;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--mail-orange), var(--mail-orange-bright));
  transform: rotate(16deg) translateZ(88px);
}

.vp-mail-fit-diversion::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 4px solid var(--mail-orange-bright);
  border-right: 4px solid var(--mail-orange-bright);
  transform: translateY(-50%) rotate(45deg);
}

.vp-mail-fit-copy {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 52px);
  margin-top: 32px;
  display: grid;
}

.vp-mail-fit-copy article {
  padding: 22px 0;
  border-top: 1px solid rgba(30, 58, 95, .17);
}

/* Vragen --------------------------------------------------------------- */

.vp-mail-faq-section {
  background: var(--mail-band);
}

.vp-mail-faq-head {
  max-width: 780px;
}

.vp-mail-faq {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(36px, 7vw, 92px);
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
}

.vp-mail-faq article {
  min-width: 0;
  padding: 28px 0 32px;
  border-top: 1px solid rgba(30, 58, 95, .18);
}

.vp-mail-faq h3 {
  max-width: 28ch;
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
}

.vp-mail-faq p {
  max-width: 54ch;
}

/* Slot ----------------------------------------------------------------- */

.vp-mail-page .vp-mail-cta {
  padding-block: clamp(76px, 8vw, 112px);
  background: var(--mail-paper);
}

.vp-mail-cta-inner {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.vp-mail-cta-inner h2 {
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.vp-mail-cta-inner p {
  max-width: 650px;
  margin: 26px auto 0;
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  line-height: 1.65;
}

.vp-mail-cta-inner .button-div {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

@media (hover: hover) and (pointer: fine) {
  .vp-mail-hero-scene,
  .vp-mail-choice-scene,
  .vp-mail-fit-scene {
    transition: transform .35s ease;
  }

  .vp-mail-hero-scene:hover,
  .vp-mail-choice-scene:hover,
  .vp-mail-fit-scene:hover {
    transform: translateY(-5px) rotate(.3deg);
  }
}

@media (max-width: 991px) {
  .vp-mail-page .vp-mail-hero-grid,
  .vp-mail-role-grid,
  .vp-mail-choice-grid,
  .vp-mail-fit-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .vp-mail-choice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vp-mail-page .vp-mail-hero-copy {
    max-width: 760px;
    text-align: center;
    margin-inline: auto;
  }

  .vp-mail-page.vp-homepage-canon.vp-x-kern .vp-mail-hero h1,
  .vp-mail-page .vp-mail-hero-copy > p {
    margin-inline: auto;
  }

  .vp-mail-page .vp-mail-hero .button-div {
    justify-content: center;
  }

  .vp-mail-hero-scene { width: min(100%, 680px); margin-inline: auto; }
  .vp-mail-role-scene { order: 2; }
  .vp-mail-choice-scene { width: min(100%, 700px); margin-inline: auto; }

  .vp-mail-flow-head,
  .vp-mail-facts-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .vp-mail-flow-head .vp-mail-lead { margin-top: 22px; }
  .vp-mail-facts-object { width: min(100%, 420px); }
}

@media (max-width: 767px) {
  .vp-mail-page main > section {
    padding-block: clamp(62px, 16vw, 88px);
  }

  .vp-mail-page .vp-mail-hero {
    min-height: auto;
    padding-top: 116px;
  }

  .vp-mail-page.vp-homepage-canon.vp-x-kern .vp-mail-hero h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 13vw, 4.4rem);
  }

  .vp-mail-scene,
  .vp-mail-hero-scene,
  .vp-mail-role-scene,
  .vp-mail-choice-scene,
  .vp-mail-fit-scene {
    --scene-height: 430px;
  }

  .vp-mail-flow-copy,
  .vp-mail-faq,
  .vp-mail-choice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vp-mail-flow-board {
    padding: 18px;
  }

  .vp-mail-flow-visual {
    min-height: 340px;
  }

  .vp-mail-flow-copy {
    margin-top: 22px;
  }

  .vp-mail-facts-object {
    min-height: 290px;
  }
}

@media (max-width: 479px) {
  .vp-mail-page main > section > .container {
    padding-inline: 18px;
  }

  .vp-mail-page .vp-mail-hero-grid {
    gap: 34px;
  }

  .vp-mail-page .vp-mail-hero-copy > p,
  .vp-mail-page .vp-mail-lead,
  .vp-mail-page .vp-mail-cta-inner p {
    font-size: 1.02rem;
    line-height: 1.58;
  }

  .vp-mail-page .button-div > .app-button {
    width: 100%;
    justify-content: center;
  }

  .vp-mail-scene,
  .vp-mail-hero-scene,
  .vp-mail-role-scene,
  .vp-mail-choice-scene,
  .vp-mail-fit-scene {
    --scene-height: 340px;
    border-radius: 25px;
  }

  .vp-mail-concept { right: 4%; width: 35%; }
  .vp-mail-tray { left: 4%; width: 58%; }

  .vp-mail-flow-board { margin-inline: -2px; }
  .vp-mail-flow-visual { min-height: 290px; }

  .vp-mail-flow-envelope { left: 3%; width: 28%; }
  .vp-mail-flow-sorter { left: 21%; right: 3%; }
  .vp-mail-flow-card--attention { left: 34%; }
  .vp-mail-flow-card--concept { left: 55%; }
  .vp-mail-flow-card--review { right: 2%; width: 19%; }

  .vp-mail-project-file { left: 8%; width: 60%; padding: 30px 24px; }
  .vp-mail-service-unit { right: 6%; width: 37%; }

  .vp-mail-choice-sheet {
    left: 16%;
    width: 40%;
    height: 36%;
    padding: 13% 11%;
  }

  .vp-mail-choice-rail { left: 8%; right: 8%; }
  .vp-mail-choice-hold,
  .vp-mail-choice-pass { width: 26%; border-width: 5px; }

  .vp-mail-fit-repeat { left: 8%; width: 39%; }
  .vp-mail-fit-gate {
    left: 39%;
    width: 35%;
    border-width: 12px;
    border-bottom-width: 18px;
  }
  .vp-mail-fit-outlier { right: 3%; width: 31%; }

  .vp-mail-choice-list li {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .vp-mail-faq article { padding-block: 24px 27px; }
}

@media (max-width: 340px) {
  .vp-mail-page .vp-pilo-chat__prompt {
    display: none;
  }

  .vp-mail-page .vp-pilo-chat__launcher-wrap {
    width: 76px;
  }

  .vp-mail-page .vp-mail-hero .button-div > .app-button {
    width: calc(100% - 88px);
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vp-mail-page *,
  .vp-mail-page *::before,
  .vp-mail-page *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .vp-mail-page [data-vp-anim] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Ook op telefoonbreedte twee kolommen: kleinere koppen en een smallere
   gutter houden de tekst leesbaar in een kolom van zo'n 150px. */
@media (max-width: 479px) {
  .vp-mail-facts,
  .vp-mail-role-list,
  .vp-mail-choice-list,
  .vp-mail-fit-copy {
    column-gap: 18px;
  }

  .vp-mail-facts dt,
  .vp-mail-role-list h3,
  .vp-mail-fit-copy h3 {
    font-size: 1.12rem;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .vp-mail-facts dd,
  .vp-mail-role-list p,
  .vp-mail-choice-list p,
  .vp-mail-fit-copy p {
    font-size: .95rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}
