@scope (.reference-guide) {

  :scope{
    --navy:#12131c; --teal:#1f9c93; --teal-light:#2cc0b5; --purple:#6d2f8f; --purple-light:#9457bd;
    --text-dark:#1c1c28; --text-gray:#59596a; --text-gray-soft:#7b7b8c;
    --bg-light:#f6f6f9; --bg-white:#ffffff; --border:#e8e8ee;
    --grad: linear-gradient(135deg, var(--teal-light), var(--purple));
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  :scope{font-family:'Inter', system-ui, sans-serif; color:var(--text-dark); background:var(--bg-white); line-height:1.7; -webkit-font-smoothing:antialiased;}
  h1,h2,h3,h4{font-family:'Poppins', sans-serif; font-weight:700; letter-spacing:-0.01em; color:var(--text-dark);}
  a{color:var(--purple);}
  .demo-flag{background:#fff7e6; color:#8a6300; font-size:13px; text-align:center; padding:8px 16px; border-bottom:1px solid #f0dca3;}

  header{position:sticky; top:0; z-index:60; background:rgba(255,255,255,0.94); backdrop-filter:blur(8px); border-bottom:1px solid var(--border);}
  .nav{display:flex; align-items:center; justify-content:space-between; padding:18px 32px; max-width:1200px; margin:0 auto;}
  .logo{display:flex; align-items:center; gap:12px; font-family:'Poppins',sans-serif; font-weight:700; font-size:21px; text-decoration:none; color:var(--text-dark);}
  .logo .mark{width:34px; height:34px; border-radius:50%; background: conic-gradient(from 200deg, #22c1b8, #2f6fd6 35%, #6d2f8f 70%, #22c1b8 100%);}
  nav.links{display:flex; gap:22px; font-size:13.5px; font-weight:500; color:var(--text-gray);}
  nav.links a{text-decoration:none;}
  nav.links a.active{color:var(--purple); font-weight:600;}
  .cta{display:inline-flex; align-items:center; gap:8px; background:var(--teal); color:#fff; font-weight:600; font-size:13.5px; padding:10px 20px; border-radius:8px; text-decoration:none;}

  .breadcrumb{font-size:13px; color:var(--text-gray-soft); max-width:1200px; margin:0 auto; padding:20px 32px 0;}
  .breadcrumb a{color:var(--text-gray-soft); text-decoration:none;}
  .breadcrumb a:hover{color:var(--purple);}

  /* ---------- hero ---------- */
  .hero{
    position:relative; overflow:hidden; color:#fff; padding:52px 32px 64px;
    background:
      radial-gradient(ellipse at 15% 20%, rgba(34,193,184,0.28), transparent 55%),
      radial-gradient(ellipse at 85% 25%, rgba(109,47,143,0.36), transparent 55%),
      linear-gradient(160deg, #0c0d15 0%, #14162a 55%, #1a1330 100%);
  }
  .hero-inner{max-width:900px; margin:0 auto; position:relative;}
  .eyebrow{display:inline-block; font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase; color:#bcb6ff; font-weight:600; margin-bottom:20px; border:1px solid rgba(255,255,255,0.25); padding:6px 16px; border-radius:999px;}
  .hero h1{font-size:clamp(26px, 4vw, 40px); color:#fff; line-height:1.22; margin-bottom:18px; max-width:740px;}
  .hero p.lede{font-size:16.5px; color:#cfcbe6; max-width:700px; margin:0 0 8px;}

  /* ---------- layout ---------- */
  .layout{max-width:1200px; margin:0 auto; display:grid; grid-template-columns:240px 1fr; gap:56px; padding:56px 32px 30px;}
  .toc{position:sticky; top:90px; align-self:start; font-size:13.5px;}
  .toc .toc-label{font-size:11.5px; text-transform:uppercase; letter-spacing:0.08em; color:var(--text-gray-soft); font-weight:700; margin-bottom:14px;}
  .toc ol{list-style:none; display:grid; gap:2px; counter-reset:toc;}
  .toc li{counter-increment:toc;}
  .toc a{
    display:flex; gap:10px; text-decoration:none; color:var(--text-gray); padding:8px 10px; border-radius:8px;
    border-left:2px solid transparent; font-weight:500; transition:all .15s;
  }
  .toc a::before{content:counter(toc, decimal-leading-zero); color:var(--purple-light); font-family:'Poppins',sans-serif; font-weight:700; font-size:11.5px; flex:0 0 auto; padding-top:1px;}
  .toc a:hover, .toc a.active{color:var(--text-dark); background:var(--bg-light); border-left-color:var(--purple);}

  .guide-main{min-width:0;}
  section.chapter{padding-bottom:56px; border-bottom:1px solid var(--border); margin-bottom:48px; scroll-margin-top:90px;}
  section.chapter:last-of-type{border-bottom:none;}
  .chapter-kicker{font-size:12px; letter-spacing:0.1em; text-transform:uppercase; font-weight:700; color:var(--purple); margin-bottom:10px;}
  .chapter h2{font-size:clamp(21px,2.5vw,27px); margin-bottom:16px;}
  .guide-main p{font-size:15.5px; color:var(--text-gray); margin-bottom:15px; max-width:740px;}
  .guide-main strong{color:var(--text-dark);}
  .drop{font-family:'Source Serif 4', serif; font-size:18.5px; color:var(--text-dark); line-height:1.7; margin-bottom:18px; max-width:740px;}
  .lead{font-size:16px; color:var(--text-dark); font-weight:500; margin-bottom:18px; max-width:740px;}

  /* compact check list */
  .check-list{list-style:none; display:grid; gap:9px; margin:18px 0 24px; max-width:740px;}
  .check-list.cols-2{grid-template-columns:1fr 1fr; column-gap:22px;}
  .check-list li{font-size:14px; color:var(--text-gray); padding-left:18px; position:relative;}
  .check-list li::before{content:""; position:absolute; left:0; top:8px; width:6px; height:6px; border-radius:50%; background:var(--grad);}
  .check-list li strong{color:var(--text-dark); font-weight:600;}

  /* question list (reused pattern) */
  .q-list{list-style:none; display:grid; gap:10px; margin:20px 0 22px; max-width:740px;}
  .q-list li{
    font-size:14.5px; color:var(--text-dark); font-weight:500; background:var(--bg-light);
    border-radius:10px; padding:13px 16px 13px 38px; position:relative;
  }
  .q-list li::before{
    content:"?"; position:absolute; left:14px; top:13px; width:16px; height:16px; border-radius:50%;
    background:var(--grad); color:#fff; font-size:10px; font-weight:800; display:flex; align-items:center; justify-content:center;
  }

  /* werkwijze step blocks */
  .step-block{display:flex; gap:22px; margin:0 0 34px; max-width:800px;}
  .step-block .step-num{
    flex:0 0 46px; width:46px; height:46px; border-radius:50%; background:var(--bg-light);
    border:1px solid var(--border); display:flex; align-items:center; justify-content:center;
    font-family:'Poppins',sans-serif; font-weight:700; font-size:17px; color:var(--purple);
  }
  .step-block .step-:scope{flex:1; min-width:0;}
  .step-block h3{font-size:17.5px; margin-bottom:8px;}
  .step-block:not(:last-child){padding-bottom:30px; border-bottom:1px solid var(--border);}

  /* generic comparison table */
  .table-scroll{overflow-x:auto; margin:22px 0 26px;}
  table.compare{width:100%; border-collapse:collapse; font-size:13.5px; min-width:600px;}
  table.compare th, table.compare td{text-align:left; padding:11px 14px; border-bottom:1px solid var(--border); vertical-align:top;}
  table.compare th{font-family:'Poppins',sans-serif; font-size:11.5px; text-transform:uppercase; letter-spacing:0.04em; color:var(--text-gray-soft); font-weight:600; background:var(--bg-light);}
  table.compare td.name{font-weight:700; color:var(--text-dark); white-space:nowrap;}
  table.compare tr:last-child td{border-bottom:none;}

  /* callout / highlight box */
  .callout{
    background:linear-gradient(135deg, rgba(44,192,181,0.08), rgba(109,47,143,0.08));
    border:1px solid rgba(148,87,189,0.2); border-radius:12px; padding:20px 24px; margin:22px 0; font-size:14.5px; color:var(--text-gray); max-width:740px;
  }
  .callout strong{color:var(--text-dark);}
  .callout .clabel{display:block; font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.06em; color:var(--purple); margin-bottom:8px;}

  /* pro-con */
  .pro-con{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:22px 0;}
  .pro-con .box{border-radius:12px; padding:20px 22px;}
  .pro-con .box.plus{background:rgba(31,156,147,0.06); border:1px solid rgba(31,156,147,0.18);}
  .pro-con .box.minus{background:rgba(201,90,90,0.06); border:1px solid rgba(201,90,90,0.18);}
  .pro-con .lbl{display:block; font-weight:700; font-size:12.5px; text-transform:uppercase; letter-spacing:0.05em; margin-bottom:10px;}
  .pro-con .box.plus .lbl{color:var(--teal);}
  .pro-con .box.minus .lbl{color:#c05a5a;}
  .pro-con ul{padding-left:18px; display:grid; gap:6px; font-size:13.5px; color:var(--text-gray);}

  /* definition rows */
  .def-box{background:var(--bg-light); border-radius:12px; padding:6px 22px; margin:22px 0; max-width:740px;}
  .def-box .row{display:flex; gap:18px; padding:14px 0; border-bottom:1px solid var(--border);}
  .def-box .row:last-child{border-bottom:none;}
  .def-box .k{flex:0 0 170px; font-weight:600; color:var(--text-dark); font-size:13.5px;}
  .def-box .v{flex:1; font-size:13.5px; color:var(--text-gray);}

  /* step flow */
  .flow{display:grid; grid-template-columns:repeat(4, 1fr); gap:10px; margin:26px 0 4px; counter-reset:flowstep;}
  .flow-step{
    background:var(--bg-white); border:1px solid var(--border); border-radius:12px;
    padding:14px 14px 14px 36px; font-size:12.5px; font-weight:600; position:relative; counter-increment:flowstep;
  }
  .flow-step::before{
    content:counter(flowstep); position:absolute; left:12px; top:14px; width:18px; height:18px; border-radius:50%;
    background:var(--grad); color:#fff; font-size:10.5px; font-weight:800; display:flex; align-items:center; justify-content:center; font-family:'Poppins',sans-serif;
  }

  /* FAQ */
  .faq-item{border-top:1px solid var(--border); padding:20px 0; max-width:740px;}
  .faq-item:last-child{border-bottom:1px solid var(--border);}
  .faq-item h3{font-size:15.5px; margin-bottom:8px;}
  .faq-item p{font-size:14px; margin-bottom:0;}

  /* sources */
  .sources{margin:8px 0 0; font-size:13.5px; color:var(--text-gray); max-width:740px;}
  .sources h4{font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:var(--text-gray-soft); margin-bottom:12px; font-family:'Inter',sans-serif; font-weight:600;}
  .sources ol{padding-left:18px; display:grid; gap:6px;}
  .sources a{word-break:break-word;}
  .disclaimer{font-size:12.5px; color:var(--text-gray-soft); margin-top:18px; max-width:740px;}

  /* keuzewijzer (interactive checklist) */
  .wizard-box{background:var(--bg-light); border:1px solid var(--border); border-radius:16px; padding:30px 32px; margin:24px 0; max-width:820px;}
  .wizard-box h3{font-size:17.5px; margin-bottom:6px;}
  .wizard-intro{font-size:14px; color:var(--text-gray); margin-bottom:22px; max-width:680px;}
  .wizard-q{margin-bottom:22px;}
  .wizard-q label.wizard-q-label{display:block; font-weight:600; font-size:14px; color:var(--text-dark); margin-bottom:10px;}
  .wizard-opts{display:grid; gap:8px;}
  .wizard-opt{
    display:flex; align-items:flex-start; gap:10px; background:var(--bg-white); border:1px solid var(--border);
    border-radius:10px; padding:11px 14px; font-size:13.5px; color:var(--text-gray); cursor:pointer; transition:all .15s;
  }
  .wizard-opt:hover{border-color:var(--purple-light);}
  .wizard-opt input{margin-top:3px; accent-color:var(--purple); flex:0 0 auto;}
  .wizard-opt input:checked ~ span{color:var(--text-dark); font-weight:600;}
  .wizard-opt:has(input:checked){border-color:var(--purple); background:rgba(109,47,143,0.05);}
  #wizard-submit{border:none; cursor:pointer; margin-top:6px;}
  .wizard-result{
    margin-top:26px; padding-top:22px; border-top:1px dashed var(--border);
  }
  .wizard-result .clabel{display:block; font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.06em; color:var(--purple); margin-bottom:8px;}
  .wizard-result h4{font-size:18px; margin-bottom:10px;}
  .wizard-result p{font-size:14px; color:var(--text-gray); max-width:680px;}
  .wizard-result .wizard-note{font-size:12.5px; color:var(--text-gray-soft); margin-top:14px;}
  .wizard-result a.wizard-link{display:inline-block; font-weight:600; color:var(--purple); text-decoration:none; margin-right:18px;}

  /* closing CTA */
  .cta-box{
    background:linear-gradient(160deg, #0c0d15, #1a1330); color:#fff; border-radius:20px; padding:44px 40px; margin:8px 0 20px; text-align:center;
  }
  .cta-box h3{color:#fff; font-size:22px; margin-bottom:12px;}
  .cta-box p{color:#b9b6d2; font-size:14.5px; margin:0 auto 24px; max-width:560px;}

  footer{background:#0c0d15; color:#8b87a8; padding:44px 32px 30px; font-size:13px;}
  .foot-inner{max-width:1200px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;}
  .foot-links{display:flex; gap:24px; flex-wrap:wrap;}
  .foot-links a{text-decoration:none; color:#b9b6d2;}

  @media (max-width: 980px){
    .layout{grid-template-columns:1fr; padding-top:36px;}
    .toc{position:static; display:flex; flex-wrap:wrap; gap:8px; margin-bottom:30px; padding-bottom:20px; border-bottom:1px solid var(--border);}
    .toc ol{display:flex; flex-wrap:wrap; gap:8px;}
    .toc a{border-left:none; border:1px solid var(--border); font-size:12.5px; padding:7px 12px;}
    .toc a::before{display:none;}
    nav.links{display:none;}
    .check-list.cols-2{grid-template-columns:1fr;}
    .step-block{flex-direction:column; gap:12px;}
    .pro-con{grid-template-columns:1fr;}
    .flow{grid-template-columns:1fr 1fr;}
    .def-box .row{flex-direction:column; gap:4px;}
  }

:scope{font-size:16px;} p,li,.hero p.lede,.intro p{font-size:1rem;} label,button,.breadcrumb,.toc a{font-size:.875rem;} .layout>*{min-width:0;} .table-wrap{overflow-x:auto;} :focus-visible{outline:2px solid #6d2f8f;outline-offset:3px;}
}
@media print{.site-header,.site-footer,.site-skip{display:none!important;}}