/* FRED van Flagrant. Zelfde papier, inkt en letter als flagrant.be, zodat duidelijk is van wie dit is. */
@font-face { font-family: Geist; src: url(/assets/geist.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root { --paper: #f1ede8; --ink: #2b2b2b; --muted: #615b57; --rule: #c7c0ba; --soft: #aaa29a; --accent: #81796e; --card: #f7f4f0; }
* { box-sizing: border-box; }
html { color: var(--ink); background: var(--paper); color-scheme: light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Geist, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid; outline-offset: 5px; }
.wrap { width: min(1080px, 100% - 4rem); margin-inline: auto; }
.skip { position: absolute; top: -4rem; left: 1rem; z-index: 2; padding: 1rem; background: var(--paper); }
.skip:focus { top: 1rem; }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem 0; }
.signature { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.signature svg { width: 2.5rem; height: 2rem; fill: currentColor; flex: none; }
.signature span { font-size: .7rem; font-weight: 550; letter-spacing: .2em; text-transform: uppercase; }
.signature span b { font-weight: 550; }
.signature span i { font-style: normal; color: var(--muted); }
.topnav { display: flex; align-items: center; gap: 1.6rem; font-size: .75rem; }
.topnav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.topnav a:hover, .topnav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.topnav .lang { color: var(--muted); }

.intro { padding: 6rem 0 4.5rem; }
.eyebrow { margin: 0; font-size: .65rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 2rem 0; font-size: clamp(3.2rem, 7.4vw, 6.4rem); font-weight: 500; line-height: 1.02; letter-spacing: -.065em; text-wrap: balance; }
.lead { max-width: 34rem; margin: 0; font-size: 1.1rem; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.intro .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
.button { display: inline-flex; align-items: center; gap: 1.2rem; min-height: 48px; padding: 0 1.4rem; border: 1px solid var(--ink); font-size: .85rem; text-decoration: none; }
.button.solid { background: var(--ink); color: var(--paper); }
.button:hover { background: var(--ink); color: var(--paper); }
.button.solid:hover { background: transparent; color: var(--ink); }

section.row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; padding: 2.5rem 0; border-top: 1px solid var(--rule); }
section.row > h2 { margin: 0; font-size: .85rem; font-weight: 500; line-height: 1.5; scroll-margin-top: 1.5rem; }
section.row > h2 > span { display: block; margin-bottom: .65rem; font-size: .65rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.body > :first-child { margin-top: 0; }
.body > :last-child { margin-bottom: 0; }
.body p, .body li { max-width: 38rem; font-size: .875rem; line-height: 1.8; text-wrap: pretty; }
.body p { margin: 0 0 1rem; }
.body h3 { margin: 1.8rem 0 .5rem; font-size: .875rem; font-weight: 600; }
.body ul, .body ol { margin: 0 0 1rem; padding-left: 1.1rem; }
.body li { margin-bottom: .35rem; }
.body ul.modules, .body ul.principles, .body ul.docs, .body ul.services { padding-left: 0; }
.body li::marker { color: var(--accent); }
.body a { text-decoration-color: var(--soft); text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.body a:hover { text-decoration-color: currentColor; }
.body strong { font-weight: 600; }
.note { max-width: 38rem; margin: 0 0 1rem; padding-left: 1rem; border-left: 2px solid var(--accent); color: var(--muted); font-size: .875rem; line-height: 1.8; }
.tablewrap { max-width: 100%; overflow-x: auto; margin: 0 0 1.2rem; }
table { width: 100%; min-width: 0; border-collapse: collapse; font-size: .8rem; line-height: 1.6; }
th, td { padding: .7rem .9rem .7rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
th { font-size: .65rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
td:first-child { width: 36%; font-weight: 550; }
.services { margin: 0 0 1.2rem; padding: 0; list-style: none; }
.services li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .4rem 1.5rem; max-width: none; margin: 0; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.services li:first-child { border-top: 1px solid var(--rule); }
.services b { font-size: .95rem; font-weight: 550; letter-spacing: -.01em; }
.services dl { display: grid; gap: .7rem; margin: 0; }
.services dt { margin-bottom: .1rem; font-size: .65rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.services dd { margin: 0; font-size: .8rem; line-height: 1.6; }

/* Startpagina */
.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; margin: 0; padding: 0; list-style: none; }
.modules li { max-width: none; margin: 0; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.modules li:nth-child(-n + 2) { padding-top: 0; }
.modules b { display: block; margin-bottom: .2rem; font-size: .95rem; font-weight: 550; letter-spacing: -.01em; }
.modules span { display: block; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.principles { display: grid; gap: 1.6rem; margin: 0; padding: 0; list-style: none; counter-reset: p; }
.principles li { max-width: 38rem; margin: 0; }
.principles b { display: block; margin-bottom: .3rem; font-size: 1.35rem; font-weight: 500; letter-spacing: -.035em; line-height: 1.2; }
.principles span { display: block; color: var(--muted); font-size: .875rem; line-height: 1.8; }
.docs { margin: 0; padding: 0; list-style: none; scroll-margin-top: 5rem; }
.docs li { max-width: none; margin: 0; border-bottom: 1px solid var(--rule); }
.docs li:first-child { border-top: 1px solid var(--rule); }
.docs a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1.5rem; align-items: center; padding: 1.05rem 0; text-decoration: none; }
.docs a b { font-size: .95rem; font-weight: 550; letter-spacing: -.01em; }
.docs a small { grid-column: 1; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.docs a i { grid-row: 1 / span 2; grid-column: 2; font-style: normal; transition: translate .2s; }
.docs a:hover i { translate: 4px -4px; }
.docs a:hover b { text-decoration: underline; text-underline-offset: 4px; }

.closing { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3rem 0 5rem; border-top: 1px solid var(--rule); }
.closing > span { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.04em; text-wrap: balance; }
.closing > a { display: flex; align-items: center; gap: 2rem; min-height: 44px; font-size: .875rem; text-underline-offset: 5px; white-space: nowrap; }
footer.end { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.5rem; padding: 1.5rem 0 2rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .7rem; }
footer.end > span:first-child { margin-right: auto; }
footer.end a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
footer.end a:hover { text-decoration: underline; }

/* Overeenkomst: leesbaar op papier, met plaats om te tekenen */
.sign { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; max-width: 38rem; margin-top: 2rem; }
.sign div { margin-top: 3.5rem; padding-top: .6rem; border-top: 1px solid var(--ink); font-size: .8rem; line-height: 1.6; color: var(--muted); }
.fill { display: inline-block; min-width: 12rem; border-bottom: 1px solid var(--soft); }

@media (width <= 650px) {
  .wrap { width: calc(100% - 2.5rem); }
  header.top { gap: 1rem; padding: 1.25rem 0; }
  .signature span i { display: none; }
  .topnav { gap: 1rem; }
  .topnav .hide { display: none; }
  .intro { padding: 3rem 0; }
  h1 { font-size: clamp(2.5rem, 10.2vw, 3.4rem); }
  .lead { font-size: 1rem; }
  section.row { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0; }
  section.row > h2 > span { display: inline; margin: 0 1rem 0 0; }
  .modules { grid-template-columns: 1fr; }
  .services li { grid-template-columns: 1fr; }
  .modules li:nth-child(2) { padding-top: 1.1rem; }
  .closing { flex-direction: column; align-items: start; gap: 1rem; padding-bottom: 3rem; }
  .sign { grid-template-columns: 1fr; }
  footer.end { gap: .2rem 1.2rem; }
  footer.end > span:first-child { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .docs a i { transition: none; } }
@media print {
  html { background: #fff; }
  header.top .topnav, .intro .actions, .closing, footer.end a, .skip { display: none; }
  .wrap { width: 100%; }
  .intro { padding: 1.5rem 0; }
  h1 { font-size: 2.4rem; letter-spacing: -.04em; }
  section.row { grid-template-columns: 1fr; gap: .6rem; padding: 1.2rem 0; }
  section.row > h2, .services li, tr { break-inside: avoid; break-after: avoid; }
  .services li, tr { break-after: auto; }
  .body p, .body li { max-width: none; font-size: 10.5pt; line-height: 1.55; }
  .sign { break-inside: avoid; }
}
