/* NPS-AID — Government / nonprofit public service design */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,700;0,900;1,400&family=Public+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --blue-90: #1a4480;
  --blue-60: #005ea2;
  --blue-40: #2e7db8;
  --blue-10: #e7f2f8;
  --blue-5: #f5f9fc;
  --gray-90: #1b1b1b;
  --gray-70: #565c65;
  --gray-30: #d9d9d9;
  --gray-5: #f0f0f0;
  --white: #ffffff;
  --green-60: #2e8540;
  --gold-30: #c9a227;
  --max: 1160px;
  --header-h: 0px;
  --font-body: 'Public Sans', 'Segoe UI', system-ui, sans-serif;
  --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  font-family: var(--font-body);
  color: var(--gray-90);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.05rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-60); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--blue-90); }
ul, ol { padding-left: 1.35rem; }
ul li, ol li { margin-bottom: 0.4rem; }

.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--blue-90); color: #fff; padding: 0.75rem 1rem;
}
.skip-link:focus { left: 0; }

/* Keyboard focus — WCAG 2.4.7 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
video:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold-30);
  outline-offset: 2px;
}

/* 200% zoom / reflow (WCAG 1.4.4, 1.4.10) */
body { overflow-x: clip; }
.container { max-width: 100%; }
video { width: 100%; max-width: 100%; }

