:root {
  --navy: #142850;
  --blue: #1e5fd9;
  --blue-dark: #123a91;
  --red: #d63b2f;
  --ink: #1a2233;
  --muted: #5b6472;
  --line: #e2e6ec;
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --hero-bg: linear-gradient(135deg, #142850 0%, #1e5fd9 100%);
  --max: 800px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
a { color: var(--blue-dark); }
a:hover { color: var(--red); }

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 3px solid var(--red);
  background: var(--bg);
}
.site-title { display: flex; align-items: center; text-decoration: none; }
.site-title img { display: block; height: 40px; width: auto; }
.site-nav a {
  margin-left: 24px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:first-child { margin-left: 0; }
.site-nav a:hover { color: var(--red); }
.site-nav a.active { color: var(--red); border-bottom-color: var(--red); }

.site-main { max-width: var(--max); margin: 0 auto; padding: 0 24px 60px; }

/* Homepage hero */
.hero {
  background: var(--hero-bg);
  color: #ffffff;
  margin: 0 calc(-50vw + 50%);
  padding: 56px 24px 64px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #ffffff;
}
.hero p.lede {
  max-width: 640px;
  margin: 0 auto;
  font-size: 19px;
  color: #dce6ff;
}
/* Link color inside the hero MUST be overridden -- the global `a` color (--blue-dark, a DARK
   blue) is nearly invisible against the hero's dark navy background. This was a real contrast
   bug: the "ReshoreNow.org" link was unreadable. */
.hero a { color: #ffffff; text-decoration: underline; font-weight: 700; }
.hero a:hover { color: #ffd166; }
.hero-cta {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 32px;
  background: var(--red);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(214, 59, 47, 0.4);
}
.hero-cta:hover { background: #b8321f; color: #ffffff; }

.home-body { padding-top: 40px; }
.home-body h2 { font-size: 24px; color: var(--navy); margin-top: 48px; }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.benefit-grid li sup a { font-weight: 400; text-decoration: none; color: var(--blue-dark); }
.stat-sources {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 8px 0 24px;
  padding-left: 20px;
}
.stat-sources li { margin-bottom: 6px; }
.benefit-grid li {
  background: var(--bg-alt);
  border-left: 4px solid var(--red);
  padding: 16px 18px;
  font-weight: 600;
  color: var(--navy);
  border-radius: 4px;
}

.vss-promo {
  background: var(--bg-alt);
  border-left: 4px solid var(--blue);
  border-radius: 4px;
  padding: 20px 24px;
  margin: 40px 0;
}
.vss-promo p { margin: 0; color: var(--ink); }
.vss-promo .eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
}
.vss-promo a { color: var(--blue-dark); font-weight: 700; }
.vss-promo a:hover { color: var(--red); }

.featured-resource {
  background: linear-gradient(135deg, #fff7ed 0%, #fff 100%);
  border: 1px solid #f3d9b1;
  border-left: 4px solid var(--red);
  border-radius: 6px;
  padding: 24px 24px;
  margin: 40px 0;
}
.featured-resource .eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}
.featured-resource h3 { margin: 0 0 8px; font-size: 20px; }
.featured-resource h3 a { color: var(--navy); text-decoration: none; }
.featured-resource h3 a:hover { color: var(--red); }
.featured-resource p { margin: 0; color: var(--muted); }

.jump-select-wrap { margin: 12px 0 8px; }
.jump-select-wrap label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.jump-select {
  width: 100%;
  max-width: 480px;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}

.opt-in-section {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px 24px;
  margin: 48px 0;
  text-align: center;
}
.opt-in-section h2 { margin-top: 0; color: var(--navy); }
.opt-in-section p { color: var(--muted); margin-bottom: 24px; }

.site-main h1:not(.hero h1) { font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1.25; margin: 40px 0 6px; }
.post-body h1 { margin-top: 0; }
.site-main h2 { font-size: 22px; color: var(--navy); margin-top: 40px; }
.site-main h3 { font-size: 18px; color: var(--navy); }
.post-meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.post-body { padding-top: 32px; }
.post-body img, .post-body iframe { max-width: 100%; height: auto; border-radius: 6px; }
.post-body iframe { aspect-ratio: 16 / 9; width: 100%; height: auto; }

ul.index-list { list-style: none; padding: 0; margin: 32px 0 0; }
ul.index-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
ul.index-list li:first-child { padding-top: 0; }
ul.index-list a { text-decoration: none; font-size: 18px; font-weight: 700; color: var(--navy); }
ul.index-list a:hover { color: var(--red); }
ul.index-list .item-date { color: var(--muted); font-size: 13px; display: block; margin-top: 4px; }

.site-main > h1 { padding-top: 32px; }
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin: 44px 0 4px;
}
.section-note { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.download-list a {
  display: inline-block;
  margin: 8px 16px 0 0;
  padding: 10px 18px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}
.download-list a:hover { background: var(--blue-dark); color: #fff; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 480px) {
  .site-header { padding: 14px 16px; }
  .site-main { padding: 0 16px 48px; }
  .hero { padding: 40px 16px 48px; }
}
