@charset "utf-8";

/*
  Production shell overrides.
  The layout, menu behavior, typography base and footer originate from
  Template Party frame16-biz1-green + Parts Builder output.
*/

:root {
  --primary-color: #176b78;
  --primary-inverse-color: #fff;
  --light-color: #edf6f7;
  --light-inverse-color: #20343a;
  --accent-color: #e56f51;
  --accent-inverse-color: #fff;
  --service-ink: #20343a;
  --service-muted: #5e6d72;
  --service-line: #d9e3e5;
  --service-surface: #f6f8f8;
  --service-max: 1180px;
  --content-space-l: clamp(1.25rem, 5vw, 5rem);
  --content-space-v: clamp(3.5rem, 6vw, 6rem);
  --content-space-s: clamp(1rem, 2.5vw, 2rem);
}

html { overflow-x: hidden; }
body { color: var(--service-ink); background: #fff; }
body.home { background: #fff; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
#menubar_hdr:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-color) 65%, white);
  outline-offset: 3px;
}

.site-header {
  width: 100%;
  height: 76px;
  padding-inline: var(--content-space-s);
  border-bottom: 1px solid var(--service-line);
  background: rgba(255,255,255,.97);
  position: relative;
  z-index: 20;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--service-ink);
  text-decoration: none;
}

.site-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--primary-color);
  color: white;
  font-family: var(--accent-font);
  font-weight: 800;
  line-height: 1;
}

.site-brand-text { display: grid; line-height: 1.25; }
.site-brand-text strong { font-size: 1rem; }
.site-brand-text small { color: var(--service-muted); font-size: .65rem; font-weight: 500; }

.large-screen .site-header #menubar > nav > ul { gap: clamp(.85rem, 2vw, 1.7rem); }
.site-header #menubar a[aria-current="page"] { color: var(--primary-color); font-weight: 700; }
.small-screen .site-header #menubar { padding-top: 88px; }
.small-screen .site-header #menubar a { min-height: 48px; }

.site-main { width: 100%; }
.site-container { width: min(var(--service-max), calc(100% - 2 * var(--content-space-s))); margin-inline: auto; }

.page-hero {
  padding: clamp(2.25rem, 5vw, 4.5rem) var(--content-space-s);
  background: var(--light-color);
  border-bottom: 1px solid var(--service-line);
}

.page-hero-inner { width: min(var(--service-max), 100%); margin-inline: auto; }
.page-hero-kicker { margin: 0 0 .65rem; color: var(--primary-color); font: 700 .78rem/1.3 var(--accent-font); letter-spacing: .08em; }
.page-hero h1 { max-width: 18em; margin: 0 0 .85rem; font-size: clamp(1.85rem, 4vw, 3.2rem); line-height: 1.35; letter-spacing: 0; }
.page-hero p { max-width: 48rem; margin: 0; color: var(--service-muted); font-size: clamp(.95rem, 1.2vw, 1.08rem); line-height: 1.9; }

