/* Shared tools shell: the site nav + site footer + a page-title band.
   Use px, not rem: the /tools pages load bootstrap, whose `html{font-size:10px}`
   would shrink every rem by ~40%. */

.product-nav {
    background: #fff;
    border-bottom: 1px solid #e3e8ef;
}

.product-nav .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.product-nav a { color: #2c5282; text-decoration: none; font-size: 16px; }
.product-nav a:hover { text-decoration: underline; }

.product-nav a.current {
    color: #1a365d;
    font-weight: 700;
    border-bottom: 2px solid #2c5282;
}

.product-nav a.brand { margin-right: auto; font-weight: 700; color: #333; }

body { padding-top: 0; }

/* sticky footer: a short page still fills at least one screen */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > .site-footer { margin-top: auto; }

/* shared site footer */
.site-footer { background: #2d3748; color: #fff; text-align: center; padding: 32px 0; margin-top: 32px; }
.site-footer a { color: #cbd5e1; text-decoration: none; margin: 0 8px; font-size: 15px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin-top: 10px; color: #e2e8f0; }

/* page-title band (class-scoped so it never touches the tool pages' own header) */
header.page-hero { background: #2c5282; color: #fff; padding: 40px 0; text-align: center; }
header.page-hero h1 { color: #fff; font-size: 38px; font-weight: 700; margin: 0; line-height: 1.25; }
header.page-hero p { color: #fff; opacity: 0.92; font-size: 18px; max-width: 820px; margin: 8px auto 0; }
/* hero badges that were styled for a light background: keep them readable on the blue band */
header.page-hero .hero-badges { color: #fff; opacity: 0.95; gap: 10px; }
header.page-hero .hero-badges span {
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    padding: 4px 14px;
    background: rgba(255,255,255,.08);
}
header.page-hero .hero-badges span::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 11px;
    margin-right: 8px;
    border: solid #9ae6b4;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    vertical-align: -1px;
}

/* Keep the shared bands full-bleed: neutralise page-specific `.container`
   card styling (white background / padding / shadow) that would otherwise
   paint a white box behind the white hero/footer text. */
header.page-hero .container,
.site-footer .container {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0 15px;
    margin: 0 auto;
    max-width: 1000px;
}
