html{scroll-padding-top:90px}
section[id]{scroll-margin-top:90px}
:root{--navy:#0F2040;--teal:#0E9F8A;--amber:#F2A93B;--bg:#fff;--grey:#F4F6F8;--text:#1E293B;--muted:#5B6B7F;--border:#E2E8F0;--radius:14px}
*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--text);line-height:1.6;font-size:17px;background:var(--bg)}
a{color:#0B8577}h1,h2,h3{color:var(--navy);line-height:1.25}
.container{max-width:1080px;margin:0 auto;padding:0 20px}
header.site{background:var(--navy);color:#fff;position:sticky;top:0;z-index:10}
header.site .container{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}
.logo{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:800;font-size:22px}
.logo span b{color:var(--teal)}
nav{margin-left:auto;display:flex;gap:16px;flex-wrap:wrap;align-items:center}
nav a{color:#DCE6F2;text-decoration:none;font-size:15px}
nav a:hover{color:#fff}
.btn{display:inline-block;background:#087A6E;color:#fff!important;text-decoration:none;padding:13px 24px;border-radius:10px;font-weight:700;border:0;cursor:pointer;font-size:17px}
.btn:hover{background:#087A6E}.btn.amber{background:var(--amber);color:var(--navy)!important}
.btn.ghost{background:#fff;color:var(--navy)!important;border:2px solid var(--navy)}
.btn.small{padding:9px 16px;font-size:15px}
.hero{background:var(--grey);padding:48px 0 32px;text-align:center}
.hero h1{font-size:clamp(30px,5vw,46px);margin:0 0 12px}
.hero p{max-width:720px;margin:0 auto 20px;color:var(--muted);font-size:19px}
.trust{font-size:15px;color:var(--muted)}
.calc{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:28px 0}
.card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:0 2px 10px rgba(15,32,64,.06)}
.card h2,.card h3{margin-top:0}
label{display:block;font-weight:700;margin:14px 0 5px;font-size:15px}
input,select,textarea{width:100%;padding:12px;border:2px solid var(--border);border-radius:9px;font-size:17px;font-family:inherit}
input:focus,select:focus,textarea:focus{outline:3px solid #BFE8E1;border-color:var(--teal)}
.help{font-size:14px;color:var(--muted);margin:4px 0 0}
.result-row{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--border)}
.result-row b{white-space:nowrap;margin-left:12px}
.callout{background:#FFF4D6;border:2px solid var(--amber);border-radius:12px;padding:18px;margin:16px 0;text-align:center}
.callout .big{font-size:34px;font-weight:800;color:var(--navy)}
.bar{display:flex;height:26px;border-radius:8px;overflow:hidden;margin:14px 0}
.bar div{height:100%}
.legend{font-size:14px;color:var(--muted)}
.privacy-note{background:var(--grey);border-radius:9px;padding:12px 16px;font-size:15px;margin-top:16px}
.tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin:24px 0}
.tool-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:24px 20px;text-align:center;position:relative;display:flex;flex-direction:column}
.tool-card img{width:84px;height:84px;display:block;margin:0 auto}
.tool-card h3{margin:12px 0 6px}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.step{background:var(--grey);border-radius:var(--radius);padding:20px}
.step .n{background:#0B8577;color:#fff;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:10px}
section{padding:28px 0}
section.grey{background:var(--grey)}
footer{background:var(--navy);color:#DCE6F2;padding:36px 0;margin-top:40px}
footer a{color:#fff}
footer .container{display:flex;gap:28px;flex-wrap:wrap}
details{border:1px solid var(--border);border-radius:10px;padding:14px 18px;margin:10px 0;background:#fff}
summary{font-weight:700;cursor:pointer;color:var(--navy)}
.hidden{display:none}
.admin-field{margin-bottom:14px}
@media(max-width:760px){.calc{grid-template-columns:1fr}body{font-size:16px}nav{margin-left:0}.hero{padding:32px 0 20px}}

/* Footer */
footer h3{color:#fff;font-size:16px;margin:0 0 8px}
footer .footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:28px}
footer .footer-note{font-size:14px;color:#AFC3D8}
footer .footer-bottom{display:block;padding-top:20px;border-top:1px solid rgba(255,255,255,.18);margin-top:10px;font-size:14px}
/* Homepage polish */
.stats{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:22px}
.stats div{background:#fff;border:1px solid var(--border);border-radius:12px;padding:12px 18px;min-width:140px}
.stats b{display:block;font-size:24px;color:var(--navy)}
.stats span{font-size:14px;color:var(--muted)}
.badge{position:absolute;top:14px;right:14px;background:var(--amber);color:var(--navy);font-size:12px;font-weight:800;padding:3px 10px;border-radius:20px;margin-top:0}
.chips{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.chip{background:var(--grey);border:1px solid var(--border);border-radius:20px;padding:8px 16px;font-weight:700;font-size:15px;color:var(--navy)}
.cta-band{background:var(--navy);color:#fff;text-align:center;border-radius:18px;padding:36px 24px;margin:28px 0}
.cta-band h2{color:#fff}
.cta-band p{color:#DCE6F2}
.page-list li{margin:8px 0}
/* Help (?) tooltips — hover on desktop, tap on mobile */
.help-wrap{position:relative;display:inline-block}
.help-btn{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;border:2px solid #0B8577;background:#fff;color:#0B8577;font-weight:800;font-size:13px;line-height:1;cursor:pointer;padding:0;vertical-align:middle;margin-left:4px}
.help-btn:hover,.help-btn:focus{background:#0B8577;color:#fff;outline:none}
.help-tip{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%) translateY(4px);width:240px;max-width:80vw;background:var(--navy);color:#fff;font-size:14px;font-weight:400;line-height:1.45;padding:10px 12px;border-radius:10px;opacity:0;visibility:hidden;transition:opacity .15s,transform .15s;z-index:20;pointer-events:auto;text-align:left}
 .help-tip::before{content:"";position:absolute;top:100%;left:0;right:0;height:10px}
.help-tip::after{content:"";position:absolute;top:100%;left:50%;margin-left:-6px;border:6px solid transparent;border-top-color:var(--navy)}
.help-wrap:hover .help-tip,.help-wrap:focus-within .help-tip,.help-wrap.open .help-tip{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
@media(max-width:760px){.help-tip{width:220px}footer .footer-grid{grid-template-columns:1fr 1fr}}

.tool-card .btn{display:block;width:100%;padding:11px 8px;font-size:14px;white-space:nowrap;margin-top:auto}

.help-wrap.closed .help-tip{opacity:0!important;visibility:hidden!important}
