:root {
  --rn-blue: #0f4c6c;
  --rn-blue-2: #006db3;
  --rn-red: #cf341f;
  --rn-red-dark: #a92a1a;
  --rn-green: #1f9d68;
  --rn-gold: #c89b3c;
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #667085;
  --line: #dde6ed;
  --bg: #ffffff;
  --soft: #f5f8fb;
  --soft-blue: #edf6fb;
  --soft-green: #edf8f3;
  --shadow: 0 20px 56px rgba(15, 76, 108, 0.16);
  --shadow-sm: 0 10px 28px rgba(16, 24, 40, 0.09);
  --radius: 8px;
  --shell: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out-strong: cubic-bezier(.16, 1, .3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  line-height: 1.55;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.08;
  hyphens: auto;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 40px;
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  color: var(--rn-blue);
  font-size: 31px;
  font-weight: 900;
}

h3 {
  margin-bottom: 9px;
  color: var(--rn-blue);
  font-size: 21px;
  font-weight: 900;
}

.shell {
  width: min(100% - 32px, var(--shell));
  margin: 0 auto;
}

.motion-page {
  position: relative;
  overflow-x: clip;
  perspective: 1200px;
  perspective-origin: 50% 18%;
}

.motion-scene {
  --scene-y: 0px;
  --scene-tilt: 0deg;
  position: relative;
}

.motion-scene > .shell {
  position: relative;
  z-index: 1;
}

.motion-scene::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  z-index: 0;
  height: 74px;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 38%, rgba(15, 76, 108, 0.08) 38% 46%, transparent 46% 100%),
    linear-gradient(45deg, transparent 0 56%, rgba(207, 52, 31, 0.07) 56% 62%, transparent 62% 100%);
  opacity: var(--scene-edge, 0.52);
  transform: translate3d(0, var(--scene-y), -40px) rotateX(var(--scene-tilt));
  transform-origin: center bottom;
}

.hero-grid > *,
.checker-layout > *,
.trust-grid > *,
.near-form-proof > *,
.team-card,
.office-card,
.process-card,
.rn-form-panel {
  min-width: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: #fff;
  background: var(--rn-blue);
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(221, 230, 237, 0.92);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.08);
}

.notice-bar {
  color: #fff;
  background: var(--rn-blue);
}

.notice-bar[hidden],
[data-office-hours-call][hidden] {
  display: none !important;
}

.notice-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
}

.notice-inner > span:nth-child(2) {
  display: none;
}

.notice-inner a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice-pill,
.status-dot {
  display: inline-flex;
  align-items: center;
}

.notice-pill {
  gap: 8px;
  white-space: nowrap;
}

.notice-call {
  width: 100%;
  color: #fff;
  text-decoration: none !important;
}

.notice-call-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.notice-phone {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.notice-call:hover .notice-phone {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
  animation: pulse 1800ms ease-in-out infinite;
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  flex: 0 1 auto;
}

.brand img {
  width: 170px;
  height: auto;
}

.nav-links {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.phone-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rn-blue);
  background: #fff;
  border: 1px solid rgba(15, 76, 108, 0.2);
  border-radius: var(--radius);
}

.phone-link span {
  display: none;
}

.phone-link svg,
.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phone-link svg {
  fill: currentColor;
  stroke: none;
}

.btn {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.24) 44%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 520ms cubic-bezier(.2,.8,.2,1);
}

.btn:hover::after {
  transform: translateX(130%);
}

.btn:focus-visible,
.phone-link:focus-visible,
.office-link:focus-visible,
.mobile-call:focus-visible {
  outline: 3px solid rgba(0, 109, 179, 0.3);
  outline-offset: 3px;
}

.btn-primary {
  color: #fff;
  background: var(--rn-red);
  box-shadow: 0 12px 28px rgba(207, 52, 31, 0.25);
}

.btn-primary:hover {
  background: var(--rn-red-dark);
}

.btn-secondary,
.btn-muted {
  color: var(--rn-blue);
  background: #fff;
  border: 1px solid rgba(15, 76, 108, 0.24);
}

.btn-muted {
  min-height: 44px;
  box-shadow: none;
}

.btn-large {
  min-height: 52px;
  padding: 15px 18px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  padding: 128px 0 34px;
  color: #fff;
  overflow: clip;
  background: var(--rn-blue);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% top;
  transform: translateY(var(--hero-y, 0)) scaleX(-1) scale(1.06);
  transition: transform 160ms linear;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 20, 32, 0.88) 0%, rgba(4, 20, 32, 0.68) 50%, rgba(4, 20, 32, 0.92) 100%),
    linear-gradient(90deg, rgba(4, 20, 32, 0.92), rgba(4, 20, 32, 0.4));
}

.hero-grid {
  display: grid;
  gap: 22px;
}

.hero-copy {
  max-width: 760px;
}

.home-page .hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #cfeaf7;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section .eyebrow {
  color: var(--rn-red);
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 650;
}

.home-page #home-title {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(26px, 2.7vw, 31px);
  font-weight: 850;
  line-height: 1.12;
}

.home-page .hero-lede {
  max-width: 590px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

.hero-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.home-page .hero-actions {
  margin-bottom: 0;
}

.hero-actions .btn {
  width: 100%;
  max-width: 100%;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}

.hero-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  align-self: start;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: perspective(920px) translate3d(0, var(--hero-card-y, 0), 46px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 260ms var(--ease-out-strong), box-shadow 260ms ease;
  animation: floatY 5200ms ease-in-out infinite;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 0;
  border: 1px solid rgba(15, 76, 108, 0.13);
  border-radius: var(--radius);
  pointer-events: none;
  transform-style: preserve-3d;
}

.hero-card::before {
  background: rgba(237, 246, 251, 0.64);
  transform: translate3d(16px, 18px, -42px) rotateZ(2deg);
}

.hero-card::after {
  background: rgba(237, 248, 243, 0.54);
  transform: translate3d(-14px, 28px, -74px) rotateZ(-2deg);
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-card-score {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.hero-card-score > *,
.hero-card-row > *,
.trust-grid > div > * {
  min-width: 0;
}

.hero-card-score span {
  color: var(--rn-blue);
  font-size: 48px;
  font-weight: 950;
  line-height: 1;
}

.hero-card-score p,
.hero-card-quote p,
.hero-card-row span {
  margin: 0;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.hero-card-quote {
  padding: 15px;
  overflow: hidden;
  background: var(--soft-green);
  border: 1px solid #d4eee1;
  border-radius: var(--radius);
}

.hero-card-score,
.hero-card-quote,
.hero-card-row {
  transform: translateZ(28px);
}

.hero-card-quote p {
  font-weight: 800;
}

.hero-card-quote span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-card-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.hero-card-row strong {
  padding: 9px;
  color: #fff;
  background: var(--rn-blue);
  border-radius: var(--radius);
  text-align: center;
  font-size: 13px;
}

.home-page {
  background: #fff;
}

.home-hero {
  min-height: 820px;
}

.home-hero-grid {
  align-items: center;
}

.rn-scene-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(231, 241, 248, 0.18) 60%, rgba(216, 230, 241, 0.28)),
    url('/assets/calc-backdrop.avif?v=20260529b') center / cover no-repeat,
    linear-gradient(160deg, #f6fbfd 0%, #e7f1f8 55%, #d8e6f1 100%);
  border: 1px solid rgba(15, 76, 108, 0.1);
  box-shadow:
    0 24px 60px -28px rgba(15, 76, 108, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.rn-scene-frame-story {
  max-width: 580px;
  aspect-ratio: 1 / 1;
}

.rn-scene-frame-hero {
  max-width: 460px;
  aspect-ratio: 5 / 6;
}

/* Lichte live-indicatie kaart (vervangt het oude donkere 3D-vak). */
.rn-live {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 16px 16px 14px;
  background: linear-gradient(180deg, #ffffff, #f6fafd);
  border: 1px solid rgba(15, 76, 108, 0.14);
  border-radius: 14px;
  box-shadow: 0 14px 34px -20px rgba(15, 76, 108, 0.36);
}

.rn-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.rn-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rn-blue);
}

.rn-live-word {
  display: inline-block;
  color: var(--rn-green);
  text-shadow: 0 0 0 rgba(31, 157, 104, 0);
  animation: liveWordPulse 1200ms ease-in-out infinite;
}

.rn-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rn-green);
  box-shadow: 0 0 0 4px rgba(31, 157, 104, 0.18);
  animation: pulse 1200ms ease-in-out infinite;
}

.rn-live-count {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  white-space: nowrap;
}

.rn-live-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 6px;
  font-size: clamp(26px, 7vw, 32px);
  font-weight: 900;
  line-height: 1.04;
  color: var(--rn-blue);
  font-variant-numeric: tabular-nums;
}

.rn-live-dash {
  color: rgba(15, 76, 108, 0.4);
  font-weight: 700;
}

.rn-live.is-single-amount [data-live-high],
.rn-live.is-single-amount .rn-live-dash {
  display: none;
}

.rn-live-caption {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}

.rn-live-track {
  margin: 12px 0 2px;
  height: 6px;
  border-radius: 3px;
  background: rgba(15, 76, 108, 0.1);
  overflow: hidden;
}

.rn-live-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--rn-blue-2), var(--rn-green));
  transition: width 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rn-live-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.rn-live-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 2px;
  max-height: 64px;
  overflow: hidden;
  border-top: 1px solid rgba(15, 76, 108, 0.08);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 560ms ease,
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    max-height 680ms cubic-bezier(0.16, 1, 0.3, 1),
    padding 680ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 420ms ease;
}

