@font-face{font-family:PortfolioSans;src:url('assets/fonts/NimbusSans-Regular.woff2?v=site58-20261105-r5') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:PortfolioSans;src:url('assets/fonts/NimbusSans-Bold.woff2?v=site58-20261105-r5') format('woff2');font-weight:700;font-display:swap}@font-face{font-family:PortfolioSerif;src:url('assets/fonts/DejaVuSerif.woff?v=site58-20261105-r5') format('woff');font-display:swap}@font-face{font-family:PortfolioSerif;src:url('assets/fonts/DejaVuSerif-Bold.woff?v=site58-20261105-r5') format('woff');font-weight:700;font-display:swap}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font:12px/1.5 PortfolioSans,Arial,sans-serif}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.12;font-family:var(--heading),sans-serif}h1{font-size:38px}h2{font-size:27px}h3{font-size:17px}p{margin:9px 0}a{color:inherit}.container{width:92%;max-width:1180px;margin:0 auto}.site-header{height:50px;border-bottom:1px solid var(--line)}.header-row{height:100%;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:inline-flex;gap:7px;align-items:center;text-decoration:none;font-weight:700;font-size:18px;white-space:nowrap}.brand img{height:30px;object-fit:contain}.header-row nav{display:flex;align-items:center;justify-content:space-between;width:56%;gap:16px}.header-row nav a{font-size:10px;text-decoration:none}.hero{background:var(--soft) url('assets/home-art.webp?v=site58-20261105-r5') center/cover no-repeat;padding:24px 0;min-height:192px;position:relative}.hero .container{position:relative;z-index:1}.hero h1{max-width:64%}.hero p{font-size:18px;line-height:1.25;max-width:54%;margin:8px 0}.hero.feature-hero{background-image:url('assets/feature-art.webp?v=site58-20261105-r5');min-height:226px}.hero.feature-hero h1{max-width:48%}.hero.feature-hero p{max-width:43%;font-size:16px}.panel{border:1px solid var(--line);border-radius:4px;padding:16px;background:var(--soft)}.tool{margin-top:15px}.panel h2{margin:0 0 12px}.split{display:grid;grid-template-columns:1.45fr 1fr;gap:20px}.two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.row{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.row>*{flex:1}.row .wide{flex:1.6}label{display:block;font-weight:700;font-size:11px;margin:9px 0 4px}input,select,textarea{display:block;width:100%;border:1px solid var(--line);border-radius:3px;background:#fff;padding:9px 11px;font:inherit;color:var(--ink);min-width:0}textarea{resize:vertical;line-height:1.65;min-height:130px}button,.button{display:inline-flex;justify-content:center;align-items:center;gap:6px;cursor:pointer;min-height:35px;padding:8px 14px;border:1px solid var(--accent);border-radius:3px;background:var(--accent);color:var(--button);font:700 11px/1.25 PortfolioSans,sans-serif;text-decoration:none;text-align:center}button.secondary,.button.secondary{background:#fff;color:var(--ink)}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #ae5fff;outline-offset:3px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.actions>*{flex:1}.status{font-size:11px;min-height:18px;margin:7px 0}.status.error{color:#a82222}.result{background:#eef8fc;border-radius:4px;padding:15px}.result strong{font-size:24px}.result hr{border:0;border-top:1px solid var(--line);margin:12px 0}.small{font-size:10px}.muted{opacity:.8}.table-wrap{max-width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:11px;background:white}th,td{padding:9px 6px;border:1px solid var(--line);text-align:left;white-space:normal;overflow-wrap:anywhere}th{background:#dff1fc}.how{margin-top:14px}.how h2,.tips h2{margin-bottom:16px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.steps article{display:grid;grid-template-columns:38px 1fr;gap:8px}.steps article+article{border-left:1px solid var(--line);padding-left:12px}.step-no{display:grid;place-items:center;width:34px;height:34px;background:#c3e9fe;border-radius:50%;font-size:20px;font-weight:700;color:var(--ink)}.steps h3{font-size:13px;margin:4px 0}.steps p{font-size:11px;line-height:1.35}.example{background:var(--soft);padding:16px 20px;margin:17px 0 0;border:1px solid var(--line);border-radius:4px;display:flex;align-items:center;gap:30px}.example strong{font-size:14px}.example p{margin:0}.faq{margin-top:15px}.faq h2{margin-bottom:10px}.faq details{border:1px solid var(--line);background:#fff;border-radius:3px;margin:5px 0;padding:6px 9px}.faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px;font-weight:700}.faq summary:after{content:'⌄';font-size:16px;color:var(--accent)}.faq details[open] summary:after{content:'−'}.faq details p{font-size:11px;line-height:1.55}.ad-gap{height:130px;background:white}.teaser{min-height:210px;background:var(--soft) url('assets/feature-art.webp?v=site58-20261105-r5') center/cover;border-radius:3px;padding:26px 42px}.teaser h2{font-size:29px;max-width:60%}.teaser p{max-width:50%;font-size:13px;line-height:1.35;margin:12px 0 18px}.eyebrow{font-size:9px;font-weight:700;margin:0 0 12px}.guide{display:grid;grid-template-columns:25% 37% 38%;padding:15px 20px;background:var(--soft);border:1px solid var(--line);border-radius:4px;min-height:220px}.guide figure{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;perspective:700px}.book{position:relative;transform:rotate(-4deg) rotateY(-13deg);width:130px;height:175px;padding:16px 11px;background:var(--book);box-shadow:-5px 3px 0 #a7a9a7,-9px 4px 0 #eee,1px 5px 10px #0002;border:1px solid #aaa3;display:flex;flex-direction:column;justify-content:space-between;color:var(--ink)}.book .book-brand{font-size:8px;font-weight:700}.book strong{font:700 17px/1.05 var(--heading);display:block}.book strong small{display:block;font-size:12px;line-height:1.12;margin-top:5px}.book img{width:80px;height:38px;object-fit:contain}.guide figcaption{font-size:10px;margin-top:10px}.guide-copy{padding:5px 15px}.guide-copy h2{font-size:23px}.guide-copy ul{list-style:none;padding:0;margin:13px 0 0}.guide-copy li{font-size:10px;display:flex;align-items:center;gap:8px;margin:8px 0}.guide-copy b{display:grid;place-items:center;color:#fff;background:var(--accent);width:14px;height:14px;border-radius:50%;flex:none}.guide form{border-left:1px solid var(--line);padding-left:15px}.guide form label{font-size:9px;font-weight:400;margin:0 0 6px}.guide input{padding:5px 8px;font-size:10px;margin-top:2px}.guide form button{width:100%;margin:3px 0 8px}.guide small{font-size:8px;line-height:1.5}.guide .availability{font-size:9px;margin:6px 0 0;color:var(--ink)}.site-footer{margin-top:48px;padding:15px 0;border-top:1px solid var(--line);min-height:80px}.footer-row{display:flex;align-items:start;justify-content:space-between;gap:20px}.footer-row .brand{font-size:16px}.footer-row .brand img{height:27px}.footer-row small{font-size:9px;display:block;margin-top:7px}.footer-row nav{display:flex;gap:17px;align-items:center;margin-top:9px}.footer-row nav a{text-decoration:none;font-size:9px}.support{font-weight:400;background:none;border:none;color:inherit;font-size:8px;padding:6px 0;margin-top:1px;min-height:30px}.heart{width:20px;height:20px;display:block;background:#ffa000;mask-image:url('assets/heart-mask.png?v=site58-20261105-r5');mask-repeat:no-repeat;mask-size:contain;mask-mode:luminance}.formats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0}.formats button{background:#fff;color:var(--ink);border-color:var(--line);display:flex;flex-direction:column;align-items:start;padding:10px 12px}.formats button[aria-pressed=true]{background:var(--soft);border-color:var(--accent)}.formats small{font-size:9px;font-weight:400;display:block;margin-top:4px}.sharing{margin-top:0;background:#fff}.sharing h2{margin-bottom:5px}.share-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:25px;align-items:start}.share-preview{width:100%;height:auto;display:block;border:1px solid var(--line)}.share-controls button{width:100%;margin:4px 0}.share-controls label{margin-top:0}.share-controls p{font-size:11px}.download-results:empty{display:none}.download-results{padding-top:8px;display:grid;gap:6px;overflow-wrap:anywhere}.download-results a{display:block;padding:8px;background:var(--soft);border:1px solid var(--line)}.tips{margin-top:16px;padding:16px;background:var(--soft)}.tips .steps article{display:block}.tips .steps h3{font-size:13px}.tips .steps p{font-size:11px}.support-page{min-height:65vh;padding:45px 0;font-size:16px}.support-page p{max-width:760px}dialog{max-width:480px;border:1px solid var(--line);border-radius:8px;padding:25px;color:var(--ink)}.hidden,[hidden]{display:none!important}.check{display:flex;align-items:center;gap:9px;font-weight:400;margin:14px 0}.check input{width:14px;height:14px;accent-color:var(--accent)}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.overlay-note{position:absolute;left:68%;top:60px;transform:rotate(-7deg);font-size:14px;font-weight:700;line-height:1.25}.screen-table{position:absolute;left:58%;top:14px;width:29%;height:170px;background:#fff;padding:8px;transform:rotate(1deg);font-size:8px;overflow:hidden;box-shadow:0 0 2px #0005}.screen-table table{font-size:7px}.screen-table td,.screen-table th{padding:3px}.screen-table strong{display:block;font-size:9px;margin-bottom:3px}.output-note{font-size:10px;margin:5px 0}canvas{max-width:100%}.toggle-group{display:flex;margin-bottom:12px}.toggle-group button{flex:1;border-radius:3px}.toggle-group button[aria-pressed=false]{background:white;color:#00699f}.duration-visual{margin-top:15px;min-height:150px;background:var(--soft);padding:16px;border-radius:4px}.duration-visual h3{text-align:center;font-size:13px}.scale-labels{display:flex;justify-content:space-between;font-size:9px}.scale-line{height:17px;border-bottom:1px solid #0075aa;margin-bottom:14px;position:relative;background:repeating-linear-gradient(90deg,#0075aa 0 1px,transparent 1px 8.33%) bottom/100% 6px no-repeat}.scale-dot{position:absolute;bottom:-4px;width:8px;height:8px;background:#ffa000;border-radius:50%;transform:translateX(-50%)}.scale-join{position:absolute;top:3px;left:50%;height:54px;border-left:2px solid #ffa000}.main-note{font-size:9px;margin-top:10px}.mono{font-family:ui-monospace,monospace}.readable{white-space:pre-wrap;overflow-wrap:anywhere}.selected-cell{outline:3px solid var(--accent);outline-offset:-3px}.cell-button{width:100%;background:transparent;color:var(--ink);border:0;padding:8px;min-height:0;font-size:14px}.polynomial{font-size:18px;font-weight:700}.division th,.division td{text-align:center;font-size:15px}.division td{padding:3px}.division th:first-child{width:20%}.text-hero h1{font-size:43px;max-width:51%}.text-hero p{max-width:48%}.paper-labels{position:absolute;top:25px;right:13%;width:29%;display:flex;gap:10px;flex-direction:column;transform:rotate(-7deg);font:11px/1.3 PortfolioSans,sans-serif;align-items:center}.paper-labels span{background:#e1c3f6;padding:8px 11px;box-shadow:1px 2px 3px #0002}.paper-labels span:last-child{background:#bbf2d9;transform:rotate(3deg);margin-top:6px}.before-after{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:4px;min-height:260px;position:relative;overflow:hidden}.before-after>div{padding:18px;background:#fffaf1;white-space:pre-wrap;overflow-wrap:anywhere}.before-after>div:last-child{background:#effbf4;border-left:2px solid var(--ink)}.before-after strong{display:block;font-size:10px;margin-bottom:18px}.before-after p{font-size:12px;line-height:1.45}.before-after small{font-size:10px;position:absolute;bottom:15px;max-width:45%}.stats-row{display:flex;gap:10px;flex-wrap:wrap;background:var(--soft);padding:10px 15px;margin-top:15px;font-weight:700;justify-content:space-between}.input-review{min-height:0}.review-option{display:flex;gap:8px;align-items:center;font-size:11px}.review-option select{width:110px;padding:4px}.manual-edit{min-height:140px}.no-wrap{white-space:nowrap}
@media(min-width:1000px){body{font-size:15px}.site-header{height:65px}.header-row nav a{font-size:13px}.brand{font-size:24px}.hero{min-height:250px;padding:34px 0}.hero h1{font-size:52px}.hero p{font-size:23px}.hero.feature-hero{min-height:295px}.hero.feature-hero p{font-size:20px}.panel{padding:23px}h2{font-size:34px}label{font-size:13px}button,.button{font-size:13px;min-height:42px}input,select,textarea{font-size:15px}table{font-size:14px}.guide{padding:22px 28px;min-height:290px}.guide-copy h2{font-size:29px}.guide-copy li{font-size:13px}.guide form label{font-size:11px}.guide input{font-size:13px}.book{width:164px;height:220px}.book strong{font-size:22px}.book strong small{font-size:16px}.book .book-brand{font-size:11px}.book img{width:105px;height:50px}.guide figcaption{font-size:12px}.guide small{font-size:10px}.guide .availability{font-size:11px}.eyebrow{font-size:11px}.teaser{min-height:270px;padding:40px 50px}.teaser h2{font-size:37px}.teaser p{font-size:16px}.steps h3{font-size:16px}.steps p,.tips .steps p{font-size:14px}.step-no{width:44px;height:44px;font-size:27px}.steps article{grid-template-columns:48px 1fr}.faq summary{font-size:15px}.faq details p{font-size:14px}.ad-gap{height:168px}.text-hero h1{font-size:57px}.paper-labels{font-size:15px}.screen-table{height:210px}.screen-table table{font-size:9px}.screen-table strong{font-size:11px}.screen-table td,.screen-table th{padding:4px}.footer-row .brand{font-size:20px}.footer-row nav a,.footer-row small{font-size:11px}.support{font-size:10px}}
@media(max-width:650px){body{font-size:14px}.container{width:92%}.site-header{height:auto;min-height:80px}.header-row{flex-direction:column;align-items:start;gap:8px;padding:10px 0}.header-row nav{width:100%;gap:10px}.header-row nav a{font-size:11px}.brand{font-size:19px}.brand img{height:28px}.hero,.hero.feature-hero{min-height:300px;padding:23px 0;background-image:linear-gradient(90deg,#ffffffed,#ffffffc4 60%,#fff7),url('assets/home-art.webp?v=site58-20261105-r5');background-position:center,64% center}.hero.feature-hero{background-image:linear-gradient(90deg,#ffffffed,#ffffffc4 60%,#fff7),url('assets/feature-art.webp?v=site58-20261105-r5')}.hero h1,.hero.feature-hero h1,.text-hero h1{font-size:35px;max-width:100%;line-height:1.12}.hero p,.hero.feature-hero p,.text-hero p{font-size:17px;max-width:94%;margin-top:14px}.panel{padding:16px}.two,.split,.share-grid{grid-template-columns:1fr;gap:18px}.three,.steps{grid-template-columns:1fr;gap:18px}h2{font-size:26px}.steps article{grid-template-columns:38px 1fr}.steps article+article{border-left:0;padding-left:0}.steps h3{font-size:16px}.steps p{font-size:14px}.row{gap:10px}.row>*{flex:1 1 100px}input,select,textarea{font-size:16px;padding:11px}label{font-size:13px}button,.button{font-size:13px;min-height:44px}.actions>*{flex:1 1 130px}.example{flex-direction:column;align-items:start;gap:10px}.example p{font-size:13px}.faq details{padding:10px}.faq summary{font-size:13px}.faq details p{font-size:13px}.ad-gap{height:80px}.teaser{padding:25px 20px;min-height:260px;background-image:linear-gradient(90deg,#ffffffed,#ffffffcc 55%,#fff8),url('assets/feature-art.webp?v=site58-20261105-r5')}.teaser h2,.teaser p{max-width:100%}.teaser h2{font-size:29px}.teaser p{font-size:15px}.guide{grid-template-columns:1fr;padding:25px 20px;gap:20px}.guide figure{min-height:210px}.guide-copy{padding:0}.guide-copy h2{font-size:28px}.guide-copy ul{margin-top:15px}.guide-copy li{font-size:13px}.guide form{border-left:0;border-top:1px solid var(--line);padding:18px 0 0}.guide form label{font-size:13px;margin:0 0 10px}.guide input{font-size:16px;padding:10px}.guide small{font-size:11px}.guide .availability{font-size:12px}.book{width:150px;height:200px;padding:18px 14px}.book strong{font-size:21px}.book strong small{font-size:14px}.book .book-brand{font-size:10px}.book img{width:95px;height:45px}.guide figcaption{font-size:12px}.site-footer{margin-top:30px}.footer-row{flex-direction:column;gap:16px}.footer-row nav{width:100%;justify-content:space-between;margin:0}.footer-row nav a,.footer-row small{font-size:12px}.footer-row .brand{font-size:20px}.support{font-size:12px}.formats{grid-template-columns:repeat(2,1fr);gap:8px}.formats button{padding:10px;font-size:12px}.formats small{font-size:10px}.share-controls p{font-size:13px}.tips .steps h3{font-size:15px}.tips .steps p{font-size:13px}.overlay-note,.screen-table,.paper-labels{display:none}.duration-visual{min-height:145px}.duration-visual h3{font-size:12px}.scale-labels{font-size:9px}.main-note,.small{font-size:11px}.result strong{font-size:24px}.division th,.division td{font-size:12px}.division .cell-button{font-size:13px;padding:8px 4px}.before-after{min-height:300px}.before-after>div{padding:13px}.before-after p{font-size:12px}.stats-row{font-size:12px}.status{font-size:12px}.table-wrap table{font-size:11px}.table-wrap th,.table-wrap td{padding:7px 5px}.polynomial{font-size:16px}.text-hero h1{font-size:36px}}
@media print{.site-header,.site-footer,.guide,.ad-gap,.teaser,.sharing,.tips,.faq,.hero,button,.actions{display:none!important}.container{width:100%}.panel{background:white;border:0}.support-page{min-height:0}}
