:root {
  --qualify-accent: #0f766e;
  --cred-warm: #f7f8f4;
}

body {
  padding-bottom: 4.5rem;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

/* Header credentials */
.header-stack {
  padding: 0.65rem 0 0.75rem;
}

.header-stack .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
  margin-bottom: 0.65rem;
}

.header-tagline {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: right;
  max-width: 12rem;
  line-height: 1.3;
}

.header-credentials-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.header-credentials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: min-content;
  padding-bottom: 0.15rem;
}

.cred-badge {
  display: block;
  flex: 0 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cred-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.14);
}

.cred-badge img {
  display: block;
  width: auto;
  object-fit: contain;
  background: #fff;
  padding: 0.2rem 0.35rem;
}

.cred-badge--sm img {
  height: 48px;
  max-width: 160px;
}

.cred-badge--lg img {
  height: 76px;
  max-width: 240px;
}

.cred-badge[data-cred="bbb"] img {
  height: 58px;
  max-width: 46px;
  padding: 0.1rem 0.2rem;
}

.cred-badge[data-cred="ingrams"] img {
  background: #000;
}

.cred-badge[data-cred="inc5000"] img {
  max-width: 200px;
}

.cred-badge[data-cred="ey"] img {
  max-width: 220px;
}

.cred-badge[data-cred="glassdoor"] img {
  max-width: 180px;
}

@media (min-width: 960px) {
  .header-stack {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.25rem;
    padding: 0.75rem 0;
  }

  .header-stack .header-inner {
    margin-bottom: 0;
  }

  .header-tagline {
    display: none;
  }
}

/* Credentials showcase */
.credentials-showcase {
  background: var(--cred-warm);
}

.credentials-showcase-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .credentials-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .credentials-showcase-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cred-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.cred-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  margin-bottom: 0.85rem;
}

.cred-card-logo img {
  max-height: 104px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.cred-card-logo[data-cred="bbb"] img {
  max-height: 140px;
  max-width: 104px;
}

.cred-card-logo[data-cred="inc5000"] img {
  max-height: 104px;
  max-width: 360px;
}

.cred-card-logo[data-cred="ingrams"] img {
  background: #000;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  max-height: 72px;
}

.cred-card-logo[data-cred="ey"] img {
  max-height: 64px;
  max-width: 360px;
}

.cred-card-logo[data-cred="glassdoor"] img {
  max-height: 88px;
}

.cred-card-logo[data-cred="kcbj"] img {
  max-height: 96px;
  max-width: 360px;
}

.cred-card-logo[data-cred="abc"] img {
  max-height: 112px;
  max-width: 112px;
}

.cred-card h3 {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--accord-green-dark);
}

.cred-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accord-green);
  text-decoration: none;
}

.cred-card-link:hover {
  text-decoration: underline;
}

/* Market spotlights */
.spotlight-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .spotlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.spotlight-card,
.spotlight-feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.spotlight-feature {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .spotlight-feature {
    grid-template-columns: 1fr 1.1fr;
  }
}

.spotlight-logo {
  width: auto;
  max-width: 320px;
  height: auto;
  max-height: 112px;
  margin-bottom: 1rem;
}

#spotlight-glassdoor-logo {
  max-width: 280px;
  max-height: 96px;
}

#spotlight-kcbj-logo {
  max-width: 360px;
  max-height: 112px;
}

#spotlight-abc-logo {
  max-width: 140px;
  max-height: 140px;
}

.spotlight-card h2,
.spotlight-feature h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.spotlight-feature h2 em {
  font-style: normal;
  color: var(--accord-green-dark);
}

.stat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.45rem;
}

.stat-list li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.stat-list strong {
  color: var(--text);
}

.spotlight-video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  background: #000;
}

.spotlight-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* Route E hero */
.hero-qualify {
  padding: 3rem 0 3.5rem;
  color: var(--white);
  background:
    linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.88)),
    var(--hero-image, linear-gradient(135deg, #1a2e1a 0%, #243524 100%));
  background-size: cover;
  background-position: center;
}

.hero-qualify-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-qualify-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.65rem;
}

.hero-qualify h1 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 1rem;
}

.hero-qualify .hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  max-width: 38rem;
}

.hero-proof-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}

.hero-proof-lead {
  margin: 0 0 1rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.hero-proof-list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-proof-list li + li {
  margin-top: 0.45rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-cta-note {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  color: var(--accord-green-dark);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.fit-filter-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .fit-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.fit-card {
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border);
}

.fit-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
}

.fit-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.fit-card li + li {
  margin-top: 0.45rem;
}

.fit-card--yes {
  background: var(--accord-green-light);
  border-color: rgba(45, 90, 39, 0.15);
}

.fit-card--yes h3 {
  color: var(--accord-green-dark);
}

.fit-card--no {
  background: #fafafa;
}

.steps-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  max-width: 720px;
}

.steps-list li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  position: relative;
  box-shadow: var(--shadow);
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--accord-green);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

.steps-list strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accord-green-dark);
}

.steps-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.quiz-traits {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.5rem;
}

.quiz-traits li {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--accord-green-light);
  color: var(--accord-green-dark);
  font-weight: 700;
  font-size: 0.88rem;
}

.quiz-traits li::before {
  content: "✓ ";
}

.quiz-callout {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.final-apply-callout {
  text-align: center;
  max-width: 720px;
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.final-apply-callout h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.final-apply-callout p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.footer-legal {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sticky-mobile-cta {
  display: grid;
  grid-template-columns: 1fr;
}

.site-footer .footer-logo {
  filter: none;
  opacity: 1;
  height: auto;
  max-width: 180px;
  width: 180px;
}

.local-callout {
  max-width: 720px;
  margin-inline: auto;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--accord-green-light);
  border: 1px solid rgba(45, 90, 39, 0.12);
}

.local-callout h2 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  color: var(--accord-green-dark);
}

.local-callout p {
  margin: 0;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .sticky-mobile-cta {
    display: none;
  }
}
