/* SleutelFlow marketing site. System fonts only: no third-party requests. */
:root {
  --ink: #101412;
  --ink-2: #171d19;
  --ink-3: #202722;
  --ink-line: #2c352e;
  --lime: #c3ef9d;
  --lime-strong: #aee57f;
  --lime-ink: #1d3218;
  --paper: #f5f4ef;
  --paper-2: #ecebe3;
  --paper-line: #dcdad0;
  --text-dark: #17201a;
  --muted-dark: #56615a;
  --text-light: #f0f2ec;
  --muted-light: #a2ada5;
  --free: #2ba272;
  --option: #ff6b24;
  --sold: #ff1a1f;
  --radius: 18px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-dark);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap.narrow {
  max-width: 860px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--lime-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 20, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  color: var(--text-light);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--ink-line);
  background: rgba(16, 20, 18, 0.94);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  text-decoration: none;
  font-size: 15px;
  color: var(--muted-light);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:hover {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav .nav-cta {
  margin-left: 8px;
  color: var(--lime-ink);
  background: var(--lime);
  font-weight: 700;
}

.site-nav .nav-cta:hover {
  color: var(--lime-ink);
  background: var(--lime-strong);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.btn-primary {
  background: var(--lime);
  color: var(--lime-ink);
}

.btn-primary:hover {
  background: var(--lime-strong);
}

.btn-ghost {
  border-color: rgba(240, 242, 236, 0.28);
  color: var(--text-light);
}

.btn-ghost:hover {
  border-color: var(--text-light);
  background: rgba(255, 255, 255, 0.05);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}

.eyebrow-dark {
  color: #3f7a2c;
}

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(195, 239, 157, 0.13), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(43, 162, 114, 0.12), transparent 60%),
    var(--ink);
  color: var(--text-light);
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  text-wrap: balance;
}

.lead {
  margin-top: 24px;
  font-size: 19px;
  color: var(--muted-light);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
  color: var(--muted-light);
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}

/* Interactive tour in the hero (styles in demo.css) */
.hero-demo {
  min-width: 0;
}

/* ---------------------------------------------------------------- Sections */
.section {
  padding: 104px 0;
}

.section-light {
  background: var(--paper);
  color: var(--text-dark);
}

.section-tint {
  background: var(--paper-2);
}

.section-dark {
  background: var(--ink);
  color: var(--text-light);
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head h2,
.split-copy h2,
.cta h2 {
  font-size: clamp(32px, 3.8vw, 48px);
}

.section-head p {
  margin-top: 20px;
  font-size: 18px;
  color: var(--muted-dark);
}

.section-dark .section-head p,
.section-dark .split-copy p {
  color: var(--muted-light);
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pillar {
  background: #ffffff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 32px;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--lime);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--lime-ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar h3,
.module h3,
.flow h3,
.steps3 h3,
.audience h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.pillar p,
.module p,
.flow p,
.steps3 p,
.audience p {
  color: var(--muted-dark);
  font-size: 16px;
}

/* Flow */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  counter-reset: flow;
}

.flow li {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 26px 22px;
}

.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -18px;
  width: 18px;
  height: 2px;
  background: var(--paper-line);
}

.flow-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-weight: 700;
  margin-bottom: 18px;
}

/* Modules */
.modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.module {
  background: #ffffff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.module:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(23, 32, 26, 0.08);
}

.module-feature {
  grid-column: span 2;
  background:
    linear-gradient(120deg, rgba(16, 20, 18, 0.92), rgba(16, 20, 18, 0.55)),
    url("/parc-ruysbroeck-media/vv_3_png_copy.jpg") center / cover;
  border-color: var(--ink);
  color: var(--text-light);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.module-feature h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
}

.module-feature p {
  color: #d5dcd6;
  max-width: 520px;
}

.module-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3f7a2c;
  background: #e6f4d8;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.module-feature .module-tag {
  background: var(--lime);
  color: var(--lime-ink);
  align-self: flex-start;
}

