:root{color:#102f54;background:#f7fbff;font:16px/1.6 system-ui,sans-serif;--navy:#14385e;--ice:#e1f1ff;--line:#cfe2f3;--muted:#415d77}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}.wrap{width:min(1120px,calc(100% - 36px));margin-inline:auto}a{color:#174f83;text-underline-offset:3px}a:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid #1972b6;outline-offset:3px}.top,.top nav,.catalog-head,.categories{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.top{justify-content:space-between;padding:18px 0}.top nav a,.brand{text-decoration:none;font-weight:650}.brand{display:flex;align-items:center;gap:9px;color:var(--navy)}.brand img{display:block;flex:none;width:48px;height:48px}.hero{background:#dceeff;border-radius:24px;padding:clamp(24px,6vw,65px);display:grid;grid-template-columns:1.3fr .7fr;align-items:center;gap:28px;overflow:hidden}.hero h1{font-size:clamp(2.4rem,7vw,5.25rem);line-height:1.04;letter-spacing:-.06em;margin:0}.hero p{max-width:43ch;font-size:1.12rem;color:#315473;margin:18px 0 24px}.purchase{background:var(--navy);color:white;text-decoration:none;padding:9px 16px;border-radius:8px;display:inline-block;font-weight:650;width:max-content;max-width:100%}.purchase:hover{background:#205888}.math{display:grid;place-items:center;min-height:180px}.sheet{background:#f8fcff;border:1px solid #b9d8f1;border-radius:18px;box-shadow:10px 12px 0 #c1e0f8;transform:rotate(-7deg);width:min(300px,100%);min-height:172px;display:flex;align-items:center;justify-content:center;gap:15px;font-size:clamp(1.7rem,4vw,2.9rem);font-weight:750;background-image:linear-gradient(#dceaf6 1px,transparent 1px),linear-gradient(90deg,#dceaf6 1px,transparent 1px);background-size:18px 18px}.sheet i{font-style:normal}.fraction{display:inline-grid;text-align:center;line-height:1.04}.fraction b:first-child{border-bottom:2px solid;padding:0 6px 5px}.fraction b:last-child{padding-top:5px}.catalog{margin-top:32px}.catalog-head{justify-content:space-between;align-items:end}.categories a{padding:7px 12px;border:1px solid var(--line);border-radius:8px;background:#edf7ff;text-decoration:none;font-weight:650}.search{display:grid;gap:3px;font-size:.88rem;color:var(--muted)}input{font:inherit;font-size:1rem;padding:7px 11px;border:1px solid #a9c5df;border-radius:8px;color:var(--navy);background:white;max-width:100%}.group{margin-top:34px;scroll-margin-top:14px}h2{font-size:clamp(1.43rem,3vw,2rem);line-height:1.2;letter-spacing:-.025em;margin:0}p{margin:0}.muted{margin:5px 0 15px;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}article{display:flex;flex-direction:column;align-items:start;gap:9px;padding:21px;background:white;border:1px solid var(--line);border-radius:14px}article .format{font-size:.875rem;font-weight:700;color:#315c89}article h3{margin:0;font-size:1.17rem;line-height:1.25}article p{color:var(--muted)}article .purchase{margin-top:auto}.all{margin-top:22px;display:inline-block;font-weight:700}.questions{margin:38px 0 22px;padding:24px;background:var(--ice);border-radius:15px}.questions h2{margin-bottom:12px}details{border-top:1px solid #bad5ec;padding:11px 0}details p{margin-top:6px;max-width:75ch}summary{cursor:pointer;font-weight:650}footer{padding:0 0 24px;color:var(--muted);font-size:.9rem}@media(max-width:780px){.hero{grid-template-columns:1fr .65fr}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.hero,.grid{grid-template-columns:1fr}.math{display:none}.top{gap:7px}.categories{gap:6px}.categories a{font-size:.875rem}.hero h1{font-size:2.7rem}}
.group h2{margin-bottom:14px}.cover{display:block;width:100%;aspect-ratio:4/3;background:#eaf4fd;border-radius:10px;overflow:hidden}.cover:hover{outline:2px solid #5b8db9}.cover img{display:block;width:100%;height:100%;object-fit:contain}article{gap:12px}.profile{margin:38px 0 22px;padding:clamp(20px,4vw,36px);background:white;border:1px solid var(--line);border-radius:16px;scroll-margin-top:14px}.profile h2{margin-bottom:12px}.profile p{max-width:76ch;margin-top:8px}.contact address{font-style:normal;font-weight:700;margin:12px 0;overflow-wrap:anywhere}.contact nav{display:flex;flex-wrap:wrap;gap:8px}.contact nav a,.preview-head button{border:1px solid var(--line);background:#edf7ff;color:var(--navy);padding:7px 12px;border-radius:8px;text-decoration:none;font:inherit;font-weight:650}dialog{border:1px solid var(--line);border-radius:16px;width:min(760px,94vw);max-height:92vh;color:var(--navy);padding:16px}dialog::backdrop{background:#102f5499}.preview-head{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:12px}.preview-head h2{font-size:clamp(1rem,3vw,1.35rem)}.preview-head button{cursor:pointer}#cover-image{display:block;width:100%;max-height:70vh;object-fit:contain}
