/*
 * BestLiar website, refresh 2026 ("Laatste ronde").
 * Loaded after main.css and styles.css. Every new component uses the bl- prefix so it
 * cannot collide with Bootstrap or the old theme; the few global rules are at the top.
 * Colours are the app's own (BestLiarApp.swift).
 */

:root {
  --bl-navy: #1b324a;
  --bl-navy-deep: #12253a;
  --bl-blue: #3a6ea5;
  --bl-blue-dark: #2b5785;
  --bl-yellow: #ffcd00;
  --bl-yellow-dark: #d9a900;
  --bl-orange: #ff6600;
  --bl-green: #44af4b;
  --bl-red: #cc3e40;
  --bl-voucher: #00009c;
  --bl-text: #22374d;
  --bl-muted: #55657a;
  --bl-surface: #eef3f9;
  --bl-line: #d7e1ec;
  --bl-nav-h: 64px;
  --bl-gutter: 16px;
}

@media (min-width: 576px) {
  :root { --bl-gutter: 24px; }
}

/* ---------- Global, deliberately small ---------- */

body {
  font-weight: 400;
  color: var(--bl-text);
  -webkit-font-smoothing: antialiased;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--bl-yellow) !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--bl-navy);
}

.bl-nw { white-space: nowrap; }

.bl-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bl-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--bl-navy);
  color: #fff !important;
  font-weight: 700;
  transform: translateY(-200%);
}

.bl-skip:focus {
  transform: none;
  text-decoration: none;
}

.bl-container {
  width: 100%;
  max-width: calc(1160px + 2 * var(--bl-gutter));
  margin: 0 auto;
  padding: 0 var(--bl-gutter);
}

.bl-container--narrow {
  max-width: calc(760px + 2 * var(--bl-gutter));
}

/* ---------- Buttons: the app's chunky, two-tone buttons ---------- */

.bl-btn {
  --bl-btn-a: var(--bl-blue);
  --bl-btn-b: #346497;
  --bl-btn-edge: var(--bl-navy);
  --bl-btn-ink: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--bl-btn-a) 50%, var(--bl-btn-b) 50%);
  box-shadow: 0 4px 0 var(--bl-btn-edge);
  color: var(--bl-btn-ink) !important;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}

.bl-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 0 var(--bl-btn-edge);
}

.bl-btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 var(--bl-btn-edge);
}

.bl-btn--yellow {
  --bl-btn-a: var(--bl-yellow);
  --bl-btn-b: #f5c400;
  --bl-btn-edge: var(--bl-yellow-dark);
  --bl-btn-ink: var(--bl-navy);
}

.bl-btn--small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: .9375rem;
}

.bl-appstore {
  display: inline-block;
  line-height: 0;
  border-radius: 12px;
}

.bl-appstore img {
  width: 168px;
  height: auto;
}

/* ---------- Header ---------- */

.bl-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 1px 0 var(--bl-line), 0 8px 24px -18px rgba(18, 37, 58, .45);
}

.bl-nav__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--bl-nav-h);
}

.bl-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--bl-navy) !important;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -.01em;
  text-decoration: none !important;
}

.bl-nav__brand img {
  width: 42px;
  height: 40px;
}

.bl-nav__menu ul {
  margin: 0;
  list-style: none;
}

.bl-nav__menu a {
  display: block;
  color: var(--bl-navy) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.bl-nav__menu a:hover,
.bl-nav__menu a[aria-current="page"] {
  color: var(--bl-blue) !important;
}

.bl-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border-radius: 12px;
  color: var(--bl-navy);
}

.bl-nav__burger,
.bl-nav__burger::before,
.bl-nav__burger::after {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.bl-nav__burger {
  position: relative;
}

.bl-nav__burger::before,
.bl-nav__burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.bl-nav__burger::before { top: -7px; }
.bl-nav__burger::after { top: 7px; }

.bl-nav.is-open .bl-nav__burger { background: transparent; }
.bl-nav.is-open .bl-nav__burger::before { transform: translateY(7px) rotate(45deg); }
.bl-nav.is-open .bl-nav__burger::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991.98px) {
  .bl-nav__menu {
    display: none;
    position: absolute;
    top: var(--bl-nav-h);
    left: 0;
    right: 0;
    padding: 8px var(--bl-gutter) 20px;
    background: #fff;
    box-shadow: 0 16px 24px -16px rgba(18, 37, 58, .35);
  }

  .bl-nav.is-open .bl-nav__menu { display: block; }

  .bl-nav__menu li + li { border-top: 1px solid var(--bl-line); }

  .bl-nav__menu a {
    padding: 14px 0;
    font-size: 1.0625rem;
  }
}

