
:root{
  --bg:#f4f7fb;
  --paper:#fff;
  --paper2:#f9fbfe;
  --ink:#101827;
  --muted:#66758a;
  --soft:#eef4ff;
  --line:#dbe4f0;
  --line2:#c8d4e3;
  --blue:#2451e6;
  --blue2:#315fcb;
  --navy:#10264a;
  --radius:22px;
  --shadow:0 24px 70px rgba(15,23,42,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 12% 0%,rgba(36,81,230,.08),transparent 30%),
    linear-gradient(180deg,#fff 0%,var(--bg) 38%,var(--bg) 100%);
  line-height:1.64;
  font-size:17px;
}
a{color:inherit}
.site-shell{width:min(1180px,calc(100% - 40px));margin:0 auto}

/* R9.1 content uses the supplied public-site visual language. */
.hero{padding:32px 0 42px}
.heroBox{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:24px;
  padding:40px;
  background:rgba(255,255,255,.94);
  border:1px solid var(--line);
  border-radius:32px;
  box-shadow:var(--shadow);
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  margin-bottom:18px;
  border-radius:999px;
  background:var(--soft);
  color:#17356d;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.045em;
}
.hero h1{
  margin:0;
  max-width:860px;
  color:var(--ink);
  font-size:clamp(38px,5vw,58px);
  line-height:1.05;
  letter-spacing:-.055em;
}
.hero__lead{
  max-width:820px;
  margin:22px 0 0;
  color:var(--muted);
  font-size:20px;
}
.hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.button{
  display:inline-flex;
  min-height:48px;
  align-items:center;
  justify-content:center;
  padding:0 20px;
  border-radius:14px;
  font-weight:800;
  text-decoration:none;
  border:1px solid var(--line2);
  background:#fff;
  color:#1e293b;
}
.button--primary{color:#fff;background:var(--blue);border-color:var(--blue)}
.button:hover{border-color:#a9bee8;color:#1d4ed8}
.button--primary:hover{color:#fff;background:#1d4ed8}

.hero__facts{
  background:var(--navy);
  border-radius:24px;
  color:#fff;
  padding:24px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  align-content:end;
  min-height:300px;
}
.hero__facts div{
  min-height:106px;
  padding:14px;
  border-radius:16px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.18);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.hero__facts strong{font-size:23px;color:#fff;margin-bottom:5px}
.hero__facts span{color:rgba(255,255,255,.80);font-size:13px;font-weight:700}

.search-section{padding:8px 0 66px}
.section-heading{max-width:820px;margin-bottom:24px}
.section-heading h2,.seo-section h2{
  margin:0 0 12px;
  color:var(--ink);
  font-size:clamp(29px,4vw,40px);
  line-height:1.16;
  letter-spacing:-.035em;
}
.section-heading p{margin:0;color:var(--muted)}

.tool-search{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:22px;
  padding:20px;
  box-shadow:0 12px 32px rgba(15,23,42,.045);
  margin-bottom:24px;
}
.search-box input{
  display:block;
  width:100%;
  min-height:50px;
  padding:0 15px;
  border:1px solid var(--line2);
  border-radius:14px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  outline:none;
}
.search-box input:focus{
  border-color:rgba(36,81,230,.52);
  box-shadow:0 0 0 4px rgba(36,81,230,.08);
}
.category-filter{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.category-filter button{
  min-height:36px;
  padding:0 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:#526178;
  cursor:pointer;
  font:700 13px/1 Arial,Helvetica,sans-serif;
}
.category-filter button:hover{
  border-color:#a9bee8;
  color:#1d4ed8;
}
.category-filter button.is-active{
  color:#fff;
  background:var(--blue);
  border-color:var(--blue);
}
.search-summary{margin-top:12px;color:var(--muted);font-size:13px}

.tools-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.tool-card{
  display:flex;
  flex-direction:column;
  min-height:285px;
  padding:20px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:0 12px 32px rgba(15,23,42,.045);
  transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.tool-card:hover{
  transform:translateY(-2px);
  border-color:#a9bee8;
  box-shadow:0 20px 44px rgba(15,23,42,.075);
}
.tool-card[hidden]{display:none!important}
.tool-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:16px;
}
.tool-card__status{
  display:inline-flex;
  padding:6px 9px;
  border-radius:999px;
  background:var(--soft);
  color:#17356d;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.tool-card__kind{color:var(--muted);font-size:11px;text-align:right}
.tool-card h2{margin:0 0 10px;color:var(--ink);font-size:21px;line-height:1.22;letter-spacing:-.02em}
.tool-card h2 a{text-decoration:none}
.tool-card h2 a:hover{color:var(--blue)}
.tool-card p{margin:0 0 15px;color:#405066;font-size:14px}
.tool-card__standards{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:auto;
  padding-top:3px;
}
.tool-card__standards span{
  padding:5px 8px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--paper2);
  color:#526178;
  font-size:10px;
  font-weight:700;
}
.tool-card__action{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.tool-card__action a{
  color:var(--blue);
  text-decoration:none;
  font-size:13px;
  font-weight:800;
}
.tool-card__action a:hover{text-decoration:underline}

.empty-state{
  padding:28px;
  border:1px dashed var(--line2);
  border-radius:22px;
  background:#fff;
  color:var(--muted);
  text-align:center;
}

.seo-section{
  padding:62px 0;
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.72);
}
.seo-section--soft{background:rgba(238,244,255,.62)}
.seo-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
  gap:30px;
  align-items:start;
}
.seo-section p{max-width:840px;color:#405066}
.seo-panel{
  padding:24px;
  border-radius:24px;
  background:var(--navy);
  color:#fff;
}
.seo-panel h3{margin:0 0 12px;color:#fff;font-size:22px}
.seo-panel ul{margin:0;padding-left:20px;color:rgba(255,255,255,.82)}
.seo-panel li{margin:7px 0}

.steps{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.steps article{
  padding:20px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
}
.steps span{display:inline-block;margin-bottom:24px;color:var(--blue);font-weight:900}
.steps h3{margin:0 0 8px;color:var(--ink);font-size:19px}
.steps p{margin:0;color:#526178;font-size:14px}

.content-links{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);
  gap:30px;
  align-items:center;
}
.content-links__actions{
  display:flex;
  flex-direction:column;
  gap:9px;
}
.content-links__actions a{
  display:block;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#f9fbfe;
  color:#20324a;
  text-decoration:none;
  font-weight:700;
}
.content-links__actions a:hover{border-color:#a9bee8;color:#1d4ed8}

.visually-hidden{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

@media(max-width:960px){
  .heroBox,.seo-grid,.content-links{grid-template-columns:1fr}
  .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .site-shell{width:min(100% - 28px,1180px)}
  .hero{padding-top:20px}
  .heroBox{padding:24px}
  .hero__facts{grid-template-columns:1fr}
  .tools-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
}


/* FITSCALC TOOLS SEO HUB R9.2 */
.quick-tools{
  margin:0 0 24px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 32px rgba(15,23,42,.045);
}
.quick-tools__head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:14px;
}
.quick-tools__head h2{
  margin:0;
  color:var(--ink);
  font-size:25px;
  letter-spacing:-.025em;
}
.quick-tools__head p{
  max-width:470px;
  margin:0;
  color:var(--muted);
  font-size:13px;
  text-align:right;
}
.quick-tools__grid{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.quick-tools__grid a{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 12px;
  border:1px solid #d7e1ef;
  border-radius:999px;
  background:#f9fbfe;
  color:#29415d;
  text-decoration:none;
  font-size:12px;
  font-weight:750;
}
.quick-tools__grid a:hover{
  color:#1d4ed8;
  border-color:#a9bee8;
  background:#eef4ff;
}

.tool-card--link{
  color:inherit;
  text-decoration:none;
  cursor:pointer;
}
.tool-card--link:focus-visible{
  outline:3px solid rgba(36,81,230,.22);
  outline-offset:3px;
}
.tool-card--link:hover h2{color:var(--blue)}
.tool-card--link .tool-card__action span{
  color:var(--blue);
  font-size:13px;
  font-weight:800;
}

/* Distinct content zones */
.seo-section--normative{
  background:
    radial-gradient(circle at 86% 20%,rgba(36,81,230,.10),transparent 27%),
    linear-gradient(180deg,#f4f8ff 0%,#eef4ff 100%);
  border-top-color:#d5e2ff;
}
.seo-section--normative .eyebrow{
  color:#204ea8;
  background:#dfeaff;
}
.seo-section--normative .seo-panel{
  background:linear-gradient(145deg,#10264a,#173d72);
  box-shadow:0 20px 44px rgba(16,38,74,.15);
}

.seo-section--process{
  background:
    radial-gradient(circle at 12% 0%,rgba(30,122,90,.08),transparent 30%),
    linear-gradient(180deg,#f2fbf7 0%,#eaf7f1 100%);
  border-top-color:#d2eadf;
}
.seo-section--process .eyebrow{
  color:#176b55;
  background:#dff5eb;
}
.seo-section--process .steps article{
  border-color:#cfe6dc;
  box-shadow:0 10px 28px rgba(23,107,85,.045);
}
.seo-section--process .steps span{color:#17735a}

.seo-section--articles{
  background:
    radial-gradient(circle at 86% 10%,rgba(191,115,36,.09),transparent 28%),
    linear-gradient(180deg,#fffaf3 0%,#fff5e8 100%);
  border-top-color:#f0ddc1;
}
.seo-section--articles .eyebrow{
  color:#965c1d;
  background:#ffead0;
}
.seo-section--articles .content-links__actions a{
  border-color:#ead5b9;
  background:rgba(255,255,255,.70);
}
.seo-section--articles .content-links__actions a:hover{
  border-color:#cfaa78;
  color:#8a5015;
}

@media(max-width:760px){
  .quick-tools__head{
    align-items:flex-start;
    flex-direction:column;
  }
  .quick-tools__head p{text-align:left}
}


/* TOOLS R9.3 */
.tool-search__all{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.tool-search__all-title{
  margin-bottom:9px;
  color:#29415d;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.tool-search__all-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.tool-search__all-buttons a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 11px;
  border:1px solid #d7e1ef;
  border-radius:999px;
  background:#f9fbfe;
  color:#29415d;
  text-decoration:none;
  font-size:11px;
  font-weight:750;
}
.tool-search__all-buttons a:hover{
  color:#1d4ed8;
  border-color:#a9bee8;
  background:#eef4ff;
}
.quick-tools{display:none!important}
