/* Hub and site-wide pages (home, terms, privacy): grey, white and blue, on top of calc-tools/assets/site.css. */
:root{--ground:#fff;--blue:#1f5fa8;--blueh:#184d8a;--grey:#f3f4f6;--line:#e3e6ea;--acc:var(--blue);--tint:#eef3f9;--dot:rgba(31,95,168,.13);--glow:rgba(20,50,90,.16)}
body{background:#fff}
body:has(.band){background:#f2f2f2} /* homepage: grey all the way down to the footer */
:focus-visible{outline-color:var(--blue)}
/* hub header: the math tools gradient (blue, left) running into the TI-84 tools gradient (green, right);
   white logo, text and nav like the section pages. The moving dot plane is drawn by assets/home-hero.js */
.hero.home{background:linear-gradient(100deg,#14417a 0%,#2b7fc0 28%,#2bb3c0 48%,#36ad86 60%,#4aa046 74%,#9cbf2a 90%,#e6c619 100%);border-bottom:0}
/* sections: the same light grey as the section pages, shadowed white cards, accents in each part's color */
.band{padding:56px max(4vw,16px) 64px;background:#f2f2f2;color:var(--ink)}
.band.math{--acc:var(--blue)}
.band.stats{--acc:#6a3fb0;--tint:#f5f1fb;--dot:rgba(106,63,176,.12);--glow:rgba(59,31,110,.2);padding-top:8px}
.band.calc-band{--acc:var(--grn);--tint:#f4f8ec;--dot:rgba(31,122,67,.12);--glow:rgba(19,80,46,.2);padding-top:8px}
.band>div{max-width:1100px;margin:0 auto}
.sh{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 20px}
.sh h2{font-size:26px;font-weight:400;margin:0}
.sh a{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:4px;color:var(--acc);font-size:15px;font-weight:500;text-decoration:none;transition:background-color .12s,color .12s}
.band.math .sh a:hover{background:#e4ebf4;color:var(--blueh)}
.band.stats .sh a:hover{background:#ece5f7;color:#58339a}
.band.calc-band .sh a:hover{background:#e6eedd;color:var(--grnh)}
.band .card2,.band .tool{box-shadow:0 1px 4px rgba(0,0,0,.14)}
.band .card2:hover{box-shadow:0 6px 20px rgba(0,0,0,.16)}
.band .tool:hover{box-shadow:0 4px 14px rgba(0,0,0,.16)}
/* legal pages */
.doc{max-width:720px;margin:0 auto;padding:40px max(4vw,16px) 64px}
.doc h2{font-size:20px;font-weight:500;margin:32px 0 8px}
.doc p,.doc li{line-height:1.65}
.doc a{color:var(--blue)}
.note{background:#fff8e1;border:1px solid #f0d98a;padding:12px 16px;border-radius:4px;font-size:14px}
@media(prefers-reduced-motion:reduce){.sh a{transition:none}}
footer.gfoot{background:#fff;border-top-color:var(--line)}
footer.gfoot a:hover{color:var(--blue)}