@media (max-width: 359.98px) {
  .bl-nav__brand span { display: none; }
}

@media (min-width: 992px) {
  .bl-nav__menu ul {
    display: flex;
    gap: 28px;
    margin-right: 16px;
  }

  .bl-nav__menu a {
    padding: 8px 0;
    font-size: .9375rem;
  }

  .bl-nav__toggle { display: none; }
}

/* ---------- Download dialog (replaces the Bootstrap modal #Play) ---------- */

.bl-dialog {
  width: min(420px, calc(100% - 2 * var(--bl-gutter)));
  max-width: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: var(--bl-text);
  box-shadow: 0 30px 60px -20px rgba(18, 37, 58, .55);
}

.bl-dialog::backdrop {
  background: rgba(18, 37, 58, .6);
}

.bl-dialog__inner {
  padding: 24px;
  text-align: center;
}

.bl-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  text-align: left;
}

.bl-dialog__head h2 {
  margin: 0;
  color: var(--bl-navy);
  font-size: 1.375rem;
  font-weight: 800;
}

.bl-dialog__close {
  width: 44px;
  height: 44px;
  margin: -8px -8px -8px 0;
  border-radius: 12px;
  color: var(--bl-navy);
  font-size: 1.75rem;
  line-height: 1;
}

.bl-dialog__close:hover { background: var(--bl-surface); }

.bl-dialog__promo {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bl-surface);
  color: var(--bl-navy);
  font-size: .9375rem;
  text-align: left;
}

.bl-dialog__promo strong { font-weight: 800; }

.bl-dialog__qr {
  display: none;
  margin: 0 0 16px;
}

.bl-dialog__qr img {
  width: 200px;
  height: 200px;
  image-rendering: pixelated;
}

.bl-dialog p { margin: 0 0 16px; }
.bl-dialog p:last-child { margin-bottom: 0; }

@media (min-width: 992px) {
  .bl-dialog__qr { display: block; }
}

/* ---------- Layout helpers ---------- */

.bl-main {
  display: block;
}

.bl-anchor {
  scroll-margin-top: calc(var(--bl-nav-h) + 16px);
}

.bl-section {
  padding: 64px 0;
}

.bl-section--surface { background: var(--bl-surface); }

.bl-section__head {
  max-width: 720px;
  margin-bottom: 40px;
}

.bl-section h2,
.bl-page h1 {
  margin: 0 0 16px;
  color: var(--bl-navy);
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.015em;
}

.bl-section h3 {
  margin: 0 0 8px;
  color: var(--bl-navy);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.bl-lead {
  margin: 0;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  line-height: 1.65;
}

@media (min-width: 992px) {
  .bl-section { padding: 96px 0; }
}

/* ---------- Phone frame for plain iPhone screenshots (1206 x 2622) ---------- */

.bl-phone {
  --w: 260px;
  position: relative;
  flex: none;
  width: var(--w);
  margin: 0;
  padding: calc(var(--w) * .034);
  border-radius: calc(var(--w) * .162);
  background: #0c1622;
  box-shadow:
    inset 0 0 0 calc(var(--w) * .006) #44566b,
    0 0 0 1px rgba(255, 255, 255, .08),
    0 28px 50px -22px rgba(8, 20, 34, .65);
}

.bl-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  border-radius: calc(var(--w) * .128);
  background: var(--bl-blue);
}

.bl-phone picture { display: block; }

/* ---------- The app's "blue sun": turning arcs behind the hero and the download card ---------- */

