/* =====================================================
   FAST CALCULATOR - MODERN BLUE DESIGN
   ===================================================== */

:root{
    --navy:#0b2b68;
    --blue:#2563eb;
    --blue-dark:#1d4ed8;
    --blue-soft:#eff6ff;
    --sky:#eaf4ff;
    --text:#172033;
    --muted:#64748b;
    --border:#dbeafe;
    --white:#ffffff;
    --danger:#dc2626;
    --shadow:0 14px 40px rgba(15,23,42,.08);
    --mint:#e9f8f3;
    --coral:#fff0eb;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
    margin:0;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--text);
    background:#fff;
    line-height:1.6;
}

.utility-bar{background:var(--blue);color:#dbeafe;font-size:11px;font-weight:700}
.utility-wrap{min-height:28px;display:flex;align-items:center;gap:17px}
.utility-spacer{flex:1}
.toggle{display:inline-block;width:22px;height:12px;margin-left:4px;border-radius:10px;background:#93c5fd;vertical-align:-1px}

button,input,select{font:inherit}

button{cursor:pointer}

a{text-decoration:none;color:inherit}

.container{
    width:min(1180px,calc(100% - 32px));
    margin:auto;
}

.narrow{
    max-width:820px;
}

.site-header{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(219,234,254,.9);
}

.nav-wrap{
    min-height:74px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:19px;
    font-weight:800;
    color:var(--navy);
    white-space:nowrap;
}

.logo-mark{
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:var(--navy);
    color:#fff;
    font-size:13px;
    letter-spacing:.5px;
}

.main-nav{
    display:flex;
    align-items:center;
    gap:25px;
}

.main-nav a{
    color:#334155;
    font-size:14px;
    font-weight:650;
}

.main-nav a:hover{color:var(--blue)}

.auth-actions{
    display:flex;
    gap:9px;
}

.btn{
    border:0;
    border-radius:10px;
    padding:10px 16px;
    font-weight:750;
    transition:.2s ease;
    display:inline-flex;
    justify-content:center;
    align-items:center;
}

.btn-primary{
    background:var(--blue);
    color:#fff;
}

.btn-primary:hover{
    background:var(--blue-dark);
    transform:translateY(-1px);
}

.btn-outline{
    color:var(--navy);
    background:#fff;
    border:1px solid #bfdbfe;
}

.btn-outline:hover{background:var(--blue-soft)}

.btn-light{
    color:var(--navy);
    background:#fff;
    border:1px solid #dbeafe;
}

.btn-large{
    min-height:48px;
    padding:12px 20px;
}

.hero{
    position:relative;
    overflow:hidden;
    padding:66px 0 58px;
    background:radial-gradient(circle at 83% 30%,rgba(191,219,254,.72),transparent 18%),linear-gradient(135deg,#f4f9ff 0%,#fff 58%,#edf6ff 100%);
}

.hero:after{content:"";position:absolute;width:390px;height:170px;right:-45px;bottom:-85px;border-radius:50%;background:rgba(219,234,254,.55);transform:rotate(-18deg)}

.hero-grid{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    align-items:center;
    gap:60px;
}

.eyebrow{
    display:inline-block;
    color:var(--blue);
    font-size:12px;
    font-weight:850;
    letter-spacing:1.6px;
}

h1,h2,h3,p{margin-top:0}

h1{
    margin:10px 0 18px;
    max-width:700px;
    font-size:clamp(42px,6vw,72px);
    line-height:1.02;
    letter-spacing:-2.5px;
    color:var(--navy);
}

h1 em{font-style:normal;color:var(--blue)}

h2{
    margin:7px 0 12px;
    color:var(--navy);
    font-size:clamp(30px,4vw,44px);
    line-height:1.1;
    letter-spacing:-1px;
}

.hero-text{
    max-width:650px;
    font-size:18px;
    color:var(--muted);
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:11px;
    margin:28px 0 20px;
}

.hero-search{display:flex;max-width:430px;margin:28px 0 17px;background:#fff;border:1px solid #dbe5f3;border-radius:9px;padding:4px;box-shadow:0 8px 22px rgba(30,64,175,.08)}
.hero-search input{min-width:0;flex:1;border:0;outline:0;padding:10px 12px;color:var(--text);font-size:13px}
.hero-search button{padding:10px 17px;border-radius:7px;font-size:12px}

.hero-points{
    display:flex;
    flex-wrap:wrap;
    gap:17px;
    color:#475569;
    font-size:13px;
    font-weight:650;
}

.hero-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:26px;
    padding:22px;
    box-shadow:var(--shadow);
}

.hero-card-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:13px;
    font-weight:800;
    color:var(--navy);
}

.status-dot{
    color:#16a34a;
    font-size:12px;
}

.main-display{
    width:100%;
    height:76px;
    border:0;
    border-radius:15px;
    background:#f1f5f9;
    padding:10px 16px;
    text-align:right;
    font-size:32px;
    font-weight:750;
    color:var(--navy);
    outline:none;
    margin-bottom:14px;
}

.buttons{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:9px;
}

.scientific-hero-buttons{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:7px;
}

.scientific-hero-buttons button{
    min-height:42px;
    border:1px solid #e2e8f0;
    border-radius:10px;
    background:#fff;
    color:var(--text);
    font-weight:750;
    font-size:14px;
}

.scientific-hero-buttons button:hover{background:#f8fafc}
.scientific-hero-buttons button:nth-child(-n+5){background:var(--blue-soft);color:var(--blue)}
.scientific-hero-buttons button:last-child{background:var(--blue);color:#fff}

.scientific-hero-mode{
    display:flex;
    justify-content:flex-end;
    gap:8px;
    margin:-5px 0 10px;
}

.scientific-hero-mode button{
    border:0;
    background:transparent;
    color:var(--muted);
    font-size:13px;
    padding:2px 4px;
}

.scientific-hero-mode button.active{color:var(--blue);font-weight:800}

.key{
    min-height:56px;
    border:1px solid #e2e8f0;
    border-radius:13px;
    background:#fff;
    color:var(--text);
    font-weight:750;
    font-size:17px;
}

.key:hover{
    background:#f8fafc;
}

.key-operator{
    background:var(--blue-soft);
    color:var(--blue);
    border-color:#bfdbfe;
}

.key-equals{
    background:var(--blue);
    color:#fff;
    border-color:var(--blue);
}

.key-equals:hover{
    background:var(--blue-dark);
}

.key-danger{
    color:var(--danger);
    background:#fff5f5;
}

.key-zero{
    grid-column:span 2;
}

.section{
    padding:76px 0;
}

.category-strip{position:relative;z-index:2;margin-top:-10px}
.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:11px}
.category-tile{display:grid;grid-template-columns:42px 1fr;column-gap:10px;align-items:center;padding:12px 11px;background:#fff;border:1px solid #e2e8f0;border-radius:9px;box-shadow:0 5px 16px rgba(15,23,42,.07);transition:.2s ease}
.category-tile:hover{transform:translateY(-2px);border-color:#93c5fd}
.category-symbol{grid-row:span 2;width:36px;height:36px;display:grid;place-items:center;border-radius:9px;font-size:21px;font-weight:850;background:var(--blue-soft);color:var(--blue)}
.category-tile strong{font-size:12px;color:var(--navy)}
.category-tile small{font-size:10px;color:var(--muted)}
.category-tile.finance .category-symbol{background:var(--mint);color:#16a05d}.category-tile.math .category-symbol{background:#f1eaff;color:#7850df}.category-tile.health .category-symbol{background:#ffe8eb;color:#ef5360}.category-tile.time .category-symbol{background:#e8f0ff;color:#2563eb}.category-tile.convert .category-symbol{background:#fff0dc;color:#f08a18}.category-tile.tools .category-symbol{background:#e4faf7;color:#17a99c}
.stats-band{margin-top:25px;background:#061e43;color:#fff}
.stats-grid{display:grid;grid-template-columns:repeat(6,1fr)}
.stats-grid>div{display:flex;align-items:center;justify-content:center;gap:8px;min-height:60px;border-right:1px solid rgba(255,255,255,.1)}
.stats-grid>div:last-child{border-right:0}.stats-grid b{color:#a9d544;font-size:16px}.stats-grid span{color:#dbeafe;font-size:11px}

.section-alt{
    background:rgba(255,255,255,.68);
    border-top:1px solid rgba(219,234,254,.7);
    border-bottom:1px solid rgba(219,234,254,.7);
}

.section-heading{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:25px;
    margin-bottom:28px;
}

.section-heading p,
.section-intro{
    color:var(--muted);
}

.simple-heading{
    align-items:flex-start;
}

.search-box{
    display:flex;
    min-width:min(100%,390px);
    background:#fff;
    border:1px solid var(--border);
    border-radius:12px;
    padding:5px;
}

.search-box input{
    min-width:0;
    flex:1;
    border:0;
    outline:0;
    padding:9px 11px;
    background:transparent;
}

.search-box button{
    border:0;
    border-radius:8px;
    padding:9px 14px;
    background:var(--blue);
    color:#fff;
    font-weight:750;
}

.tool-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:15px;
}

#calculators{padding-top:54px}
#calculators .section-heading{align-items:center}
#calculators .section-heading h2{font-size:28px}
#calculatorGrid .tool-card{display:none}
#calculatorGrid .tool-card:not([hidden]){display:flex}
#calculatorGrid .tool-card:nth-child(1),#calculatorGrid .tool-card:nth-child(2),#calculatorGrid .tool-card:nth-child(3),#calculatorGrid .tool-card:nth-child(4),#calculatorGrid .tool-card:nth-child(5),#calculatorGrid .tool-card:nth-child(6),#calculatorGrid .tool-card:nth-child(7),#calculatorGrid .tool-card:nth-child(11),#calculatorGrid .tool-card:nth-child(12),#calculatorGrid .tool-card[href="car-loan-calculator.html"]{display:flex}
#calculatorGrid .tool-card:nth-child(11){order:1}#calculatorGrid .tool-card:nth-child(4){order:2}#calculatorGrid .tool-card:nth-child(2){order:3}#calculatorGrid .tool-card:nth-child(3){order:4}#calculatorGrid .tool-card:nth-child(1){order:5}#calculatorGrid .tool-card:nth-child(6){order:6}#calculatorGrid .tool-card[href="car-loan-calculator.html"]{order:7}#calculatorGrid .tool-card:nth-child(5){order:8}#calculatorGrid .tool-card:nth-child(7){order:9}#calculatorGrid .tool-card:nth-child(12){order:10}
.section-link{color:var(--blue);font-size:12px;font-weight:800;white-space:nowrap}.section-link span{font-size:17px}
.compact-heading{margin-bottom:20px}.compact-heading h2{font-size:28px;margin-bottom:0}
.ad-placeholder{height:50px;margin:18px 0 0;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #cbd5e1;border-radius:6px;color:#64748b;font-size:10px;line-height:1.2}.ad-placeholder strong{font-size:10px;font-weight:500}
.image-category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:13px}
.image-category{min-height:145px;display:flex;flex-direction:column;justify-content:flex-end;gap:3px;padding:12px;border:1px solid #e2e8f0;border-radius:8px;background-color:#dbeafe;background-position:center;background-size:cover;position:relative;overflow:hidden;color:#fff}
.image-category:before{content:"";position:absolute;inset:0;background:linear-gradient(transparent 22%,rgba(4,25,57,.83))}.image-category>*{position:relative}.image-category strong{font-size:12px}.image-category small{font-size:10px;color:#dbeafe}.image-category span{font-size:10px;color:#fff;font-weight:800;margin-top:4px}
.finance-image{background-image:url("assets/percentage-guide.svg")}.math-image{background-image:url("assets/interest-guide.svg")}.health-image{background-image:url("assets/bmi-guide.svg")}.time-image{background-image:url("assets/emi-guide.svg")}.world-image{background-image:url("assets/profit-guide.svg")}.tools-image{background-image:url("assets/discount-guide.svg")}
.articles-section{padding-top:48px}.home-article-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}.home-article{display:flex;flex-direction:column;gap:6px;padding-bottom:13px;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;background:#fff}.home-article img{width:100%;aspect-ratio:1.7;object-fit:cover}.home-article strong,.home-article small,.article-tag{margin:0 12px}.home-article strong{font-size:12px;line-height:1.35;color:var(--navy)}.home-article small{font-size:10px;color:var(--muted)}.article-tag{align-self:flex-start;margin-top:-25px;padding:4px 6px;border-radius:3px;background:var(--blue);color:#fff;font-size:8px;font-weight:850;letter-spacing:.4px}.health-tag{background:#ef5360}.tips-tag{background:#f08a18}
.newsletter{background:linear-gradient(100deg,#1682ef,#1560d8);color:#fff}.newsletter-wrap{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:20px 30px}.newsletter-wrap>div{display:flex;align-items:center;gap:12px}.newsletter-icon{font-size:30px}.newsletter-wrap strong{font-size:15px}.newsletter-wrap p{margin:2px 0 0;color:#dbeafe;font-size:11px}.newsletter form{display:flex;min-width:min(390px,100%);background:#fff;padding:4px;border-radius:5px}.newsletter input{min-width:0;flex:1;border:0;outline:0;padding:9px;font-size:11px}.newsletter button{padding:9px 15px;border-radius:4px;font-size:11px}
.converter-section{padding-top:42px;padding-bottom:45px;background:#fbfdff}.converter-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:13px}.converter-grid a{min-height:88px;display:grid;grid-template-columns:35px 1fr;column-gap:8px;align-content:center;padding:12px;background:#f5f9ff;border:1px solid #e3ebf6;border-radius:8px}.converter-grid a strong{font-size:11px;color:var(--navy);align-self:end}.converter-grid a small{font-size:9px;line-height:1.3;color:var(--muted);grid-column:2}.converter-icon{grid-row:span 2;width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#e3efff;color:#2563eb;font-weight:850;font-size:16px}.converter-icon.weight{background:#e4faf7;color:#0d9d98}.converter-icon.temperature{background:#ffe8eb;color:#ed5261}.converter-icon.area{background:#fff0dc;color:#f08a18}.converter-icon.volume{background:#f1eaff;color:#7850df}.converter-icon.speed{background:#e9f8f3;color:#16a05d}

.tool-card{
    display:flex;
    flex-direction:column;
    gap:5px;
    height:158px;
    padding:20px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:17px;
    box-shadow:0 8px 24px rgba(15,23,42,.04);
    transition:.2s ease;
}

.tool-card:hover{
    transform:translateY(-3px);
    border-color:#93c5fd;
    box-shadow:var(--shadow);
}

.tool-icon{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:11px;
    background:var(--blue-soft);
    color:var(--blue);
    font-size:12px;
    font-weight:850;
    margin-bottom:7px;
}

.tool-card strong{
    color:var(--navy);
    font-size:16px;
}

.tool-card span:last-child{
    color:var(--muted);
    font-size:13px;
}

.no-results{
    margin-top:20px;
    text-align:center;
    color:var(--muted);
}

.real-calculator-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.real-calculator-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:22px;
    box-shadow:0 10px 28px rgba(15,23,42,.06);
    scroll-margin-top:100px;
}

.real-calculator-card h3{
    color:var(--navy);
    margin-bottom:14px;
    font-size:20px;
}

.real-calculator-card input,
.real-calculator-card select{
    width:100%;
    padding:12px 13px;
    margin:5px 0;
    border:1px solid #cbd5e1;
    border-radius:9px;
    outline:none;
    background:#fff;
}

.real-calculator-card input:focus,
.real-calculator-card select:focus{
    border-color:var(--blue);
}

.real-calculator-card button{
    width:100%;
    border:0;
    border-radius:9px;
    padding:12px;
    margin-top:9px;
    background:var(--blue);
    color:#fff;
    font-weight:800;
}

.real-calculator-card button:hover{
    background:var(--blue-dark);
}

.calc-result{
    margin-top:12px;
    min-height:22px;
    padding:12px;
    border-radius:9px;
    background:var(--blue-soft);
    color:#0f3c82;
    font-weight:750;
}

.article-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    margin-top:26px;
}

.article-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:24px;
}

.article-card span{
    color:var(--blue);
    font-size:11px;
    font-weight:850;
    letter-spacing:1.2px;
}

.article-card h3{
    margin:9px 0;
    color:var(--navy);
}

.article-card p{
    color:var(--muted);
    margin-bottom:0;
}

.site-footer{
    background:#081d43;
    color:#dbeafe;
    padding:40px 0 22px;
}

.footer-wrap{
    display:flex;
    justify-content:space-between;
    gap:25px;
}

.site-footer strong{
    color:#fff;
    font-size:18px;
}

.site-footer p{
    color:#a8bddc;
    margin:7px 0 0;
}

.footer-links{
    display:flex;
    gap:18px;
    align-items:center;
}

.footer-owner{
    color:#a8bddc;
    font-size:14px;
    align-self:center;
}

.footer-links a{
    color:#c7d7ee;
    font-size:14px;
}

.copyright{
    border-top:1px solid rgba(255,255,255,.12);
    margin-top:28px;
    padding-top:18px;
    color:#91a8c8;
    font-size:12px;
}

.modal{
    position:fixed;
    inset:0;
    z-index:100;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(2,13,34,.55);
    backdrop-filter:blur(5px);
}

.modal-card{
    width:min(440px,100%);
    position:relative;
    background:#fff;
    border-radius:22px;
    padding:30px;
    box-shadow:0 25px 70px rgba(2,13,34,.25);
}

.modal-close{
    position:absolute;
    top:12px;
    right:14px;
    width:38px;
    height:38px;
    border:0;
    border-radius:50%;
    background:#f1f5f9;
    color:#334155;
    font-size:24px;
}

.modal-card h2{
    font-size:30px;
    margin-top:8px;
}

.modal-card p{
    color:var(--muted);
}

.google-btn{
    width:100%;
    border:1px solid #cbd5e1;
    border-radius:10px;
    background:#fff;
    color:#172033;
    padding:13px;
    font-weight:800;
}

.google-btn:hover{
    background:#f8fafc;
}

.auth-message{
    margin-top:12px;
    min-height:20px;
    font-size:13px;
}

@media(max-width:1000px){
    .hero-grid{grid-template-columns:1fr}
    .tool-grid{grid-template-columns:repeat(3,1fr)}
    .real-calculator-grid{grid-template-columns:repeat(2,1fr)}
    .category-grid,.stats-grid{grid-template-columns:repeat(3,1fr)}
    .image-category-grid{grid-template-columns:repeat(3,1fr)}
    .home-article-grid{grid-template-columns:repeat(3,1fr)}
    .converter-grid{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:760px){
    .main-nav{display:none}
    .nav-wrap{min-height:66px}
    .hero{padding-top:45px}
    h1{letter-spacing:-1.5px}
    .section{padding:58px 0}
    .section-heading{display:block}
    .search-box{margin-top:18px;min-width:0}
    .tool-grid{grid-template-columns:repeat(2,1fr)}
    .real-calculator-grid{grid-template-columns:1fr}
    .article-grid{grid-template-columns:1fr}
    .newsletter-wrap{display:block;padding:20px}.newsletter form{margin-top:15px}
    .footer-wrap{display:block}
    .footer-owner{margin-top:18px}
    .footer-links{margin-top:18px}
}

@media(max-width:480px){
    .container{width:min(100% - 22px,1180px)}
    .logo span:last-child{font-size:16px}
    .auth-actions .btn{padding:9px 11px}
    .hero-actions{display:grid}
    .btn-large{width:100%}
    .tool-grid{grid-template-columns:1fr}
    .hero-card{padding:15px}
    .key{min-height:51px}
    .utility-wrap{gap:8px;font-size:9px}.utility-wrap span:nth-child(3),.utility-wrap span:nth-child(4),.utility-spacer,.utility-wrap>span:last-child{display:none}
    .category-grid,.image-category-grid,.home-article-grid{grid-template-columns:repeat(2,1fr)}
    .converter-grid{grid-template-columns:repeat(2,1fr)}
    .stats-grid{grid-template-columns:repeat(2,1fr)}.stats-grid>div{min-height:52px}.stats-grid>div:nth-child(3){border-right:0}
    .hero-search{max-width:none}.hero-search button{padding-left:13px;padding-right:13px}
}

/* Homepage refresh */
body:has(.hero){font-family:"DM Sans",ui-sans-serif,system-ui,sans-serif;background:#fbfcff}
body:has(.hero) .utility-bar{display:none}
body:has(.hero) .site-header{background:rgba(255,255,255,.84);border-bottom-color:#e7edf8}
body:has(.hero) .nav-wrap{min-height:78px}
body:has(.hero) .logo{color:#102a56;font-size:18px}
body:has(.hero) .logo-mark{background:linear-gradient(145deg,#2563eb,#6046d8);border-radius:11px;box-shadow:0 8px 18px rgba(37,99,235,.22)}
body:has(.hero) .main-nav{gap:28px}
body:has(.hero) .main-nav a{font-size:13px;color:#506078}
body:has(.hero) .main-nav a:hover{color:#2563eb}
body:has(.hero) .btn{border-radius:11px}
body:has(.hero) .hero{padding:92px 0 94px;background:radial-gradient(circle at 78% 18%,rgba(196,211,255,.55),transparent 24%),radial-gradient(circle at 100% 80%,rgba(222,234,255,.65),transparent 30%),linear-gradient(135deg,#f5f8ff 0%,#fff 54%,#f6f7ff 100%)}
body:has(.hero) .hero:before{content:"+   /   %";position:absolute;right:7%;top:14%;font-size:22px;letter-spacing:26px;color:rgba(37,99,235,.13);transform:rotate(-12deg)}
body:has(.hero) .hero-grid{grid-template-columns:minmax(0,1.05fr) minmax(380px,.75fr);gap:80px}
body:has(.hero) .eyebrow{font-size:11px;letter-spacing:1.5px}
body:has(.hero) h1{max-width:620px;margin:18px 0 22px;font-size:clamp(48px,6vw,78px);letter-spacing:-3px}
body:has(.hero) h1 em{background:linear-gradient(100deg,#2563eb,#6546d9);-webkit-background-clip:text;background-clip:text;color:transparent}
body:has(.hero) .hero-text{max-width:560px;font-size:18px;line-height:1.7;color:#607089}
body:has(.hero) .hero-search{max-width:500px;margin:30px 0 0;border-radius:13px;padding:6px;box-shadow:0 12px 30px rgba(37,99,235,.1)}
body:has(.hero) .hero-search input{padding:12px 14px;font-size:14px}
body:has(.hero) .hero-search button{padding:12px 19px;border-radius:9px}
body:has(.hero) .hero-actions{margin:16px 0 21px}
body:has(.hero) .hero-actions .btn span{margin-left:10px}
body:has(.hero) .hero-points{gap:22px;color:#52647e;font-size:12px}
body:has(.hero) .hero-card{border:0;border-radius:24px;padding:24px;background:rgba(255,255,255,.9);box-shadow:0 24px 65px rgba(36,60,120,.16)}
body:has(.hero) .hero-card-top{font-size:13px;margin-bottom:16px}
body:has(.hero) .main-display{height:82px;background:#f3f6fb;font-size:29px}
body:has(.hero) .scientific-hero-buttons{gap:8px}
body:has(.hero) .scientific-hero-buttons button{min-height:41px;border-color:#e8edf5;background:#fff;font-size:13px;transition:.2s ease}
body:has(.hero) .scientific-hero-buttons button:hover{transform:translateY(-2px);box-shadow:0 5px 12px rgba(37,99,235,.1)}
body:has(.hero) .category-strip{margin-top:-35px}
body:has(.hero) .category-tile{min-height:75px;padding:13px;background:#fff;border:1px solid #e7edf6;border-radius:15px;box-shadow:0 11px 28px rgba(25,49,95,.08)}
body:has(.hero) .category-tile:hover{transform:translateY(-4px);box-shadow:0 15px 28px rgba(37,99,235,.14)}
body:has(.hero) .stats-band{margin-top:44px;background:#10264c}
body:has(.hero) .stats-grid{grid-template-columns:repeat(4,1fr);padding:6px 0}
body:has(.hero) .stats-grid>div{min-height:66px;border-right-color:rgba(255,255,255,.12)}
body:has(.hero) .stats-grid b{color:#82b2ff;font-size:20px}
body:has(.hero) .stats-grid span{font-size:12px}
body:has(.hero) .section{padding:92px 0}
body:has(.hero) #calculators{padding-top:95px}
body:has(.hero) h2{font-size:clamp(30px,4vw,46px);letter-spacing:-1.5px}
body:has(.hero) .section-heading{margin-bottom:35px}
body:has(.hero) .tool-grid{grid-template-columns:repeat(4,1fr);gap:17px}
body:has(.hero) .tool-card{height:190px;padding:22px;border-color:#e5ebf5;border-radius:17px;box-shadow:0 8px 25px rgba(25,49,95,.045)}
body:has(.hero) .tool-card strong{font-size:16px}
body:has(.hero) .tool-card span:last-child{font-size:13px;line-height:1.55}
body:has(.hero) .tool-card:after{content:"Use Calculator  ->";margin-top:auto;color:#2563eb;font-size:12px;font-weight:800}
body:has(.hero) .tool-card:hover{transform:translateY(-6px);box-shadow:0 18px 36px rgba(37,99,235,.12)}
body:has(.hero) .browse-section{background:#f5f8fd;border-color:#e9eef6}
body:has(.hero) .image-category{min-height:170px;border:0;border-radius:17px;box-shadow:0 10px 25px rgba(25,49,95,.08)}
body:has(.hero) .suite-section{background:#eef4ff}
body:has(.hero) .suite-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:60px}
body:has(.hero) .suite-grid p{max-width:460px;color:#607089;font-size:17px;margin-bottom:25px}
.suite-visual{height:270px;position:relative;display:grid;place-items:center}.suite-orbit{position:absolute;width:260px;height:260px;border:1px solid #c9d9fa;border-radius:50%}.suite-screen{position:relative;width:min(100%,340px);padding:25px;border-radius:18px;background:#fff;box-shadow:0 22px 42px rgba(37,76,150,.18);transform:rotate(-4deg)}.suite-screen b,.suite-screen small{display:block;color:#7990b1;font-size:10px;letter-spacing:1.2px}.suite-screen strong{display:block;margin:17px 0 5px;color:#173a73;font-size:33px;letter-spacing:-1px}.suite-chip{position:absolute;top:30px;right:12%;display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#2563eb;color:#fff;font-size:22px;font-weight:800;box-shadow:0 10px 20px rgba(37,99,235,.24)}.chip-two{top:auto;right:auto;bottom:32px;left:13%;background:#fff;color:#6546d9}
.benefits-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.benefits-grid article{padding:25px;border:1px solid #e5ebf5;border-radius:17px;background:#fff;box-shadow:0 8px 22px rgba(25,49,95,.04)}.benefit-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:19px;border-radius:12px;background:#edf4ff;color:#2563eb;font-size:20px}.benefits-grid h3{margin:0 0 8px;color:#173a73;font-size:17px}.benefits-grid p{margin:0;color:#718098;font-size:13px;line-height:1.6}
.seo-home-section{background:#f6f8fc}.seo-home-copy{padding:38px 0}.seo-home-copy h2{max-width:680px}.seo-home-copy p{color:#687991;font-size:15px;line-height:1.85}
.faq-section{background:#fff}.faq-list{border-top:1px solid #e4eaf3}.faq-list details{border-bottom:1px solid #e4eaf3;padding:19px 2px}.faq-list summary{cursor:pointer;list-style:none;color:#173a73;font-weight:750}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:"+";float:right;color:#2563eb;font-size:20px;font-weight:400}.faq-list details[open] summary:after{content:"-"}.faq-list p{max-width:700px;margin:12px 0 0;color:#718098;font-size:14px}
body:has(.hero) .site-footer{padding:58px 0 25px;background:#0d1d38}.site-footer p{max-width:270px;line-height:1.6}.footer-links{flex-wrap:wrap}
.mobile-menu-btn{display:none;border:1px solid #dbe5f4;border-radius:10px;background:#fff;color:#173a73;width:42px;height:42px;font-size:20px}
body:has(.hero) .site-header.menu-open .main-nav{display:flex}
@media(max-width:1000px){body:has(.hero) .hero-grid{gap:45px}body:has(.hero) .tool-grid{grid-template-columns:repeat(3,1fr)}body:has(.hero) .benefits-grid{grid-template-columns:repeat(2,1fr)}body:has(.hero) .suite-grid{gap:30px}}
@media(max-width:760px){body:has(.hero) .nav-wrap{position:relative;flex-wrap:wrap}.mobile-menu-btn{display:block;margin-left:auto}.main-nav{order:4;width:100%;display:none;flex-direction:column;align-items:flex-start;gap:0;padding:12px 0 17px;border-top:1px solid #edf1f7}.main-nav a{width:100%;padding:10px 0}.auth-actions{order:3}.auth-actions .btn{padding:9px 11px}body:has(.hero) .hero{padding:64px 0 75px}body:has(.hero) .hero-grid{grid-template-columns:1fr}body:has(.hero) h1{font-size:clamp(45px,13vw,66px)}body:has(.hero) .hero-card{max-width:520px;margin:auto}body:has(.hero) .category-grid{grid-template-columns:repeat(3,1fr)}body:has(.hero) .tool-grid{grid-template-columns:repeat(2,1fr)}body:has(.hero) .suite-grid{grid-template-columns:1fr}.suite-visual{margin-top:10px}.benefits-grid{grid-template-columns:repeat(2,1fr)}body:has(.hero) .section{padding:70px 0}}
@media(max-width:480px){body:has(.hero) .logo{font-size:16px}body:has(.hero) .logo-mark{width:36px;height:36px}.auth-actions .btn-outline{display:none}body:has(.hero) .stats-grid{grid-template-columns:repeat(2,1fr)}body:has(.hero) .stats-grid>div:nth-child(2){border-right:0}body:has(.hero) .tool-grid{grid-template-columns:1fr}.benefits-grid{grid-template-columns:1fr}.suite-screen{width:85%}.suite-chip{right:3%}.chip-two{left:4%}body:has(.hero) .section-heading h2{font-size:32px}}
