@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap');
:root{--wine:#510b38;--pink:#8b2058;--mint:#c79a4b;--gray:#faf7f9;--ink:#282828;--muted:#626262;--border:#e2e2e2}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:#fff;color:var(--ink);font-family:Lato,Arial,sans-serif;font-size:16px;line-height:1.5}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button{transition:background .2s,color .2s}a:hover{color:var(--wine)}:focus-visible{outline:3px solid var(--pink);outline-offset:4px}.wrap{max-width:1180px;margin:auto;padding:0 30px}.utility{background:var(--wine);color:white;font-size:13px;padding:8px 0}.utility .wrap{display:flex;justify-content:space-between}.utility i{font-style:normal;margin:0 12px;opacity:.6}header{border-bottom:1px solid var(--border)}.header{height:86px;display:flex;align-items:center;justify-content:space-between;gap:30px}.logo{font-size:29px;font-weight:900;letter-spacing:-1px;display:flex;align-items:center;color:var(--wine)}.logo>span:last-child{font-weight:400}.mark{font-size:23px;background:var(--wine);color:white;border-radius:7px;width:34px;height:36px;display:inline-grid;place-items:center;margin-right:9px}.header nav{display:flex;gap:34px;align-items:center;font-weight:700}.menu{position:relative}.menu summary{list-style:none}.menu summary:after{content:'⌄';margin-left:10px}.menu>div{position:absolute;top:40px;left:-20px;background:white;z-index:10;border:1px solid var(--border);border-radius:8px;padding:12px;width:230px;box-shadow:0 8px 24px #0001}.menu a{display:block;padding:10px}.outline{border:1px solid var(--wine);color:var(--wine);background:white;border-radius:6px;padding:10px 21px;font-size:14px;font-weight:700}.outline:hover{background:#faf0f4}.crumb{font-size:13px;color:var(--muted);padding:24px 0}.crumb span{margin:0 11px;color:#999}.intro{padding:14px 0 28px}.eyebrow{font-size:12px;letter-spacing:1.5px;font-weight:700;color:var(--wine);margin:0 0 10px}h1{font-size:36px;line-height:1.2;margin:0 0 14px;font-weight:700}h2{font-size:26px;line-height:1.3;margin:0 0 12px}h3{font-size:18px;margin:0 0 7px}p{margin:0 0 16px}.intro>p:last-child{color:var(--muted);margin:0;font-size:17px}.sectionnav{display:flex;gap:38px;border-bottom:1px solid var(--border);margin-bottom:30px}.sectionnav a{padding:14px 0;font-weight:700;font-size:15px;white-space:nowrap}.sectionnav .active{color:var(--wine);border-bottom:3px solid var(--wine)}.calculator{background:var(--gray);border-radius:16px;padding:34px 42px 28px}.calchead{text-align:center}.calchead h2{font-size:25px}.calchead p{color:var(--muted)}.tabs{display:flex;justify-content:center;margin:24px auto 30px;border-bottom:1px solid #d2d5d8;width:max-content;max-width:100%}.tabs button{border:0;background:none;color:var(--muted);padding:13px 23px;font-size:16px;border-bottom:3px solid transparent}.tabs button.selected{color:var(--wine);border-color:var(--wine);font-weight:700}.calcgrid{display:grid;grid-template-columns:1.25fr 1fr;gap:48px}.field{margin-bottom:28px}.labelrow{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.labelrow label{font-weight:700}.number{display:flex;align-items:center;background:#fff;border:1px solid #ccc;border-radius:7px;gap:5px;padding:9px 12px;width:150px}.number input{width:100%;border:none;outline:none;font-weight:700;min-width:0;background:transparent;color:var(--ink)}.number:focus-within{border-color:var(--wine);box-shadow:0 0 0 1px var(--wine)}.number span{font-size:14px}.number.short{width:116px}.number input::-webkit-inner-spin-button{appearance:none}.hint{font-size:13px;color:var(--muted);margin:-3px 0 10px}input[type=range]{width:100%;height:5px;appearance:none;border-radius:8px;cursor:pointer;background:linear-gradient(to right,var(--wine) var(--fill,30%),#d8dce0 var(--fill,30%));margin:13px 0 14px}input[type=range]::-webkit-slider-thumb{appearance:none;width:18px;height:18px;border-radius:100%;border:3px solid white;background:var(--wine);box-shadow:0 0 0 1px var(--wine)}input[type=range]::-moz-range-thumb{width:14px;height:14px;border:3px solid white;border-radius:100%;background:var(--wine);box-shadow:0 0 0 1px var(--wine)}.endpoints{display:flex;justify-content:space-between;color:var(--muted);font-size:13px}.total{display:flex;justify-content:space-between;align-items:center;gap:12px;background:white;border-radius:8px;padding:17px;margin-top:12px}.total span{font-size:16px}.total strong{color:var(--wine);font-size:25px;white-space:nowrap}.footnote{font-size:13px;color:var(--muted);margin-top:12px}.textbutton{border:0;border-bottom:1px solid var(--wine);padding:0 0 2px;background:none;font-size:14px;color:var(--wine);font-weight:700}.result{background:white;border-radius:16px;padding:25px 28px;text-align:center;align-self:start}.resultlabel{font-weight:700;font-size:16px}.circle{width:228px;height:228px;border-radius:50%;padding:14px;box-shadow:0 6px 14px #00000012;margin:18px auto 24px;background:conic-gradient(var(--wine) 60%,var(--mint) 0)}.circle>div{width:100%;height:100%;background:#fff;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.circle span{font-size:14px}.circle strong{font-size:36px;line-height:1.4;letter-spacing:-.8px}.circle small{font-size:13px;color:var(--muted)}.legend{font-size:14px;margin:0 0 20px}.legend>div{display:flex;justify-content:space-between;align-items:center;margin:12px 0;gap:10px}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--mint);margin-right:7px}.dot.principal{background:var(--wine)}.button{display:block;background:var(--wine);color:white!important;border-radius:7px;padding:12px 10px;font-weight:700;font-size:14px}.button:hover{background:#7d103f}.resultnote{font-size:12px;line-height:1.5;color:var(--muted);margin:13px 0 0}.assumption{display:flex;align-items:center;gap:12px;padding:20px 4px;color:var(--muted);font-size:13px}.assumption p{margin:0}.info{border:1px solid #888;border-radius:50%;min-width:17px;line-height:16px;text-align:center;font-size:12px}.section{padding:42px 0;border-top:1px solid var(--border);scroll-margin-top:24px}.sectionheading{display:flex;justify-content:space-between;align-items:center;gap:15px}.section>p:not(.eyebrow){color:var(--muted)}.tablewrap{overflow-x:auto;margin:24px 0 17px;border:1px solid var(--border);border-radius:8px}table{border-collapse:collapse;width:100%;font-size:14px;text-align:right;white-space:nowrap}th{background:var(--gray);font-weight:700}th,td{padding:15px 23px;border-bottom:1px solid var(--border)}td:first-child,th:first-child{text-align:left}tr:last-child td{border:0}.guide{display:grid;grid-template-columns:1fr 1.4fr;gap:80px}.guide>div>p:last-child{color:var(--muted)}.steps article{display:flex;gap:20px;margin-bottom:23px}.steps article:last-child{margin:0}.steps article>span{font-size:16px;color:var(--wine);background:#faeef3;height:37px;min-width:37px;border-radius:50%;display:grid;place-items:center;font-weight:700}.steps p{color:var(--muted);font-size:15px;margin:0}.faq{padding-bottom:55px}.faq h2{margin-bottom:25px}.faq details{border-bottom:1px solid var(--border)}.faq summary{list-style:none;padding:19px 35px 19px 0;position:relative;font-weight:700}.faq summary:after{content:'+';position:absolute;right:8px;top:15px;font-size:24px;color:var(--wine);font-weight:400}.faq details[open] summary:after{content:'−'}.faq details p{color:var(--muted);max-width:900px;padding-right:35px}footer{background:var(--gray);padding:32px 0}footer .wrap{display:flex;align-items:center;gap:24px;flex-wrap:wrap}footer .logo{font-size:24px}footer p{font-size:14px;margin:0}footer .wrap>span{font-size:12px;color:var(--muted);margin-left:auto;max-width:300px}#error{color:#a40020;font-size:14px}.skip{position:absolute;top:-80px}.skip:focus{top:0;background:white;padding:20px;z-index:20}@media(max-width:900px){.header nav{gap:20px}.calcgrid{gap:25px}.calculator{padding:28px}.guide{gap:35px}.circle{width:205px;height:205px}.circle strong{font-size:31px}.total{flex-wrap:wrap}.wrap{padding:0 22px}}@media(max-width:650px){.utility .wrap>span{display:none}.header{height:73px;gap:12px}.header nav{display:none}.logo{font-size:26px}.header .outline{padding:8px 12px;font-size:13px}.wrap{padding:0 18px}.crumb{font-size:12px;padding:20px 0}.crumb span{margin:0 5px}h1{font-size:29px;line-height:1.25}.intro{padding:7px 0 22px}.intro>p:last-child{font-size:16px}.sectionnav{gap:25px;overflow-x:auto;margin-bottom:23px}.sectionnav a{font-size:14px}.calculator{padding:25px 18px;border-radius:12px}.calchead h2{font-size:22px}.calchead p{font-size:14px}.tabs{width:100%;margin:20px 0 25px}.tabs button{flex:1;padding:11px 5px;font-size:14px}.calcgrid{grid-template-columns:1fr;gap:25px}.field{margin-bottom:25px}.number{width:140px}.labelrow label{font-size:15px}.result{padding:24px}.circle{width:225px;height:225px}.circle strong{font-size:35px}.total{flex-wrap:nowrap;padding:14px}.total strong{font-size:23px}.total span{font-size:14px}.section{padding:32px 0}.sectionheading{align-items:flex-start}.sectionheading h2{font-size:23px}.sectionheading .outline{font-size:12px;padding:8px;max-width:105px}.guide{grid-template-columns:1fr;gap:20px}.guide h2 br{display:none}.steps article{gap:14px}h2{font-size:24px}th,td{padding:13px 16px}.assumption{align-items:flex-start;font-size:12px}.assumption .info{margin-top:3px}footer .wrap{gap:10px 22px}footer .wrap>span{margin:0;max-width:none}.faq summary{font-size:15px}.faq details p{font-size:15px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