/* Place and size come from the parent through --bl-rings-x, --bl-rings-y and --bl-rings-size.
   js/bl-motion.js sets --bl-p while scrolling, which turns and grows the arcs a little. */
.bl-rings {
  position: absolute;
  z-index: 0;
  top: var(--bl-rings-y, 50%);
  left: var(--bl-rings-x, 50%);
  width: var(--bl-rings-size, 1000px);
  height: var(--bl-rings-size, 1000px);
  translate: -50% -50%;
  rotate: calc(var(--bl-p, 0) * 40deg);
  scale: calc(1 + var(--bl-p, 0) * .12);
  pointer-events: none;
}

.bl-rings svg {
  display: block;
  width: 100%;
  height: 100%;
  animation: bl-spin 150s linear infinite;
}

.bl-rings__disc { fill: rgba(255, 255, 255, .025); }

.bl-rings__arcs { stroke: var(--bl-blue); }

@keyframes bl-spin {
  to { transform: rotate(360deg); }
}

/* ---------- Hero ("Laatste ronde!") ---------- */

.bl-hero {
  --bl-rings-x: 50%;
  --bl-rings-y: 76%;
  --bl-rings-size: 940px;
  position: relative;
  overflow: hidden;
  padding: calc(var(--bl-nav-h) + 40px) 0 72px;
  border-bottom-left-radius: 50% 36px;
  border-bottom-right-radius: 50% 36px;
  background-color: var(--bl-navy);
  background-image: radial-gradient(circle at var(--bl-rings-x) var(--bl-rings-y), rgba(58, 110, 165, .7) 0, rgba(58, 110, 165, 0) 34%);
  color: #fff;
}

.bl-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}

.bl-hero__title {
  margin: 0 0 20px;
  color: #fff;
  font-weight: 800;
}