/* Split layout (dark sections) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}

.split-reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.split-copy p {
  margin-top: 20px;
  font-size: 18px;
}

.split-copy .btn {
  margin-top: 32px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.checks li {
  position: relative;
  padding-left: 34px;
  color: var(--muted-light);
}

.checks li strong {
  color: var(--text-light);
}

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

.checks-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.checks-grid li {
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 24px 24px 24px 60px;
}

.checks-grid li::before {
  left: 24px;
  top: 27px;
}

/* Phone mock */
.phone {
  justify-self: center;
  width: min(330px, 100%);
  border-radius: 44px;
  padding: 12px;
  background: #050706;
  border: 1px solid var(--ink-line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: #1b211d;
  padding: 16px 12px 18px;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2a322c;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
}

.phone-top span {
  background: #214d25;
  color: #8fe39a;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
}

.phone-stage {
  position: relative;
  margin-top: 12px;
  height: 330px;
  border-radius: 16px;
  overflow: hidden;
}

.phone-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
  animation: phone-pan 9s ease-in-out infinite alternate;
}

@keyframes phone-pan {
  from {
    object-position: 20% center;
  }
  to {
    object-position: 80% center;
  }
}

.phone-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.phone-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.phone-card {
  min-width: 0;
  background: #2a322c;
  border-radius: 14px;
  padding: 12px;
  color: var(--text-light);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: space-between;
  align-items: center;
}

.phone-card i {
  font-style: normal;
  font-size: 11px;
  color: #8fe39a;
  background: #214d25;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Allocation steps */
.steps3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.steps3 article {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 30px;
}

.steps3 article:last-child {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--text-light);
}

.steps3 article:last-child p {
  color: var(--muted-light);
}

.step-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3f7a2c;
  margin-bottom: 14px;
}

.steps3 article:last-child .step-label {
  color: var(--lime);
}

.facts {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  font-size: 15px;
  color: var(--muted-dark);
}

.facts li {
  border-top: 2px solid var(--text-dark);
  padding-top: 16px;
}

.facts strong {
  color: var(--text-dark);
}

/* Audience */
.audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.audience article {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 30px;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: #ffffff;
  border: 1px solid var(--paper-line);
  border-radius: 16px;
  padding: 0 24px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 17px;
  padding: 20px 36px 20px 0;
  position: relative;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: #3f7a2c;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  padding: 0 0 22px;
  color: var(--muted-dark);
}

/* Closing call to action */
.cta {
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(195, 239, 157, 0.16), transparent 70%),
    var(--ink);
  color: var(--text-light);
  padding: 110px 0;
  text-align: center;
}

.cta p {
  margin-top: 16px;
  color: var(--muted-light);
  font-size: 18px;
}

.cta .hero-actions {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: #0b0e0c;
  color: var(--muted-light);
  padding: 40px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner .brand {
  color: var(--text-light);
  font-size: 17px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.footer-inner nav a {
  text-decoration: none;
}

.footer-inner nav a:hover {
  color: var(--text-light);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--ink-line);
  font-size: 13px;
}

.footer-legal a {
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--text-light);
  text-decoration: underline;
}

/* ---------------------------------------------------------------- Cookie banner */
.site-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px 28px;
  padding: 20px 24px;
  background: var(--ink-2);
  color: var(--text-light);
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  font-size: 14px;
  line-height: 1.55;
  animation: cookie-in 0.3s ease-out;
}

.site-cookie-banner.is-leaving {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.site-cookie-text strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.site-cookie-text p {
  color: var(--muted-light);
}

.site-cookie-text .site-cookie-links {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

.site-cookie-links a {
  color: var(--lime);
}

.site-cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}

/* Equal weight for every choice: refusing is as easy as accepting */
.cookie-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(240, 242, 236, 0.3);
  background: transparent;
  color: var(--text-light);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-btn:hover {
  border-color: var(--lime);
  color: var(--lime);
}

/* ---------------------------------------------------------------- Legal dialog */
.legal-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--paper);
  color: var(--text-dark);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  /* Variables used by the shared legal texts */
  --muted: var(--muted-dark);
  --line: var(--paper-line);
  --accent: #3f7a2c;
}

