@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/montserrat-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/montserrat-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/montserrat-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/montserrat-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/montserrat-800.ttf) format('truetype');
}

:root{font-family:"Montserrat","Segoe UI",Arial,sans-serif;color:#202b3d;background:#f7f9fc;font-synthesis:none;line-height:1.6;--blue:#347ff0}*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #f6ae34;outline-offset:4px}[hidden]{display:none!important}.hero{position:relative;color:white;background:linear-gradient(125deg,#1d56db 0%,#3486f4 58%,#7c35ed 100%);overflow:hidden}.topbar{max-width:1120px;margin:auto;display:flex;align-items:center;gap:32px;padding:24px}.logo{display:flex;gap:10px;align-items:center;font-size:20px}.topbar .logo{margin-right:auto}.navlink{font-size:14px;color:#e3edff}.help-top{border:1px solid #ffffff60;border-radius:12px;color:white;background:#ffffff15;width:36px;height:36px}.hero-copy{text-align:center;padding:35px 24px 100px;max-width:920px;margin:auto}.badge{display:inline-block;border-radius:40px;background:#ffffff22;padding:10px 22px;font-weight:600}.hero h1{font-size:clamp(32px,4.7vw,54px);line-height:1.25;letter-spacing:-1.4px;margin:24px 0}.hero p{font-size:19px;color:#e0eaff;max-width:670px;margin:0 auto 27px}.mobile{display:none}.hero-button{display:inline-flex;align-items:center;gap:25px;background:white;color:#2d6edb;padding:12px 23px;border-radius:13px;font-weight:600;box-shadow:0 8px 30px #103e9f22}.wave{position:absolute;bottom:-1px;left:0;width:100%;height:50px}.section{max-width:1080px;margin:auto;padding:42px 24px;scroll-margin-top:15px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px}h2{font-size:28px;line-height:1.3;margin:5px 0 0;letter-spacing:-.5px}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:700;color:#8390a2}.muted{color:#8490a0}.small{font-size:13px}.tools{display:flex;gap:12px;margin-bottom:24px}.search{display:flex;align-items:center;gap:10px;border:1px solid #e0e6ed;background:white;border-radius:13px;padding:9px 15px;flex:1}.search span{font-size:25px;color:#91a0b4}.search input{border:0;min-width:0;width:100%;background:transparent;color:#27374b;outline-offset:8px}.filter,.secondary{border:1px solid #dde4ee;background:white;border-radius:12px;padding:11px 17px;color:#607089}.filter[aria-pressed=true]{color:#2568da;background:#eaf2ff;border-color:#80aefa}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.card{display:flex;align-items:center;gap:20px;background:white;border:1.5px solid #e0e5ed;border-radius:20px;padding:24px;transition:transform .18s,box-shadow .18s,border-color .18s}.card:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 8px 24px #253d6a0a}.icon{width:64px;height:64px;flex-shrink:0;display:grid;place-items:center;font-size:34px;background:color-mix(in srgb,var(--accent) 8%,white);border-radius:17px}.card-title{font-size:18px;font-weight:700;line-height:1.35}.card-sub{color:#7a8594;font-size:14px;margin-top:4px}.card-meta{font-size:11px;color:#8b96a6;margin-top:5px}.arrow{color:var(--accent);margin-left:auto;font-size:24px}.stats{display:grid;grid-template-columns:repeat(3,1fr);border:1.5px solid #e0e5ed;background:white;border-radius:20px;margin-top:32px;padding:26px}.stats div{text-align:center;border-right:1px solid #e3e7ee}.stats div:last-child{border:0}.stats strong{display:block;font-size:30px;line-height:1.4}.stats span{color:#7a8594;font-size:14px}.results{padding-top:0;padding-bottom:60px}.history-empty{padding:22px;border:1px dashed #d6dfed;border-radius:16px;color:#7a879a}.history-row{background:white;border-radius:12px;padding:15px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px;border:1px solid #e3e8f0}.history-row b{color:var(--blue)}footer{border-top:1px solid #e5e9f0;padding:35px 24px 95px;text-align:center;background:white}footer .logo{justify-content:center}footer p{margin:12px 0;color:#8791a0}.floating{position:fixed;right:26px;bottom:24px;border:0;border-radius:32px;padding:15px 25px;color:white;font-weight:600;background:#347ff0;box-shadow:0 8px 25px #347ff044;z-index:5}dialog{border:0;border-radius:24px;padding:36px;max-width:480px;width:calc(100% - 32px);box-shadow:0 30px 100px #10224640;color:#263449}dialog::backdrop{background:#15243e88;backdrop-filter:blur(4px)}.close{position:absolute;right:14px;top:10px;background:none;border:0;font-size:28px;color:#8b96a6}.help-link{display:block;color:#2e78e8;background:#eff5ff;border-radius:12px;padding:14px}.primary{display:inline-block;border:0;border-radius:12px;padding:12px 22px;background:var(--blue);color:white;font-weight:600}.detail-top{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:28px}.detail-top a:last-child{margin-left:auto;color:#347ff0;font-size:14px}.detail-title{display:flex;align-items:center;gap:20px;margin-bottom:28px}.detail-title h1{font-size:32px;margin:0;line-height:1.3}.tabs{display:flex;border-bottom:1px solid #dce4ee;gap:20px;margin-bottom:25px}.tab{border:0;border-bottom:3px solid transparent;background:none;padding:12px 5px;color:#8190a3}.tab.active{color:#2e76e6;border-color:#2e76e6}.article,.quiz-box{background:white;border:1px solid #e1e7ef;border-radius:20px;padding:32px;max-width:850px;margin:auto}.article p{margin:0 0 15px;white-space:pre-wrap;overflow-wrap:anywhere}.article h3{margin:28px 0 15px;color:#2c5794;font-size:20px}.article .lead{font-size:18px;line-height:1.8}.article details{border-bottom:1px solid #e5eaf2;padding:15px 0}.article summary{font-weight:600;cursor:pointer;color:#2e76e6}.article details p{margin-top:15px}.progress{height:6px;border-radius:10px;background:#eaf0f9;margin:17px 0 25px;overflow:hidden}.progress span{display:block;height:100%;background:#3a83ef}.quiz-box h3{font-size:21px;line-height:1.6}.options{display:grid;gap:12px;margin:24px 0}.option{display:flex;gap:14px;align-items:center;border:1.5px solid #e1e7ef;background:white;text-align:left;padding:15px;border-radius:12px;color:#33445c}.option span{display:grid;place-items:center;background:#f0f4fa;border-radius:7px;min-width:30px;height:30px}.option.selected{border-color:#3984ed;background:#eff5ff}.option.correct{border-color:#20ac7b;background:#edfbf5}.option.wrong{border-color:#e36a73;background:#fff1f1}.option:disabled{cursor:default;color:#33445c}.quiz-actions{display:flex;gap:12px;flex-wrap:wrap}.feedback{padding:14px;border-radius:10px;background:#f0f5ff;margin-bottom:20px}.score{font-size:60px;color:var(--blue);font-weight:700}.review{border-top:1px solid #e3e9f1;padding:18px 0}.review p{margin:6px 0}.skip{position:fixed;top:-100px;background:white;padding:10px;z-index:20}.skip:focus{top:0}@media(max-width:650px){.topbar{padding:18px 22px}.navlink{display:none}.hero-copy{padding:20px 22px 85px}.hero h1{font-size:34px;line-height:1.35;letter-spacing:-.8px;margin:25px 0 20px}.hero h1 br{display:none}.hero p{font-size:17px;line-height:1.65}.mobile{display:initial}.hero-button{font-size:14px}.badge{font-size:15px}.section{padding:28px 17px}.cards{grid-template-columns:1fr;gap:14px}.card{padding:21px;gap:17px;border-radius:19px}.card-title{font-size:17px}.card-sub{font-size:14px}.icon{width:58px;height:58px;font-size:32px}.eyebrow{font-size:10px}h2{font-size:24px}.tools{flex-direction:column}.filter{align-self:flex-start;font-size:12px;padding:7px 12px}.stats{padding:24px 12px}.stats strong{font-size:27px}.stats span{font-size:12px}.section-heading .muted{font-size:12px}.floating{right:16px;bottom:16px;font-size:14px;padding:13px 20px}.article,.quiz-box{padding:22px 18px;border-radius:16px}.detail-title h1{font-size:25px}.detail-top a:last-child{margin-left:0}.detail-title{gap:14px}.tabs{gap:12px}.tab{font-size:14px}.history-row{font-size:14px}.results{padding-bottom:40px}dialog{padding:30px 23px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:650px){.hero h1{font-size:clamp(26px,7.6vw,34px);overflow-wrap:break-word}.hero h1 br{display:block}}

.icon{background:#347ff0;color:#fff}.icon svg{width:34px;height:34px}.brand-icon{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#347ff0;color:#fff;vertical-align:middle}.brand-icon svg{width:24px;height:24px}.badge{display:inline-flex;align-items:center;gap:10px}.badge .brand-icon{background:transparent;width:26px;height:26px}.floating{display:flex;align-items:center;gap:10px}.floating svg{width:22px;height:22px;flex-shrink:0}#detail{min-height:100vh}

#qr-dialog{text-align:center}#qr-dialog h2{margin-top:10px}#qr-dialog p{color:#718096;font-size:14px}.site-qr{display:block;width:100%;max-width:348px;height:auto;margin:10px auto}.qr-url{display:block;color:#2868e8;font-weight:700;margin:0 0 24px;font-size:20px}

.help-top{display:grid;place-items:center;background:#347ff0;border-color:#ffffff60;color:#fff}.help-top svg{width:23px;height:23px}

.logo{font-size:17px}.logo strong{letter-spacing:.2px}.chat-dialog{position:fixed;inset:auto 24px 88px auto;margin:0;width:390px;max-width:calc(100vw - 32px);padding:0;border-radius:20px;overflow:hidden;text-align:left}.chat-dialog::backdrop{background:#15243e30;backdrop-filter:none}.chat-header{display:flex;align-items:center;gap:12px;background:#347ff0;color:white;padding:20px 46px 20px 20px;position:relative}.chat-header h2{font-size:17px;letter-spacing:0;margin:0}.chat-status{font-size:11px;color:#e3edff}.chat-header .close{color:white;top:14px;right:13px}.chat-avatar{display:grid;place-items:center;background:#ffffff22;border-radius:12px;width:40px;height:40px;flex-shrink:0}.chat-avatar svg{width:24px;height:24px}.chat-body{background:#f3f6fb;min-height:280px;padding:24px 18px;display:flex;flex-direction:column;align-items:flex-start;gap:20px}.chat-message{background:white;border:1px solid #e6ecf5;border-radius:4px 16px 16px 16px;padding:17px;max-width:96%;font-size:13px;line-height:1.7;box-shadow:0 3px 12px #1b365d05}.chat-message p{margin:0 0 12px}.chat-message-label{font-size:10px;color:#8997aa}.chat-development{align-self:center;border-radius:20px;background:#e5edf9;color:#6881a3;padding:5px 12px;font-size:11px}.chat-compose{display:flex;align-items:center;gap:10px;padding:15px;background:white;border-top:1px solid #e5ebf3}.chat-compose input{width:100%;min-width:0;border:0;background:#f3f6fb;color:#8a96a7;border-radius:10px;padding:12px;font-size:12px}.chat-compose button{display:grid;place-items:center;border:0;background:#e6edf8;color:#97adcc;border-radius:10px;width:40px;height:40px;flex-shrink:0;cursor:default}.chat-compose svg{width:22px;height:22px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:650px){.topbar{gap:12px}.topbar .logo{font-size:14px;gap:8px}.topbar .brand-icon{width:30px;height:30px;flex-shrink:0}.help-top{flex-shrink:0}.chat-dialog{right:16px;bottom:80px;max-height:calc(100dvh - 105px)}.chat-body{min-height:220px;max-height:calc(100dvh - 280px);overflow:auto}}