/* Utility contact links */
.utility-links a { color: #fff; }

/* GTranslate float widget — bottom-left */
.gtranslate_wrapper,
.gt_switcher_wrapper {
  z-index: 998 !important;
}
#gt-wrapper-npsaid {
  position: relative;
  z-index: 998;
}
.gt_float_switcher {
  font-family: var(--font-body) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

/* Utility bar */
.utility-bar {
  background: var(--gray-90);
  color: #fff;
  font-size: 0.875rem;
}
.utility-bar .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.5rem 1.5rem; padding: 0.45rem 0;
}
.utility-bar a { color: #fff; text-decoration: none; }
.utility-bar a:hover { text-decoration: underline; }

/* Site header */
.site-header {
  background: var(--white);
  border-bottom: 4px solid var(--blue-60);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.header-main .container {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1rem 0;
}
.site-logo img { height: 72px; width: auto; }
.site-identity { flex: 1; min-width: 0; }
.site-identity .org-name {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 900;
  color: var(--blue-90);
  line-height: 1.25;
  text-decoration: none;
}
.site-identity .tagline {
  font-size: 0.9rem;
  color: var(--gray-70);
  margin-top: 0.2rem;
}
.header-ctas {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .header-ctas { display: flex; }
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--blue-60); color: #fff !important; border-color: var(--blue-60); }
.btn-primary:hover { background: var(--blue-90); border-color: var(--blue-90); color: #fff !important; }
.btn-secondary { background: var(--white); color: var(--blue-60) !important; border-color: var(--blue-60); }
.btn-secondary:hover { background: var(--blue-10); }
.btn-agency { background: var(--green-60); color: #fff !important; border-color: var(--green-60); }
.btn-agency:hover { background: #1f5c2e; border-color: #1f5c2e; color: #fff !important; }
.btn-block { display: block; width: 100%; }

/* Primary nav */
.primary-nav {
  background: var(--blue-90);
}
.primary-nav .container {
  display: flex; align-items: stretch; justify-content: space-between;
}
.nav-list {
  list-style: none;
  display: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 900px) {
  .nav-list { display: flex; flex-wrap: wrap; }
}
.nav-list a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.85rem 1rem;
}
.nav-list a:hover,
.nav-list a.is-active { background: rgba(255,255,255,0.12); }
.nav-list .nav-cta {
  display: flex;
  align-items: center;
  margin-left: 0.35rem;
  padding: 0.45rem 0.5rem 0.45rem 0.75rem;
}
.nav-list .btn-nav-account {
  display: inline-block;
  background: #fff;
  color: var(--blue-90) !important;
  border: 2px solid #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.4rem 0.85rem;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1.2;
}
.nav-list .btn-nav-account:hover,
.nav-list .btn-nav-account:focus-visible {
  background: var(--blue-10);
  color: var(--blue-90) !important;
  border-color: #fff;
}
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.85rem 1rem;
  cursor: pointer;
  margin-left: auto;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: #fff;
}
.nav-mobile {
  display: none;
  background: var(--blue-90);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 0.5rem 0 1rem;
  /* Height is set in JS from the menu's top to the visible bottom of the screen */
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0.65rem 1rem;
  font-weight: 600;
}
.nav-mobile a:hover { background: rgba(255,255,255,0.1); }
.nav-mobile .mobile-ctas {
  padding: 0.75rem 1rem 5.5rem; /* clear floating EN + Accessibility widgets */
  display: grid;
  gap: 0.5rem;
}

/* Soft page lock while menu is open — menu panel itself scrolls */
body.nav-open {
  overflow: hidden;
}

/* Hero */
.page-hero,
.home-hero {
  background: var(--blue-90);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.home-hero {
  background:
    linear-gradient(90deg, rgba(26,68,128,0.94) 0%, rgba(26,68,128,0.82) 55%, rgba(26,68,128,0.55) 100%),
    url('../images/heroes/capitol.jpg') center center / cover no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.hero-media-badge {
  position: absolute;
  right: clamp(0.75rem, 3vw, 1.75rem);
  bottom: clamp(0.75rem, 2.5vw, 1.5rem);
  z-index: 2;
  display: block;
  line-height: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.hero-media-badge img {
  width: clamp(96px, 14vw, 140px);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}
.hero-media-badge:hover,
.hero-media-badge:focus-visible {
  transform: scale(1.04);
  outline: none;
}
.hero-media-badge:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85);
  border-radius: 4px;
}
.page-hero {
  padding: 2.75rem 0 3.25rem;
  min-height: 250px;
  display: flex;
  align-items: center;
  background-color: #123260;
  background-image:
    linear-gradient(151deg, rgba(18, 50, 96, 0.66) 2%, rgba(18, 50, 96, 0.92) 96%),
    url('../images/heroes/capitol.jpg');
  background-position: center center, center center;
  background-size: cover, cover;
  background-repeat: no-repeat;
}
.page-hero--inspira {
  background-color: #044a75;
  background-image:
    linear-gradient(176deg, #1c5782 14%, rgba(3, 64, 117, 0.72) 88%),
    url('../images/inspira/hero-bg.jpg');
  background-position: right center, right center;
  background-size: cover, cover;
  background-repeat: no-repeat;
  padding: 3rem 0 3.5rem;
  min-height: 280px;
}
.page-hero--dispatch {
  background-image:
    linear-gradient(151deg, rgba(18, 50, 96, 0.66) 2%, #123260 96%),
    url('../images/heroes/dispatch.jpg');
  background-position: center center, center center;
}
.page-hero--nj {
  background-image:
    linear-gradient(176deg, rgba(18, 50, 96, 0.65) 26%, rgba(18, 50, 96, 0.97) 91%),
    url('../images/heroes/new-jersey.jpg');
  background-position: center center, center center;
}
.page-hero--notification {
  background-image:
    linear-gradient(120deg, rgba(18, 50, 96, 0.75) 0%, rgba(18, 50, 96, 0.9) 100%),
    url('../images/heroes/capitol.jpg');
  background-position: center center, center center;
}
.page-hero--blue-envelope {
  background-image:
    linear-gradient(151deg, rgba(18, 50, 96, 0.55) 2%, rgba(18, 50, 96, 0.88) 96%),
    url('../images/heroes/blue-envelope.jpg');
  background-position: center center, center center;
}
.page-hero--blue-supply {
  background-image:
    linear-gradient(151deg, rgba(18, 50, 96, 0.55) 2%, rgba(18, 50, 96, 0.88) 96%),
    url('../images/heroes/blue-supply.png');
  background-position: center center, center center;
}
.page-hero .breadcrumb a { color: rgba(255, 255, 255, 0.9); }
.page-hero--inspira .lead { max-width: 58ch; }
.page-hero h1,
.home-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  max-width: none;
}
.page-hero p,
.home-hero .lead {
  max-width: 60ch;
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.breadcrumb { margin-bottom: 0.75rem; font-size: 0.9rem; }
.breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* Sections */
.section { padding: 2.75rem 0; }
.section-alt { background: var(--gray-5); }
.section-blue { background: var(--blue-10); }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--blue-90);
  margin-bottom: 1rem;
  font-weight: 900;
}
.section-lead { color: var(--gray-70); max-width: 65ch; margin-bottom: 1.5rem; }

/* Feature cards (homepage) */
.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-30);
  border-top: 4px solid var(--blue-60);
  padding: 1.25rem;
}
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--blue-90);
  margin-bottom: 0.5rem;
}
.feature-card p { font-size: 0.95rem; color: var(--gray-70); }