.bl-sticker {
  display: inline-block;
  margin: 0 0 18px -4px;
  padding: .08em .38em .12em;
  border-radius: .22em;
  background: linear-gradient(135deg, var(--bl-yellow) 50%, #f5c400 50%);
  box-shadow: 0 .09em 0 var(--bl-yellow-dark), 0 .3em .6em -.2em rgba(0, 0, 0, .45);
  color: var(--bl-navy);
  font-size: clamp(2.25rem, 1rem + 6.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  white-space: nowrap;
  transform: rotate(-3deg);
  transform-origin: left bottom;
}

.bl-hero__headline {
  display: block;
  max-width: 15ch;
  font-size: clamp(1.75rem, 1.2rem + 2.3vw, 2.875rem);
  line-height: 1.12;
  letter-spacing: -.015em;
}

.bl-hero__lead {
  max-width: 34em;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  line-height: 1.65;
}

.bl-hero__facts {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  list-style: none;
}

.bl-hero__facts li {
  position: relative;
  padding-left: 32px;
  font-weight: 600;
  line-height: 1.45;
}

.bl-hero__facts li::before {
  content: "";
  position: absolute;
  top: .1em;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bl-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231b324a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.bl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.bl-link-light {
  color: #fff !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-decoration-color: var(--bl-yellow) !important;
  text-decoration-thickness: 3px !important;
  text-underline-offset: 6px;
}

.bl-link-light:hover { color: var(--bl-yellow) !important; }

.bl-hero__note {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: .9375rem;
}

.bl-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 8px 0 24px;
}

.bl-hero__visual .bl-phone--front {
  --w: min(62vw, 270px);
  z-index: 2;
}

.bl-hero__visual .bl-phone--back {
  --w: 230px;
  position: absolute;
  top: 56px;
  left: calc(50% - 260px);
  z-index: 1;
  display: none;
  transform: rotate(-8deg);
  opacity: .92;
}

.bl-hero__mascot {
  position: absolute;
  z-index: 3;
  top: -18px;
  right: calc(50% - min(31vw, 135px) - min(15vw, 70px));
  width: clamp(84px, 24vw, 132px);
  height: auto;
  transform: rotate(8deg);
}

/* The app's savings banner: amount with a turning gold edge */
@property --bl-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.bl-amount {
  position: absolute;
  z-index: 4;
  bottom: 0;
  left: 50%;
  display: grid;
  justify-items: center;
  min-width: 210px;
  padding: 10px 18px 12px;
  border-radius: 14px;
  background: var(--bl-voucher);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 40, .6);
  color: #fff;
  text-align: center;
  transform: translateX(-50%);
}

.bl-amount::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: inherit;
  background: conic-gradient(from var(--bl-angle), rgba(204, 62, 64, .2), var(--bl-yellow), rgba(204, 62, 64, .2) 50%, var(--bl-yellow), rgba(204, 62, 64, .2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: bl-turn 4s linear infinite;
  pointer-events: none;
}

@keyframes bl-turn {
  to { --bl-angle: 360deg; }
}

.bl-amount__value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.bl-amount__label {
  font-size: .875rem;
  line-height: 1.35;
  opacity: .92;
}

/* Depth while scrolling: each layer moves at its own speed (--bl-p runs from 0 to 1 as the hero
   scrolls out of view). Individual transform properties, so the rotations above stay as they are. */
.bl-hero__visual .bl-phone--back { translate: 0 calc(var(--bl-p, 0) * 80px); }
.bl-hero__visual .bl-phone--front { translate: 0 calc(var(--bl-p, 0) * -36px); }

.bl-hero__mascot {
  translate: 0 calc(var(--bl-p, 0) * -130px);
  rotate: calc(var(--bl-p, 0) * 22deg);
}

.bl-amount { translate: 0 calc(var(--bl-p, 0) * -64px); }

/* After the last round: only the mascot, no app screens */
.bl-hero__visual--bedankt img {
  width: clamp(180px, 46vw, 340px);
  height: auto;
  transform: rotate(6deg);
}

.bl-hero__lead strong {
  color: #fff;
  font-weight: 700;
}

@media (min-width: 768px) {
  .bl-hero__visual .bl-phone--back { display: block; }
}

@media (min-width: 992px) {
  .bl-hero {
    --bl-rings-x: 76%;
    --bl-rings-y: 52%;
    --bl-rings-size: 1180px;
    padding: calc(var(--bl-nav-h) + 72px) 0 104px;
    border-bottom-left-radius: 50% 56px;
    border-bottom-right-radius: 50% 56px;
  }

  .bl-hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 56px;
  }

  .bl-sticker { font-size: clamp(3.5rem, .5rem + 4.4vw, 4.25rem); }

  .bl-hero__visual { padding: 0 0 32px; }

  .bl-hero__visual .bl-phone--front { --w: 290px; }

  .bl-hero__visual .bl-phone--back { left: calc(50% - 250px); }

  .bl-hero__mascot {
    top: -28px;
    right: calc(50% - 145px - 96px);
    width: 150px;
  }

  .bl-amount {
    left: calc(50% - 175px);
    bottom: 64px;
    transform: rotate(-4deg);
  }
}

/* ---------- Spaaractie: steps on the app's progress line ---------- */

.bl-steps {
  display: grid;
  gap: 28px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
  counter-reset: bl-step;
}

.bl-step {
  position: relative;
  padding-left: 64px;
  counter-increment: bl-step;
}

.bl-step::before {
  content: counter(bl-step);
  position: absolute;
  top: -4px;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bl-yellow);
  box-shadow: 0 3px 0 var(--bl-yellow-dark);
  color: var(--bl-navy);
  font-size: 1.25rem;
  font-weight: 800;
}

.bl-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  bottom: -32px;
  left: 20px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(var(--bl-yellow), #ffe680);
}

.bl-step p {
  margin: 0;
  line-height: 1.6;
}

@media (min-width: 992px) {
  .bl-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }

  .bl-step {
    padding: 64px 0 0;
  }

  .bl-step::before { top: 0; }

  .bl-step:not(:last-child)::after {
    top: 20px;
    bottom: auto;
    left: 52px;
    right: -28px;
    width: auto;
    height: 4px;
    background: linear-gradient(90deg, var(--bl-yellow), #ffe680);
  }
}

.bl-rules {
  display: grid;
  gap: 8px 40px;
  padding: 28px;
  border-radius: 24px;
  background: var(--bl-surface);
}

.bl-rules h3 { margin-bottom: 4px; }