.legal-dialog::backdrop {
  background: rgba(8, 11, 9, 0.7);
  backdrop-filter: blur(4px);
}

.legal-dialog-inner {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 48px);
}

.legal-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--paper-line);
}

.legal-dialog-head .eyebrow {
  margin-bottom: 6px;
}

.legal-dialog-head h2 {
  font-size: 28px;
}

.legal-dialog-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--paper-line);
  background: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-dark);
}

.legal-dialog-body {
  overflow-y: auto;
  padding: 20px 28px 28px;
}

/* The shared texts limit their own height for the app modal; the dialog scrolls instead */
.legal-dialog-body .privacy-modal-body {
  max-height: none !important;
  overflow: visible !important;
}

.legal-dialog-body h3 {
  font-size: 17px;
  margin: 22px 0 8px;
}

.legal-dialog-body ul,
.legal-dialog-body ol {
  padding-left: 22px;
  margin: 8px 0;
}

.legal-dialog-body li {
  margin-bottom: 6px;
}

.legal-dialog-body code {
  font-size: 12px;
  background: var(--paper-2);
  padding: 1px 6px;
  border-radius: 6px;
  word-break: break-all;
}

.legal-dialog-body .small {
  font-size: 13px;
}

.legal-dialog-body .muted {
  color: var(--muted-dark);
}

.legal-dialog-body .badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--text-dark);
  white-space: nowrap;
}

.legal-dialog-body .badge.green {
  background: #e6f4d8;
  color: #2f6420;
}

.legal-dialog-body .cookie-category-box {
  background: #ffffff;
  border: 1px solid var(--paper-line);
  border-radius: 14px;
  padding: 16px 18px;
}

.legal-dialog-body .cookie-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.legal-dialog-body .toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex: 0 0 auto;
}

.legal-dialog-body .toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.legal-dialog-body .toggle-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #b9bdb2;
  transition: background 0.2s ease;
}

.legal-dialog-body .toggle-slider::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.2s ease;
}

.legal-dialog-body .toggle-switch input:checked + .toggle-slider {
  background: #3f7a2c;
}

.legal-dialog-body .toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.legal-dialog-body .toggle-switch input:focus-visible + .toggle-slider {
  outline: 3px solid var(--lime-strong);
  outline-offset: 2px;
}

.legal-dialog-body .button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--text-dark);
  background: transparent;
  color: var(--text-dark);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.legal-dialog-body .button:hover {
  background: var(--text-dark);
  color: var(--paper);
}

.legal-dialog-body th,
.legal-dialog-body td {
  vertical-align: top;
}

/* Reveal on scroll (only when JavaScript is available) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .phone-stage img {
    animation: none;
  }
}

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1080px) {
  .flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow li::after {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .split-reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

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

  .pillars,
  .steps3,
  .facts,
  .audience {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 20px;
    background: rgba(16, 20, 18, 0.98);
    border-bottom: 1px solid var(--ink-line);
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
    font-size: 17px;
    border-radius: 12px;
  }

  .site-nav .nav-cta {
    margin: 10px 0 0;
    text-align: center;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 16px;
  }

  .hero {
    padding: 48px 0 72px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .flow,
  .modules,
  .checks-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .module-feature {
    grid-column: auto;
  }

  .pillar,
  .module,
  .steps3 article,
  .audience article {
    padding: 24px;
  }

  .phone-stage {
    height: 280px;
  }

  .cta {
    padding: 80px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
  }

  .site-cookie-actions .cookie-btn {
    width: 100%;
  }

  .legal-dialog-head,
  .legal-dialog-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .legal-dialog-head h2 {
    font-size: 23px;
  }
}
