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

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.55;
  letter-spacing: -0.005em;
  font-feature-settings: "ss01", "cv11", "tnum";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, .hero__title { letter-spacing: -0.02em; }

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0 0 var(--space-3); line-height: 1.2; }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
p  { margin: 0 0 var(--space-3); }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.section { padding: var(--space-6) 0; }
.section--tight { padding: var(--space-5) 0; }

.stack > * + * { margin-top: var(--space-3); }
.stack-lg > * + * { margin-top: var(--space-5); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .grid-2 { gap: var(--space-4); }
  h1 { font-size: 44px; }
}

body.has-bottom-nav { padding-bottom: 84px; }
body.has-summary-bar { padding-bottom: 72px; }
body.has-bottom-nav.has-summary-bar { padding-bottom: 140px; }

/* Reduced motion — respect user preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print — geef een nette samenvatting */
@media print {
  .site-header, .bottom-nav, .chat-fab, .chat-panel,
  .toast-host, .summary-bar, .site-footer, .skip-link,
  .stepper, .btn--ghost, [data-chat-open] {
    display: none !important;
  }
  body { color: #000; background: #fff; }
  a { color: inherit; text-decoration: none; }
  .tile, .proof, .chatblock, .cta-section {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
    box-shadow: none !important;
  }
  .hero--photo::before { display: none; }
  .hero { color: #000 !important; background: #fff !important; padding: 0; }
}