/* Recruitment band */
.recruit-band {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) { .recruit-band { grid-template-columns: 1fr 1fr; } }
.recruit-card {
  border: 1px solid var(--gray-30);
  padding: 1.75rem;
  background: var(--white);
}
.recruit-card--participant { border-top: 5px solid var(--blue-60); }
.recruit-card--agency { border-top: 5px solid var(--green-60); background: var(--blue-5); }
.recruit-card h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--blue-90);
  margin-bottom: 0.75rem;
}
.recruit-card p { color: var(--gray-70); margin-bottom: 1rem; }
.recruit-card .btn { margin-right: 0.5rem; margin-bottom: 0.5rem; }

/* Homepage impact section */
.home-impact { padding: 0; background: var(--white); }
.impact-hero {
  background: linear-gradient(135deg, var(--blue-90) 0%, var(--blue-60) 100%);
  color: #fff;
  padding: 2.75rem 0;
}
.impact-hero .section-title {
  color: #fff;
  margin-bottom: 1.25rem;
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.05rem, 2.1vw, 1.85rem);
  line-height: 1.25;
}
@media (max-width: 720px) {
  .impact-hero .section-title {
    white-space: normal;
    font-size: clamp(1.25rem, 5vw, 1.6rem);
  }
}
.impact-hero-body {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 900px) {
  .impact-hero-body {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}
.impact-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: none;
  margin: 0;
}
.impact-hero-video { margin: 0; }
.impact-hero-video video {
  width: 100%;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
  display: block;
}
.impact-hero .video-caption {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.5rem;
  font-size: 0.9rem;
}
.impact-columns {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0 1.5rem;
}
@media (min-width: 800px) {
  .impact-columns { grid-template-columns: 1fr 1fr; }
}
.impact-col p {
  color: var(--gray-70);
  margin-bottom: 1rem;
}
.impact-col .note {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--gray-70);
}
.impact-quote {
  border: none;
  margin: 0 0 2rem;
  padding: 1.75rem 2rem;
  background: var(--blue-10);
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-style: italic;
  font-weight: 700;
  color: var(--blue-90);
  line-height: 1.5;
}
.impact-tags {
  background: var(--gray-5);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.impact-tags-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-90);
  margin-bottom: 0.75rem;
}
.impact-tags .tag-list { margin: 0; }
.impact-tags .tag-list span {
  background: var(--white);
  border-color: var(--gray-30);
}
.impact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-start;
  padding-bottom: 2.5rem;
}

/* Agency CTA band */
.agency-cta {
  background: var(--blue-90);
  color: #fff;
  padding: 2.5rem 0;
}
.agency-cta h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.agency-cta p { color: rgba(255,255,255,0.88); max-width: 60ch; margin-bottom: 1.25rem; }
.agency-cta .btn-primary { background: #fff; color: var(--blue-90) !important; border-color: #fff; }
.agency-cta .btn-primary:hover { background: var(--blue-10); }
.agency-cta .btn-secondary {
  background: #fff;
  color: var(--blue-60) !important;
  border-color: #fff;
  text-decoration: none;
}
.agency-cta .btn-secondary:hover {
  background: var(--blue-10);
  color: var(--blue-90) !important;
}

/* Legacy fixed ADA link removed — use Accessibility Tools toolbar */

/* Content prose */
.prose { max-width: 75ch; }
.prose.prose--wide { max-width: none; }
.prose h2, .prose h3, .prose h4, .prose h5 {
  font-family: var(--font-heading);
  color: var(--blue-90);
  margin: 1.75rem 0 0.65rem;
}
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.25rem; }
.prose h4, .prose h5 { font-size: 1.1rem; }
.prose p { margin-bottom: 1rem; color: var(--gray-70); }
.prose ul, .prose ol { margin-bottom: 1rem; color: var(--gray-70); }
.prose .note { font-size: 0.9rem; font-style: italic; }