.breadcrumbs { width: min(var(--service-max), calc(100% - 2 * var(--content-space-s))); margin: 1.1rem auto 0; font-size: .75rem; color: var(--service-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: .45rem; color: #9aa8ac; }

.section-heading { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-heading span { display: block; margin-bottom: .35rem; color: var(--primary-color); font: 700 .75rem/1.2 var(--accent-font); letter-spacing: .08em; }
.section-heading h2 { margin: 0 0 .65rem; font-size: clamp(1.55rem, 2.7vw, 2.3rem); line-height: 1.4; }
.section-heading p { max-width: 46rem; margin: 0; color: var(--service-muted); line-height: 1.85; }

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.tool-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border: 1px solid var(--service-line);
  border-top: 4px solid var(--primary-color);
  border-radius: 6px;
  background: #fff;
}

.tool-card-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 1rem; border-radius: 6px; background: var(--light-color); color: var(--primary-color); font-size: 1.1rem; }
.tool-card h3 { margin: 0 0 .65rem; font-size: clamp(1.12rem, 2vw, 1.35rem); line-height: 1.5; }
.tool-card p { margin: 0 0 1.25rem; color: var(--service-muted); font-size: .9rem; line-height: 1.75; }
.tool-card .tool-link { display: inline-flex; align-items: center; gap: .55rem; justify-self: start; color: var(--primary-color); font-weight: 700; text-decoration: none; }
.tool-card .tool-link::after { content: "\2192"; }

.related-tools { padding: var(--content-space-v) var(--content-space-s); background: var(--service-surface); border-top: 1px solid var(--service-line); }
.related-tools-inner { width: min(var(--service-max), 100%); margin-inline: auto; }
.related-tools .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related-tools .tool-card { border-top-width: 1px; padding: 1.25rem; }

.site-note { padding: 1rem 1.15rem; border-left: 3px solid var(--primary-color); background: var(--light-color); color: var(--service-muted); font-size: .82rem; line-height: 1.75; }

.home-policy { padding: clamp(2.5rem, 5vw, 4rem) var(--content-space-s); background: var(--primary-color); color: white; }
.home-policy-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.home-policy h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.5rem); line-height: 1.45; }
.home-policy p { margin: 0; color: rgba(255,255,255,.84); }
.home-policy-label { margin-bottom: .45rem !important; font: 700 .75rem/1.2 var(--accent-font); letter-spacing: .1em; }

#footer4-parts { margin-top: auto; }
#footer4-parts .menu-parts { width: min(var(--service-max), 100%); margin: 0 auto 2rem; }
#footer4-parts .title-parts { margin-bottom: .45rem; font-weight: 700; }
#footer4-parts li:not(.title-parts) { margin-block: .25rem; }
#footer4-parts .menu-parts a { opacity: .78; }
.footer-note { width: min(var(--service-max), 100%); margin: 0 auto 1.5rem; color: rgba(255,255,255,.75); line-height: 1.7; }
.pr { display: block; padding: .35rem 1rem; background: #142f36; color: rgba(255,255,255,.68); text-align: center; font-size: .65rem; }
.pr a { color: inherit; }

.legal-page { padding: clamp(2rem, 5vw, 4.5rem) var(--content-space-s) var(--content-space-v); }
.legal-page-inner { width: min(860px, 100%); margin-inline: auto; }
.legal-page h2 { margin: 2.4rem 0 .75rem; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.legal-page h3 { margin: 1.6rem 0 .5rem; font-size: 1.08rem; }
.legal-page p, .legal-page li { line-height: 1.9; }
.legal-page ul { padding-left: 1.35rem; }
.legal-page .site-note { margin-block: 1.5rem; }
.page-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.page-actions a { display: inline-flex; min-height: 44px; align-items: center; padding: .7rem 1rem; border-radius: 5px; background: var(--primary-color); color: #fff; text-decoration: none; font-weight: 700; }
[data-ad-slot][hidden] { display: none !important; }
.ad-slot { width: min(var(--service-max), calc(100% - 2 * var(--content-space-s))); margin: 1rem auto; }

@media (max-width: 899px) {
  .site-header { height: 70px; padding-right: 76px; }
  .tool-grid { grid-template-columns: 1fr; }
  .related-tools .tool-grid { grid-template-columns: 1fr; }
  .home-policy-grid { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 430px) {
  .site-brand-mark { width: 34px; height: 34px; }
  .site-brand-text strong { font-size: .88rem; }
  .site-brand-text small { font-size: .58rem; }
  .page-hero h1 { font-size: 1.75rem; }
  .tool-card { padding: 1.15rem; }
}

@media print {
  .site-header,
  #footer4-parts,
  .pr,
  #menubar_hdr,
  #menubar-overlay,
  .pagetop,
  .related-tools { display: none !important; }
}