.bl-rules ul {
  display: grid;
  gap: 10px;
  margin: 0;
  list-style: none;
}

.bl-rules li {
  position: relative;
  padding-left: 28px;
  line-height: 1.55;
}

.bl-rules li::before {
  content: "";
  position: absolute;
  top: .3em;
  left: 0;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2344af4b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5 5L20 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.bl-rules p { margin: 8px 0 0; }

.bl-link {
  color: var(--bl-blue-dark) !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.bl-link:hover { color: var(--bl-navy) !important; }

@media (min-width: 768px) {
  .bl-rules {
    grid-template-columns: 220px minmax(0, 1fr);
    padding: 36px 40px;
  }

  .bl-rules p { grid-column: 2; }
}

/* ---------- Wat is BestLiar: the app screens as a hand of cards ---------- */

/* A soft spotlight on the table where the cards lie */
#wat-is-bestliar {
  background-image: radial-gradient(60% 46% at 50% 74%, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, 0) 100%);
}

@property --bl-lift {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

/* Phones and tablets without the script, or with reduced motion: a row of cards to swipe through */
.bl-hand {
  margin: 0 calc(-1 * var(--bl-gutter));
  padding: 12px 0 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.bl-hand__cards {
  --card: min(70vw, 280px);
  display: flex;
  gap: 12px;
  width: max-content;
  margin: 0;
  /* Room on both sides so the first and last card can stand in the middle. Important because the
     old styles.css sets every ul to padding: 0 !important. */
  padding: 0 calc(50% - var(--card) / 2) !important;
  list-style: none;
}

.bl-card {
  flex: none;
  width: var(--card);
  scroll-snap-align: center;
}

.bl-card figure { margin: 0; }

.bl-card__face {
  display: flex;
  justify-content: center;
  padding-top: 16px;
}

.bl-card .bl-phone { --w: min(58vw, 232px); }

.bl-card__caption {
  max-width: 30ch;
  margin: 24px auto 0;
  text-align: center;
}

.bl-card__caption p {
  margin: 0;
  line-height: 1.6;
}

/* Phones and tablets: the hand stays in view while you scroll down, and deals one card after the
   other to the middle. js/bl-motion.js adds .bl-hand--deck and gives every card its distance to the
   middle in card positions (--o, and --abs without the sign): cards to come wait on the right,
   cards you have seen lie on the left, tilted and lowered like cards in a hand. */
.bl-hand--deck {
  height: calc(100vh + 3 * 55vh);
  height: calc(100svh + 3 * 55svh);
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
}

/* The row spans the full screen width and clips the cards that wait beside it: without that, a
   phone widens the whole page to fit them. Clipping here keeps the row itself sticky. */
.bl-hand--deck .bl-hand__cards {
  position: sticky;
  top: var(--bl-nav-h);
  display: block;
  overflow: hidden;
  width: auto;
  height: calc(100vh - var(--bl-nav-h));
  height: calc(100svh - var(--bl-nav-h));
  padding: 0 !important;
}

.bl-hand--deck .bl-card {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.bl-hand--deck .bl-card__face {
  transform-origin: 50% 110%;
  transform:
    translateX(calc(var(--o, 0) * 78%))
    translateY(calc(var(--abs, 0) * 34px))
    rotate(calc(var(--o, 0) * 8deg))
    scale(calc(1 - var(--abs, 0) * .1));
}

/* Small enough that the phone and its caption fit on the screen together */
.bl-hand--deck .bl-card .bl-phone { --w: min(58vw, 232px, calc((100vh - var(--bl-nav-h) - 280px) * .46)); }

/* Only the card in the middle shows its caption */
.bl-hand--deck .bl-card__caption { opacity: calc(1 - var(--abs, 0) * 2.2); }

/* Computers: the hand lies closed on the table and fans open while you scroll (--fan from 0 to 1) */
@media (min-width: 992px) {
  .bl-hand {
    margin: 0;
    padding: 8px 0 0;
    overflow: visible;
  }

  .bl-hand__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: auto;
    padding: 0 !important;
    translate: 0 calc((1 - var(--fan, 1)) * 90px);
  }

  .bl-card {
    position: relative;
    z-index: var(--z);
    width: auto;
  }

  .bl-card + .bl-card { margin-left: 0; }

  .bl-card__face {
    transform-origin: 50% 118%;
    transform:
      translateX(calc((1.5 - var(--i)) * (100% + 24px) * (1 - var(--fan, 1))))
      translateY(calc(var(--bl-arc) * var(--fan, 1) - var(--bl-lift) * 22px))
      rotate(calc(var(--bl-angle) * var(--fan, 1) * (1 - var(--bl-lift))));
  }

  .bl-card .bl-phone { --w: 214px; }

  .bl-card__caption {
    margin-top: 56px;
    opacity: var(--fan, 1);
    translate: 0 calc((1 - var(--fan, 1)) * 28px);
  }
}

/* Pick a card: on hover the card straightens and comes up out of the hand */
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .bl-card { transition: --bl-lift .35s cubic-bezier(.2, .8, .2, 1); }

  .bl-card:hover {
    z-index: 5;
    --bl-lift: 1;
  }

  .bl-card .bl-phone { transition: box-shadow .35s ease; }

  .bl-card:hover .bl-phone {
    box-shadow:
      inset 0 0 0 calc(var(--w) * .006) #44566b,
      0 0 0 1px rgba(255, 255, 255, .08),
      0 40px 60px -24px rgba(8, 20, 34, .7);
  }
}

/* ---------- Onderzoek ---------- */

.bl-section--blue {
  background: var(--bl-blue);
  color: #fff;
}

.bl-section--blue h2 { color: #fff; }

.bl-research {
  display: grid;
  gap: 32px;
}

.bl-research__quote {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.bl-research__quote::before {
  content: "";
  display: block;
  width: 64px;
  height: 8px;
  margin-bottom: 20px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--bl-green) 50%, var(--bl-red) 50%);
}

.bl-research__body p {
  margin: 0 0 16px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.bl-research__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 24px !important;
}

@media (min-width: 992px) {
  .bl-research {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
  }
}

/* ---------- Download CTA (shared with other pages): one navy card, yellow only as accent ---------- */

.bl-cta {
  padding: 64px 0;
  background: #fff;
}

.bl-cta__card {
  --bl-rings-x: 50%;
  --bl-rings-y: 96px;
  --bl-rings-size: 720px;
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 8px;
  overflow: hidden;
  padding: 28px 24px 32px;
  border-radius: 24px;
  background-color: var(--bl-navy);
  background-image: radial-gradient(circle at var(--bl-rings-x) var(--bl-rings-y), rgba(58, 110, 165, .9) 0, rgba(58, 110, 165, 0) 150px);
  box-shadow: 0 28px 50px -24px rgba(8, 20, 34, .55);
  color: #fff;
}

.bl-cta__body {
  position: relative;
  z-index: 1;
}

.bl-cta__mascot {
  position: relative;
  z-index: 1;
  order: -1;
  justify-self: center;
  width: 140px;
  height: auto;
  margin-bottom: 8px;
  transform: rotate(6deg);
  translate: 0 calc(var(--bl-p, 0) * -28px);
}

.bl-pill {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 12px 7px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bl-yellow) 50%, #f5c400 50%);
  box-shadow: 0 3px 0 var(--bl-yellow-dark);
  color: var(--bl-navy);
  font-size: .9375rem;
  font-weight: 800;
  line-height: 1.3;
  transform: rotate(-2deg);
}

