:root{--navy:#0b376d;--blue:#0877d1;--green:#65b82e;--ink:#17375e;--muted:#5c7189;--line:#dce8f2;--soft:#f5fbff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:#fff}.container{width:min(1160px,92%);margin:auto}.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.nav{min-height:76px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--blue);font-weight:800;font-size:24px}.brand>span>span{color:var(--green)}.brand small{display:block;color:#6c8096;font-size:11px;font-weight:500}.bars{font-size:32px;color:var(--green)}nav{display:flex;gap:28px}nav a{color:var(--ink);text-decoration:none;font-weight:600}.hero{background:linear-gradient(135deg,#e8f8ff,#f8fff0);padding:70px 0}.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:50px}.hero h1{font-size:clamp(42px,6vw,68px);line-height:1.02;margin:12px 0 20px}.hero p{font-size:20px;color:var(--muted);max-width:650px;line-height:1.6}.eyebrow{color:var(--blue);font-size:12px;font-weight:800;letter-spacing:.12em}.button{display:inline-block;background:var(--blue);color:#fff;padding:14px 20px;border-radius:10px;text-decoration:none;font-weight:700;margin-top:10px}.hero-art{display:flex;justify-content:center}.art-card{width:330px;min-height:300px;border-radius:28px;background:#fff;box-shadow:0 20px 60px #7aa8c433;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px}.art-card span{font-size:90px}.art-card strong{font-size:25px}.art-card small{color:var(--muted);margin-top:10px}.section{padding:70px 0}.section-title h2{font-size:38px;margin:6px 0}.section-title p{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-top:30px}.card{padding:24px 18px;border:1px solid var(--line);border-radius:18px;text-decoration:none;color:var(--ink);background:linear-gradient(145deg,#fff,#f7fbff);transition:.2s}.card:hover{transform:translateY(-4px);box-shadow:0 12px 30px #567a9a20}.card-icon{font-size:45px}.card h3{font-size:18px;margin:14px 0 8px}.card p{color:var(--muted);font-size:14px;line-height:1.5;min-height:44px}.card span{color:var(--blue);font-weight:700;font-size:14px}.why{background:#eef8ff;padding:28px 0}.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}.why-grid div{display:flex;flex-direction:column}.why-grid span{color:var(--muted);font-size:14px;margin-top:5px}footer{background:#0c315d;color:#fff;text-align:center;padding:45px 0;margin-top:40px}footer .fine{color:#bed0e0;font-size:12px;max-width:720px;margin:18px auto}.page,.calc-page{padding:55px 0}.page{max-width:850px;line-height:1.7}.calc-head{display:flex;justify-content:space-between;gap:30px;align-items:center;margin:25px 0 30px}.calc-head h1{font-size:42px;margin:6px 0}.calc-head p{color:var(--muted);font-size:18px}.calc-icon{font-size:70px}.back{color:var(--blue);text-decoration:none;font-weight:600}.calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.panel{border:1px solid var(--line);border-radius:18px;padding:28px;background:#fff;box-shadow:0 8px 30px #567a9a12}.input-panel label{display:block;font-weight:650;margin:0 0 16px}.input-panel input{width:100%;padding:12px;border:1px solid #bfcfdd;border-radius:8px;font-size:16px;margin-top:6px}.result-panel{background:linear-gradient(145deg,#f1faff,#f7fff1)}.result-big{font-size:38px;font-weight:800;color:var(--navy);margin:8px 0}.result-row{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--line)}.explain{max-width:850px;margin-top:40px;line-height:1.7}.explain h2{font-size:28px}@media(max-width:900px){.cards{grid-template-columns:repeat(2,1fr)}.hero-grid,.calc-grid{grid-template-columns:1fr}.why-grid{grid-template-columns:1fr 1fr}.hero-art{display:none}}@media(max-width:600px){nav{gap:12px;font-size:14px}.brand{font-size:18px}.brand small{display:none}.cards,.why-grid{grid-template-columns:1fr}.calc-head{align-items:flex-start}.calc-icon{display:none}}
/* Homepage closely follows the approved visual mockup */
.mockup-hero{padding:0;background:linear-gradient(90deg,#e8f8ff 0%,#eaf8ff 48%,#fff2dc 100%);overflow:hidden}.mockup-hero .hero-grid{width:min(100%,1630px);min-height:295px;grid-template-columns:47% 53%;gap:0}.hero-copy{padding:48px 3% 38px max(3%,calc((100vw - 1160px)/2))}.mockup-hero h1{font-size:clamp(40px,4.1vw,64px);color:#0b376d;margin:0 0 14px;line-height:1.03;letter-spacing:-1px}.mockup-hero p{font-size:18px;max-width:560px;margin:0 0 22px;line-height:1.45}.hero-badges{display:flex;gap:12px;flex-wrap:wrap}.hero-badges span{background:#fff;border-radius:22px;padding:9px 14px;box-shadow:0 3px 12px #4e789414;font-size:13px}.badge-free{color:#11365e}.badge-free:first-letter{color:#20b44b}.badge-lock{color:#11365e}.badge-easy{color:#11365e}.hero-illustration{height:295px;overflow:hidden}.hero-illustration img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:0}.home-calculators{padding-top:28px;padding-bottom:14px}.home-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px}.home-title h2{font-size:30px;margin:0 0 3px}.home-title p{margin:0;font-size:15px}.home-title a{color:var(--blue);font-weight:700;text-decoration:none;font-size:14px}.mockup-cards{margin-top:14px;gap:9px}.mockup-cards .card{text-align:center;border:0;min-height:164px;padding:12px 9px 10px;border-radius:8px;box-shadow:none;display:flex;flex-direction:column;align-items:center}.mockup-cards .card-icon{font-size:40px;line-height:1.05}.mockup-cards .card h3{color:#0b376d;margin:7px 0 3px;font-size:14px;line-height:1.1}.mockup-cards .card p{min-height:34px;margin:0 0 5px;font-size:12px;line-height:1.25}.mockup-cards .card span{font-size:12px;margin-top:auto}.mockup-cards .card-1{background:#e5faea}.mockup-cards .card-2{background:#fff0f3}.mockup-cards .card-3{background:#e8f5ff}.mockup-cards .card-4{background:#fff8dc}.mockup-cards .card-5{background:#f5eaff}.why{margin:0 auto 8px;width:min(1160px,92%);border-radius:8px;padding:13px 16px;background:#edf8ff}.why-grid{grid-template-columns:repeat(4,1fr);gap:0}.why-item{display:flex!important;flex-direction:row!important;align-items:center;gap:12px;padding:0 18px;border-right:1px solid #c7dfef}.why-item:last-child{border-right:0}.why-icon{font-size:34px}.why-item b{display:block;color:#0b376d;font-size:13px}.why-item small{display:block;color:var(--muted);font-size:11px;line-height:1.25;margin-top:3px}
@media(max-width:900px){.mockup-hero .hero-grid{grid-template-columns:1fr}.hero-copy{padding:42px 4%}.hero-illustration{height:260px;display:block}.home-title{align-items:flex-start;gap:15px}.why-grid{grid-template-columns:1fr 1fr}.why-item{border-right:0;padding:10px}.mockup-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.hero-illustration{height:220px}.mockup-cards,.why-grid{grid-template-columns:1fr}.home-title{display:block}.home-title a{display:inline-block;margin-top:8px}}
.site-footer{background:#fff;color:#47627e;padding:12px 0 18px;margin-top:0;text-align:left;font-size:11px}.footer-row{display:flex;justify-content:space-between;gap:20px}.site-footer a{color:var(--blue)}@media(max-width:600px){.footer-row{display:block;text-align:center}.footer-row span{display:block;margin:5px 0}}
/* Bootstrap 5.3 integration - preserve the approved Milestone 1 visual design */
.nav-shell{min-height:76px}.navbar-brand{margin-right:1rem}.site-nav{gap:18px}.site-nav .nav-link{color:var(--ink);font-weight:600;padding:.5rem}.site-nav .nav-link:hover,.site-nav .nav-link:focus{color:var(--blue)}.navbar-toggler{border-color:#cbdbe8}.navbar-toggler:focus{box-shadow:0 0 0 .2rem #0877d126}
.form-control:focus{border-color:#7ab6e5;box-shadow:0 0 0 .2rem #0877d11f}.calc-page .btn-primary{background:var(--blue);border-color:var(--blue)}
.all-calcs .category-title{font-size:24px;color:var(--navy);margin:38px 0 14px}.all-calcs .calc-list-card{height:100%;border:1px solid var(--line);border-radius:14px;padding:20px;text-decoration:none;color:var(--ink);display:block;background:#fff;transition:.2s}.all-calcs .calc-list-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #567a9a18}.all-calcs .calc-list-card .icon{font-size:34px}.all-calcs .calc-list-card h3{font-size:17px;margin:9px 0 5px;color:var(--navy)}.all-calcs .calc-list-card p{font-size:13px;color:var(--muted);margin:0}
@media(max-width:767.98px){.site-header .navbar{padding:8px 0!important}.nav-shell{min-height:60px}.site-nav{gap:0;padding:8px 0 14px}.site-nav .nav-link{padding:8px 0}.navbar-collapse{background:#fff}.brand{font-size:18px}.brand small{display:none}}

/* Milestone 3 category navigation */
.category-links{display:flex;flex-wrap:wrap;gap:.65rem;margin:1.25rem 0 2rem}.category-links a{display:inline-flex;align-items:center;padding:.6rem .9rem;border:1px solid #dfe8f3;border-radius:999px;background:#fff;text-decoration:none;font-weight:700;color:#23405f}.category-links a:hover{background:#f3f8ff;transform:translateY(-1px)}
/* Milestone 4: launch, legal and advertising readiness */
.footer-links{display:flex;gap:14px;align-items:center}.footer-credit{margin-left:8px}.legal-page h1{font-size:42px;color:var(--navy);margin-bottom:18px}.legal-page h2{font-size:24px;color:var(--navy);margin-top:30px}.ad-wrap{margin:28px 0 8px;min-height:90px;text-align:center}.ad-label{display:block;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#8091a4;margin-bottom:6px}.explain a{color:var(--blue);font-weight:700;text-decoration:none}.explain a:hover{text-decoration:underline}@media(max-width:700px){.footer-links{display:flex;justify-content:center;flex-wrap:wrap}.footer-credit{width:100%;margin-left:0}.legal-page h1{font-size:34px}}

/* Cookie consent */
.cookie-consent{position:fixed;left:0;right:0;bottom:0;z-index:1080;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 30px #17375e1f;padding:14px 0}.cookie-consent[hidden]{display:none!important}.cookie-consent-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.cookie-consent-copy{display:flex;flex-direction:column;gap:3px;font-size:13px;color:var(--muted);line-height:1.45}.cookie-consent-copy strong{color:var(--navy);font-size:15px}.cookie-consent-copy a{color:var(--blue);font-weight:700}.cookie-consent-actions{display:flex;gap:8px;flex-shrink:0}.cookie-consent .btn-primary{background:var(--blue);border-color:var(--blue)}.adsbygoogle{visibility:hidden}.cookie-ads-allowed .adsbygoogle{visibility:visible}@media(max-width:700px){.cookie-consent-inner{align-items:stretch;flex-direction:column;gap:12px}.cookie-consent-actions{justify-content:flex-end}.cookie-consent-actions .btn{min-width:90px}}
.gpc-notice{position:fixed;left:0;right:0;bottom:0;z-index:1080;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 30px #17375e1f;padding:12px 0;color:var(--muted);font-size:13px}.gpc-notice[hidden]{display:none!important}.gpc-notice-inner{display:flex;align-items:center;justify-content:space-between;gap:18px}.gpc-notice strong{color:var(--navy)}@media(max-width:700px){.gpc-notice-inner{align-items:flex-start}.cookie-consent-actions{flex-direction:column}.cookie-consent-actions .btn{width:100%}}

/* Blazor FocusOnNavigate: keep programmatic heading focus without drawing a box around page titles. */
.mockup-hero h1:focus,
.mockup-hero h1:focus-visible {
  outline: none;
  box-shadow: none;
}

/* Wide-screen homepage hero fix.
   Keep the hero content in the same centered content area as the header and calculators. */
@media (min-width:901px){
  .mockup-hero .hero-grid{
    width:min(1160px,92%);
    max-width:1160px;
    margin-left:auto;
    margin-right:auto;
    grid-template-columns:minmax(0,44%) minmax(0,56%);
    gap:34px;
  }
  .mockup-hero .hero-copy{
    min-width:0;
    padding:48px 0 38px 0;
  }
  .mockup-hero .hero-illustration{
    min-width:0;
    height:295px;
    border-radius:10px;
    overflow:hidden;
  }
  .mockup-hero .hero-illustration img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }
}
