@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#302b43;--purple:#8170ac;--deep:#645184;--lilac:#eee9f6;--pale:#f8f6fb;--line:#e4deed;--muted:#6e687b;--white:#fff;--green:#5c796c;--radius:20px}*{box-sizing:border-box}body{margin:0;background:#faf9fc;color:var(--ink);font-family:'DM Sans',system-ui,sans-serif;font-size:15px;line-height:1.6}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9e7ecc}a{color:var(--deep)}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}h1,h2,h3{font-family:Manrope,system-ui,sans-serif;line-height:1.2;letter-spacing:-.035em}h1{font-size:clamp(32px,4.3vw,54px);font-weight:700;margin:12px 0 20px;max-width:800px}h1 em{font-style:normal;color:var(--purple)}h2{font-size:25px;margin:5px 0 14px}h3{font-size:18px;margin:4px 0 12px}p{margin:0 0 14px}.wrap{width:min(1200px,calc(100% - 48px));margin:auto}.site-header{background:white;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;gap:32px;min-height:102px}.brand{width:248px;line-height:0;flex-shrink:0}.brand img{width:100%;height:72px;object-fit:contain}.site-header nav{display:flex;gap:24px;margin-left:auto;font-size:13px}.site-header nav a{text-decoration:none}.demo-tag,.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.6px}.demo-tag{background:var(--lilac);border-radius:6px;padding:7px 10px;white-space:nowrap}.skip{position:absolute;left:10px;top:-100px;background:var(--ink);color:white;padding:12px;z-index:5}.skip:focus{top:10px}.hero{padding:48px 0 24px;display:flex;gap:48px;justify-content:space-between;align-items:flex-end}.hero p{max-width:730px;font-size:16px;color:var(--muted)}.eyebrow{color:var(--deep)}.hero-mark{height:114px;width:140px;flex:none;position:relative;opacity:.75}.hero-mark span{position:absolute;width:20px;height:20px;border:2px solid var(--purple);border-radius:50%;background:var(--lilac)}.hero-mark:before,.hero-mark:after{content:'';position:absolute;width:108px;height:65px;border:1px solid #c6b5de;border-radius:50%;transform:rotate(-32deg);left:8px;top:26px}.hero-mark:after{transform:rotate(38deg)}.hero-mark span:nth-child(1){left:6px;top:53px}.hero-mark span:nth-child(2){left:75px;top:8px}.hero-mark span:nth-child(3){left:115px;top:70px}.hero-mark span:nth-child(4){left:55px;top:91px}.context-note{background:#f0edf5;border:1px solid #e1d9eb;border-radius:12px;padding:13px 17px;font-size:12px;color:#655972;margin:0 0 28px}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:24px}.tabs button{border:0;background:none;padding:15px 22px;color:var(--muted);border-bottom:3px solid transparent;font-weight:600}.tabs button[aria-selected=true]{color:var(--deep);border-bottom-color:var(--purple)}.toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px;margin-bottom:24px}.field{display:flex;flex-direction:column;gap:7px}.field label,.field-label{font-size:11px;font-weight:700;color:var(--muted);letter-spacing:.3px}.field select,.field input,.field textarea{border:1px solid #d8d0e2;background:white;padding:10px 12px;border-radius:9px;min-height:44px;max-width:100%}.field textarea{resize:vertical;min-height:80px}.toolbar .field{min-width:180px}.toolbar .field.grow{flex:1;min-width:270px}.button{display:inline-flex;gap:9px;align-items:center;justify-content:center;background:var(--purple);color:white;border:1px solid var(--purple);border-radius:9px;min-height:44px;padding:10px 17px;font-weight:600;font-size:13px;text-decoration:none}.button.secondary{color:var(--deep);background:white;border-color:#d6cee1}.button.quiet{background:transparent;border-color:transparent;color:var(--deep);padding-left:0}.button.danger{background:#fff5f3;border-color:#dabfb9;color:#884d40}.toolbar .button{margin-left:auto}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:14px;padding:19px 22px}.stat strong{display:block;font:700 30px Manrope,system-ui}.stat span{font-size:11px;color:var(--muted)}.stat.muted{background:var(--pale)}.main-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:25px;min-width:0}.card+.card{margin-top:22px}.card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.card-head p,.small{font-size:12px;color:var(--muted)}.segmented{display:flex;padding:4px;background:var(--pale);border:1px solid var(--line);border-radius:9px;gap:3px}.segmented button{border:0;border-radius:6px;padding:6px 12px;font-size:11px;background:transparent;white-space:nowrap}.segmented button.active{background:white;box-shadow:0 1px 4px #302b4317;color:var(--deep)}.diagram-tools{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:13px 0 5px;font-size:12px}.diagram-tools select{border:1px solid var(--line);border-radius:8px;padding:6px;background:#fff}.check{display:inline-flex;align-items:center;gap:7px;font-size:12px}.check input{accent-color:var(--purple)}.graph-scroll{overflow-x:auto;max-width:100%;border-radius:14px;background:radial-gradient(ellipse at center,#fbf9fd,white 68%)}.network{width:100%;min-width:550px;display:block;max-height:660px}.network .edge{fill:none;stroke:#88729f;stroke-width:1.6;opacity:.95}.network .edge.mutual{stroke:#78619f;stroke-width:2.3;opacity:.85}.network .edge.dim{opacity:.09}.network .node circle{fill:#f2edf8;stroke:#b9a7ce;stroke-width:1.4}.network .node.selected circle{fill:#8170ac;stroke:#645184;stroke-width:3}.network .node.selected .initials{fill:#fff}.network .node:focus{outline:none}.network .node:focus circle{stroke:#4b326f;stroke-width:4}.network .node{cursor:pointer}.network .node .initials{font:700 16px Manrope,sans-serif;fill:#645184;text-anchor:middle}.network .node .name{font:500 12px 'DM Sans',sans-serif;fill:#494157;text-anchor:middle}.legend{display:flex;gap:18px;flex-wrap:wrap;font-size:11px;color:var(--muted);padding:14px 0 0;border-top:1px solid var(--line)}.legend span{display:flex;align-items:center;gap:7px}.legend i{width:24px;height:2px;background:#88729f;display:block}.legend i.mutual{height:3px;background:#78619f}.legend i.dot{height:12px;width:12px;border:1px solid #b9a7ce;background:#f2edf8;border-radius:50%}.empty{background:var(--pale);border-radius:12px;padding:28px;text-align:center;color:var(--muted)}.detail-header{display:flex;gap:13px;align-items:center;margin-bottom:20px}.avatar{width:47px;height:47px;border-radius:50%;background:var(--lilac);display:grid;place-items:center;font-weight:700;color:var(--deep);flex:none}.detail-header h3{margin:0}.badge{display:inline-block;background:var(--lilac);border-radius:5px;color:var(--deep);font-size:10px;padding:4px 7px}.badge.gray{background:#f0eef2;color:#706878}.detail-list{list-style:none;margin:0 0 20px;padding:0}.detail-list li{padding:7px 0;border-bottom:1px solid #f0edf4;font-size:13px}.detail-list a{font-size:13px}.callout{border-left:3px solid #b8a6ce;padding:10px 0 10px 14px;color:var(--muted);font-size:12px;margin:16px 0}.reading-list{padding-left:18px;font-size:12px;color:var(--muted)}.reading-list li{padding-bottom:9px}.table-scroll{overflow-x:auto;max-width:100%}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;background:var(--pale);color:#6c627a;font-weight:600;font-size:11px}th,td{padding:13px 12px;border-bottom:1px solid var(--line);vertical-align:top}td:first-child{font-weight:600;white-space:nowrap}td .button{min-height:28px;font-size:11px;padding:4px 8px}.below{margin-top:24px}.inline-note{font-size:12px;color:var(--muted);margin:16px 0 0}.question-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px}.question-card{background:var(--pale);border:1px solid var(--line);border-radius:15px;padding:22px}.question-number{font-size:11px;color:var(--purple);margin-bottom:15px;font-weight:700}.question-card h3{line-height:1.5;font-family:'DM Sans',sans-serif;letter-spacing:0;font-size:16px}.question-card p{font-size:11px;color:var(--muted);margin-top:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .wide{grid-column:1/-1}.editor-question{border:1px solid var(--line);border-radius:13px;padding:18px;margin-bottom:15px}.editor-question .question-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.editor-question .field{margin-bottom:12px}.settings-grid{display:grid;grid-template-columns:1fr 340px;gap:24px}.settings-grid .card{margin:0}.pupil-panel{max-width:820px;margin:34px auto}.pupil-panel h1{font-size:35px}.pupil-question{padding:24px;background:white;border:1px solid var(--line);border-radius:17px;margin-bottom:18px}.pupil-question legend{font-size:17px;font-weight:600;max-width:100%;padding:0 5px}.pupil-question fieldset{border:0;padding:0;margin:0}.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:18px 0}.student-choice{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:9px;padding:10px 11px;font-size:12px;cursor:pointer;line-height:1.4}.student-choice:has(input:checked){background:#eee8f6;border-color:#ab94c7}.student-choice:has(input:disabled){opacity:.45;cursor:not-allowed}.student-choice input,.answer-modes input{accent-color:var(--purple)}.answer-modes{display:flex;flex-direction:column;gap:8px;font-size:12px;background:var(--pale);border-radius:9px;padding:12px 14px}.answer-modes label{display:flex;gap:8px;align-items:center}.pupil-footer{display:flex;gap:18px;align-items:center;justify-content:space-between}.pupil-mode .site-header nav,.pupil-mode .site-footer{display:none}.pupil-mode .header-inner{justify-content:space-between}.pupil-mode .brand{width:215px}.success{text-align:center;padding:50px 25px}.success-mark{margin:0 auto 22px;width:70px;height:70px;display:grid;place-items:center;border-radius:50%;background:var(--lilac);color:var(--deep);font-size:30px}.reset-box{border:1px solid #e4d6d2;background:#fff9f7;padding:15px;border-radius:12px;margin-top:18px}.reset-box p{font-size:12px}.reset-actions{display:flex;gap:10px;flex-wrap:wrap}.site-footer{display:flex;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding:25px 0;margin-top:50px}.feedback{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:10px;padding:12px 20px;box-shadow:0 5px 20px #302b4333;max-width:90%;font-size:13px;z-index:10}.feedback:empty{display:none}.error{color:#944b43;font-size:12px}.compact{margin:0}.selector-list{display:flex;gap:6px;flex-wrap:wrap}.selector-list button{border:1px solid var(--line);background:white;padding:5px 9px;border-radius:20px;font-size:11px}.selector-list button.active{background:var(--lilac);border-color:var(--purple)}
@media(max-width:1000px){.site-header nav{gap:16px}.demo-tag{display:none}.main-grid{grid-template-columns:minmax(0,1fr) 285px}.card{padding:20px}.settings-grid{grid-template-columns:1fr 300px}.hero-mark{display:none}.question-preview{grid-template-columns:1fr}.question-card{padding:18px}.question-card p{margin-top:10px}}
@media(max-width:780px){.wrap{width:calc(100% - 32px)}.header-inner{min-height:82px;gap:15px}.brand{width:200px}.site-header nav{font-size:11px;gap:11px}.site-header nav a:last-child{display:none}.hero{padding:31px 0 12px}.hero p{font-size:14px}.stats{gap:9px}.stat{padding:13px}.stat strong{font-size:24px}.stat span{font-size:10px}.main-grid,.settings-grid{grid-template-columns:1fr}.toolbar .field{flex:1;min-width:calc(50% - 16px)}.toolbar .field.grow{min-width:100%}.toolbar .button{margin-left:0}.tabs button{padding:12px 17px}.settings-grid .card{margin-top:0}.choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer{display:block}.site-footer span{display:block;margin-bottom:5px}.pupil-panel h1{font-size:29px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}}
@media(max-width:430px){.brand{width:170px}.site-header nav a:nth-child(2){display:none}.stats{grid-template-columns:repeat(2,1fr)}.tabs button{flex:1;padding:12px 6px;font-size:12px}.card{padding:17px}.card-head{display:block}.segmented{width:max-content;margin-bottom:12px}.pupil-question{padding:18px}.choice-grid{grid-template-columns:1fr 1fr;gap:6px}.student-choice{padding:9px 7px;font-size:11px}.pupil-footer{align-items:flex-start;flex-direction:column}.hero h1{font-size:33px}.header-inner{gap:12px}.context-note{font-size:11px}.toolbar{gap:12px}.toolbar .field{min-width:100%}.network{min-width:520px}}
/* Keep navigation and controls usable at narrow widths and keyboard focus stable. */
.main-grid{align-items:start}
.graph-scroll,.table-scroll{overscroll-behavior-inline:contain}
#inhoud:focus{outline:none}
.tabs button,.segmented button,.selector-list button{min-height:44px}
.network .node:focus-visible circle{stroke:#4b326f;stroke-width:4}
.pupil-question fieldset[aria-invalid=true]{border-left:3px solid #944b43;padding-left:12px}
#pupil-error:empty{display:none}
#pupil-error:focus{outline:2px solid #944b43;outline-offset:5px}
@media(max-width:780px){
  .header-inner{flex-wrap:wrap;gap:10px;padding-top:14px;padding-bottom:12px}
  .site-header nav{width:100%;margin-left:0;justify-content:flex-start;gap:8px 20px;font-size:13px;flex-wrap:wrap}
  .site-header nav a,.site-header nav a:last-child,.site-header nav a:nth-child(2){display:inline-flex;align-items:center;min-height:40px}
  .toolbar .button{width:100%}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
