*{box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;margin:0;color:#1a202c;background:#f7fafc;line-height:1.65}
header{background:#1a365d;color:#fff;padding:1rem 0}header .wrap,main,footer .wrap{max-width:960px;margin:0 auto;padding:0 1rem}
header a{color:#fff;text-decoration:none}.brand{font-size:1.6rem;font-weight:800}
nav{margin-top:.5rem;display:flex;flex-wrap:wrap;gap:1rem}nav a{opacity:.9}nav a:hover{opacity:1;text-decoration:underline}
main{background:#fff;padding:2rem 1rem;min-height:60vh}
h1{font-size:2rem;line-height:1.25;color:#1a365d}h2{color:#2c5282;margin-top:2rem}h3{color:#2d3748}
.hero{background:#ebf8ff;border:1px solid #bee3f8;border-radius:12px;padding:2rem;text-align:center}
.hero h1{font-size:2.4rem;margin:.2rem 0}.btn{display:inline-block;background:#2b6cb0;color:#fff;padding:.7rem 1.4rem;border-radius:8px;text-decoration:none;font-weight:700;margin-top:1rem}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem;margin:1.5rem 0}
.card{border:1px solid #e2e8f0;border-radius:10px;padding:1.2rem;background:#fff}.card h3{margin:.2rem 0}.card h3 a{color:#2b6cb0;text-decoration:none}.card p{margin:.4rem 0;color:#4a5568}
.calc{background:#f7fafc;border:1px solid #e2e8f0;border-radius:10px;padding:1.5rem;margin:1.5rem 0}
.calc label{display:block;font-weight:600;margin:.8rem 0 .3rem}.calc input,.calc select{width:100%;padding:.6rem;border:1px solid #cbd5e0;border-radius:6px;font-size:1rem}
.calc button{background:#2b6cb0;color:#fff;border:0;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:700;cursor:pointer;margin-top:1rem}
.calc button:hover{background:#2c5282}.result{background:#ebf8ff;border:1px solid #bee3f8;border-radius:8px;padding:1rem;margin-top:1rem;font-size:1.1rem;display:none}
.result strong{color:#1a365d}.formula{background:#fff5f5;border-left:4px solid #e53e3e;padding:1rem;margin:1rem 0;font-family:Georgia,serif}
.example{background:#f0fff4;border-left:4px solid #38a169;padding:1rem;margin:1rem 0}
.faq h3{margin-bottom:.2rem}.faq p{margin-top:.2rem}
footer{background:#1a202c;color:#cbd5e0;padding:2rem 0;margin-top:2rem}footer a{color:#90cdf4}
#cookie-banner{position:fixed;bottom:0;left:0;right:0;background:#1a202c;color:#fff;padding:1rem;text-align:center;z-index:1000;display:none}
#cookie-banner button{background:#2b6cb0;color:#fff;border:0;padding:.5rem 1.2rem;border-radius:6px;cursor:pointer;margin-left:.8rem}
#cookie-banner a{color:#90cdf4}
@media(max-width:600px){.hero h1{font-size:1.8rem}h1{font-size:1.6rem}main{padding:1.2rem .8rem}}