.bl-cta h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.015em;
}

.bl-cta__text {
  max-width: 34em;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .88);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.bl-cta__text strong {
  color: #fff;
  font-weight: 700;
}

.bl-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 24px;
}

/* Scanning only makes sense on a computer, so no QR code on phones, tablets and other touch screens */
.bl-cta__qr {
  display: none;
  align-items: center;
  gap: 12px;
}

.bl-cta__qr img {
  width: 76px;
  height: 76px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
}

.bl-cta__qr span {
  color: rgba(255, 255, 255, .85);
  white-space: nowrap;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .bl-cta { padding: 96px 0 88px; }

  .bl-cta__card {
    --bl-rings-x: 84%;
    --bl-rings-y: 50%;
    --bl-rings-size: 860px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: center;
    padding: 56px 64px;
    background-image: radial-gradient(circle at var(--bl-rings-x) var(--bl-rings-y), rgba(58, 110, 165, .9) 0, rgba(58, 110, 165, 0) 40%);
  }

  .bl-cta__mascot {
    order: 0;
    width: 220px;
    margin: 0 8px 0 0;
  }
}

@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .bl-cta__qr { display: flex; }
}

@media (min-width: 1200px) {
  .bl-cta__mascot { width: 250px; margin-right: 24px; }
}

/* ---------- Content pages (actievoorwaarden) ---------- */