/* FAQ */
.faq details {
  border: 1px solid var(--gray-30);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  background: var(--white);
}
.faq summary {
  padding: 1rem 1.15rem;
  font-weight: 700;
  color: var(--blue-90);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { border-bottom: 1px solid var(--gray-30); background: var(--blue-5); }
.faq .faq-body { padding: 1rem 1.15rem; color: var(--gray-70); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* Process steps */
.steps { display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  border: 1px solid var(--gray-30);
  padding: 1.25rem;
  background: var(--white);
  position: relative;
  padding-top: 2.75rem;
}
.step::before {
  counter-increment: step;
  content: 'Step ' counter(step);
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--blue-60);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
}
.step h3 { font-family: var(--font-heading); font-size: 1.05rem; color: var(--blue-90); margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; color: var(--gray-70); }

/* Video embed */
.video-block { margin: 1.5rem 0; }
.video-block video { width: 100%; max-width: 720px; border: 1px solid var(--gray-30); background: #000; }
.video-caption { font-size: 0.9rem; color: var(--gray-70); margin-top: 0.5rem; }

/* Forms — external SecureForms CTA (no embedded iframe) */
.form-cta {
  display: grid;
  gap: 1.25rem;
  align-items: start;
  grid-template-columns: auto 1fr;
  border: 1px solid var(--gray-30);
  background: linear-gradient(180deg, var(--blue-5) 0%, var(--white) 55%);
  padding: 1.75rem 1.5rem;
  max-width: 52rem;
}
@media (max-width: 560px) {
  .form-cta { grid-template-columns: 1fr; }
}
.form-cta-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  background: var(--blue-90);
  color: #fff;
  flex-shrink: 0;
}
.form-cta-body h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--blue-90);
  margin-bottom: 0.5rem;
}
.form-cta-body p {
  color: var(--gray-70);
  margin-bottom: 1rem;
  max-width: 48ch;
}
.form-cta-note {
  margin-top: 0.85rem !important;
  margin-bottom: 0 !important;
  font-size: 0.875rem;
}
.form-panel {
  border: 1px solid var(--gray-30);
  background: var(--white);
  margin-top: 1.5rem;
}
.form-panel-header {
  background: var(--blue-90);
  color: #fff;
  padding: 1rem 1.25rem;
}
.form-panel-header h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin: 0;
}
.form-panel iframe {
  width: 100%;
  min-height: 700px;
  border: 0;
  display: block;
}
.form-panel-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--gray-30);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Trusted Resource seal + flyer */
.seal-feature {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: minmax(220px, 380px) 1fr;
}
@media (max-width: 800px) {
  .seal-feature { grid-template-columns: 1fr; }
}
.seal-feature-media img {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-inline: auto;
}
.seal-feature-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--blue-90);
  margin-bottom: 0.85rem;
}
.seal-feature-copy p {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
  max-width: none;
}
.seal-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.55rem;
}
.seal-feature-list li {
  margin: 0;
  padding-left: 1.75rem;
  position: relative;
  font-weight: 600;
  color: var(--blue-90);
}
.seal-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--gold-30);
  box-shadow: inset 0 0 0 2px #fff;
}
.flyer-block {
  margin: 1.25rem 0 0;
}
.flyer-block img {
  width: 100%;
  height: auto;
  border: 1px solid var(--gray-30);
}
.flyer-block figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-70);
}

