/* Laboratorio di geometria — home e navigazione v1.5 */
.geo-home{max-width:1220px}
.geo-home .home-hero{padding:34px 36px;background:linear-gradient(118deg,#113e74 0%,#17669b 100%)}
.geo-home .home-hero h1{font-size:clamp(1.95rem,3vw,2.65rem)}
.home-section{margin-top:30px}
.home-section-heading{display:flex;justify-content:space-between;align-items:end;margin:0 0 19px}
.home-section-heading h2{font-size:1.65rem;margin:3px 0 6px;color:#173e67;line-height:1.2}
.home-section-heading p:last-child{color:#59718a;margin:0;font-size:.94rem}
.home-overline{font-size:.73rem;font-weight:800;color:#2966a4;letter-spacing:.11em;margin:0}
.tool-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}
.tool-card{background:#fff;border:1px solid #d7e2ee;border-radius:18px;overflow:hidden;box-shadow:0 8px 26px rgba(24,60,99,.055);display:flex;flex-direction:column;min-width:0;transition:border-color .15s ease,box-shadow .15s ease}
.tool-card:hover{border-color:#a9c6e3;box-shadow:0 12px 30px rgba(24,60,99,.10)}
.tool-art{height:205px;border-bottom:1px solid #dde8f2;display:flex;align-items:center;justify-content:center;overflow:hidden}
.triangle-art{background:linear-gradient(140deg,#f7fbff 0%,#e6f2fd 100%)}
.lines-art{background:linear-gradient(140deg,#f7fbff 0%,#ebf5fe 100%)}
.tool-art svg{width:100%;height:100%;max-width:550px;display:block}
.tool-card-body{padding:22px 25px 25px;display:flex;flex-direction:column;align-items:start;flex:1}
.tool-kind{color:#4074a8;font-size:.70rem;letter-spacing:.085em;font-weight:800;margin:0 0 4px}
.tool-card h3{font-size:1.40rem;line-height:1.25;margin:0 0 10px;color:#133f6c}
.tool-card h3 a{color:inherit;text-decoration:none}
.tool-card h3 a:hover{text-decoration:underline;text-underline-offset:4px}
.tool-card-body>p:not(.tool-kind){color:#4f6479;margin:0 0 18px;font-size:.94rem;line-height:1.65}
.features{display:grid;gap:9px;margin:0 0 24px;color:#385c7c;font-size:.84rem}
.features span{display:flex;align-items:start;gap:9px}
.features span:before{content:'✓';color:#2074b0;font-weight:900;flex:none}
.card-action{display:inline-flex;justify-content:space-between;align-items:center;gap:22px;text-decoration:none;color:white;background:#205da5;border-radius:9px;padding:12px 15px;font-size:.90rem;font-weight:750;margin-top:auto}
.card-action:hover{background:#134681}
.card-action:focus-visible{outline:3px solid #92c2fa;outline-offset:3px}
.home-note{display:flex;gap:19px;align-items:center;background:#ecf4fc;border:1px solid #d0e0ef;border-radius:15px;padding:22px 24px;margin-top:22px}
.home-note-symbol{font-size:1.8rem;font-weight:800;background:white;border-radius:12px;min-width:54px;height:54px;display:grid;place-items:center;color:#215e9c}
.home-note h2{font-size:1.05rem;color:#204a73;margin:0 0 5px}
.home-note p{color:#5a7187;font-size:.88rem;line-height:1.6;margin:0}
@media(max-width:780px){.tool-cards{grid-template-columns:1fr}.tool-art{height:200px}.geo-home .home-hero{padding:24px 21px}.home-section{margin-top:24px}.home-note{align-items:flex-start}}
@media(max-width:480px){.tool-card-body{padding:19px}.home-note{padding:18px}.home-note-symbol{min-width:42px;height:42px;font-size:1.4rem}.home-section-heading h2{font-size:1.45rem}}

/* v1.6: terzo strumento della home */
@media (min-width:1120px){.tool-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.tool-card-body{padding:19px 20px 23px}.tool-card h3{font-size:1.22rem}.tool-art{height:180px}.tool-card-body>p:not(.tool-kind){font-size:.88rem}}
.circles-art{background:linear-gradient(130deg,#f4faff 0%,#ecf3ff 100%)}

/* v1.8: quattro moduli in una griglia regolare a due colonne */
@media(min-width:1120px){.tool-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}.tool-art{height:205px}.tool-card h3{font-size:1.34rem}.tool-card-body{padding:22px 25px 25px}}
.parabola-art{background:linear-gradient(137deg,#f7fbff,#eff3fd)}

/* v2.0: sesto strumento, iperbole. */
.hyperbola-art{background:linear-gradient(137deg,#f7fbff,#edf5ff)}
