@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-light); line-height:1.6; -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;}
  .navcta{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:1040px; margin:0 auto; padding:20px 24px 0; background:var(--bg-white);}
  .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:44px 24px 54px;
    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:1040px; 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:18px; border:1px solid rgba(255,255,255,0.25); padding:6px 16px; border-radius:999px;}
  .hero h1{font-size:clamp(24px, 3.6vw, 34px); color:#fff; line-height:1.24; margin-bottom:14px; max-width:760px;}
  .hero p.lede{font-size:15.5px; color:#cfcbe6; max-width:720px; margin:0;}

  .guide-main{max-width:1040px; margin:auto; padding:28px 24px 80px;}
  .intro,.card,.result{background:var(--bg-white); border:1px solid var(--border); border-radius:14px; padding:26px 28px; margin-bottom:18px; box-shadow:0 2px 15px rgba(23,60,74,0.04);}
  .intro p{line-height:1.6; font-size:14.5px; color:var(--text-gray);}
  .intro p strong{color:var(--text-dark);}
  .grid{display:grid; grid-template-columns:repeat(2,1fr); gap:18px;}
  .field{margin:12px 0;}
  label{display:block; font-weight:600; font-family:'Inter',sans-serif; font-size:13.5px; color:var(--text-dark); margin-bottom:8px;}
  select,input,textarea{width:100%; border:1px solid var(--border); border-radius:8px; padding:11px 12px; font:inherit; font-size:14px; color:var(--text-dark); background:#fff;}
  select:focus,input:focus,textarea:focus{outline:none; border-color:var(--purple-light);}
  select:invalid{color:var(--text-gray-soft);}
  textarea{min-height:80px; resize:vertical;}
  h2{margin:0 0 18px; font-size:1.2rem; border-bottom:2px solid var(--bg-light); padding-bottom:9px;}
  h3{margin:18px 0 8px; font-size:1rem;}
  p,li{line-height:1.5; font-size:14.5px; color:var(--text-gray);}
  .hint{font-size:.87rem; color:var(--text-gray-soft); margin:4px 0 0;}
  .actions{display:flex; gap:10px; flex-wrap:wrap; margin:20px 0 4px;}
  button{border:0; border-radius:8px; padding:13px 22px; font-weight:600; font-family:'Inter',sans-serif; font-size:13.5px; cursor:pointer; background:var(--teal); color:#fff; transition:background .15s;}
  button:hover{background:#188178;}
  button.secondary{background:var(--bg-light); color:var(--text-dark); border:1px solid var(--border);}
  button.secondary:hover{background:#eceef2;}
  .result{border-left:4px solid var(--purple);}
  .hidden{display:none;}
  .badge{display:inline-block; background:rgba(109,47,143,0.08); color:var(--purple); border-radius:30px; padding:5px 13px; font-size:.85rem; font-weight:600;}
  .rank{display:grid; grid-template-columns:1fr 70px; gap:10px; border-bottom:1px solid var(--border); padding:12px 0; font-size:14px;}
  .rank span:last-child{text-align:right; font-weight:700; color:var(--text-dark); font-family:'Poppins',sans-serif;}
  .note{background:rgba(44,192,181,0.08); border:1px solid rgba(31,156,147,0.18); padding:14px 16px; border-radius:10px; font-size:14px;}
  .note strong{color:var(--text-dark);}
  .printonly{display:none;}
  .result h2{border-bottom:2px solid var(--border);}
  .result ul{padding-left:18px; display:grid; gap:5px; margin:10px 0 16px;}
  .result a{font-weight:600;}
  .readmore{margin-top:6px; font-size:13.5px;}
  .readmore a{margin-right:16px; text-decoration:none; font-weight:600;}

  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:700px){ .grid{grid-template-columns:1fr;} nav.links{display:none;} }
  @media print{
    :scope{background:white;}
    header,.breadcrumb,.hero,.demo-flag,footer{display:none;}
    .guide-main{padding:0; max-width:100%;}
    .intro,.card,.actions{display:none;}
    .result{box-shadow:none; border:0; padding:0;}
    .printonly{display:block; font-size:12px; color:#555; margin-bottom:10px;}
    .badge{border:1px solid #999; background:none;}
  }

  .choice-best{padding:24px;background:linear-gradient(125deg,#eef8f6,#f6f0fa);border:1px solid #dce9e6;border-radius:12px;margin-bottom:24px;}
  .choice-best h2{font-size:clamp(1.3rem,3vw,1.85rem);border:0;padding:0;margin:16px 0 12px;line-height:1.25;}
  .choice-best p{margin-top:10px;}
  .choice-margin{font-size:.875rem;color:#505366;}
  .choice-ranking{margin:12px 0;}
  .rank{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:16px 12px;}
  .rank-best{background:#eff8f6;border-radius:8px;border-bottom-color:transparent;}
  .rank strong{white-space:nowrap;color:#153e3b;font-size:1.1rem;}
  .rank strong span{font-size:.8rem;font-weight:400;}
  .choice-details{margin-top:24px;border-top:1px solid var(--border);padding-top:16px;}
  .choice-details summary,.choice-project summary{cursor:pointer;font-weight:600;color:var(--text-dark);}
  .choice-project summary{margin-bottom:12px;}
  .choice-project summary span{font-weight:400;font-size:.875rem;}
  .choice-contact{display:inline-flex;align-items:center;padding:12px 4px;}
  @media(max-width:700px){.choice-best{padding:18px;}.rank{padding:14px 8px;gap:12px;}}
  @media print{.choice-best{padding:0;border:0;background:white;} .choice-details::details-content{display:block;} .choice-details>ul{display:grid!important;}}
.choice-refinement{margin-top:24px;}.choice-refinement>.grid{margin-top:18px;}
.choice-wizard{max-width:860px;margin:30px auto 48px;padding:clamp(24px,4vw,52px);background:#f3f6f5;border:1px solid #dbe5e1;border-radius:14px;box-shadow:0 14px 45px #142b2410;scroll-margin-top:110px}
.choice-wizard[hidden],#form[hidden]{display:none!important}
.choice-wizard .cw-top{display:flex;justify-content:space-between;gap:16px;align-items:center;font-size:12px;color:#176c5a;letter-spacing:.03em}
.choice-wizard .cw-count{text-align:right;color:#536863;white-space:nowrap}
.choice-wizard .cw-track{height:3px;background:#dce5e1;margin:20px 0 36px;border-radius:3px;overflow:hidden}
.choice-wizard .cw-track span{height:100%;display:block;background:#178779}
.choice-wizard h2{font-size:clamp(25px,3vw,36px);line-height:1.2;margin:0 0 16px;max-width:650px;letter-spacing:-.025em}
.choice-wizard h2:focus{outline:none}
.choice-wizard .cw-hint{font-size:14px;line-height:1.65;color:#526461;margin:0 0 28px;max-width:620px}
.choice-wizard .cw-options{display:grid;gap:12px}
.choice-wizard button.cw-option{display:block;width:100%;padding:18px 22px;border:1px solid #d5e0db;border-radius:7px;background:#fff;color:#17362f;text-align:left;font:inherit;line-height:1.5;cursor:pointer;box-shadow:none}
.choice-wizard button.cw-option[aria-pressed=true]{border-color:#178779;background:#e5efeb}
@media(hover:hover){.choice-wizard button.cw-option:hover{border-color:#178779;background:#e5efeb}}
.choice-wizard button:focus-visible,.choice-wizard input:focus-visible,.choice-wizard textarea:focus-visible{outline:3px solid #178779;outline-offset:3px}
.choice-wizard .cw-nav{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:32px;border-top:1px solid #dbe5e1;padding-top:20px}
.choice-wizard button.secondary{background:transparent;color:#28584c;border:1px solid #b6cbc3;border-radius:6px;padding:12px 16px;cursor:pointer}
.choice-wizard .cw-nav button{border:0;padding:8px 0;font-size:13px}
.choice-wizard button:disabled{opacity:.35;cursor:default}
.choice-wizard .cw-end{display:flex;flex-wrap:wrap;gap:14px}
.choice-wizard input,.choice-wizard textarea{width:100%;box-sizing:border-box;padding:16px;border:1px solid #b6cbc3;border-radius:6px;font:inherit;background:white;color:#17362f}
.choice-wizard textarea{min-height:140px;resize:vertical}
@media(max-width:600px){.choice-wizard{padding:24px 18px;margin:22px 0 32px}.choice-wizard .cw-top{font-size:11px;gap:8px}.choice-wizard .cw-track{margin-bottom:26px}.choice-wizard button.cw-option{padding:15px 16px}.choice-wizard .cw-end{display:grid}.choice-wizard .cw-nav{gap:10px}.choice-wizard .cw-nav button{font-size:12px}}

.choice-wizard .cw-next{display:block;margin:24px 0 0 auto;min-width:130px;padding:14px 24px;border:0;border-radius:6px;background:#176c5a;color:#fff;font:inherit;cursor:pointer}
.choice-wizard .cw-skip[aria-pressed=true]{border-color:#178779;background:#e5efeb}

#result{scroll-margin-top:110px}
/* Resultaat: matches, verdieping en bewaren hebben ieder een eigen plek. */
#result .choice-result-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 16px}
#result .choice-result-head h2{margin:0;font-size:clamp(28px,4vw,40px);line-height:1.2}
#result .choice-eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#176c5a;margin:0 0 12px}
#result .choice-result-intro{max-width:700px;margin-bottom:28px;color:#526461}
#result .choice-top-matches{display:grid;grid-template-columns:1fr 1fr;gap:18px}
#result .choice-model{padding:24px;border:1px solid #dce4e1;border-radius:8px;background:#fff;margin:0;min-width:0}
#result .choice-top-matches>.choice-model:first-child{grid-column:1/-1;padding:30px;background:#f0f5f3;border-color:#afc8be}
#result .choice-model h3{font-size:23px;line-height:1.3;margin:8px 0 16px}
#result .choice-top-matches>.choice-model:first-child h3{font-size:29px}
#result .choice-model p{font-size:14px;line-height:1.65;margin:12px 0}
#result .choice-model .badge{display:inline-block;font-size:11px;background:none;border:0;padding:0;color:#64756f;margin:4px 0;text-transform:uppercase;letter-spacing:.06em}
#result .choice-match-label{display:flex;align-items:center;gap:10px;font-weight:600;color:#176c5a}
#result .choice-match-number{display:inline-grid;place-items:center;width:28px;height:28px;background:#e9efec;border-radius:50%;font-size:13px}
#result .choice-model-best .choice-match-number{background:#176c5a;color:#fff}
#result .choice-tie{color:#526461;font-size:13px}
#result .choice-refinement-effects{border-top:1px solid #dce4e1;padding:14px 0;margin:16px 0;font-size:13px}
#result summary{cursor:pointer;font-weight:600;line-height:1.5}
#result .choice-refinement-effects li{margin:10px 0}
#result .choice-compare{margin:20px 0 32px}
#result .choice-depth{border-top:1px solid #dce4e1;padding:24px 0;display:flex;gap:24px;align-items:center;justify-content:space-between}
#result .choice-refinement-summary{margin:0;max-width:700px;background:none;padding:0;border:0}
#result .choice-refinement-summary h3{font-size:17px;margin:0 0 10px}
#result .choice-refinement-summary p{margin:0;font-size:14px}
#result #refine-result{flex-shrink:0;background:white;color:#176c5a;border:1px solid #afc8be;padding:12px 16px;border-radius:5px}
#result .choice-notes{padding:24px 0;border-top:1px solid #dce4e1}
#result .choice-notes h3{font-size:21px;margin:0 0 16px}
#result .choice-notes ul{padding-left:20px;margin:0}
#result .choice-notes li{margin:10px 0;line-height:1.65;font-size:14px}
#result .choice-background{border-top:1px solid #dce4e1;margin-bottom:32px}
#result .choice-details{border:0;border-bottom:1px solid #dce4e1;border-radius:0;background:none;padding:18px 0;margin:0}
#result .choice-details summary{font-size:14px}
#result .choice-details .choice-model{margin-top:16px}
#result .choice-save{display:grid;grid-template-columns:1fr auto;gap:12px 24px;align-items:center;background:#f3f2f6;border-radius:8px;padding:28px}
#result .choice-save h3{margin:0 0 8px;font-size:23px}
#result .choice-save p{font-size:14px;margin:0 0 12px}
#result .choice-save .actions{margin:0}
#result #download-choice-pdf{background:#176c5a;color:#fff;border:0;border-radius:5px;padding:15px 20px;cursor:pointer}
#result #pdf-status{grid-column:1/-1;margin:0}
#result #pdf-status:empty{display:none}
#result .choice-text-action{font:inherit;font-size:13px;color:#426359;background:none;border:0;border-bottom:1px solid #bccbc5;border-radius:0;padding:3px 0;cursor:pointer;box-shadow:none}
#result .choice-text-action:hover{color:#176c5a;border-color:currentColor}
#result .choice-result-footer{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:24px 0 0;padding:0;background:none;color:inherit;font-size:14px}
#result button:focus-visible,#result summary:focus-visible{outline:3px solid #178779;outline-offset:4px}
@media(max-width:650px){#result .choice-result-head{align-items:flex-start;flex-direction:column;gap:12px}#result .choice-top-matches{grid-template-columns:1fr}#result .choice-top-matches>.choice-model:first-child,#result .choice-model{padding:22px}#result .choice-depth{align-items:flex-start;flex-direction:column;gap:16px}#result .choice-save{grid-template-columns:1fr;padding:22px}#result .choice-save .actions,#result #download-choice-pdf{width:100%}#result .choice-result-footer{align-items:flex-start;flex-direction:column;gap:20px}}
#result .choice-match-number{color:#28584c}
#result .choice-model-best .choice-match-number{color:#fff}
#result .choice-top-matches>.choice-model:nth-child(2):last-child{grid-column:1/-1}

: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;}}