
.tools-hero{background:linear-gradient(135deg,#081b35,#163a69);color:#fff;padding:46px 18px;text-align:center}
.tools-shell{max-width:1180px;margin:0 auto}.tools-kicker{text-transform:uppercase;letter-spacing:.11em;font-weight:800;color:#e1b247;margin:0 0 8px}.tools-hero h1{margin:0 0 12px;font-size:clamp(2rem,4vw,3rem)}.tools-hero .lead{max-width:850px;margin:0 auto;line-height:1.65}
.tools-content{max-width:1180px;margin:0 auto;padding:28px 18px 54px}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tool-card,.tool-panel{background:#fff;border:1px solid #d7dce3;border-radius:14px;box-shadow:0 4px 15px rgba(0,0,0,.08);padding:22px}.tool-card{display:flex;flex-direction:column;min-height:250px}.tool-card h2{margin:8px 0 10px;color:#0b2345}.tool-card p{line-height:1.55}.tool-card .tool-icon{font-size:2rem}.tool-card .tool-link{margin-top:auto;font-weight:800;color:#7a3b00;text-decoration:none}.tool-card .tool-link:hover{text-decoration:underline}
.tool-form{display:grid;gap:16px}.tool-form label{font-weight:800;color:#0b2345}.tool-form select,.tool-form input,.tool-form textarea{width:100%;padding:12px;border:1px solid #9ba7b4;border-radius:8px;font:inherit;background:#fff}.tool-form button,.tool-button{appearance:none;border:0;border-radius:8px;padding:12px 18px;background:#0b2345;color:#fff;font-weight:800;cursor:pointer}.tool-form button:hover,.tool-form button:focus,.tool-button:hover,.tool-button:focus{background:#173f70;outline:3px solid #d4a437;outline-offset:2px}.tool-reset{background:#5d6670!important}.tool-result{margin-top:20px;border-left:5px solid #d4a437;background:#f7f3e8;padding:18px;border-radius:8px}.tool-result[hidden]{display:none}.tool-result h2,.tool-result h3{color:#0b2345}.tool-note{background:#eef4fb;border:1px solid #b6cee7;border-radius:10px;padding:15px;margin:18px 0;line-height:1.55}.tool-warning{background:#fff6df;border:1px solid #dfbd65;border-radius:10px;padding:15px;margin:18px 0}.tool-steps{display:grid;gap:12px}.tool-step{border:1px solid #d7dce3;border-radius:10px;padding:16px;background:#fff}.tool-chip-list,.tool-frequency-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tool-data-card{border:1px solid #d7dce3;border-radius:10px;padding:15px;background:#f9fafb}.tool-data-card h3{margin-top:0}.tool-badges{display:flex;flex-wrap:wrap;gap:8px}.tool-badge{display:inline-block;background:#e6edf6;color:#0b2345;border-radius:999px;padding:5px 9px;font-size:.88rem;font-weight:700}.tool-cta{margin-top:24px;background:#0b2345;color:#fff;border-radius:12px;padding:22px}.tool-cta a{color:#fff;font-weight:800}.progress-track{height:10px;background:#e5e8ec;border-radius:999px;overflow:hidden;margin:10px 0 20px}.progress-bar{height:100%;background:#d4a437;width:0;transition:width .2s ease}.answer-buttons{display:flex;gap:10px;flex-wrap:wrap}.answer-buttons button{min-width:110px}.faq-answer{line-height:1.6}
@media(max-width:900px){.tool-grid{grid-template-columns:1fr 1fr}.tool-chip-list,.tool-frequency-list{grid-template-columns:1fr}}
@media(max-width:620px){.tool-grid{grid-template-columns:1fr}.tools-hero{padding:34px 16px}.tool-card,.tool-panel{padding:18px}.answer-buttons{flex-direction:column}.answer-buttons button{width:100%}}


/* Phase 4.1: improve Interactive Tools hero readability */
.tools-hero h1{color:#fff;}
.tools-hero .lead{color:#f4f7fb;}

/* Exact centered hero match for the Tools landing page */
.tools-hero.landing-tools-match {
  text-align: center;
}
.tools-hero.landing-tools-match .tools-shell {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tools-hero.landing-tools-match .tools-kicker {
  width: 100%;
  margin: 0 0 8px;
  text-align: center;
}
.tools-hero.landing-tools-match h1 {
  width: 100%;
  max-width: none;
  margin: 0 auto 12px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  text-align: center;
}
.tools-hero.landing-tools-match .lead {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.65;
  text-align: center;
}