.bl-page {
  padding: calc(var(--bl-nav-h) + 48px) 0 72px;
}

.bl-page h2 {
  margin: 40px 0 12px;
  color: var(--bl-navy);
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.3;
}

.bl-page p,
.bl-page li {
  line-height: 1.7;
}

.bl-page ol,
.bl-page ul {
  display: grid;
  gap: 8px;
  margin: 0;
}

.bl-page ol {
  list-style: decimal;
  padding-left: 1.4em !important;
}

.bl-page ul {
  list-style: disc;
  padding-left: 1.4em !important;
}

.bl-page li { list-style: inherit; }

.bl-concept {
  margin: 0 0 28px;
  padding: 14px 18px;
  border-left: 6px solid var(--bl-orange);
  border-radius: 12px;
  background: #fff1e6;
  color: var(--bl-navy);
}

.bl-muted {
  color: var(--bl-muted);
  font-size: .9375rem;
}

/* ---------- Footer ---------- */

.bl-footer {
  padding: 56px 0 32px;
  background: var(--bl-navy);
  color: rgba(255, 255, 255, .86);
  font-size: .9375rem;
}

.bl-footer a {
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.bl-footer a:hover { color: var(--bl-yellow) !important; }

.bl-footer__grid {
  display: grid;
  gap: 32px;
}

.bl-footer a.bl-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.375rem;
  font-weight: 800;
  text-decoration: none !important;
}

.bl-footer a.bl-footer__brand:hover { color: #fff !important; }

.bl-footer__brand img {
  width: 42px;
  height: 40px;
}

.bl-footer p {
  margin: 0 0 12px;
  line-height: 1.65;
}

.bl-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.bl-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  list-style: none;
}

.bl-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .72);
  font-size: .8125rem;
}

.bl-footer__bottom p { margin: 0; }

@media (min-width: 768px) {
  .bl-footer__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
}

/* ---------- Cookie notice (keeps the cookiealert.js hooks) ---------- */

.cookiealert.bl-cookie {
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  width: auto;
  max-width: 460px;
  padding: 16px 18px;
  border-radius: 18px !important;
  background: var(--bl-navy-deep);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5);
  color: #fff;
  font-size: .9375rem;
  text-align: left;
}

@media (min-width: 768px) {
  .cookiealert.bl-cookie {
    left: auto;
    right: 20px;
    bottom: 20px;
  }
}

.bl-cookie p {
  flex: 1 1 220px;
  margin: 0;
  line-height: 1.5;
}

.bl-cookie a {
  color: #fff !important;
  text-decoration: underline;
}

/* ---------- Motion and print ---------- */

@media (prefers-reduced-motion: reduce) {
  .bl-amount::before,
  .bl-rings svg { animation: none; }

  /* No scroll effects: the hand lies open and every card stands straight */
  .bl-hand { --fan: 1 !important; }

  .bl-card {
    --o: 0 !important;
    --abs: 0 !important;
    transition: none !important;
  }
  .bl-btn,
  .bl-nav__burger,
  .bl-nav__burger::before,
  .bl-nav__burger::after { transition: none; }
}

@media print {
  .bl-nav,
  .bl-cookie,
  .bl-dialog { display: none !important; }
}

#inhoud:focus { outline: none !important; box-shadow: none; }

/* Contact page: framed screenshot in the old two-column layout */
.bl-phone--contact {
  --w: 230px;
  margin: 0 auto;
}