/* Inspira Health page */
.inspira-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}
.inspira-brand img {
  max-width: 280px;
  width: 100%;
  height: auto;
}
.inspira-impact {
  width: 100%;
  max-width: none;
}
.inspira-impact .section-title {
  margin-bottom: 1.25rem;
  white-space: nowrap;
  font-size: clamp(1.05rem, 2.1vw, 1.85rem);
  max-width: none;
  line-height: 1.25;
}
@media (max-width: 720px) {
  .inspira-impact .section-title {
    white-space: normal;
    font-size: clamp(1.25rem, 5vw, 1.6rem);
  }
}
.inspira-impact-img {
  float: right;
  width: min(420px, 42%);
  height: auto;
  margin: 0 0 1.25rem 1.75rem;
  border: 1px solid var(--gray-30);
  shape-outside: margin-box;
}
.inspira-impact-copy {
  max-width: none;
  font-size: 1.05rem;
}
.inspira-impact-copy p {
  margin-bottom: 1rem;
  max-width: none;
}
.inspira-impact-copy .hero-actions {
  clear: both;
  padding-top: 0.5rem;
}
@media (max-width: 700px) {
  .inspira-impact-img {
    float: none;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto 1.25rem;
    display: block;
  }
}
.inspira-videos {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 760px) {
  .inspira-videos { grid-template-columns: 1fr; }
}
.inspira-materials {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .inspira-materials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
  .inspira-materials { grid-template-columns: 1fr; max-width: 22rem; margin-inline: auto; }
}
.inspira-material {
  margin: 0;
  text-align: center;
}
.inspira-material a {
  display: block;
  border: 1px solid var(--gray-30);
  background: var(--white);
  padding: 0.75rem;
  text-decoration: none;
}
.inspira-material a:hover { border-color: var(--blue-60); }
.inspira-material img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  margin: 0 auto;
}
.inspira-material figcaption {
  margin-top: 0.6rem;
  font-weight: 700;
  color: var(--blue-90);
  font-size: 0.9rem;
}

/* Pricing table */
.pricing-grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
.price-card {
  border: 1px solid var(--gray-30);
  padding: 1.5rem;
  background: var(--white);
}
.price-card h3 { font-family: var(--font-heading); color: var(--blue-90); margin-bottom: 0.5rem; }
.price-card ul { margin: 1rem 0; }
.price-card .discount { color: var(--green-60); font-weight: 700; margin-top: 1rem; }

/* Blue Envelope supply samples */
.supply-samples {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(180px, 280px) 1fr 1fr;
  align-items: start;
  margin-bottom: 0.5rem;
}
@media (max-width: 900px) {
  .supply-samples { grid-template-columns: 1fr; max-width: 36rem; margin-inline: auto; }
}
.supply-sample {
  margin: 0;
  text-align: center;
}
.supply-sample a {
  display: block;
  text-decoration: none;
  border: 1px solid var(--gray-30);
  background: var(--white);
  padding: 0.75rem;
  transition: border-color 0.15s ease;
}
.supply-sample a:hover { border-color: var(--blue-60); }
.supply-sample img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  margin: 0 auto;
}
.supply-sample figcaption {
  margin-top: 0.65rem;
  font-weight: 700;
  color: var(--blue-90);
  font-size: 0.95rem;
}
.supply-sample figcaption span {
  display: block;
  font-weight: 500;
  color: var(--gray-70);
  font-size: 0.8rem;
}

/* State chapters */
.chapter-level { margin-bottom: 1.5rem; }
.chapter-level h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--blue-90);
  border-bottom: 2px solid var(--blue-60);
  padding-bottom: 0.35rem;
  margin-bottom: 0.75rem;
}
.chapter-list { list-style: none; padding: 0; }
.chapter-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--gray-30);
}
.chapter-list a { font-weight: 600; text-decoration: none; }
.chapter-list a:hover { text-decoration: underline; }
.state-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.state-link {
  display: block;
  padding: 1rem;
  border: 1px solid var(--gray-30);
  background: var(--white);
  text-decoration: none;
  color: var(--blue-90);
  font-weight: 700;
}
.state-link:hover { border-color: var(--blue-60); background: var(--blue-5); }
.state-link small { display: block; font-weight: 400; color: var(--gray-70); margin-top: 0.2rem; }

/* Trusted resources */
.partner-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.partner-card {
  border: 1px solid var(--gray-30);
  padding: 1.25rem;
  text-align: center;
  background: var(--white);
  text-decoration: none;
  color: var(--gray-90);
}
.partner-card:hover { border-color: var(--blue-60); }
.partner-card img { max-height: 64px; margin: 0 auto 0.75rem; object-fit: contain; }
.partner-card span { font-weight: 600; font-size: 0.95rem; }