.rn-live-row-in {
  opacity: 1;
  transform: none;
}

.rn-live-row-out {
  opacity: 0;
  transform: translateY(-10px);
}

.rn-live-pdot {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: #0f5a86;
}

.rn-live-pbody {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rn-live-plabel {
  display: block;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rn-live-formula {
  display: block;
  max-width: 100%;
  color: rgba(91, 105, 129, 0.72);
  font-size: 11.5px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rn-live-pamt {
  max-width: 106px;
  font-size: 12.5px;
  font-weight: 900;
  color: var(--rn-blue);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rn-live-empty {
  margin: 11px 2px 2px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

.rn-live.is-empty .rn-live-list {
  display: none;
}

.rn-live:not(.is-empty) .rn-live-empty {
  display: none;
}

.rn-live.is-public-demo .rn-live-toggle,
.rn-live.is-public-demo .rn-live-list,
.rn-live.is-public-demo .rn-live-empty {
  display: none !important;
}

.rn-live.is-public-demo .rn-live-track {
  margin-bottom: 0;
}

.rn-scene-frame-form {
  margin: 0 0 16px;
}

.rn-scene-frame-form.rn-live {
  padding: 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0, rgba(31, 157, 104, 0.09), transparent 44%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  box-shadow: 0 22px 54px -26px rgba(15, 76, 108, 0.46);
}

.rn-scene-frame-form .rn-live-head {
  margin-bottom: 12px;
}

.rn-scene-frame-form .rn-live-amount {
  justify-content: center;
  gap: 7px;
  text-align: center;
  white-space: nowrap;
  /* Past 6-cijferige bedragen (tot boven € 250k) op één regel. */
  font-size: clamp(21px, 5.7vw, 32px);
}

.rn-scene-frame-form .rn-live-caption {
  text-align: center;
  font-size: 13px;
}

.rn-scene-frame-form .rn-live-track {
  max-width: 440px;
  height: 7px;
  margin: 14px auto 8px;
}

.rn-scene-frame-form .rn-live-list {
  margin-top: 10px;
}

.rn-scene-frame-form .rn-live-row {
  padding: 11px 2px;
}

.rn-scene-frame-form .rn-live-empty {
  text-align: center;
}

/* Hero-variant van de live-kaart (zelf-afspelende demo). */
.rn-live-hero {
  width: 100%;
  max-width: 440px;
  height: 278px;
  margin: 0 0 0 auto;
  padding: 22px 22px 20px;
  border-radius: 18px;
  box-shadow: 0 30px 70px -28px rgba(8, 30, 48, 0.6);
}

.rn-live-hero .rn-live-amount {
  font-size: clamp(30px, 3vw, 38px);
}

.rn-live-hero .rn-live-list {
  height: 112px;
  min-height: 112px;
  overflow: hidden;
}

.rn-live-hero .rn-live-count,
.rn-live-hero .rn-live-amount,
.rn-live-hero .rn-live-track,
.rn-live-hero .rn-live-list {
  transition: opacity 420ms ease;
}

.rn-live-hero.rn-live-demo-resetting .rn-live-count,
.rn-live-hero.rn-live-demo-resetting .rn-live-amount,
.rn-live-hero.rn-live-demo-resetting .rn-live-track,
.rn-live-hero.rn-live-demo-resetting .rn-live-list {
  opacity: 0;
}

.rn-live-demo-list {
  --demo-row-h: 56px;
  position: relative;
}

.rn-live-demo-list .rn-live-row {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  transform: translate3d(0, var(--row-y, 0px), 0);
  will-change: transform, opacity, filter;
  transition:
    opacity 760ms ease,
    transform 900ms cubic-bezier(0.2, 0.82, 0.2, 1),
    filter 760ms ease;
}

.rn-live-demo-list .rn-live-row:not(.rn-live-row-in) {
  opacity: 0;
  transform: translate3d(0, calc(var(--row-y, 0px) + 14px), 0);
  filter: blur(1px);
}

.rn-live-demo-list .rn-live-row-out {
  opacity: 0;
  transform: translate3d(0, calc(var(--row-y, 0px) - 12px), 0);
  filter: blur(1px);
}

.rn-live-mobile-preview {
  display: none;
}

/* Reserveer de lijsthoogte ook tijdens de korte 'lege' reset-fase, zodat de
   kaart niet inklapt/springt tussen demo-rondes. */
.rn-live-hero.is-empty .rn-live-list {
  display: block;
}

/* Fullscreen formulier: calculator als tweede kolom naast het formulier */
/* Voorouder-transform/perspective/filter uitschakelen zodat de calculator
   (position: fixed) zich t.o.v. de viewport positioneert i.p.v. het paneel */
body.rnf-fullscreen-lock .motion-page {
  perspective: none !important;
}

body.rnf-fullscreen-lock .rn-form-panel {
  transform: none !important;
  filter: none !important;
  will-change: auto !important;
}

@media (min-width: 880px) {
  body.rnf-fullscreen-lock .rn-form-container.rnf-fullscreen-active {
    padding-left: clamp(420px, 38vw, 600px) !important;
    padding-right: 4vw !important;
  }

  body.rnf-fullscreen-lock .rn-scene-frame-form {
    position: fixed;
    top: 50%;
    left: clamp(32px, 5vw, 110px);
    transform: translateY(-50%);
    width: clamp(320px, 30vw, 430px);
    max-width: none;
    max-height: 86vh;
    overflow: auto;
    margin: 0;
    z-index: 2147483002;
    box-shadow: 0 32px 70px -22px rgba(15, 76, 108, 0.45);
  }
}

@media (min-width: 880px) {
  body.rnf-fullscreen-lock {
    --rnf-fs-card-w: clamp(560px, calc((100vw - 128px) / 2), 760px);
    --rnf-fs-card-h: clamp(560px, 74vh, 720px);
    --rnf-fs-gap: clamp(24px, 3vw, 64px);
  }

  body.rnf-fullscreen-lock .rn-form-container.rnf-fullscreen-active {
    display: block !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.rnf-fullscreen-lock .rn-form-container.rnf-fullscreen-active .rnf-wrapper {
    position: fixed !important;
    top: 50% !important;
    left: calc(50% + (var(--rnf-fs-gap) / 2)) !important;
    width: var(--rnf-fs-card-w) !important;
    height: var(--rnf-fs-card-h) !important;
    max-width: var(--rnf-fs-card-w) !important;
    max-height: var(--rnf-fs-card-h) !important;
    margin: 0 !important;
    padding: clamp(26px, 3.2vh, 34px) !important;
    overflow: auto !important;
    transform: translateY(-50%) !important;
    background:
      radial-gradient(circle at 88% 10%, rgba(31, 157, 104, 0.08), transparent 28%),
      linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%) !important;
    border: 1px solid rgba(15, 76, 108, 0.13) !important;
    border-radius: 24px !important;
    box-shadow: 0 38px 100px -34px rgba(5, 26, 40, 0.48) !important;
  }

  body.rnf-fullscreen-lock:not(.rnf-stage-contact) .rn-form-container.rnf-fullscreen-active .rnf-wrapper {
    display: flex !important;
    flex-direction: column !important;
  }

  body.rnf-fullscreen-lock:not(.rnf-stage-contact) .rn-form-container.rnf-fullscreen-active .rnf-header {
    flex: 0 0 auto !important;
    margin-bottom: 0 !important;
  }

  body.rnf-fullscreen-lock:not(.rnf-stage-contact) .rn-form-container.rnf-fullscreen-active .rnf-slides {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: safe center !important;
    justify-content: safe center !important;
  }

  body.rnf-fullscreen-lock:not(.rnf-stage-contact) .rn-form-container.rnf-fullscreen-active .rnf-slide-active {
    width: 100% !important;
  }

  body.rnf-fullscreen-lock:not(.rnf-stage-contact) .rn-form-container.rnf-fullscreen-active .rnf-choices-compact {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
    margin-top: 18px !important;
  }

  body.rnf-fullscreen-lock:not(.rnf-stage-contact) .rn-form-container.rnf-fullscreen-active .rnf-choices-compact .rnf-choice {
    min-height: 48px !important;
    padding: 9px 12px !important;
    font-size: 14px !important;
    line-height: 1.24 !important;
  }

  body.rnf-fullscreen-lock .rn-scene-frame-form {
    top: 50%;
    left: calc(50% - (var(--rnf-fs-gap) / 2) - var(--rnf-fs-card-w));
    width: var(--rnf-fs-card-w);
    height: var(--rnf-fs-card-h);
    max-height: var(--rnf-fs-card-h);
    padding: clamp(26px, 3.2vh, 34px);
    overflow: hidden;
    border-radius: 24px;
    background:
      radial-gradient(circle at 12% 12%, rgba(31, 157, 104, 0.12), transparent 28%),
      linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
    border: 1px solid rgba(15, 76, 108, 0.13);
    box-shadow: 0 38px 100px -34px rgba(5, 26, 40, 0.48);
    justify-content: center;
  }

  body.rnf-fullscreen-lock .rn-scene-frame-form .rn-live-head {
    margin-bottom: 20px;
  }

  body.rnf-fullscreen-lock .rn-scene-frame-form .rn-live-amount {
    justify-content: center;
    margin-top: 8px;
    font-size: clamp(38px, 4vw, 54px);
  }

  body.rnf-fullscreen-lock .rn-scene-frame-form .rn-live-caption {
    text-align: center;
    font-size: 14px;
  }

  body.rnf-fullscreen-lock .rn-scene-frame-form .rn-live-track {
    margin-top: 22px;
  }

  body.rnf-fullscreen-lock .rn-scene-frame-form.rn-live.is-open:not(.is-empty) .rn-live-list {
    max-height: 230px;
    overflow: hidden;
  }

  body.rnf-fullscreen-lock .rn-scene-frame-form .rn-live-empty {
    margin-top: 38px;
    text-align: center;
  }

  body.rnf-fullscreen-lock.rnf-stage-contact .rn-form-container.rnf-fullscreen-active .rnf-wrapper {
    left: 50% !important;
    width: min(900px, calc(100vw - 64px)) !important;
    height: min(86vh, 840px) !important;
    min-height: 720px !important;
    max-width: min(900px, calc(100vw - 64px)) !important;
    max-height: min(86vh, 840px) !important;
    padding: clamp(38px, 4vh, 54px) clamp(48px, 5vw, 78px) !important;
    transform: translate(-50%, -50%) !important;
  }

  body.rnf-fullscreen-lock.rnf-stage-contact .rn-form-container.rnf-fullscreen-active .rnf-slides {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.rnf-fullscreen-lock.rnf-stage-contact .rn-form-container.rnf-fullscreen-active .rnf-slide-active {
    width: 100% !important;
  }

  body.rnf-fullscreen-lock.rnf-stage-contact .rn-form-container.rnf-fullscreen-active .rnf-title {
    margin-bottom: 16px !important;
    font-size: clamp(38px, 3.4vw, 54px) !important;
    line-height: 1.06 !important;
  }

  body.rnf-fullscreen-lock.rnf-stage-contact .rn-form-container.rnf-fullscreen-active .rnf-contact-intro {
    max-width: 560px !important;
    margin-bottom: 22px !important;
    font-size: 17px !important;
    line-height: 1.45 !important;
  }

  body.rnf-fullscreen-lock.rnf-stage-contact .rn-form-container.rnf-fullscreen-active .rnf-contact-fields {
    max-width: 580px !important;
    gap: 14px !important;
  }

  body.rnf-fullscreen-lock.rnf-stage-contact .rn-form-container.rnf-fullscreen-active .rnf-sub-label,
  body.rnf-fullscreen-lock.rnf-stage-contact .rn-form-container.rnf-fullscreen-active .rnf-field-error-message {
    width: min(100%, 580px) !important;
  }

  body.rnf-fullscreen-lock.rnf-stage-contact .rn-form-container.rnf-fullscreen-active .rnf-contact-field .rnf-input-wrap,
  body.rnf-fullscreen-lock.rnf-stage-contact .rn-form-container.rnf-fullscreen-active .rnf-contact-field .rnf-input,
  body.rnf-fullscreen-lock.rnf-stage-contact .rn-form-container.rnf-fullscreen-active .rnf-contact-field .rnf-phone-wrap {
    width: min(100%, 580px) !important;
    max-width: 580px !important;
  }

  body.rnf-fullscreen-lock.rnf-stage-contact .rn-form-container.rnf-fullscreen-active .rnf-contact-field .rnf-input:not(.rnf-phone-input),
  body.rnf-fullscreen-lock.rnf-stage-contact .rn-form-container.rnf-fullscreen-active .rnf-contact-field .rnf-phone-wrap,
  body.rnf-fullscreen-lock.rnf-stage-contact .rn-form-container.rnf-fullscreen-active .rnf-contact-field .rnf-phone-country-btn,
  body.rnf-fullscreen-lock.rnf-stage-contact .rn-form-container.rnf-fullscreen-active .rnf-contact-field .rnf-phone-input {
    min-height: 56px !important;
  }
}

/* Afrondpagina (contactgegevens): de live indicator verdwijnt volledig en het
   formulier krijgt de vrijgekomen ruimte. Werkt in elke plaatsing van het
   frame (paneel, mobiele kop in de container, of vast links op desktop). */
body.rnf-stage-contact .rn-scene-frame-form {
  display: none !important;
}

@media (min-width: 880px) {
  body.rnf-fullscreen-lock.rnf-stage-contact .rn-form-container.rnf-fullscreen-active {
    padding-left: 4vw !important;
    padding-right: 4vw !important;
  }
}

/* Sluitknop staat los van de container (op body) zodat hij boven de
   calculatorbalk klikbaar blijft. Buiten de container vervalt rn-form's
   eigen styling, dus die herhalen we hier volledig. */
body.rnf-fullscreen-lock > .rnf-fullscreen-close {
  position: fixed !important;
  top: 14px !important;
  right: 16px !important;
  z-index: 2147483010 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border: 1px solid #d8e1e8 !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #425b68 !important;
  font-size: 20px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  box-shadow: 0 10px 26px rgba(15, 76, 108, 0.18) !important;
  cursor: pointer !important;
}

body.rnf-fullscreen-lock > .rnf-fullscreen-close:hover {
  border-color: #b7d2e2 !important;
  color: #0f4c6c !important;
}

@media (max-width: 879px) {
  /* Calculator scrollt als kop in de flow mee: zodra je in de antwoorden
     omlaag scrollt, verdwijnt de bovenste balk uit beeld. */
  body.rnf-fullscreen-lock .rn-scene-frame-form {
    position: relative;
    align-self: stretch;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    height: auto;
    aspect-ratio: auto;
    margin: -46px 0 22px;
    border-radius: 20px;
    box-shadow: 0 24px 50px -18px rgba(15, 76, 108, 0.46);
  }

  body.rnf-fullscreen-lock .rn-scene-frame-form .rn-live-head {
    padding-right: 58px;
  }

  body.rnf-fullscreen-lock .rn-scene-frame-form .rn-live-amount {
    font-size: clamp(21px, 6vw, 33px);
  }
}

.rn-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.rn-scene-canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  background: transparent;
}

.rn-scene-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 9px;
  color: var(--rn-blue);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 76, 108, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.rn-scene-caption-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rn-blue);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rn-scene-caption-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rn-green, #1f9d68);
  box-shadow: 0 0 0 3px rgba(31, 157, 104, 0.18);
}

/* lange omschrijving weg: compacte live-pill houdt ruimte vrij voor de kaarten */
.rn-scene-caption strong {
  display: none;
}


.trust-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-grid div {
  min-width: 0;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 16px;
  border-bottom: 1px solid var(--line);
}

.trust-grid div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.trust-grid strong {
  color: var(--rn-blue);
  font-size: 28px;
  line-height: 1;
}

.trust-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.trust-meta {
  margin-top: 7px;
  color: var(--rn-green);
  font-size: 12px;
  font-weight: 850;
  font-style: normal;
  letter-spacing: 0.01em;
}

.trust-grid .trust-num {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 0;
}

.trust-grid .trust-star {
  color: var(--rn-gold);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.scroll-story {
  --story-progress: 0;
  --story-active: 0;
  scroll-margin-top: 144px;
  position: relative;
  background:
    radial-gradient(circle at 78% 18%, rgba(207, 52, 31, 0.16), transparent 28%),
    radial-gradient(circle at 14% 42%, rgba(31, 157, 104, 0.13), transparent 26%),
    linear-gradient(180deg, #f7fbfd 0%, #fff 42%, #edf6fb 100%);
}

.scroll-story__track {
  position: relative;
  height: 260vh;
}

.scroll-story__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.story-intro {
  max-width: 720px;
  padding: 72px 0 26px;
}

.story-intro .eyebrow,
.story-copy .eyebrow {
  color: var(--rn-red);
}

.story-intro p:last-child {
  color: var(--ink-soft);
  font-size: 17px;
}

.story-grid {
  width: 100%;
  display: grid;
  gap: 36px;
  align-items: center;
}

.story-copy {
  position: relative;
  min-height: 320px;
}

.story-step {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 76, 108, 0.13);
  border-left: 5px solid var(--rn-red);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(15, 76, 108, 0.14);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.story-step.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.story-step > span {
  color: var(--rn-red);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.story-step h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.18;
}

.story-step p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 720;
}

.story-step .btn {
  justify-self: start;
  margin-top: 8px;
}

.scroll-story__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
}

.scroll-story__progress i {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: rgba(15, 76, 108, 0.16);
  transition: background 0.3s ease, width 0.3s ease;
}

.scroll-story__progress i.is-active {
  width: 44px;
  background: var(--rn-red);
}

.story-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.home-proof-section {
  background: #fff;
}

.proof-layout {
  display: grid;
  gap: 26px;
  align-items: start;
}

.home-conversion-grid,
.home-office-grid {
  display: grid;
  gap: 14px;
}

.home-conversion-card,
.home-office-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --motion-y: 0px;
  min-width: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transform: perspective(940px) translate3d(0, var(--motion-y), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 300ms var(--ease-out-strong), box-shadow 260ms ease, border-color 260ms ease;
}

.home-conversion-card:hover,
.home-office-card:hover {
  border-color: rgba(15, 76, 108, 0.24);
  box-shadow: var(--shadow);
  transform: perspective(940px) translate3d(0, calc(var(--motion-y) - 5px), 34px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.home-conversion-card span,
.home-office-card span {
  color: var(--rn-red);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.home-conversion-card p,
.home-office-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-weight: 720;
}

.home-office-card {
  display: grid;
  gap: 8px;
}

.home-office-card strong {
  color: var(--rn-blue);
  font-size: 42px;
  line-height: 1;
}

.home-offices-section {
  background:
    linear-gradient(180deg, #edf6fb 0%, #fff 100%);
}

.section {
  padding: 72px 0;
}

.checker-section {
  background:
    linear-gradient(180deg, #fff 0%, var(--soft) 42%, #fff 100%);
}

.checker-layout {
  display: grid;
  gap: 24px;
}

.checker-intro {
  max-width: 620px;
}

.checker-intro p,
.section-copy p,
.section-heading p {
  color: var(--ink-soft);
  font-size: 17px;
}

.proof-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.proof-list div {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: start;
  gap: 12px;
}

.proof-list span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--rn-blue);
  border-radius: var(--radius);
  font-weight: 950;
}

.proof-list p {
  margin: 0;
}

.near-form-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.near-form-proof div {
  padding: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.near-form-proof strong,
.near-form-proof span {
  display: block;
}

.near-form-proof strong {
  color: var(--rn-blue);
  font-size: 22px;
  line-height: 1;
}

.near-form-proof span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.rn-form-panel {
  position: relative;
  order: -1;
  padding: 18px;
  background:
    radial-gradient(circle at 88% 8%, rgba(31, 157, 104, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfa 58%, #f6faf8 100%);
  border: 1px solid rgba(15, 76, 108, 0.11);
  border-radius: var(--radius);
  box-shadow: 0 24px 62px -34px rgba(8, 30, 48, 0.38);
  transition: box-shadow 300ms ease;
}

/* Business form: flat, professional entrance — no 3D tilt, no perspective wobble. */
.rn-form-panel.reveal {
  opacity: 0.001;
  transform: translate3d(0, 22px, 0);
  transform-origin: center;
  filter: none;
  will-change: transform, opacity;
}

.rn-form-panel.reveal.is-visible {
  animation: formPanelIn 640ms var(--ease-out-strong) both;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes formPanelIn {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.rn-form-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(15, 76, 108, 0.13), rgba(31, 157, 104, 0.13));
}

.rn-form-panel::after {
  content: "";
  position: absolute;
  inset: 8px 0 -10px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(15, 76, 108, 0.08);
  filter: blur(22px);
}

.rn-form-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 2px 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(15, 76, 108, 0.11);
}

.rn-form-panel-head span {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ink-soft);
  font-size: clamp(10px, 2.6vw, 11.5px);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.rn-form-panel-head strong {
  flex: 0 0 auto;
  padding: 6px 9px;
  color: #fff;
  background: var(--rn-green);
  border-radius: var(--radius);
  font-size: 12px;
}

.rn-form-panel .rn-form-container {
  max-width: none;
  background: transparent;
}

.rn-form-panel .rnf-wrapper {
  padding: 18px 0 24px;
}

.rn-form-panel .rnf-title {
  color: var(--rn-blue);
  font-size: 23px;
}

.rn-form-panel .rnf-start-copy,
.rn-form-panel .rnf-description,
.rn-form-panel .rnf-start-bullets {
  color: #526477 !important;
}

.rn-form-panel .rnf-slide {
  padding-left: 0;
  padding-right: 0;
}

.rn-form-panel .rnf-choice {
  min-height: 56px;
  text-align: left;
  box-shadow: 0 4px 14px rgba(15, 76, 108, 0.04);
}

.micro-review {
  padding: 14px;
  background: #ffffff;
  border: 1px solid rgba(15, 76, 108, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px -22px rgba(8, 30, 48, 0.32);
}

.micro-review p,
.micro-review span,
.privacy-note {
  margin: 0;
}

.micro-review p {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.micro-review span {
  display: block;
  margin-top: 6px;
  color: #5f6f85;
  font-size: 12px;
  font-weight: 800;
}

.privacy-note {
  margin-top: 12px;
  color: #5f6f85;
  font-size: 12px;
  line-height: 1.55;
}

.authority-section {
  background:
    radial-gradient(circle at top left, rgba(200, 155, 60, 0.16), transparent 32%),
    var(--soft);
}

.authority-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.nivre-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --motion-y: 0px;
  display: grid;
  place-items: center;
  min-height: 245px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e3d6b3;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transform: perspective(980px) translate3d(0, var(--motion-y), 34px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 300ms var(--ease-out-strong), box-shadow 300ms ease;
}

.nivre-card img {
  width: min(220px, 72%);
  height: auto;
}

.nivre-card span {
  margin-top: 14px;
  color: var(--ink-soft);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.55;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 18px;
  height: 18px;
  background: var(--rn-green);
  border-radius: 999px;
}

.check-list li::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 5px;
  width: 8px;
  height: 5px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-45deg);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.team-title {
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.section-heading .btn {
  margin-top: 18px;
}

.team-heading-row {
  display: grid;
  gap: 16px;
  margin-bottom: 30px;
}

.team-heading-row .section-heading {
  margin-bottom: 0;
}

.team-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.team-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #7d8794;
  background: rgba(241, 245, 248, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 999px;
  box-shadow: 0 14px 30px -26px rgba(15, 39, 58, 0.65);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  opacity: 0.34;
  pointer-events: auto;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.team-arrow-prev {
  margin-left: -10px;
}

.team-arrow-next {
  margin-right: -10px;
}

.team-arrow:hover:not(:disabled) {
  color: #5f6b78;
  background: rgba(241, 245, 248, 0.94);
  border-color: rgba(128, 145, 163, 0.48);
  opacity: 0.72;
  transform: translateY(-1px);
}

.team-arrow:disabled {
  opacity: 0.2;
  cursor: default;
}

.team-carousel {
  position: relative;
}

.team-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 12px 18px;
  margin: 0 -12px;
  scroll-behavior: smooth;
  scroll-padding-inline: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.team-grid::-webkit-scrollbar {
  display: none;
}

.team-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --motion-y: 0px;
  display: block;
  flex: 0 0 min(82vw, 340px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transform: perspective(880px) translate3d(0, var(--motion-y), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 300ms var(--ease-out-strong), box-shadow 260ms ease;
}

.team-card:hover {
  transform: perspective(880px) translate3d(0, calc(var(--motion-y) - 5px), 28px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  box-shadow: var(--shadow);
}

.team-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
  background: var(--soft);
}

.team-card-body {
  display: flex;
  min-height: 198px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 20px;
}

.team-card-role {
  display: inline-flex;
  padding: 5px 8px;
  color: var(--rn-blue);
  background: var(--soft-blue);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.team-card-role-muted {
  color: #637389;
  background: #f3f7f9;
}

.team-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.team-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
}

.offices-section {
  background: var(--soft);
}

.office-grid {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.office-card,
.process-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --motion-y: 0px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transform: perspective(880px) translate3d(0, var(--motion-y), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 300ms var(--ease-out-strong), box-shadow 260ms ease, border-color 260ms ease;
}

.office-card:hover,
.process-card:hover {
  transform: perspective(880px) translate3d(0, calc(var(--motion-y) - 5px), 28px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  border-color: rgba(15, 76, 108, 0.24);
  box-shadow: var(--shadow);
}

.office-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.office-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.office-top span {
  padding: 6px 9px;
  color: #fff;
  background: var(--rn-blue);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 950;
}

.office-top strong {
  color: var(--rn-red);
  font-size: 28px;
  line-height: 1;
}

.office-card p {
  color: var(--ink-soft);
}

.office-meta {
  margin: 5px 0 14px;
  color: var(--muted) !important;
  font-size: 13px;
  font-weight: 800;
}

.rating-stars {
  display: inline-flex;
  color: var(--rn-gold);
  font-size: 17px;
  letter-spacing: 1px;
  line-height: 1;
}

.rating-stars-sm {
  font-size: 12px;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

.office-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 4px 0 28px;
  text-align: center;
}

.office-total .rating-stars {
  font-size: 24px;
}

.office-total p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 750;
}

.office-total strong {
  color: var(--rn-blue);
  font-weight: 900;
}

blockquote {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-weight: 750;
}

.office-review-slider {
  margin-top: 16px;
}

.office-review-viewport {
  height: 270px;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(237, 246, 251, 0.92), rgba(237, 248, 243, 0.82));
  border: 1px solid #d5e9f5;
}

.office-review-track {
  height: 100%;
  display: flex;
  transition: transform 520ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.office-review-slide {
  min-width: 0;
  height: 100%;
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 15px;
  overflow: hidden;
}

.office-review-slide blockquote {
  min-height: 0;
  overflow: hidden;
}

.office-review-slide figcaption {
  margin-top: auto;
  padding-top: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.office-slider-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.office-slider-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--rn-blue);
  border-radius: 999px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.office-slider-btn:hover {
  background: var(--rn-red);
  transform: translateY(-1px);
}

.office-slider-status {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.office-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 18px;
  color: var(--rn-blue);
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.review-copy {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
  overflow-wrap: break-word;
}

.office-review-slide .review-copy.is-expanded {
  display: block;
  max-height: 150px;
  overflow-y: auto;
  padding-right: 4px;
}

.review-more {
  align-self: flex-start;
  margin-top: 8px;
  padding: 0;
  color: var(--rn-blue);
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.review-more:hover {
  color: var(--rn-red);
}

.process-section {
  background:
    linear-gradient(180deg, #fff 0%, #fff 52%, var(--soft-blue) 52%, var(--soft-blue) 100%);
}

.process-grid {
  display: grid;
  gap: 16px;
}

.process-card {
  padding: 20px;
}

.process-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--rn-red);
  font-size: 14px;
  font-weight: 950;
}

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

.faq-section {
  background: #fff;
}

.faq-layout {
  display: grid;
  gap: 26px;
}

@media (min-width: 860px) {
  .faq-layout > .section-copy {
    position: sticky;
    top: 118px;
    align-self: start;
  }
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.05);
}

summary {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: var(--rn-blue);
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--rn-blue);
  border-radius: 999px;
  font-size: 18px;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--ink-soft);
}

.footer {
  position: relative;
  padding: 64px 0 96px;
  color: #fff;
  background: radial-gradient(120% 140% at 12% 0%, #0d3a54 0%, #092f44 55%, #07283a 100%);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rn-blue-2), var(--rn-green) 55%, var(--rn-gold));
}

.footer-inner {
  display: grid;
  gap: 44px 40px;
}

.footer-brand {
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
}

.footer-brand img {
  max-width: 188px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 360px;
  margin: 10px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.footer-call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: center;
  margin-top: 18px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.2s var(--ease-out-strong), border-color 0.2s var(--ease-out-strong), transform 0.2s var(--ease-out-strong);
}

.footer-call:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.footer-call svg {
  width: 38px;
  height: 38px;
  padding: 9px;
  flex: none;
  fill: #fff;
  border-radius: 50%;
  background: var(--rn-green);
}

.footer-call span {
  display: grid;
  line-height: 1.25;
}

.footer-call strong {
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.footer-call small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
}

.footer-heading {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rn-gold);
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col a strong {
  display: block;
  font-weight: 700;
}

.footer-col a span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  font-weight: 500;
}

.footer-proof {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.footer-proof img {
  width: 132px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 10px;
}

.footer-proof p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr minmax(70px, auto);
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 -10px 28px rgba(16, 24, 40, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.mobile-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-cta .btn {
  width: 100%;
}

.mobile-call {
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rn-blue);
  background: var(--soft-blue);
  border: 1px solid #cfe6f4;
  border-radius: var(--radius);
  font-weight: 950;
  white-space: nowrap;
}

.callback-modal-open {
  overflow: hidden;
}

.callback-modal-bg {
  position: fixed;
  inset: 0;
  z-index: 2147482500;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 26, 40, 0.62);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

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

.callback-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  padding: clamp(24px, 4vw, 34px);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  border: 1px solid rgba(15, 76, 108, 0.14);
  border-radius: 20px;
  box-shadow: 0 34px 90px -26px rgba(5, 26, 40, 0.68);
}

.callback-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 76, 108, 0.13);
  border-radius: 50%;
  background: #fff;
  color: var(--rn-blue);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px -18px rgba(5, 26, 40, 0.55);
}

.callback-eyebrow {
  margin: 0 0 8px;
  color: var(--rn-red);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.callback-modal h2 {
  margin: 0 46px 10px 0;
  color: var(--rn-blue);
  font-size: clamp(27px, 4vw, 36px);
  line-height: 1.08;
}

.callback-copy {
  max-width: 44rem;
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.callback-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.callback-form[hidden],
.callback-success[hidden] {
  display: none !important;
}

.callback-form label {
  display: grid;
  gap: 7px;
  color: var(--rn-blue);
  font-size: 13px;
  font-weight: 900;
}

.callback-form input,
.callback-form select,
.callback-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(15, 76, 108, 0.18);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.callback-form textarea {
  resize: vertical;
  line-height: 1.45;
}

.callback-form input:focus,
.callback-form select:focus,
.callback-form textarea:focus {
  border-color: rgba(15, 76, 108, 0.54);
  box-shadow: 0 0 0 4px rgba(31, 134, 199, 0.14);
}

.callback-wide,
.callback-error,
.callback-submit {
  grid-column: 1 / -1;
}

.callback-error {
  min-height: 20px;
  margin: 0;
  color: var(--rn-red);
  font-size: 13px;
  font-weight: 850;
}

.callback-submit {
  width: 100%;
  max-width: none;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.callback-submit:disabled {
  opacity: 0.68;
  cursor: wait;
}

.callback-success {
  display: grid;
  gap: 6px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(31, 157, 104, 0.1);
  border: 1px solid rgba(31, 157, 104, 0.22);
  color: var(--rn-blue);
}

.callback-success strong {
  font-size: 19px;
}

.callback-success span {
  color: var(--ink-soft);
  font-weight: 700;
}

@media (max-width: 620px) {
  .callback-form {
    grid-template-columns: 1fr;
  }
}

.rnf-fullscreen-lock .mobile-cta,
.form-in-view .mobile-cta {
  display: none;
}

.reveal,
.trust-grid > div,
.team-card,
.office-card,
.process-card,
.faq-list details {
  opacity: 0.001;
  transform: translate3d(0, 40px, 0) scale(0.985);
  transform-origin: center top;
}

.reveal.is-visible,
.trust-grid > div.is-visible,
.team-card.is-visible,
.office-card.is-visible,
.process-card.is-visible,
.faq-list details.is-visible {
  animation: revealIn 920ms var(--ease-out-strong) both;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.06);
  }
}

@keyframes liveWordPulse {
  0%,
  100% {
    color: var(--rn-green);
    text-shadow: 0 0 0 rgba(31, 157, 104, 0);
    transform: scale(1);
  }

  50% {
    color: #16c784;
    text-shadow: 0 0 12px rgba(31, 157, 104, 0.72);
    transform: scale(1.08);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: perspective(920px) translate3d(0, var(--hero-card-y, 0), 46px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  }

  50% {
    transform: perspective(920px) translate3d(0, calc(var(--hero-card-y, 0px) - 10px), 58px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  }
}

@keyframes revealIn {
  from {
    opacity: 0;
    transform: translate3d(0, 56px, 0) scale(0.965);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  from {
    filter: saturate(0.96) contrast(1);
  }

  to {
    filter: saturate(1.08) contrast(1.04);
  }
}

@media (min-width: 560px) {
  .notice-inner > span:nth-child(2) {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    width: auto;
  }

  .team-card {
    display: block;
    flex-basis: min(44vw, 360px);
  }

  .team-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .team-card-body {
    padding: 20px;
  }

  .team-card h3 {
    font-size: 21px;
  }

  .team-grid,
  .office-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (min-width: 860px) {
  html {
    scroll-padding-top: 128px;
  }

  body {
    padding-bottom: 0;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 44px;
  }

  .shell {
    width: min(100% - 48px, var(--shell));
  }

  .notice-inner {
    min-height: 38px;
    font-size: 13px;
  }

  .nav {
    min-height: 78px;
  }

  .brand img {
    width: 205px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
  }

  .nav-links a {
    color: var(--rn-blue);
    font-size: 15px;
    font-weight: 800;
  }

  .nav-links a:hover {
    color: var(--rn-red);
  }

  .phone-link {
    width: auto;
    height: auto;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 900;
  }

  .phone-link span {
    display: inline;
  }

  .hero {
    min-height: 720px;
    padding: 152px 0 54px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 20, 32, 0.94) 0%, rgba(4, 20, 32, 0.76) 43%, rgba(4, 20, 32, 0.34) 100%),
      linear-gradient(0deg, rgba(4, 20, 32, 0.48), rgba(4, 20, 32, 0.08));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) 380px;
    align-items: end;
    gap: 52px;
  }

  .hero-lede {
    font-size: 20px;
  }

  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .trust-grid div {
    min-height: 118px;
    padding: 26px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .trust-grid div:first-child {
    border-left: 1px solid var(--line);
  }

  .trust-grid div:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .trust-grid strong {
    font-size: 34px;
  }

  .section {
    padding: 104px 0;
  }

  .checker-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(400px, 520px);
    align-items: start;
    gap: 68px;
  }

  .checker-intro {
    position: sticky;
    top: 134px;
    align-self: start;
  }

  .rn-form-panel {
    position: sticky;
    order: 0;
    top: 134px;
    padding: 18px;
  }

  .authority-layout {
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 72px;
  }

  .team-grid,
  .office-grid,
  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-heading-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .team-card {
    flex-basis: calc((100% - 36px) / 3);
  }

  .team-card h3 {
    font-size: 24px;
  }

  .faq-layout {
    grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1fr);
    gap: 56px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
  }

  .mobile-cta {
    display: none;
  }
}

@media (max-width: 420px) {
  .shell {
    width: min(100% - 24px, var(--shell));
  }

  .nav {
    gap: 10px;
  }

  .brand img {
    width: 146px;
  }

  .nav-actions .btn {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
    padding-bottom: 28px;
  }

  .hero-grid {
    gap: 16px;
  }

  .eyebrow {
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: 31px;
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 29px;
  }

  .hero-lede {
    margin-bottom: 20px;
    font-size: 16px;
  }

  .hero-actions .btn {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-card {
    padding: 14px;
  }

  .hero-card-score {
    gap: 10px;
  }

  .hero-card-score span {
    font-size: 40px;
  }

  .hero-card-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
  }

  .hero-card-row strong {
    padding: 8px 7px;
  }

  .trust-grid div {
    min-height: 96px;
    padding: 18px 12px;
  }

  .trust-grid strong {
    font-size: 26px;
  }

  .trust-grid span {
    font-size: 13px;
  }

  .rn-form-panel {
    padding: 14px;
  }

}

@media (min-width: 700px) {
  .home-conversion-grid,
  .home-office-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
    align-items: center;
  }

  .story-intro {
    padding: 116px 0 0;
  }

  .story-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
    gap: 58px;
  }

  .story-copy {
    min-height: 380px;
  }

  .story-step {
    padding: 32px;
  }

  .story-visual {
    min-height: 540px;
  }

  .proof-layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
    gap: 62px;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 106px;
  }

  .home-hero {
    min-height: auto;
    padding-bottom: 22px;
  }

  .home-page .hero-actions .btn-secondary {
    display: none;
  }

  .home-page #home-title {
    margin-bottom: 0;
    font-size: 25px;
  }

  .home-page .hero-lede {
    margin-bottom: 0;
    font-size: 14px;
  }

  /* Desktopkaart verbergen op mobiel; de compacte preview staat in de copy. */
  .rn-scene-frame-hero,
  .home-hero-grid > .rn-live-hero {
    display: none;
  }

  .rn-live-mobile-preview {
    display: flex;
    max-width: 100%;
    height: 230px;
    margin: 2px 0 4px;
    padding: 14px;
    border-radius: 16px;
    box-shadow: 0 18px 44px -26px rgba(8, 30, 48, 0.72);
  }

  .rn-live-mobile-preview .rn-live-head {
    margin-bottom: 8px;
  }

  .rn-live-mobile-preview .rn-live-amount {
    justify-content: center;
    text-align: center;
    font-size: clamp(24px, 7vw, 31px);
  }

  .rn-live-mobile-preview .rn-live-caption {
    text-align: center;
    font-size: 12px;
  }

  .rn-live-mobile-preview .rn-live-track {
    margin-top: 10px;
  }

  .rn-live-mobile-preview .rn-live-list {
    --demo-row-h: 49px;
    height: 98px;
    min-height: 98px;
    max-height: 98px;
    overflow: hidden;
  }

  .rn-live-mobile-preview .rn-live-row {
    padding: 7px 0;
  }

  .rn-live-mobile-preview.is-empty .rn-live-list {
    display: block;
  }

  .scroll-story {
    scroll-margin-top: 0;
  }

  /* Keep the sticky pin on mobile, just shorter + column layout */
  .scroll-story__track {
    height: 240vh;
  }

  .scroll-story__pin {
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 76px 0 28px;
  }

  .story-intro {
    padding: 48px 0 0;
  }

  .story-intro h2 {
    font-size: 30px;
  }

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

  .story-visual {
    order: -1;
    min-height: 0;
  }

  .rn-scene-frame-story {
    max-width: 300px;
    aspect-ratio: 1 / 1;
  }

  .story-copy {
    min-height: 172px;
  }

  .story-step {
    padding: 18px 20px;
    gap: 10px;
  }

  .story-step h3 {
    font-size: 21px;
  }

  .story-step p {
    font-size: 14px;
  }

  .scroll-story__progress {
    bottom: 14px;
  }
}

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

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

  .reveal,
  .trust-grid > div,
  .team-card,
  .office-card,
  .process-card,
  .home-conversion-card,
  .home-office-card,
  .faq-list details {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero-card,
  .rn-form-panel,
  .nivre-card {
    transform: none !important;
  }
}

/* Mobile: hero vult het eerste scherm (above the fold), blokken eronder */
@media (max-width: 599px) {
  .home-hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding-top: 118px;
    padding-bottom: 28px;
  }

  .home-hero .hero-grid {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  .home-hero .hero-copy {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(18px, 3.8svh, 32px);
    min-height: calc(100svh - 176px);
  }

  .home-hero .hero-copy > * {
    margin-bottom: 0;
  }
}

/* Mobile: responsive hero-typografie zodat alles boven de vouw past */
@media (max-width: 599px) {
  .home-page #home-title {
    font-size: clamp(24px, 6.4vw, 28px);
    line-height: 1.08;
  }

  .home-page .hero-lede {
    max-width: 360px;
    font-size: 13.6px;
    line-height: 1.42;
  }

  .home-page .hero-actions {
    margin-top: 8px;
  }

  .home-page .hero-actions .btn-large {
    width: 100%;
    min-height: 58px;
    justify-content: center;
  }
}

/* Trust-cards: professioneler dan de oude tabelweergave, vooral op mobiel. */
.trust-band {
  padding: 14px 0;
  background:
    radial-gradient(circle at 8% 0, rgba(31, 157, 104, 0.08), transparent 30%),
    linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
}

.trust-grid {
  gap: 10px;
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.trust-grid div {
  position: relative;
  height: 100%;
  min-height: 144px;
  justify-content: flex-start;
  gap: 8px;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  border: 1px solid rgba(15, 76, 108, 0.11) !important;
  border-radius: 14px;
  box-shadow: 0 18px 42px -30px rgba(8, 30, 48, 0.42);
}

.trust-grid div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--rn-blue-2), var(--rn-green));
  opacity: 0.9;
}

.trust-grid strong {
  max-width: 100%;
  color: var(--rn-blue);
  font-size: clamp(29px, 7.4vw, 38px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.trust-grid div:nth-child(4) > strong {
  font-size: clamp(23px, 6.2vw, 34px);
  line-height: 1.02;
}

.trust-grid .trust-num-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  color: #6b7788;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: 0;
}

.trust-grid .trust-num-detail span {
  display: block;
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.trust-grid .trust-num-rating {
  gap: 6px;
}

.trust-grid .trust-num-rating .trust-num-detail {
  max-width: 96px;
}

.trust-grid .trust-num-offices {
  gap: 9px;
}

.trust-grid .trust-num-offices .trust-num-detail {
  max-width: 118px;
  font-size: 9.5px;
}

.trust-grid span {
  margin-top: 0;
  color: #627086;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: normal;
}

.trust-grid .trust-num {
  min-height: 40px;
  align-items: center;
  gap: 7px;
  margin-top: 0 !important;
}

.trust-meta {
  margin-top: auto;
  color: var(--rn-green);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.trust-meta span {
  display: inline;
  margin-top: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

@media (min-width: 900px) {
  .trust-band {
    padding: 16px 0;
  }

  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .trust-grid div {
    min-height: 148px;
    padding: 20px;
  }

  .trust-grid div:nth-child(4) > strong {
    font-size: 31px;
  }
}

@media (max-width: 420px) {
  .trust-band {
    padding: 12px 0;
  }

  .trust-grid {
    gap: 9px;
  }

  .trust-grid div {
    height: 158px;
    min-height: 158px;
    padding: 14px;
    border-radius: 13px;
  }

  .trust-grid strong {
    font-size: 30px;
  }

  .trust-grid div:nth-child(4) > strong {
    font-size: 19px;
    white-space: nowrap;
  }

  .trust-grid span {
    font-size: 12px;
  }

  .trust-meta {
    font-size: 11.5px;
  }

  .trust-meta span {
    display: block;
  }
}

/* Review-popup — toont de volledige review bij klik op "Meer...". */
.review-modal-bg{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:rgba(8,30,48,.55);backdrop-filter:blur(3px);opacity:0;transition:opacity .2s}
.review-modal-bg.open{opacity:1}
.review-modal{position:relative;width:min(540px,100%);max-height:86vh;overflow:auto;background:#fff;border-radius:16px;padding:34px 30px 28px;box-shadow:0 40px 90px -30px rgba(0,0,0,.55)}
.review-modal-close{position:absolute;top:14px;right:14px;width:36px;height:36px;border:0;border-radius:10px;background:#f0f4f7;color:#667085;font-size:18px;line-height:1;cursor:pointer}
.review-modal-close:hover{background:#e6edf2;color:var(--rn-blue)}
.review-modal-stars{font-size:20px;margin-bottom:16px}
.review-modal-text{margin:0 0 18px;padding:0;border:0;font-size:17px;line-height:1.6;color:#0f2733;font-weight:500;font-style:normal}
.review-modal-author{font-size:14px;font-weight:800;color:var(--rn-blue)}

.legal-modal-bg {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 30, 48, 0.58);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.legal-modal-bg.open {
  opacity: 1;
}

.legal-modal {
  position: relative;
  width: min(760px, 100%);
  max-height: 84vh;
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(15, 76, 108, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 4%, rgba(31, 157, 104, 0.08), transparent 28%),
    #fff;
  box-shadow: 0 42px 92px -34px rgba(0, 0, 0, 0.62);
}

.legal-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  color: #516273;
  background: #eef4f7;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.legal-modal-close:hover {
  color: var(--rn-blue);
  background: #e3edf2;
}

.legal-modal h2 {
  max-width: calc(100% - 48px);
  margin: 0 0 18px;
  color: var(--rn-blue);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08;
}

.legal-modal-content {
  display: grid;
  gap: 16px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.58;
}

.legal-modal-section {
  display: grid;
  gap: 7px;
}

.legal-modal-section h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.legal-modal-section p {
  margin: 0;
}

.legal-modal-section ul {
  margin: 0;
  padding-left: 18px;
}

/* Eigen afsluitbevestiging voor het fullscreen formulier. */
.rnf-close-confirm-bg{position:fixed;inset:0;z-index:2147483020;display:grid;place-items:center;padding:20px;background:rgba(5,26,40,.62);backdrop-filter:blur(5px);opacity:0;transition:opacity .18s ease}
.rnf-close-confirm-bg.is-open{opacity:1}
.rnf-close-confirm{width:min(430px,100%);padding:28px;border-radius:20px;background:linear-gradient(180deg,#fff,#f8fbfd);border:1px solid rgba(15,76,108,.14);box-shadow:0 34px 90px -28px rgba(5,26,40,.65);text-align:left;color:#213242}
.rnf-close-confirm-icon{display:grid;place-items:center;width:38px;height:38px;margin:0 0 16px;border-radius:50%;background:rgba(224,73,47,.12);color:#e0492f;font-size:21px;font-weight:950}
.rnf-close-confirm h2{margin:0 0 8px;color:var(--rn-blue);font-size:24px;line-height:1.12;font-weight:950;letter-spacing:0}
.rnf-close-confirm p{margin:0;color:#526477;font-size:15px;line-height:1.55;font-weight:600}
.rnf-close-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}
.rnf-close-confirm-actions button{min-height:44px;border:0;border-radius:12px;padding:0 18px;font:inherit;font-size:14px;font-weight:900;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.rnf-close-confirm-actions button:focus-visible{outline:3px solid rgba(31,134,199,.25);outline-offset:2px}
.rnf-close-confirm-cancel{background:#eef5f8;color:var(--rn-blue)}
.rnf-close-confirm-cancel:hover{background:#e4eff5}
.rnf-close-confirm-ok{background:var(--rn-red);color:#fff;box-shadow:0 14px 28px -16px rgba(224,73,47,.65)}
.rnf-close-confirm-ok:hover{transform:translateY(-1px);box-shadow:0 18px 34px -18px rgba(224,73,47,.75)}
@media (max-width:520px){.rnf-close-confirm{padding:24px 20px}.rnf-close-confirm-actions{display:grid;grid-template-columns:1fr;gap:9px}.rnf-close-confirm-ok{order:2}.rnf-close-confirm-cancel{order:1}}

/* Inklapbaar schadeposten-menu in de form-live-kaart (niet de hero-demo). */
.rn-live[data-rn-live] .rn-live-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin-top:12px;padding:10px 8px;border:0;border-top:1px solid rgba(15,76,108,.12);border-radius:0 0 10px 10px;background:transparent;cursor:pointer;font:inherit;color:var(--rn-blue);font-size:14px;font-weight:850;line-height:1;transition:background .18s}
.rn-live[data-rn-live] .rn-live-toggle:hover{background:rgba(15,76,108,.06)}
.rn-live[data-rn-live] .rn-live-chev{width:30px;height:30px;flex:0 0 auto;padding:6px;border-radius:50%;background:var(--rn-blue);color:#fff;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;box-shadow:0 3px 9px rgba(15,76,108,.32);transition:transform .25s ease,background .2s}
.rn-live[data-rn-live] .rn-live-toggle:hover .rn-live-chev{background:var(--rn-blue-2)}
.rn-live[data-rn-live].is-open .rn-live-chev{transform:rotate(180deg)}
/* Pulserende ring zolang het menu dicht is — trekt de aandacht naar het pijltje. */
@keyframes rnLiveChevPulse{0%{box-shadow:0 3px 9px rgba(15,76,108,.32),0 0 0 0 rgba(0,109,179,.45)}70%{box-shadow:0 3px 9px rgba(15,76,108,.32),0 0 0 10px rgba(0,109,179,0)}100%{box-shadow:0 3px 9px rgba(15,76,108,.32),0 0 0 0 rgba(0,109,179,0)}}
.rn-live[data-rn-live]:not(.is-open):not(.is-empty) .rn-live-chev{animation:rnLiveChevPulse 2s ease-out infinite}
.rn-live[data-rn-live] .rn-live-list{max-height:0;overflow:hidden;margin-top:0;transition:max-height .28s ease,margin-top .22s ease,opacity .18s ease;opacity:0}
.rn-live[data-rn-live].is-open:not(.is-empty) .rn-live-list{max-height:640px;margin-top:10px;opacity:1}
.rn-live[data-rn-live]:not(.is-open) .rn-live-list{max-height:0!important;margin-top:0!important;opacity:0!important;pointer-events:none}
.rn-live[data-rn-live].is-open:not(.is-empty) .rn-live-list{pointer-events:auto}
.rn-live[data-rn-live].is-empty .rn-live-toggle{display:none}

/* ============================================================
   Trust-band kaarten — volledig symmetrisch & gelijke witruimte.
   De inhoud blijft per kaart in dezelfde rustige flow, met gelijke
   boven- en onderruimte zodat de vier kaarten als één set lezen.
   ============================================================ */
.trust-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  min-height: 184px;
  padding-top: 24px;
  padding-bottom: 24px;
}

/* Zone 1 — getal/titel: gelijke hoogte, verticaal gecentreerd. */
.trust-grid > div > strong,
.trust-grid > div > .trust-num {
  min-height: 0;
  display: flex;
  align-items: center;
  margin: 0;
}
.trust-grid > div > .trust-num { gap: 7px; }
.trust-grid > div > .trust-num.trust-num-rating { gap: 6px; }
.trust-grid > div > .trust-num.trust-num-offices { gap: 9px; }

/* Zone 2 — label: exact 2 regels (forced via <br>), zelfde hoogte overal. */
.trust-grid > div > span:not(.trust-num) {
  min-height: 0;
  margin: 0;
}

/* Zone 3 — groene regel: zelfde flow als de rest, geen geforceerde onderuitlijning. */
.trust-grid > div > .trust-meta {
  margin: 0;
  min-height: 0;
}

@media (min-width: 900px) {
  .trust-grid > div { min-height: 174px; }
}

@media (max-width: 420px) {
  .trust-grid > div {
    height: auto;
    min-height: 182px;
    gap: 12px;
    padding: 22px 14px;
  }
}

@media (max-width: 699px) {
  .team-arrow-prev {
    margin-left: 0;
  }

  .team-arrow-next {
    margin-right: 0;
  }
}

@media (max-width: 699px) {
  .checker-layout {
    gap: 58px;
  }
}

@media (min-width: 900px) {
  .trust-band {
    padding: 24px 0;
  }

  .trust-grid > div {
    display: grid;
    grid-template-rows: minmax(50px, auto) 44px 42px;
    align-content: center;
    gap: 14px;
    min-height: 194px;
    padding: 30px;
  }

  .trust-grid > div > strong,
  .trust-grid > div > .trust-num {
    min-height: 50px;
    align-items: center;
  }

  .trust-grid > div > span:not(.trust-num) {
    min-height: 44px;
    display: flex;
    align-items: flex-start;
  }

  .trust-grid > div > .trust-meta {
    min-height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .checker-section {
    padding-top: 68px;
  }
}

/* ============================================================
   Hero op desktop: content verticaal over de volledige hoogte
   verdelen i.p.v. bovenin samengeklonterd met veel lege ruimte
   eronder. Linkerkolom (kop/tekst/knoppen) vult de hoogte en
   verdeelt gelijkmatig; de indicatie-kaart staat verticaal
   gecentreerd en groter.
   ============================================================ */
@media (min-width: 860px) {
  /* Grid vult de hero-contenthoogte (de .hero-padding klaart de header al), zodat
     beide kolommen ruimte hebben om te verdelen i.p.v. samengeklonterd bovenin. */
  .home-hero-grid { align-items: stretch; min-height: 558px; }

  .home-page .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding-block: clamp(6px, 1.5vh, 22px);
    max-width: 680px;
  }
  .home-page #home-title {
    margin: 0;
    max-width: 680px;
    font-size: clamp(34px, 3.7vw, 47px);
    line-height: 1.08;
  }
  .home-page .hero-lede {
    margin: 0;
    max-width: 600px;
    font-size: 19px;
    line-height: 1.6;
  }
  .home-page .hero-actions {
    margin: 0;
    gap: 14px;
  }
  .home-page .hero-actions .btn-large {
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 17px;
  }

  /* Indicatie-kaart verticaal gecentreerd naast de verdeelde tekstkolom. */
  .home-hero-grid > .rn-live-hero {
    align-self: center;
  }
}
