/* Tool pages (/tools/*): light canvas, centered column, no full-bleed photo background */

body.tools-page {
  background: #f5f2ec;
  color: var(--ink);
}

body.tools-page::before {
  display: none !important;
  content: none !important;
}

body.tools-page .site {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem) 3rem;
}

body.tools-page .hero {
  margin-top: 0;
  padding: 1.25rem 0 2.5rem;
}

body.tools-page nav[aria-label="Primary"] {
  border-bottom-color: rgba(0, 0, 0, 0.1);
  padding: 1.25rem 0 0.75rem;
}

@media (max-width: 480px) {
  body.tools-page nav[aria-label="Primary"] {
    padding: 1rem 0 0.65rem;
  }

  body.tools-page .hero {
    padding: 0.75rem 0 1.75rem;
  }
}

body.tools-page .hero h1,
body.tools-page .hero-solution,
body.tools-page .hero-sub,
body.tools-page .cover-title-headline,
body.tools-page .cover-title-sub {
  text-shadow: none;
}

body.tools-page .hero.hero-with-viz {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.tools-page .hero-viz-copy {
  width: 100%;
  max-width: 40rem;
  text-align: center;
}

body.tools-page .hero-eyebrow,
body.tools-page .hero h1 {
  text-align: center;
}

body.tools-page .hero-sub,
body.tools-page .hpt-sub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body.tools-page .hero-ctas {
  justify-content: center;
}

body.tools-page .hero-viz-frame {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 769px) {
  body.tools-page .hero {
    max-width: none;
  }
}