/* Conditions tags */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0; }
.tag-list span {
  font-size: 0.8rem;
  background: var(--blue-10);
  color: var(--blue-90);
  border: 1px solid #b8d4e8;
  padding: 0.25rem 0.55rem;
  border-radius: 2px;
}

/* Quote */
.blockquote {
  border-left: 4px solid var(--blue-60);
  padding: 1rem 1.25rem;
  background: var(--blue-5);
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--gray-70);
}

/* Legal */
.legal-section { margin-bottom: 1.5rem; }
.legal-section h2 { font-size: 1.15rem; }

/* Portal gate */
.portal-gate {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--gray-30);
  background: var(--white);
}
.portal-gate-header {
  background: var(--blue-10);
  border-bottom: 1px solid var(--gray-30);
  padding: 1.25rem;
}
.portal-gate-body {
  padding: 1.25rem;
  max-height: 50vh;
  overflow-y: auto;
}
.portal-gate-actions {
  padding: 1.25rem;
  border-top: 1px solid var(--gray-30);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* NJ access gate */
.access-gate {
  max-width: 480px;
  margin: 2rem auto;
  padding: 2rem;
  border: 2px solid var(--blue-60);
  background: var(--blue-5);
}
.access-gate input {
  width: 100%;
  padding: 0.65rem;
  border: 1px solid var(--gray-30);
  margin: 0.75rem 0;
  font: inherit;
}

/* Partners marquee */
.partners-strip {
  padding: 1.5rem 0;
  background: var(--white);
  border-top: 1px solid var(--gray-30);
  border-bottom: 1px solid var(--gray-30);
}
.partners-strip p {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-70);
  margin-bottom: 1rem;
}
.partners-logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1.5rem 2rem;
}
.partners-logos--grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem 1.5rem;
  justify-items: center;
  align-items: center;
}
@media (max-width: 900px) {
  .partners-logos--grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
  .partners-logos--grid { grid-template-columns: repeat(2, 1fr); }
}
.partners-logos a {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  text-decoration: none;
}
.partners-logos img {
  max-height: 48px;
  width: auto;
  max-width: 100%;
  opacity: 0.85;
  border: none;
  outline: none;
  box-shadow: none;
}
.partners-logos a:hover img { opacity: 1; }

/* Trusted Resources page — 3 logos per row, larger */
.partners-logos--large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  padding: 0.75rem 0 1.25rem;
}
.partners-logos--large a {
  width: 100%;
  min-height: 9rem;
  padding: 1rem 1.25rem;
}
.partners-logos--large img {
  max-height: 120px;
  max-width: 100%;
  width: auto;
  opacity: 1;
}
@media (max-width: 800px) {
  .partners-logos--large { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
  .partners-logos--large a { min-height: 7rem; }
  .partners-logos--large img { max-height: 96px; }
}
@media (max-width: 480px) {
  .partners-logos--large { grid-template-columns: 1fr; max-width: 16rem; margin-inline: auto; }
  .partners-logos--large a { min-height: 6rem; }
  .partners-logos--large img { max-height: 88px; }
}

/* Footer */
.site-footer {
  background: var(--gray-90);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid h3 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.footer-grid a {
  display: block;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-disclaimer {
  margin-top: 1rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.5);
}

/* Contact row */
.contact-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin: 1rem 0;
}
.contact-item strong { display: block; color: var(--blue-90); }

/* Image float */
.img-right {
  float: right;
  max-width: 280px;
  margin: 0 0 1rem 1.5rem;
  border: 1px solid var(--gray-30);
}
@media (max-width: 600px) {
  .img-right { float: none; max-width: 100%; margin: 0 0 1rem; }
}
.clearfix::after { content: ''; display: table; clear: both; }

/* Alert banner */
.alert {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--blue-60);
  background: var(--blue-10);
  margin-bottom: 1.5rem;
  color: var(--gray-70);
}
.alert strong { color: var(--blue-90); }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }
