/* React landing page - extends brand.css */

.nav-desktop a.is-active {
  color: var(--color-primary);
  background: var(--color-surface-2);
}

.nav-mobile a.is-active {
  color: var(--color-primary);
}

.react-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.25rem;
}

.react-hero-badge svg {
  flex-shrink: 0;
  opacity: 0.9;
}

/* Hero card CTA - distinct purple (scoped so global primary stays on-brand elsewhere) */
.btn.react-hero-card-cta.btn--primary {
  background: #6b46c1;
  border-color: #6b46c1;
  box-shadow: 0 4px 16px rgba(107, 70, 193, 0.28);
}

.btn.react-hero-card-cta.btn--primary:hover {
  background: #5b21b6;
  border-color: #5b21b6;
  box-shadow: 0 6px 20px rgba(91, 33, 182, 0.32);
}

/* --- Hiring dashboard centered hero + rotating phrase ---------------------- */

.hero--centered .hero-grid {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.hero--centered .reveal {
  max-width: 70rem;
}

.hero--centered .h1 {
  margin-inline: auto;
  max-width: 70rem;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.08;
}

.hero--centered .lead {
  margin-inline: auto;
  max-width: 46rem;
  text-align: center;
}

#hero.hero--centered .lead {
  margin-top: 1.25rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 901px) {
  #hero.hero--centered .lead {
    padding-right: 0;
  }
}

.hero--centered .btn-row {
  justify-content: center;
}

.hero-rotating-word {
  display: block;
  color: var(--color-primary-alt);
  transition: opacity 0.4s ease;
}

.trust-line {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-alt);
}

/* --- Contact hero: copy + form left, photo right -------------------------- */

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4.5vw, 3.75rem);
  align-items: start;
}

main:has(.contact-hero) #hero.section {
  padding-top: 4.5rem;
  scroll-margin-top: var(--header-h);
}

@media (max-width: 768px) {
  main:has(.contact-hero) #hero.section {
    padding-top: 3.25rem;
  }
}

.contact-hero .lead {
  max-width: 36rem;
}

.contact-hero .h1 {
  font-weight: 600;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
}

.contact-hero .hero-form__card {
  margin-top: 0.25rem;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

.contact-hero .react-intake-form {
  gap: 0.7rem;
}

.contact-hero .form-grid {
  gap: 0.7rem 1rem;
}

.contact-hero .react-intake-submit {
  margin-top: -0.2rem;
}

.contact-hero__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

@media (max-width: 900px) {
  .contact-hero {
    grid-template-columns: 1fr;
  }
}

/* Contact and hiring dashboard FAQs sit above a CTA band, so restore
   generous bottom space without undoing the tighter #faq padding used
   when another section follows. */
main:has(.contact-hero) #faq.section,
main:has(#platform-overview) #faq.section {
  padding-bottom: 7rem;
}

@media (max-width: 768px) {
  main:has(.contact-hero) #faq.section,
  main:has(#platform-overview) #faq.section {
    padding-bottom: 4.5rem;
  }
}

/* Staff augmentation: FAQ above closing CTA band */
main:has(#hero.sa-hero) #faq.section {
  padding-bottom: 7rem;
}

@media (max-width: 768px) {
  main:has(#hero.sa-hero) #faq.section {
    padding-bottom: 4.5rem;
  }
}

/* Hiring dashboard "What to Expect": extra room below the cards, plus a
   hairline to separate it from the timezone block above. */
main:has(#platform-overview) #what-to-expect.section {
  padding-bottom: 6.5rem;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  main:has(#platform-overview) #what-to-expect.section {
    padding-bottom: 4.5rem;
  }
}

/* Hiring dashboard: local product video, then a centered intro to Create Jobs.
   Stronger lavender at the top so the break from the white hero is obvious,
   then easing into the same tint as Create Jobs so the two sections still join. */
#platform-overview.section {
  background: linear-gradient(180deg, #d5d8f0 0%, #e6e8f6 38%, rgba(238, 239, 250, 0.45) 100%);
  padding-top: 3.75rem;
  padding-bottom: 2.75rem;
  text-align: center;
}

.platform-video {
  margin: 0 auto 6.5rem;
}

.platform-video__player {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  background: #111;
}

#platform-overview .air-section-head {
  max-width: none;
  margin: 0;
  padding-top: 0.75rem;
}

#platform-overview .h2 {
  margin: 0;
}

#create-jobs.section {
  padding-top: 2.25rem;
}

@media (max-width: 768px) {
  #platform-overview.section {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }

  .platform-video {
    margin-bottom: 4.5rem;
  }

  #create-jobs.section {
    padding-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-rotating-word {
    transition: none;
  }
}

/* Custom React intake form */
#react-bench,
.hubspot-form-card {
  overflow: visible;
}

.hubspot-form-card {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 2rem;
}

.react-bench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1.4rem;
  align-items: start;
}

.react-intake-card {
  max-width: 440px;
  padding: 1.9rem 2.25rem 2rem;
}

.react-intake-card .hero-form__title {
  font-size: 1.375rem !important;
  margin: 0 0 1.6rem;
  line-height: 1.25;
}

.react-intake-card .hero-form__subtitle {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--color-muted);
  margin: 0 0 1.4rem;
  font-weight: 500;
}

.react-intake-form {
  display: grid;
  gap: 1.15rem;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.form-field {
  display: grid;
  gap: 0;
  position: relative;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background-color: #fff;
  background-image: none;
  color: var(--color-text);
  font: inherit;
  font-size: 0.9375rem;
  padding: 0.82rem 0.95rem 0.82rem 2.65rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  position: relative;
  z-index: 1;
}

.form-field textarea {
  resize: vertical;
  min-height: 92px;
  padding-top: 0.85rem;
}

.form-field:has(#firstname)::before,
.form-field:has(#wp-firstname)::before,
.form-field:has(#wp-lastname)::before,
.form-field:has(#email)::before,
.form-field:has(#wp-email)::before {
  content: '';
  position: absolute;
  left: 0.95rem;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 2;
}

.form-field:has(#message)::before {
  content: '';
  position: absolute;
  left: 0.95rem;
  top: 0.85rem;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 2;
}

.form-field:has(#firstname)::before,
.form-field:has(#wp-firstname)::before,
.form-field:has(#wp-lastname)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239a9aaa' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

.form-field:has(#email)::before,
.form-field:has(#wp-email)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239a9aaa' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}

.form-field:has(#message)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239a9aaa' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2' ry='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3C/svg%3E");
}

#lastname {
  padding-left: 0.95rem;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9a9aaa;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: rgba(84, 91, 179, 0.45);
  box-shadow: 0 0 0 3px rgba(84, 91, 179, 0.12);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

/* Browser autofill: mask the yellow/blue tint with an inset shadow and keep
   typography consistent. Icons live on .form-field::before so autofill cannot
   strip them from the input background. */
.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:focus,
.form-field input:-webkit-autofill:active,
.form-field textarea:-webkit-autofill,
.form-field textarea:-webkit-autofill:hover,
.form-field textarea:-webkit-autofill:focus,
.form-field textarea:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: var(--color-text);
  caret-color: var(--color-text);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: background-color 9999s ease-in-out 0s, color 9999s ease-in-out 0s;
}

.form-field input[aria-invalid="true"]:-webkit-autofill,
.form-field textarea[aria-invalid="true"]:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(180, 35, 24, 0.12);
  box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(180, 35, 24, 0.12);
}

.form-privacy-note {
  margin: 0;
  font-size: 0.75rem;
  color: #9a9aaa;
  text-align: center;
}

.react-intake-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #5a5fc4 0%, #4a4eb0 100%);
  box-shadow: 0 2px 10px rgba(74, 78, 176, 0.22);
  transition: transform 0.15s var(--ease), box-shadow 0.2s, filter 0.2s;
}

.react-intake-submit:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 14px rgba(74, 78, 176, 0.28);
}

.react-intake-submit:active {
  transform: translateY(1px);
}

.react-intake-form.is-submitting .react-intake-submit {
  opacity: 0.7;
  cursor: wait;
}

#readiness-intro .react-intake-submit {
  margin-top: -0.45rem;
}

@media (min-width: 901px) {
  main:has(#opportunity-assessment) #hero .hero-visual__img {
    width: 86%;
    max-width: none;
    margin-inline: auto;
  }

  /* FAQs hub only (#faq-hiring-process is unique to main-faqs.html). */
  main:has(#faq-hiring-process) #hero .hero-visual__img {
    width: 86%;
    max-width: none;
    margin-inline: auto;
  }

  /* Technical glossary (#glossary-heading is unique to main-technical-glossary.html). */
  main:has(#glossary-heading) #hero .hero-visual__img {
    width: 86%;
    max-width: none;
    margin-inline: auto;
  }
}

/* FAQs hub hero: extra top space (default hero is 2rem; +2.5rem desktop, modest mobile). */
main:has(#faq-hiring-process) #hero.section {
  padding-top: 4.5rem;
}

@media (max-width: 768px) {
  main:has(#faq-hiring-process) #hero.section {
    padding-top: 3rem;
  }
}

/* FAQs hub: tighter top than default section (hero already has 4rem bottom padding). */
main:has(#faq-hiring-process) #faq.section {
  padding-top: 3.5rem;
}

@media (max-width: 768px) {
  main:has(#faq-hiring-process) #faq.section {
    padding-top: 3rem;
  }
}

main:has(#faq-hiring-process) #faq .faq-jump-intro__title {
  margin: 0 0 1rem;
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.turnstile-widget-wrap {
  display: none;
  margin: 0;
  min-height: 0;
}

.turnstile-widget-wrap.is-active {
  display: block;
  width: 100%;
  margin: 0.75rem 0 0.35rem;
}

.turnstile-widget-wrap iframe {
  width: 100% !important;
  max-width: 100%;
}

.form-field__error {
  display: none;
  margin: 0.3rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #b42318;
}

.form-field__error.is-visible {
  display: block;
}

.form-submit-error {
  display: none;
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #b42318;
  text-align: center;
}

.form-submit-error.is-visible {
  display: block;
}

.form-status {
  margin: 0;
  display: none;
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
  background: #fff;
  z-index: 10;
  pointer-events: none;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.react-intake-form.intake-form--success .form-grid,
.react-intake-form.intake-form--success .form-privacy-note,
.react-intake-form.intake-form--success .react-intake-submit {
  visibility: hidden;
}

.form-status.is-success {
  display: flex;
  color: #3d4293;
  background: #f0f1fa;
  border: 1px solid #b8bae8;
  pointer-events: auto;
}

.form-status.is-success a {
  color: #3d4293;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status.is-success a:hover {
  color: #545bb3;
}

.form-status.is-error {
  display: flex;
  color: #b42318;
  background: #fef2f2;
  border: 1px solid #fecdca;
  pointer-events: auto;
}

@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Fairy dust (hero CTA hover) */
.fairy-dust-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.fairy-dust-wrap > .btn {
  position: relative;
  z-index: 1;
}

.fairy-dust-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  animation: fairy-dust-float 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fairy-dust-float {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  55% {
    opacity: 0.92;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, -40px))) scale(0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fairy-dust-particle {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    opacity: 0;
  }
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 1.5rem;
}

.trust-pill {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-muted);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
}

.service-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.service-card-icon svg {
  display: block;
}

.hero-card-lead {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--color-muted);
  font-weight: 500;
  margin: 0 0 1.35rem;
}

.hero-highlight-stack {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.hero-highlight {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
}

.hero-highlight .service-card-icon {
  margin-bottom: 0;
}

.hero-highlight__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  line-height: 1.25;
  color: var(--color-text);
}

.hero-highlight__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.problem-list li {
  position: relative;
  padding-left: 1.15rem;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.problem-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.split.audit-deliverables-split {
  align-items: start;
}

.audit-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.audit-checklist li {
  position: relative;
  margin: 0;
  padding: 0.65rem 0.85rem 0.65rem 2.35rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.audit-checklist li::before {
  content: '';
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--color-surface-2);
  border: 1px solid rgba(84, 91, 179, 0.28);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23545bb3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}

.audit-checklist--compact li {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.deliverables-kicker {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-primary-dark);
  margin: 0 0 1.2rem;
  line-height: 1.52;
  padding: 0.95rem 1.15rem;
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-md);
  border: 1px solid rgba(84, 91, 179, 0.14);
  border-left: 3px solid var(--color-primary);
  box-shadow: 0 2px 10px rgba(28, 28, 28, 0.04);
}

.audit-checklist--deliverables {
  gap: 0.85rem 1rem;
}

@media (min-width: 740px) {
  .audit-checklist--deliverables {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.audit-checklist--deliverables li {
  padding: 1.15rem 1.2rem 1.15rem 3rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 4px rgba(28, 28, 28, 0.045);
  font-size: 0.9375rem;
  line-height: 1.55;
  letter-spacing: 0.003em;
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease), transform 0.2s var(--ease);
}

.audit-checklist--deliverables li:hover {
  border-color: rgba(84, 91, 179, 0.38);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.audit-checklist--deliverables li::before {
  left: 1.15rem;
  top: 1.15rem;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background-size: 12px 12px;
}

@media (prefers-reduced-motion: reduce) {
  .audit-checklist--deliverables li {
    transition: none;
  }

  .audit-checklist--deliverables li:hover {
    transform: none;
  }
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.process-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.process-grid--five {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1200px) {
  .process-grid--five {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .process-grid--three {
    grid-template-columns: 1fr;
  }

  .process-grid--five {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  .process-grid:not(.process-grid--five):not(.process-grid--three) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid--five {
    grid-template-columns: 1fr;
  }
}

.process-step {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.35rem;
  transition: border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.process-step:hover {
  border-color: rgba(84, 91, 179, 0.35);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.process-step__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.65rem;
}

#what-to-expect .process-step__num {
  text-align: center;
  margin-bottom: 0.75rem;
}

#what-to-expect .process-step__num img {
  margin-inline: auto;
}

#what-to-expect .process-step {
  text-align: center;
  padding: 2.1rem 1.75rem;
}

.process-step h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.process-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* --- Staff augmentation process: steps left, image + CTA right ------------- */

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.process-list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
}

.process-list__item {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0.15rem 1.1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--color-border);
}

.process-list__item:first-child {
  padding-top: 0;
}

.process-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.process-list__num img {
  display: block;
  width: 56px;
  height: 56px;
}

.process-list h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.process-list p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.process-layout__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.process-layout__aside .split__img {
  width: 100%;
}

#process .process-layout__aside .split__img img {
  width: 88%;
  margin-inline: auto;
}

#process-heading {
  margin-bottom: 2.25rem;
}

/* Join page #process: three-card grid (not .process-layout) */
#process:has(.process-grid--three) .air-section-head #process-heading {
  margin-bottom: 0.65rem;
}

#process:has(.process-grid--three) .air-section-head .lead {
  margin-bottom: 0;
}

#process:has(.process-grid--three) .process-step__num {
  margin-bottom: 0.75rem;
}

#process:has(.process-grid--three) .process-step__num img {
  display: block;
  width: 64px;
  height: 64px;
}

#process:has(.process-grid--three) .process-step h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

#process:has(.process-grid--three) .btn-row {
  margin-top: 2.75rem;
}

.process-layout__aside .btn-row {
  justify-content: center;
}

@media (max-width: 900px) {
  .process-layout {
    grid-template-columns: 1fr;
  }

  #process .process-layout__aside img {
    display: none;
  }
}

/* Hiring dashboard How it Works: dark band as a content break.
   Copy left, numbered steps right. Left column is a bit narrower so the
   list has more room. Colors follow the existing dark family (panel-dark)
   and the inverted buttons used on .cta-band. */
#how-it-works.section {
  background: linear-gradient(165deg, #001062 0%, #32388a 100%);
  color: #fff;
}

#how-it-works .process-layout {
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}

#how-it-works .h2 {
  color: #fff;
}

#how-it-works .process-layout__copy .lead {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

#how-it-works .process-layout__copy .btn-row {
  margin-top: 2.35rem;
}

#how-it-works .btn--primary {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

#how-it-works .btn--primary:hover {
  background: #f2f3fb;
  border-color: #f2f3fb;
}

#how-it-works .btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

#how-it-works .btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

#how-it-works .process-list {
  margin-top: 0.15rem;
}

#how-it-works .process-list__item {
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.2rem 1.15rem;
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

#how-it-works .process-list__num {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--lavender-2);
}

#how-it-works .process-list h3 {
  color: #fff;
}

#how-it-works .process-list p {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  #how-it-works .process-layout {
    grid-template-columns: 1fr;
  }
}

/* FAQ accordion moved to styles/brand.css as the single canonical component.
   See docs/site-migration/component-pattern-inventory.md section 4.9. */

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .usecase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .usecase-grid {
    grid-template-columns: 1fr;
  }
}

.usecase-card {
  background: linear-gradient(180deg, #fff 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  min-height: 160px;
  transition: border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.usecase-card:hover {
  border-color: rgba(84, 91, 179, 0.35);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.usecase-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.usecase-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.cta-band .btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.cta-band .btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* Responsive: tablet & mobile (React + shared #main) */

#main {
  overflow-x: clip;
}

#main .wrap {
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}

.react-hero-side-card {
  max-width: 480px;
  width: 100%;
}

@media (max-width: 900px) {
  .react-bench-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .react-hero-side-card {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  #main .hero-visual {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  #main .hero.section {
    padding-bottom: 3rem;
  }
}

@media (max-width: 640px) {
  .react-hero-side-card {
    padding: 1.5rem 1.2rem 1.35rem;
  }

  .air-page .hero .air-hero-kicker {
    font-size: 0.6875rem;
    line-height: 1.45;
    max-width: 100%;
    letter-spacing: 0.12em;
  }

  .react-hero-side-card .hero-form__title {
    font-size: 1.125rem !important;
  }

  /* Hero + CTA: full-width tap targets */
  #main .hero .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  #main .hero .btn-row .btn {
    width: 100%;
    justify-content: center;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .trust-pills {
    gap: 0.5rem 0.65rem;
    margin-top: 1.25rem;
  }

  .trust-pill {
    font-size: 0.75rem;
    padding: 0.4rem 0.65rem;
  }

  #main .lead {
    font-size: 1.0625rem;
  }
}

/* Section CTAs: stack on narrow screens */
@media (max-width: 900px) {
  #main .skills-head {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  #main .skills-head > div:first-child {
    min-width: 100%;
  }

  #main .skills-head .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  #main .cta-band .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  #main .cta-band .btn-row .btn {
    width: 100%;
    justify-content: center;
  }
}

/* FAQ: long questions, comfortable tap area */
@media (max-width: 640px) {
}

/* Process: small-phone padding (grid breakpoints defined above) */
@media (max-width: 520px) {
  .process-step {
    padding: 1.25rem 1.15rem;
  }
}

/* Service / skill cards: comfortable min height on phones */
@media (max-width: 540px) {
  #main .skill-card {
    min-height: 0;
    padding: 1.35rem 1.2rem;
  }

  .usecase-card {
    min-height: 0;
    padding: 1.35rem 1.2rem;
  }
}

/* Tablet: slightly tighter section rhythm */
@media (max-width: 1024px) and (min-width: 641px) {
  #main .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Manufacturing service landing refinements (main.mfg-service-page only) */
.mfg-service-page .mfg-section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.mfg-service-page .mfg-section-head--wide {
  max-width: 42rem;
}

.mfg-service-page .mfg-process-lead {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.mfg-service-page .lead {
  line-height: 1.65;
}

#main.mfg-service-page .hero.section {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #fafbfe 42%, var(--color-surface) 100%);
  padding-top: 6.75rem;
  padding-bottom: 4.5rem;
}

@media (max-width: 1024px) and (min-width: 641px) {
  #main.mfg-service-page .hero.section {
    padding-top: 5.5rem;
  }
}

@media (max-width: 640px) {
  #main.mfg-service-page .hero.section {
    padding-top: 4.5rem;
  }
}

#main.mfg-service-page .hero.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--lavender-2) 42%, var(--color-primary-alt) 100%);
  pointer-events: none;
  opacity: 0.92;
}

.mfg-service-page .hero-form__card.react-intake-card {
  border-color: rgba(226, 228, 240, 0.98);
  box-shadow:
    0 2px 8px rgba(28, 28, 28, 0.05),
    0 18px 50px rgba(84, 91, 179, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.mfg-service-page .mfg-problem-aside {
  box-shadow: var(--shadow-soft);
  border-color: rgba(226, 228, 240, 0.98);
}

/* Problem section: depth without leaving the brand palette */
.mfg-service-page section#problem.section-tint {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 8% 22%, rgba(168, 159, 216, 0.24) 0%, transparent 58%),
    radial-gradient(ellipse 75% 50% at 92% 68%, rgba(84, 91, 179, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse 55% 40% at 48% 108%, rgba(238, 239, 250, 0.85) 0%, transparent 55%),
    linear-gradient(168deg, #fdfdff 0%, rgba(240, 241, 251, 0.72) 42%, rgba(255, 255, 255, 0.98) 100%);
}

.mfg-service-page section#problem.section-tint::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(226, 228, 240, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 228, 240, 0.4) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.14) 48%, transparent 82%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.14) 48%, transparent 82%);
  pointer-events: none;
  z-index: 0;
}

.mfg-service-page section#problem.section-tint::after {
  content: '';
  position: absolute;
  top: -18%;
  right: -12%;
  width: min(58vw, 540px);
  height: min(58vw, 540px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 91, 179, 0.08) 0%, transparent 66%);
  pointer-events: none;
  z-index: 0;
}

.mfg-service-page section#problem.section-tint > .wrap {
  position: relative;
  z-index: 1;
}

/* System “lanes” under problem copy (toolchain-style pills) */
.mfg-service-page .mfg-system-lanes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.35rem;
  margin-top: 1.65rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(250, 251, 254, 0.92) 100%);
  border: 1px solid rgba(226, 228, 240, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px rgba(84, 91, 179, 0.06);
}

.mfg-service-page .mfg-system-lanes > span:not(.mfg-lane-join) {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: #fff;
  border: 1px solid rgba(226, 228, 240, 0.98);
  white-space: nowrap;
}

.mfg-service-page .mfg-lane-join {
  width: 1.35rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(84, 91, 179, 0.12),
    rgba(84, 91, 179, 0.42) 50%,
    rgba(84, 91, 179, 0.12)
  );
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .mfg-service-page .mfg-lane-join {
    display: none;
  }

  .mfg-service-page .mfg-system-lanes {
    justify-content: flex-start;
  }
}

.mfg-deliverables-panel {
  background: linear-gradient(165deg, #fff 0%, rgba(250, 250, 254, 0.94) 100%);
  border: 1px solid rgba(226, 228, 240, 0.98);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.2rem 1.55rem;
  box-shadow:
    0 2px 6px rgba(28, 28, 28, 0.04),
    0 14px 40px rgba(84, 91, 179, 0.07);
}

@media (min-width: 901px) {
  .mfg-deliverables-panel {
    padding: 1.65rem 1.55rem 1.8rem;
  }
}

.mfg-service-page .split.audit-deliverables-split {
  gap: clamp(2rem, 5vw, 3.75rem);
}

@media (min-width: 961px) {
  .mfg-service-page .split.audit-deliverables-split {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  }
}

.mfg-benefits-panel {
  background: #fff;
  border: 1px solid rgba(226, 228, 240, 0.98);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.35rem 1.15rem;
  box-shadow:
    0 4px 26px rgba(84, 91, 179, 0.09),
    0 1px 4px rgba(28, 28, 28, 0.05);
}

.benefits-panel-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0;
  padding-bottom: 1rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px solid rgba(226, 228, 240, 0.92);
  line-height: 1.4;
}

.audit-checklist--benefits {
  gap: 0;
  margin: 0;
  padding: 0;
}

.audit-checklist--benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin: 0;
  padding: 0.9rem 0;
  padding-left: 0;
  font-size: 0.9875rem;
  line-height: 1.55;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid rgba(226, 228, 240, 0.88);
}

.audit-checklist--benefits li:last-child {
  border-bottom: none;
  padding-bottom: 0.2rem;
}

.audit-checklist--benefits li::before {
  content: '';
  position: relative;
  left: auto;
  top: auto;
  flex-shrink: 0;
  margin-top: 0.18rem;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 6px;
  background: var(--color-surface-2);
  border: 1px solid rgba(84, 91, 179, 0.28);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23545bb3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}

@media (min-width: 961px) {
  .mfg-service-page .split.mfg-benefits-split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
  }
}

.mfg-service-page .usecase-card {
  border-left: 3px solid rgba(84, 91, 179, 0.42);
  padding-left: calc(1.5rem + 1px);
}

@media (max-width: 540px) {
  .mfg-service-page .usecase-card {
    padding-left: 1.25rem;
  }
}

.mfg-service-page .process-step {
  border-left: 3px solid rgba(84, 91, 179, 0.22);
  background: linear-gradient(100deg, rgba(240, 241, 251, 0.65) 0%, #fff 24%, #fff 100%);
}

.mfg-service-page .process-step:hover {
  border-left-color: rgba(84, 91, 179, 0.52);
}

.mfg-service-page #what-we-do .skills-head .lead {
  max-width: 38rem;
}

/* ============================================================
   AI-Ready Engineers landing page (.air-page) components
   ============================================================ */

.air-page {
  overflow-x: clip;
}

.air-page .wrap {
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}

.air-page .hero.section {
  background: linear-gradient(180deg, #fff 0%, var(--color-surface) 52%, var(--color-surface-2) 100%);
  color: var(--color-text);
  padding-top: 5.5rem;
  padding-bottom: 4.5rem;
  position: relative;
  overflow: hidden;
}

.air-page .hero.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 12% -5%, rgba(84, 91, 179, 0.09) 0%, transparent 58%),
    radial-gradient(ellipse 60% 50% at 92% 105%, rgba(168, 159, 216, 0.14) 0%, transparent 62%);
  pointer-events: none;
}

.air-page .hero.section > .wrap {
  position: relative;
  z-index: 1;
}

.air-page .hero .h1 {
  color: var(--color-text);
  font-weight: 400;
}

.air-page .hero .h1 .light {
  color: var(--color-primary);
  font-weight: 700;
}

.air-page .hero .lead {
  color: var(--color-muted);
  max-width: 38rem;
}

main.air-page #hero .lead {
  padding-right: 0;
}

.air-page .hero .air-hero-kicker {
  display: block;
  margin-bottom: 1rem;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.45;
  max-width: 36rem;
  text-transform: uppercase;
}

.air-page .hero .trust-pills {
  flex-wrap: nowrap;
  gap: 0.5rem;
  max-width: 100%;
}

.air-page .hero .trust-pill {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.75rem;
  padding: 0.4rem 0.65rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
}

@media (max-width: 520px) {
  .air-page .hero .trust-pills {
    flex-wrap: wrap;
  }

  .air-page .hero .trust-pill {
    white-space: normal;
  }
}

.air-page .hero .hero-form__card {
  color: var(--color-text);
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 228, 240, 0.9);
  box-shadow:
    0 1px 3px rgba(28, 28, 28, 0.04),
    0 4px 18px rgba(28, 28, 28, 0.05),
    0 10px 28px rgba(84, 91, 179, 0.05);
}

/* Stats strip directly under hero */
.air-stats-strip {
  background: #fff;
  padding: 2.25rem 0 2.5rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.air-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.25rem;
  text-align: center;
}

@media (max-width: 900px) {
  .air-stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .air-stat-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
  }
}

.air-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.air-stat__num {
  font-size: clamp(1.85rem, 2.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1;
}

.air-stat__num small {
  font-size: 0.6em;
  font-weight: 600;
  margin-left: 0.05em;
}

.air-stat__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  line-height: 1.35;
  max-width: 11rem;
}

/* Prose card on the "What AI-ready means" section */
.air-prose-card {
  padding: 1.85rem 1.95rem;
}

.air-prose-card p {
  margin: 0 0 1rem;
  font-size: 0.9875rem;
  line-height: 1.6;
  color: var(--color-text);
}

.air-prose-card p:last-child {
  margin-bottom: 0;
}

.air-prose-card__kicker {
  margin-top: 0.6rem !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 228, 240, 0.92);
  font-weight: 600;
  color: var(--color-primary-dark) !important;
}

.air-tag-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  margin-top: 1.5rem;
}

.air-tag {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  background: var(--color-surface-2);
  border: 1px solid rgba(84, 91, 179, 0.18);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}

/* Section heads (shared) */
.air-section-head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

#fluency .air-fluency-lead {
  max-width: 52rem;
}

.air-section-head--light .lead,
.air-section-head--light p {
  color: rgba(255, 255, 255, 0.78);
}

.air-eyebrow--light {
  color: var(--lavender-2);
}

.air-h2--light {
  color: #fff;
}

.air-h2--light .accent {
  color: var(--lavender-2);
}

.air-fluency-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

@media (max-width: 1100px) {
  .air-fluency-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .air-fluency-grid {
    grid-template-columns: 1fr;
  }
}

.air-fluency-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.45rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.air-fluency-card:hover {
  border-color: rgba(84, 91, 179, 0.35);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.air-fluency-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.air-fluency-card__level {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-surface-2);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.air-fluency-card__level--dark {
  background: #1a1c2e;
  color: #c9c4ec;
}

.air-fluency-card__pill {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-primary);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.air-fluency-card__title {
  font-size: 1.15rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.air-fluency-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.air-fluency-card--featured {
  border-color: rgba(84, 91, 179, 0.5);
  background: linear-gradient(180deg, #fff 0%, var(--color-surface-2) 100%);
  box-shadow: 0 12px 36px rgba(84, 91, 179, 0.12);
}

.air-fluency-card--featured:hover {
  border-color: var(--color-primary);
  box-shadow: 0 16px 44px rgba(84, 91, 179, 0.18);
}

.air-fluency-card--dark {
  background: linear-gradient(170deg, #14172e 0%, #1a1c2e 100%);
  border-color: rgba(168, 159, 216, 0.18);
}

.air-fluency-card--dark .air-fluency-card__title {
  color: #fff;
}

.air-fluency-card--dark p {
  color: rgba(255, 255, 255, 0.72);
}

.air-fluency-card--dark:hover {
  border-color: rgba(168, 159, 216, 0.4);
  box-shadow: 0 16px 44px rgba(8, 9, 22, 0.45);
}

.air-compare-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .air-compare-head {
    grid-template-columns: 1fr;
  }
}

.air-compare-head p:not(.eyebrow) {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.air-compare-head p:last-child:not(.eyebrow) {
  margin-bottom: 0;
}

.air-compare-wrap {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(28, 28, 28, 0.04);
  overflow: hidden;
}

.air-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.air-compare-table thead th {
  background: var(--color-surface);
  text-align: left;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 1.05rem 1.15rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: bottom;
}

.air-compare-table thead th.air-compare-table__us {
  background: var(--color-surface-2);
  color: var(--color-primary-dark);
}

.air-compare-table tbody th,
.air-compare-table tbody td {
  padding: 1rem 1.15rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.air-compare-table tbody tr:last-child th,
.air-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.air-compare-table tbody th {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
  background: #fff;
  width: 28%;
}

.air-compare-table tbody td {
  color: var(--color-muted);
}

.air-compare-table tbody td.air-compare-table__us {
  background: rgba(240, 241, 251, 0.55);
  color: var(--color-text);
  font-weight: 500;
}

.air-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  margin-right: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: -2px;
}

.air-mark--yes {
  background: rgba(84, 91, 179, 0.15);
  color: var(--color-primary-dark);
}

.air-mark--no {
  background: rgba(180, 35, 24, 0.1);
  color: #b42318;
}

.air-mark--maybe {
  background: rgba(202, 138, 4, 0.12);
  color: #b45309;
}

@media (max-width: 760px) {
  .air-compare-table thead {
    display: none;
  }

  .air-compare-table,
  .air-compare-table tbody,
  .air-compare-table tr,
  .air-compare-table th,
  .air-compare-table td {
    display: block;
    width: 100%;
  }

  .air-compare-table tbody tr {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--color-border);
  }

  .air-compare-table tbody tr:last-child {
    border-bottom: none;
  }

  .air-compare-table tbody th {
    background: transparent;
    padding: 0 0 0.55rem;
    font-weight: 700;
    width: 100%;
  }

  .air-compare-table tbody td {
    padding: 0.45rem 0;
    border: none;
    background: transparent !important;
  }

  .air-compare-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-muted);
    margin-bottom: 0.2rem;
  }

  .air-compare-table tbody td.air-compare-table__us::before {
    color: var(--color-primary-dark);
  }
}

/* Roles / stack coverage (hire LP) */
.air-roles-title .air-roles-title-accent {
  color: var(--color-primary);
  font-weight: inherit;
}

.air-page #roles.section-tint .air-skill-group {
  background: #f6f7fb;
}

.air-page #roles.section-tint .air-skill-tags span {
  background: #fff;
}

.air-roles-lead {
  margin-top: 0.85rem;
}

/* Skills cluster: 6 cards at 3 x 2 on desktop */
.air-skills-cluster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .air-skills-cluster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .air-skills-cluster {
    grid-template-columns: 1fr;
  }
}

.air-skill-group {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem 1.65rem;
  transition: border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.air-skill-group:hover {
  border-color: rgba(84, 91, 179, 0.3);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.air-skill-group h3 {
  font-size: 1rem;
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.air-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
}

.air-skill-tags span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.7rem;
  line-height: 1.2;
}

/* Stack coverage (#roles): comfortable vertical padding */
.air-page #roles.section-tint {
  padding-top: clamp(4.25rem, 8vw, 6rem);
  padding-bottom: clamp(4.25rem, 8vw, 6.25rem);
}

/* Who we serve: comfortable vertical rhythm */
.air-page #serve.section {
  padding-top: clamp(4.25rem, 8vw, 6rem);
  padding-bottom: clamp(4.25rem, 8vw, 6.25rem);
}

.air-serve-title .air-serve-title-accent {
  color: var(--color-primary);
  font-weight: inherit;
}

.air-serve-lead {
  margin-top: 0.85rem;
}

@media (max-width: 640px) {
  .air-serve-title-break {
    display: none;
  }
}

/* Who we serve */
.air-serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.air-serve-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 960px) {
  .air-serve-grid {
    grid-template-columns: 1fr;
  }
}

.air-serve-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.air-serve-card:hover {
  border-color: rgba(84, 91, 179, 0.32);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.air-serve-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-surface-2);
  border: 1px solid rgba(84, 91, 179, 0.18);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.air-serve-card h3 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 700;
  color: var(--color-text);
}

.air-serve-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.air-bullets {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 1rem 0 0;
  display: grid;
  gap: 0.55rem;
  border-top: 1px solid var(--color-border);
}

.air-bullets li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--color-text);
}

.air-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* LATAM split */
.air-page #latam.section {
  padding-top: clamp(4.5rem, 8vw, 7rem);
  padding-bottom: clamp(5rem, 9vw, 7.5rem);
}

.air-page #latam .h2 {
  margin-bottom: 1.5rem;
}

.air-latam-split {
  align-items: center;
  gap: clamp(2.25rem, 5vw, 5rem);
}

@media (min-width: 901px) {
  .air-latam-split {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

.air-latam-split p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0 0 1.05rem;
}

.air-latam-split p:not(.eyebrow):last-child {
  margin-bottom: 0;
}

.air-feature-stack {
  display: grid;
  gap: 0.75rem;
}

.air-feature {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.25s var(--ease);
}

.air-feature:hover {
  border-color: rgba(84, 91, 179, 0.3);
  box-shadow: 0 6px 24px rgba(28, 28, 28, 0.06);
}

.air-feature-stack--plain {
  gap: 1.35rem;
}

.air-feature-stack--plain .air-feature,
.air-feature-stack--plain .air-feature:hover {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: block;
}

.air-feature-stack--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.air-feature-stack--grid .air-feature {
  height: 100%;
  padding: 1.5rem 1.45rem;
  align-items: center;
  gap: 1rem 1.15rem;
}

.air-feature-stack--grid .air-feature h3 {
  margin: 0 0 0.45rem;
}

.air-feature-stack--grid .air-feature p {
  margin: 0;
}

@media (max-width: 800px) {
  .air-feature-stack--grid {
    grid-template-columns: 1fr;
  }
}

/* Join: benefits → process → community → traits spacing */
main:has(#traits) #benefits.section {
  padding-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}

main:has(#traits) #process.section {
  padding-top: clamp(2.75rem, 4vw, 3.5rem);
  padding-bottom: clamp(3.5rem, 5vw, 4.5rem);
}

#community.section {
  padding-top: clamp(3.5rem, 5vw, 5rem);
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
}

#community + #traits.section {
  padding-top: clamp(1rem, 2vw, 1.5rem);
}

#traits #traits-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
}

#community .split__img img {
  width: 78%;
  margin-left: auto;
  margin-right: auto;
}

.air-feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-surface-2);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(84, 91, 179, 0.18);
}

.air-feature h3 {
  font-size: 1rem;
  margin: 0 0 0.3rem;
  font-weight: 700;
  color: var(--color-text);
}

.air-feature p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-muted);
}

/* Numbers (dark) */
.air-numbers {
  background: #0c0e1f;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.air-numbers::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(132, 137, 227, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.air-numbers > .wrap {
  position: relative;
  z-index: 1;
}

.air-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

@media (max-width: 1024px) {
  .air-numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .air-numbers-grid {
    grid-template-columns: 1fr;
  }
}

.air-number-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
}

.air-number-card__num {
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--lavender-2);
  line-height: 1;
}

.air-number-card__num small {
  font-size: 0.55em;
  font-weight: 600;
  margin-left: 0.05em;
}

.air-number-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 18rem;
}

/* Mid-page CTA band (shared with role/tech pages) */
.air-mid-cta {
  padding: 0 0 5.5rem;
  background: transparent;
}

#manage-candidates.section-tint {
  padding-bottom: 0;
}

#manage-candidates > .air-mid-cta {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-bottom: 5rem;
}

.air-mid-cta__card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1.25fr) auto;
  align-items: center;
  gap: 1.65rem;
  padding: 0;
  overflow: hidden;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.air-mid-cta__image {
  width: 100%;
  height: 100%;
  min-height: 112px;
  object-fit: cover;
  display: block;
}

.air-mid-cta__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.2rem, 1.72vw, 1.55rem);
  font-weight: 600;
  line-height: 1.15;
}

.air-mid-cta__button {
  min-width: 200px;
  margin-right: 2rem;
  padding: 1.1rem 1.5rem;
  color: var(--color-primary);
  background: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

.air-mid-cta__button:hover {
  color: var(--color-primary-dark);
  background: #fff;
}

@media (max-width: 860px) {
  .air-mid-cta__card {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    padding-bottom: 1.5rem;
    text-align: center;
  }

  .air-mid-cta__image {
    max-height: 190px;
  }

  .air-mid-cta__title {
    padding: 0 1.5rem;
  }

  .air-mid-cta__button {
    width: calc(100% - 3rem);
    min-width: 0;
    margin: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .air-mid-cta__title {
    padding: 0 1rem;
    font-size: 1.1rem;
  }

  .air-mid-cta__button {
    width: calc(100% - 2rem);
    margin: 0 1rem;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  #mid-cta .air-mid-cta__image { display: none; }
  #mid-cta .air-mid-cta__card { padding: 2rem; }
  #mid-cta .air-mid-cta__title { padding-left: 0; padding-right: 0; }
  #mid-cta .air-mid-cta__button { width: 100%; margin-left: 0; margin-right: 0; }
}

/* Final CTA (dark) */
.air-final-cta {
  background: #0c0e1f;
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
}

.air-final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(132, 137, 227, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 20% 0%, rgba(168, 159, 216, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.air-final-cta > .wrap {
  position: relative;
  z-index: 1;
}

.air-final-cta__inner {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.air-final-cta .h2 {
  color: #fff;
  font-weight: 500;
}

.air-final-cta .h2 strong {
  font-weight: 700;
  font-style: italic;
  color: var(--lavender-2);
}

.air-final-cta .lead {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 1.5rem;
  max-width: 34rem;
}

.air-final-cta .btn-row {
  justify-content: center;
}

.air-final-cta .btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.air-final-cta .btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.air-final-cta .btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.air-final-cta .btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.air-final-cta__note {
  margin: 1.5rem auto 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
  width: max-content;
  max-width: 100%;
}

@media (max-width: 900px) {
  .air-final-cta__note {
    width: auto;
    max-width: 34rem;
  }
}

@media (max-width: 640px) {
  .air-final-cta .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .air-final-cta .btn-row .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Section padding rhythm */
@media (max-width: 1024px) and (min-width: 641px) {
  .air-page .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 640px) {
  .air-page .hero.section {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .air-stats-strip {
    padding: 1.75rem 0 2rem;
  }
}

/* ==========================================================================
   Migrated marketing page components
   Added 2026-08-07 for the HubSpot migration. These are SHARED patterns, not
   page-specific styles. Anything added here must be recorded in
   docs/site-migration/component-pattern-inventory.md.
   ========================================================================== */

/* --- About hero: two-column intro + positioning statement ---------------- */

main:has(.about-hero) #hero.section {
  padding-top: 7.5rem;
}

@media (max-width: 768px) {
  main:has(.about-hero) #hero.section {
    padding-top: 5.5rem;
  }
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  align-items: center;
}

#hero .about-hero .lead {
  padding-right: 0;
  margin-bottom: 0;
}

.about-hero .h1 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
}

.about-hero .h1 .accent {
  color: var(--color-primary);
  font-weight: inherit;
}

.about-hero__aside {
  min-width: 0;
}

@media (min-width: 901px) {
  .about-hero__aside {
    padding-left: clamp(1.75rem, 3.5vw, 2.75rem);
    border-left: 1px solid var(--color-border);
  }
}

.about-hero__statement {
  margin: 0 0 1.65rem;
  max-width: none;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #7a82c4;
}

.about-hero__statement strong {
  font-weight: 700;
  color: var(--color-navy);
}

@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-hero__aside {
    padding-left: 0;
    border-left: 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
  }

  .about-hero__statement {
    max-width: none;
  }
}

#mission .split__img img {
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  #mission .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  #mission .btn-row > .btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

/* --- Join tech board (original category layout with larger icons) ---------- */

.join-tech-board {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vw, 1.15rem);
  margin-top: 1.5rem;
  width: 100%;
}

/* One horizontal band per row: left category | right category (Mobile then Front-end, etc.) */
.join-tech-board__row {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: stretch;
  justify-content: start;
  width: 100%;
}

.join-tech-board__row > .join-tech-row {
  display: grid;
  grid-template-columns: 1.15rem max-content;
  gap: 0.5rem;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-width: 0;
}

.join-tech-row__label {
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1;
  white-space: nowrap;
}

.join-tech-row__panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  justify-self: start;
  box-sizing: border-box;
}

.join-tech-row__combo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
  max-width: 100%;
}

.join-tech-row__combo .join-tech-row__panel {
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
}

.join-tech-row__plus {
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.join-tech-row__icons {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem 0.8rem;
  align-items: flex-start;
}

#technologies .air-eco-icon {
  width: 62px;
  gap: 0.35rem;
}

#technologies .air-eco-icon img {
  width: 48px;
  height: 48px;
}

#technologies .air-eco-icon span {
  font-size: 0.68rem;
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.15;
}

@media (max-width: 1280px) {
  .join-tech-row__icons {
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .join-tech-board__row {
    grid-template-columns: 1fr;
    row-gap: 0.7rem;
  }

  .join-tech-board__row > .join-tech-row {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1.15rem minmax(0, 1fr);
  }

  .join-tech-row__panel,
  .join-tech-row__combo {
    width: 100%;
    max-width: 100%;
  }

  .join-tech-row__combo {
    flex-wrap: wrap;
  }

  .join-tech-row__combo .join-tech-row__panel {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .join-tech-board__row > .join-tech-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .join-tech-board .join-tech-row__label {
    writing-mode: horizontal-tb;
    transform: none;
    text-align: left;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
  }

  .join-tech-row__plus {
    width: 100%;
    text-align: center;
  }
}

/* Keep shared eco-icon base styles for join + any other reuse */
.air-eco-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 56px;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.15s var(--ease);
}

.air-eco-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.air-eco-icon span {
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.15s var(--ease);
}

.air-eco-icon:hover,
.air-eco-icon:focus-visible {
  transform: translateY(-2px);
}

.air-eco-icon:hover span,
.air-eco-icon:focus-visible span {
  text-decoration-color: currentColor;
}

.air-eco-icon:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* --- Join page engineer testimonials (static 2x2, not carousel) ------------ */

.engineer-quotes-head {
  text-align: center;
  max-width: none;
  margin-bottom: 2.5rem;
}

.engineer-quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: 0;
  max-width: 1040px;
  margin: 0 auto;
}

.engineer-quote {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0 0 2.25rem;
}

.engineer-quote:nth-child(n + 3) {
  padding-top: 2.25rem;
  border-top: 1px solid var(--color-border);
}

.engineer-quote .quote {
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--color-text);
}

.engineer-quote__person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.engineer-quote__photo {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.engineer-quote__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
}

.engineer-quote__role {
  margin-top: 0.15rem;
  font-size: 0.95rem;
  color: var(--color-primary);
  line-height: 1.25;
}

@media (max-width: 700px) {
  .engineer-quotes {
    grid-template-columns: 1fr;
  }

  .engineer-quote:nth-child(n + 2) {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
  }

  .engineer-quote:nth-child(n + 3) {
    padding-top: 2rem;
  }
}

/* --- People / leadership roster ------------------------------------------ */

.person-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.person-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.person-card:hover {
  border-color: rgba(84, 91, 179, 0.32);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.person-card__photo {
  width: 112px;
  height: 112px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-surface-2);
}

.person-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-card__name {
  margin: 0 0 0.25rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
}

.person-card__role {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.person-card__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.person-card__social:hover,
.person-card__social:focus-visible {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.person-card__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (max-width: 1000px) {
  .person-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .person-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .person-card__photo { width: 88px; height: 88px; }
}

@media (max-width: 480px) {
  .person-grid { grid-template-columns: 1fr; }
}

/* --- Blog / post cards ---------------------------------------------------- */
/* Default treatment is a bordered card (podcast, similar lists).
   `.post-grid--blog` is the Resource Center preview: cover image, uppercase
   tags, title, excerpt, no chrome. Filled at build time from HubSpot RSS. */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem;
  transition: border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.post-card:hover {
  border-color: rgba(84, 91, 179, 0.32);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.post-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-card__tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--color-surface-2);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
}

.post-card__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
}

.post-card__title a {
  color: var(--color-text);
  text-decoration: none;
}

.post-card__title a:hover,
.post-card__title a:focus-visible {
  color: var(--color-primary);
  text-decoration: underline;
}

.post-card__meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.post-card__excerpt {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.post-card__more {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9375rem;
}

.post-grid--blog {
  align-items: stretch;
}

.post-grid--blog .post-card,
.post-grid--blog .post-card:hover {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transform: none;
  gap: 0.7rem;
}

.post-card__cover {
  display: block;
  margin: 0 0 0.35rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
}

.post-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-grid--blog .post-card__tags {
  gap: 0.35rem 0.85rem;
}

.post-grid--blog .post-card__tag,
.post-grid--blog a.post-card__tag {
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--color-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.post-grid--blog a.post-card__tag:hover,
.post-grid--blog a.post-card__tag:focus-visible {
  color: var(--color-primary);
}

.post-grid--blog .post-card__title {
  font-size: 1.125rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.post-grid--blog .post-card__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.post-grid--blog + .chip-list {
  margin-top: 2rem;
}

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

@media (max-width: 620px) {
  .post-grid { grid-template-columns: 1fr; }
}

/* --- Podcast page: hero + episode list (Off The Algorithm) --------------- */

.podcast-hero {
  background-color: #1a1a2e;
  background-image: url("/images/pages/podcast/hero.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 3.125rem 0 5rem;
}

.podcast-hero__grid {
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  align-items: center;
  min-height: clamp(220px, 32vw, 360px);
}

.podcast-hero__copy {
  max-width: 40rem;
  width: 100%;
}

#main:has(.section-podcast-episodes) #hero.podcast-hero .h1 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.podcast-hero .lead {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 36rem;
}

#main:has(.section-podcast-episodes) #hero.podcast-hero .lead {
  padding-right: 0;
}

.btn--podcast-hero {
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid #fff;
  color: #fff;
  font-weight: 700;
}

.btn--podcast-hero:hover,
.btn--podcast-hero:focus-visible {
  background: rgba(175, 175, 175, 0.26);
  border-color: #fff;
  color: #fff;
  box-shadow: none;
}

.podcast-hero__visual {
  min-height: 1px;
}

@media (max-width: 900px) {
  .podcast-hero {
    padding: 5rem 0;
  }

  .podcast-hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .podcast-hero__copy {
    max-width: none;
  }

  .podcast-hero__visual {
    display: none;
  }
}

.podcast-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  text-align: left;
}

@media (min-width: 901px) {
  .podcast-about__copy {
    padding-right: 2rem;
  }
}

.podcast-about__copy .lead {
  margin-bottom: 0;
  max-width: 44rem;
}

.podcast-about__copy .h2 .accent {
  color: var(--color-primary);
}

.podcast-about__form-intro {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.podcast-about__form-card {
  margin-top: 0;
}

/* Live HubSpot form uses visible field labels; intake forms default to sr-only + icon IDs. */
.podcast-about__form-card .form-field {
  gap: 0.35rem;
}

.podcast-about__form-card .form-field::before {
  display: none;
}

.podcast-about__form-card .form-field label {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
}

.podcast-about__form-card .form-field input {
  padding: 0.75rem 0.95rem;
}

.podcast-about__form-card .react-intake-form {
  overflow: visible;
  border-radius: 0;
}

.podcast-about__form-card .react-intake-form .btn.btn--primary {
  width: 100%;
  justify-content: center;
  margin: 0;
  border-radius: var(--radius-sm);
  transform: none;
  backface-visibility: hidden;
}

.podcast-about__form-card .react-intake-form .btn.btn--primary:hover,
.podcast-about__form-card .react-intake-form .btn.btn--primary:focus-visible {
  transform: none;
}

@media (max-width: 900px) {
  .podcast-about__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.section-podcast-episodes {
  background: var(--color-surface);
  text-align: left;
  padding-bottom: 0;
}

#main:has(.section-podcast-episodes) #about-the-show.podcast-about {
  padding-top: 3.5rem;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  #main:has(.section-podcast-episodes) #about-the-show.podcast-about {
    padding-top: 2.5rem;
  }
}

.section-podcast-episodes .wrap {
  text-align: left;
}

.podcast-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 920px;
  margin-top: 0;
  margin-inline: 0;
  text-align: left;
}

.podcast-episode {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.podcast-episode:first-child {
  padding-top: 0.5rem;
}

.podcast-episode:last-child {
  border-bottom: 0;
  padding-bottom: 2.75rem;
}

.podcast-episode__label {
  margin: 0 0 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.podcast-episode__title {
  margin: 0 0 1rem;
  font-size: clamp(1.625rem, 3.2vw, 2.125rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.podcast-episode__title a {
  color: var(--color-primary);
  text-decoration: none;
}

.podcast-episode__title a:hover,
.podcast-episode__title a:focus-visible {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.podcast-episode__meta {
  margin: -0.35rem 0 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-muted);
  line-height: 1.5;
}

.podcast-episode__desc {
  margin: 0 0 1.75rem;
  max-width: 42rem;
  width: 100%;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-muted);
  text-align: left;
}

.podcast-episode__desc strong {
  color: var(--color-text);
  font-weight: 700;
}

.podcast-episode__cta {
  align-self: flex-start;
  padding: 0.85rem 1.65rem;
  font-size: 0.9375rem;
  border-radius: 6px;
}

@media (max-width: 620px) {
  .podcast-episode {
    padding: 2.25rem 0;
  }

  .podcast-episode__cta {
    display: flex;
    width: 100%;
  }
}

/* --- Curated video watchlist --------------------------------------------- */
/* Extends post cards with linked 16:9 media and adds a compact topic filter. */

.playlist-hero {
  background: linear-gradient(145deg, var(--color-white) 30%, var(--color-surface-2));
}

.playlist-hero__copy { max-width: 54rem; }

.playlist-edition,
.playlist-filter-status {
  color: var(--color-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.playlist-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  margin-top: 2.75rem;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.playlist-feature__media,
.video-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-navy);
}

.playlist-feature__media { min-height: 340px; }

.playlist-feature__media img,
.video-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.playlist-feature__media:hover img,
.playlist-feature__media:focus-visible img,
.video-card__media:hover img,
.video-card__media:focus-visible img {
  opacity: 0.82;
  transform: scale(1.025);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  transform: translate(-50%, -50%);
}

.video-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--color-primary);
  transform: translate(-35%, -50%);
}

.playlist-feature__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 2.25rem;
}

.playlist-feature__copy .h2 { margin: 0.35rem 0 0.5rem; }
.playlist-feature__copy .h2 a { color: inherit; text-decoration: none; }
.playlist-feature__copy .btn { margin-top: 0.65rem; }

.playlist-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.playlist-filter {
  appearance: none;
  border: 1px solid rgba(84, 91, 179, 0.24);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  color: var(--color-primary-dark);
  background: var(--color-white);
  font: 600 0.8125rem/1 var(--font);
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.playlist-filter:hover,
.playlist-filter:focus-visible,
.playlist-filter.is-active {
  color: var(--color-white);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.playlist-filter-status { margin: 1rem 0 0; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.video-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.video-card:hover {
  border-color: rgba(84, 91, 179, 0.32);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.video-card[hidden] { display: none; }
.video-card__media { aspect-ratio: 16 / 9; }
.video-card__media .video-play { width: 50px; height: 50px; }

.video-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
}

.video-card__topic {
  margin: 0 0 0.6rem;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.video-card h3 {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.35;
}

.video-card h3 a { color: var(--color-text); text-decoration: none; }
.video-card h3 a:hover,
.video-card h3 a:focus-visible { color: var(--color-primary); text-decoration: underline; }
.video-card__body > p:not(.video-card__topic) { margin: 0.65rem 0 0; }
.video-card__body .post-card__more { margin-top: auto; padding-top: 1rem; }
.playlist-note { align-items: start; }

@media (max-width: 900px) {
  .playlist-feature { grid-template-columns: 1fr; }
  .playlist-feature__media { min-height: 0; aspect-ratio: 16 / 9; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .playlist-feature__copy { padding: 1.5rem; }
  .video-grid { grid-template-columns: 1fr; }
}

/* --- BetterEngineer Academy ---------------------------------------------- */

.academy-hero {
  background:
    radial-gradient(circle at 82% 20%, rgba(168, 159, 216, 0.34), transparent 26rem),
    linear-gradient(145deg, var(--color-white) 20%, var(--color-surface-2));
}

.academy-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 4rem;
  align-items: center;
}

.academy-hero__copy { max-width: 48rem; }

.academy-hero__summary {
  padding: 2rem;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
}

.academy-hero__summary .eyebrow { color: var(--lavender-1); }
.academy-hero__summary > p:last-child { margin-bottom: 0; color: rgba(255, 255, 255, 0.78); }

.academy-summary__stats {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 1rem;
  align-items: baseline;
  margin: 1.25rem 0;
}

.academy-summary__stats strong {
  color: var(--lavender-1);
  font-size: 2.3rem;
  line-height: 1.2;
}

.academy-summary__stats span { color: rgba(255, 255, 255, 0.82); }

.academy-track-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.academy-track-link {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  min-height: 58px;
  padding: 0.8rem 1rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 650;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.academy-track-link span {
  flex: 0 0 auto;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.academy-track-link:hover,
.academy-track-link:focus-visible {
  color: var(--color-primary-dark);
  border-color: rgba(84, 91, 179, 0.35);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.academy-curriculum { padding-bottom: 2rem; }

.academy-track {
  padding: 5rem 0;
  scroll-margin-top: calc(var(--header-h) + 1rem);
  border-bottom: 1px solid var(--color-border);
}

.academy-track:last-child { border-bottom: 0; }

.academy-track__head {
  display: grid;
  grid-template-columns: 72px minmax(0, 48rem);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.academy-track__number {
  color: var(--lavender-2);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.academy-track__head .h2 { margin: 0 0 0.45rem; }
.academy-track__head p { margin: 0; color: var(--color-muted); }

.academy-track__head .academy-outcome {
  margin-top: 0.75rem;
  color: var(--color-text);
  font-size: 0.9375rem;
}

.academy-lessons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.academy-lesson {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.academy-lesson:hover {
  border-color: rgba(84, 91, 179, 0.36);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.academy-lesson__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-navy);
}

.academy-lesson__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
}

.academy-lesson__media:hover img,
.academy-lesson__media:focus-visible img { opacity: 0.82; transform: scale(1.025); }
.academy-lesson__media .video-play { width: 48px; height: 48px; }

.academy-lesson__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.2rem;
}

.academy-lesson__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.academy-level {
  padding: 0.24rem 0.55rem;
  color: var(--color-primary-dark);
  background: var(--color-surface-2);
  border-radius: 999px;
}

.academy-lesson--intermediate .academy-level { color: var(--color-navy); background: var(--lavender-1); }
.academy-lesson--advanced .academy-level { color: var(--color-white); background: var(--color-navy); }

.academy-lesson h3 { margin: 0; font-size: 1.02rem; line-height: 1.4; }
.academy-lesson h3 a { color: var(--color-text); text-decoration: none; }
.academy-lesson h3 a:hover,
.academy-lesson h3 a:focus-visible { color: var(--color-primary); text-decoration: underline; }
.academy-lesson__body > p { margin: 0.65rem 0 0; font-size: 0.9rem; color: var(--color-muted); }
.academy-lesson__body .post-card__more { margin-top: auto; padding-top: 1rem; }

.academy-standard { align-items: start; }
.academy-checks { margin: 1rem 0 1.25rem; padding-left: 1.2rem; }
.academy-checks li + li { margin-top: 0.45rem; }
.academy-disclosure { color: var(--color-muted); font-size: 0.875rem; }

@media (max-width: 960px) {
  .academy-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .academy-hero__summary { max-width: 42rem; }
  .academy-lessons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .academy-lesson:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr); }
}

@media (max-width: 680px) {
  .academy-track-nav { grid-template-columns: 1fr; }
  .academy-track { padding: 3.5rem 0; }
  .academy-track__head { grid-template-columns: 1fr; gap: 0.5rem; }
  .academy-track__number { font-size: 1rem; }
  .academy-lessons { grid-template-columns: 1fr; }
  .academy-lesson:last-child { grid-column: auto; display: flex; }
}

/* --- Logo wall with labels ------------------------------------------------ */
/* For technology/skill logo grids that carry a visible text label under each mark.
   Distinct from .logo-marquee (animated client logos) and .air-eco-icon
   (generated technology-page ecosystem icons). */

.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 1.25rem 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.logo-wall__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.logo-wall__item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo-wall__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-muted);
  line-height: 1.3;
}

@media (max-width: 520px) {
  .logo-wall { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 1rem 0.75rem; }
  .logo-wall__item img { width: 34px; height: 34px; }
  .logo-wall__label { font-size: 0.75rem; }
}

/* Staff augmentation #skills: intro stack, then full-width logo wall */
#skills .wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
#skills .air-section-head {
  max-width: min(50rem, 66.667%);
  width: 100%;
}
@media (max-width: 900px) {
  #skills .air-section-head {
    max-width: 100%;
    width: 100%;
  }
}
#skills .logo-wall {
  width: 100%;
  max-width: none;
}
/* Staff augmentation #skills: larger tech marks than default .logo-wall */
#skills .logo-wall {
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1.5rem 1.125rem;
}

#skills .logo-wall__item {
  gap: 0.625rem;
}

#skills .logo-wall__item img {
  width: 56px;
  height: 56px;
}

#skills .logo-wall__label {
  font-size: 0.875rem;
}

@media (max-width: 520px) {
  #skills .logo-wall {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 1.125rem 0.875rem;
  }
  #skills .logo-wall__item img { width: 44px; height: 44px; }
  #skills .logo-wall__label { font-size: 0.8125rem; }
}

/* Industry pages #tech: heading + body left, 5 x 2 logo grid right */
.tech-split__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.tech-split__copy .h2 {
  margin: 0 0 1.25rem;
}
.tech-split__copy .h2 .accent {
  display: block;
}
.tech-split__copy .lead {
  margin: 0;
  max-width: 24rem;
}
.tech-split__logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2.5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tech-split__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  text-align: center;
}
.tech-split__item img {
  width: 100%;
  max-width: 72px;
  height: 64px;
  object-fit: contain;
}
.tech-split__label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}
@media (max-width: 900px) {
  .tech-split__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
  }
  .tech-split__copy .lead { max-width: 36rem; }
  .tech-split__logos { gap: 2rem 0.75rem; }
}
@media (max-width: 560px) {
  .tech-split__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tech-split__item img { max-width: 60px; height: 56px; }
}

/* --- Resource / download card -------------------------------------------- */

.resource-card {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.resource-card__cover img {
  width: 100%;
  border-radius: var(--radius-md);
}

.resource-card__body > :first-child { margin-top: 0; }
.resource-card__body > :last-child { margin-bottom: 0; }

.resource-card__form {
  gap: 0.85rem;
  margin-top: 0.35rem;
  overflow: visible;
}

.resource-card__form .btn {
  justify-self: start;
  width: auto;
}

@media (max-width: 760px) {
  .resource-card { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; }
  .resource-card__cover { max-width: 220px; justify-self: center; }
}

#whitepaper .resource-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  gap: 4.5rem;
}

@media (max-width: 760px) {
  #whitepaper .resource-card { padding: 0; gap: 2rem; }
}

/* --- Process step subtitle ------------------------------------------------ */
/* Optional second-level label under a step heading (e.g. delivery modality). */

.process-step__sub {
  margin: -0.35rem 0 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* --- Cited source line on a service card ---------------------------------- */

.air-serve-card__source,
.stat-source {
  margin: 0;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.air-serve-card__source a,
.stat-source a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Chip / label list ---------------------------------------------------- */
/* Compact non-linked labels, e.g. "Sourcing, Hiring, Onboarding, Payroll". */

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.chip-list li {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.service-check-grid {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 2rem;
}

.service-check-grid li {
  position: relative;
  margin: 0;
  padding-left: 1.85rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
}

.service-check-grid li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.15rem;
  height: 1.15rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23545bb3' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#heavylifting .split__img img {
  display: block;
  width: 76%;
  max-width: 420px;
  height: auto;
  margin-inline: auto;
}

#heavylifting .service-check-grid {
  gap: 1rem 2.25rem;
}

#heavylifting .service-check-grid li {
  padding-left: 2.1rem;
  font-size: 1.125rem;
}

#heavylifting .service-check-grid li::before {
  width: 1.35rem;
  height: 1.35rem;
  top: 0.1rem;
}

/* Staff augmentation: blob photo sits beside the vs-recruiting intro */
#differentiators {
  background: #fafafe;
}
#differentiators .diff-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
}
#differentiators .diff-layout__copy {
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
}
#differentiators .diff-layout__copy > .h2 {
  margin-bottom: 0.5rem;
}
#differentiators .diff-layout__bridge {
  font-size: 1.25rem;
  margin-top: 1.75rem;
}
#differentiators .diff-layout__visual {
  margin: 0.25rem 0 1.5rem;
}
#differentiators .diff-layout__visual img {
  display: block;
  width: 88%;
  height: auto;
  margin-inline: auto;
}
@media (max-width: 900px) {
  #differentiators .diff-layout__copy > .lead:not(.diff-layout__bridge) {
    margin-bottom: 0;
  }
  #differentiators .diff-layout__bridge {
    margin-top: 0.75rem;
  }
  #differentiators .diff-layout__visual {
    margin-top: 2.25rem;
  }
}
@media (min-width: 901px) {
  #differentiators .diff-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
    column-gap: 1.75rem;
    align-items: stretch;
  }
  #differentiators .diff-layout__copy {
    grid-column: 1;
    grid-row: 1;
    min-height: 100%;
  }
  #differentiators .diff-layout__copy > .h2 {
    max-width: 12em;
  }
  #differentiators .diff-layout__copy > .lead:not(.diff-layout__bridge) {
    max-width: none;
    margin-right: 2rem;
  }
  #differentiators .diff-layout__bridge {
    margin-top: auto;
    padding-top: 1.75rem;
    margin-right: 2rem;
  }
  #differentiators .diff-layout__visual {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    align-self: start;
  }
  #differentiators .diff-layout__visual img {
    width: 88%;
    max-width: none;
    margin-inline: auto;
  }
}

.heavylifting-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.75rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.heavylifting-cta p {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--color-text);
}

.heavylifting-cta strong {
  color: var(--color-primary);
  font-weight: 700;
}

.heavylifting-cta .btn {
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .service-check-grid {
    grid-template-columns: 1fr;
  }

  .heavylifting-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .heavylifting-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Hiring dashboard LATAM talent split */
.latam-talent-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.latam-talent-split .split__img {
  display: flex;
  justify-content: center;
}

.latam-talent-split .split__img img {
  width: 78%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
}

#talent-hub .latam-talent-split .split__img img {
  width: 92%;
  max-width: 520px;
}

#talent-pool .process-list {
  max-width: 48rem;
  margin-top: 1.75rem;
}

#talent-pool .process-list__num img {
  width: 56px;
  height: auto;
  object-fit: contain;
}

#cost.split,
#cost .split {
  align-items: start;
}

#cost .split .lead {
  margin-bottom: 0;
}

#cost .split h3 {
  color: var(--color-primary);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 1.25rem;
}

.latam-talent-copy .lead {
  margin-bottom: 0;
  max-width: none;
}

@media (max-width: 900px) {
  .latam-talent-split {
    grid-template-columns: 1fr;
  }

  .latam-talent-split .split__img img {
    width: 100%;
    max-width: 400px;
  }

  #talent-hub .latam-talent-split .split__img img {
    max-width: 480px;
  }
}

/* Hiring dashboard LATAM timezone split */
.latam-timezone-split {
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.latam-timezone-copy .lead {
  max-width: 34rem;
}

/* Chart is first in the DOM so the desktop split keeps it on the left.
   On the stacked mobile layout, the Similar Time Zones copy comes first. */
@media (max-width: 900px) {
  #time-zones .latam-timezone-split .latam-timezone-copy {
    order: -1;
  }

  #time-zones .latam-timezone-copy .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  #time-zones .latam-timezone-copy .btn-row > .btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

.latam-timezone-chart {
  min-width: 0;
  max-width: 30rem;
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.latam-timezone-chart__headers {
  display: grid;
  grid-template-columns: 8.75rem 16.5rem;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
  width: max-content;
  max-width: 100%;
}

.latam-timezone-chart__headers-spacer {
  display: block;
}

.latam-timezone-chart__header-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
}

.latam-timezone-chart__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  width: max-content;
  max-width: 100%;
}

.latam-timezone-chart__row {
  display: grid;
  grid-template-columns: 8.75rem 16.5rem;
  gap: 0.85rem;
  align-items: center;
}

.latam-timezone-chart__city {
  text-align: right;
  line-height: 1.2;
}

.latam-timezone-chart__city strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
}

.latam-timezone-chart__city span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.latam-timezone-chart__offsets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 12px;
  overflow: hidden;
  min-height: 3.65rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.latam-timezone-chart__offsets span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 0.5rem;
}

.latam-timezone-chart__offsets span:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.latam-timezone-chart__offsets--light {
  background: #818ccf;
}

.latam-timezone-chart__offsets--mid {
  background: var(--color-primary);
}

.latam-timezone-chart__offsets--dark {
  background: #4a5270;
}

.latam-timezone-chart__note {
  max-width: 25rem;
  width: 100%;
  margin: 0.9rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--color-muted);
  text-align: center;
  text-wrap: balance;
  align-self: center;
}

@media (max-width: 700px) {
  .latam-timezone-chart__headers,
  .latam-timezone-chart__row {
    grid-template-columns: 6.5rem minmax(0, 1fr);
    width: 100%;
    gap: 0.65rem;
  }

  .latam-timezone-chart__list {
    width: 100%;
  }

  .latam-timezone-chart__offsets {
    min-height: 3.25rem;
    font-size: 1rem;
  }
}

/* --- Icon wrappers: chip vs floating ------------------------------------- */
/* `.air-serve-card__icon` and `.air-feature__icon` were authored for inline SVG
   line icons, where the tinted 40px chip is the intended treatment. The migrated
   marketing pages use standalone illustrated icon assets instead, and those are
   meant to float on the card surface with no box behind them.

   The distinction is the content, not the page, so it is expressed with :has()
   rather than a modifier class. That means no fragment has to opt in and the two
   treatments cannot drift apart. Browsers without :has() fall back to the chip,
   which is the previous behavior, so the degradation is graceful. */

.air-serve-card__icon:has(img),
.air-feature__icon:has(img) {
  width: auto;
  height: auto;
  background: none;
  border: 0;
  border-radius: 0;
  justify-content: flex-start;
}

.air-serve-card__icon img,
.air-feature__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

@media (max-width: 700px) {
  .air-serve-card__icon img,
  .air-feature__icon img {
    width: 42px;
    height: 42px;
  }
}

/* --- Dark feature panel --------------------------------------------------- */
/* A self-contained dark panel for a short, high-trust block: a centered heading
   over a hairline rule, then a small grid of icon-plus-text items. Built for the
   AI Readiness "Our Expert Team" section, which the legacy site rendered as a flat
   grey box, and shaped to sit inside the BetterEngineer dark family rather than
   reproduce the HubSpot grey.

   Composes with the existing .air-feature-stack / .air-feature / .air-feature__icon
   pattern rather than introducing a second icon-and-text component. Inside the
   panel those lose their white card treatment and the icons render white. */

.panel-dark {
  background: linear-gradient(170deg, #14172e 0%, #1a1c2e 100%);
  border: 1px solid rgba(168, 159, 216, 0.18);
  border-radius: var(--radius-lg);
  padding: 3rem 3rem 3.25rem;
  box-shadow: 0 18px 50px rgba(12, 14, 31, 0.22);
}

.panel-dark__head {
  text-align: center;
  padding-bottom: 1.6rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.panel-dark__head .h2 {
  margin: 0;
  color: #fff;
}

/* The lighter-weight lead word, matching the hero treatment on the home page. */
.panel-dark__head .light {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
}

.panel-dark .air-feature-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem;
}

.panel-dark .air-feature,
.panel-dark .air-feature:hover {
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
  transform: none;
  align-items: center;
  gap: 0 1.5rem;
}

.panel-dark .air-feature__icon {
  width: auto;
  height: auto;
  background: none;
  border: 0;
  border-radius: 0;
}

/* Source icons are dark line art on transparent. Force them white so the panel
   works regardless of which variant the asset export gives us. */
.panel-dark .air-feature__icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.panel-dark p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.65;
}

.panel-dark strong {
  color: var(--lavender-1);
  font-weight: 600;
}

@media (max-width: 820px) {
  .panel-dark {
    padding: 2rem 1.5rem 2.25rem;
  }

  .panel-dark .air-feature-stack {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .panel-dark .air-feature__icon img {
    width: 52px;
    height: 52px;
  }
}

/* ==========================================================================
   Phase 2 patterns: resources and reference pages
   Added 2026-08-07. Shared components, recorded in
   docs/site-migration/component-pattern-inventory.md.
   ========================================================================== */

/* --- Jump navigation ------------------------------------------------------ */
/* In-page anchor row. Used by the FAQ page (7 categories) and the glossary
   (20 letter groups). Neither legacy page had any way to navigate, which is
   untenable at 53 questions and 71 terms. */

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2.5rem;
  padding: 0;
}

.jump-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), color 0.15s var(--ease);
}

.jump-nav__link:hover,
.jump-nav__link:focus-visible {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

/* --- Grouped FAQ ---------------------------------------------------------- */
/* A category wrapper around the canonical FAQ list. The item markup and styling
   are unchanged; see the canonical component in styles/brand.css. Each group
   holds its own .faq-list, and page.js already handles multiple lists per page,
   scoping "one open at a time" to each group. */

/* Scoped to #faq so category headings stay distinct from accordion questions
   without affecting other h3s site-wide. */
#faq .faq-group {
  margin: 0 0 3rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

#faq .faq-group + .faq-group {
  margin-top: 2.5rem;
  padding-top: 2.25rem;
}

#faq .faq-group:last-child {
  margin-bottom: 0;
}

/* First group after full-bleed #platform-cta (second .wrap); not .faq-group + .faq-group */
#faq #faq-engineers.faq-group {
  margin-top: 4.5rem;
}

#faq .faq-group__title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.625rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

/* --- Ebooks page: hero title + top spacing -------------------------------- */

/* Default .hero padding-top is 2rem; add room so the title isn't tight to the header. */
main:has(#ebooks) #hero.section {
  padding-top: 5rem;
}

@media (max-width: 768px) {
  main:has(#ebooks) #hero.section {
    padding-top: 3.25rem;
  }
}

main:has(#ebooks) #hero .reveal {
  max-width: 36rem;
}

/* ~36ch keeps "Ebooks: Engineering Insights," on line 1 and "Backed by Real Data" on line 2. */
main:has(#ebooks) #hero-title {
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  font-weight: 600;
  line-height: 1.22;
  max-width: 36ch;
}

main:has(#ebooks) #hero .lead {
  padding-right: 0;
}

/* Ebooks grid titles: slightly below global .h2 (clamp 1.75rem–2.5rem). */
main:has(#ebooks) #ebooks .resource-card__body .h2 {
  font-size: clamp(1.5625rem, 2.65vw, 2.125rem);
  line-height: 1.25;
}

/* No heading above the grid; cancel .resource-grid margin-top so section top/bottom match. */
main:has(#ebooks) #ebooks.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 768px) {
  main:has(#ebooks) #ebooks.section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

main:has(#ebooks) #ebooks .resource-grid {
  margin-top: 0;
}

/* --- Resource grid -------------------------------------------------------- */

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.25rem;
}

/* A card with no cover art collapses to a single column instead of leaving a
   420px hole. The ebooks page has no cover images at all. */
.resource-card:not(:has(.resource-card__cover)) {
  grid-template-columns: 1fr;
}

.resource-card .eyebrow {
  margin-top: 0;
}

@media (max-width: 760px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Glossary ------------------------------------------------------------- */
/* Generated by build-glossary.js from data/glossary.js. */

.glossary-group {
  margin: 0 0 2.5rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.glossary-letter {
  display: inline-block;
  width: fit-content;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.glossary-list {
  display: grid;
  gap: 1.5rem;
}

.glossary-term {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.glossary-term__name {
  margin: 0 0 0.4rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.glossary-term__def {
  margin: 0;
  max-width: 60rem;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.glossary-term__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.glossary-term__links a {
  color: var(--color-primary);
  text-decoration: none;
}

.glossary-term__links a:hover,
.glossary-term__links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .glossary-letter {
    font-size: 1.25rem;
  }

  .glossary-term__def {
    font-size: 0.9375rem;
  }
}

/* --- Legal prose ---------------------------------------------------------- */
.legal-page {
  text-align: left;
}

.legal-page .section {
  padding-top: 4.5rem;
  padding-bottom: 5.5rem;
}

.legal-page .wrap,
#main.legal-page .wrap {
  max-width: 1128px;
  padding-left: max(1.25rem, 20px);
  padding-right: max(1.25rem, 20px);
}

.legal-page .h1 {
  margin: 0 0 2rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  text-align: left;
}

.legal-prose {
  max-width: none;
  width: 100%;
  text-align: left;
  font-size: 1.0125rem;
  line-height: 1.75;
  color: var(--color-text);
}

.legal-prose h2 {
  margin: 2.25rem 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--color-navy, #001062);
  text-align: left;
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose p,
.legal-prose li {
  margin: 0 0 1.05rem;
  color: var(--color-text);
  max-width: none;
}

.legal-prose ul {
  margin: 0 0 1.15rem;
  padding: 0 0 0 1.35rem;
}

.legal-prose li {
  margin-bottom: 0.4rem;
}

.legal-prose a {
  color: var(--color-primary, #545bb3);
  overflow-wrap: anywhere;
}

.legal-prose strong {
  color: var(--color-navy, #001062);
  font-weight: 700;
}

/* --- Hire wizard (multi-step contact) ------------------------------------- */
body.page-shell--hire-wizard {
  background: var(--color-surface, #fafafe);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  --hire-wizard-form-max: 60rem;
  --hire-wizard-header-offset: 5.25rem;
}

body.page-shell--hire-wizard:has(.hire-step--contact.is-active) {
  --hire-wizard-form-max: 40rem;
}

.site-header--minimal {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--color-surface, #fafafe);
  backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
}

.site-header--minimal.is-scrolled {
  box-shadow: none;
  border-bottom: 0;
}

.header-inner--minimal {
  justify-content: space-between;
  align-items: center;
  max-width: none;
  padding: 2rem 2.25rem 1.125rem;
  padding-left: max(2.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(2.25rem, env(safe-area-inset-right, 0px));
}

.site-header--minimal .logo-link img {
  width: auto;
  height: 42px;
  max-width: none;
}

.hire-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
}

.hire-brand__tagline {
  margin: 0;
  color: var(--color-text, #1c1c1c);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
}

.hire-brand__tagline .text-highlight {
  color: var(--color-primary, #545bb3);
  font-weight: 600;
}

.site-header-minimal-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.75rem;
  flex-shrink: 0;
}

.site-header-minimal-cta__btn {
  min-height: 3rem;
  padding: 0.55rem 1.35rem;
  border-width: 2px;
  border-radius: var(--radius-sm, 4px);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

body.page-shell--hire-wizard > main#main.hire-wizard-page {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  overflow-x: clip;
}

.hire-wizard-hero.section:not(.hire-wizard-hero--full) {
  padding-top: clamp(3.25rem, 6vw, 4.75rem);
}

body.page-shell--hire-wizard #main.hire-wizard-page .hire-wizard-hero--full {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: auto;
  margin-block: 0;
  padding-block: clamp(1rem, 2vh, 1.5rem);
  padding-inline: 0;
}

.hire-wizard-hero--full {
  padding: 1.25rem 0 3rem;
}

.hire-wizard-shell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: safe center;
  flex: 1 1 auto;
  width: min(100%, var(--hire-wizard-form-max, 60rem));
  max-width: var(--hire-wizard-form-max, 60rem);
  margin-block: 0;
  margin-inline: auto;
  padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
}

body.page-shell--hire-wizard #main.hire-wizard-page .hire-wizard-hero--full .hire-wizard-shell {
  flex: 1 1 auto;
  height: auto;
  max-height: none;
}

.hire-wizard-main {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 0;
  min-width: 0;
  max-width: 100%;
}

#hire-wizard {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.hire-progress {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.25rem;
  width: auto;
  height: auto;
  margin: 0 0 1.35rem;
  overflow: visible;
  background: none;
  border-radius: 0;
}

.hire-wizard-step-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hire-progress__dot {
  flex: none;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--color-border, #e2e4f0);
  border-radius: 50%;
  background: var(--color-surface-2, #f0f1fb);
  transition: width 0.22s var(--ease, ease), background 0.22s var(--ease, ease), border-color 0.22s var(--ease, ease);
}

.hire-progress__dot.is-done {
  border-color: color-mix(in srgb, var(--color-primary, #545bb3) 62%, #fff);
  background: color-mix(in srgb, var(--color-primary, #545bb3) 62%, #fff);
}

.hire-progress__dot.is-current {
  width: 26px;
  border-radius: 999px;
  border-color: var(--color-primary, #545bb3);
  background: var(--color-primary, #545bb3);
}

.hire-wizard-form {
  gap: 0;
  overflow: visible;
  border-radius: 0;
}

.hire-step {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  animation: hire-wizard-in 0.28s var(--ease, ease);
}

@keyframes hire-wizard-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hire-step[hidden] {
  display: none;
}

.hire-step legend,
.hire-step fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

body.page-shell--hire-wizard .hire-step legend {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--color-navy, #001062);
  margin-bottom: 0.85rem;
}

body.page-shell--hire-wizard #hire-engineers-label {
  margin: 0 0 60px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary, #545bb3);
}

body.page-shell--hire-wizard #hire-skills-label {
  margin: 0 0 60px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary, #545bb3);
}

.hire-step__intro {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--color-text, #1c1c1c);
}

.hire-step-1-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.hire-step-1-actions .hire-count-row {
  flex: 0 1 auto;
  width: auto;
}

.hire-step-1-actions .hire-wizard-actions {
  margin-top: 0;
  flex: 0 0 auto;
}

.hire-count-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 5.75rem));
  justify-content: start;
  gap: 0.75rem;
  width: 100%;
}

.hire-count {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 5.75rem;
  min-width: 0;
  min-height: 4.75rem;
  margin: 0;
  padding: 0.85rem 0.65rem;
  border: 1px solid var(--color-border, #e2e4f0);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text, #1c1c1c);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.18s var(--ease, ease), background 0.18s var(--ease, ease), box-shadow 0.18s var(--ease, ease);
}

.hire-count:hover {
  border-color: rgba(84, 91, 179, 0.45);
}

.hire-count:has(input:checked),
.hire-count.is-selected {
  border-color: var(--color-primary, #545bb3);
  background: #eef0fb;
  box-shadow: 0 0 0 3px rgba(84, 91, 179, 0.16);
}

.hire-count:focus-within {
  border-color: var(--color-primary, #545bb3);
  box-shadow: 0 0 0 3px rgba(84, 91, 179, 0.16);
  outline: none;
}

.hire-count input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hire-skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.hire-skill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.15rem;
  margin: 0;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--color-border, #e2e4f0);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text, #1c1c1c);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color 0.18s var(--ease, ease), background 0.18s var(--ease, ease), box-shadow 0.18s var(--ease, ease);
}

.hire-skill:hover {
  border-color: rgba(84, 91, 179, 0.45);
}

.hire-skill:has(input:checked) {
  border-color: var(--color-primary, #545bb3);
  background: #eef0fb;
  box-shadow: 0 0 0 3px rgba(84, 91, 179, 0.16);
}

.hire-skill input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  flex: none;
  accent-color: var(--color-primary, #545bb3);
}

.hire-specific {
  display: grid;
  grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
  gap: 0.75rem 1.25rem;
  align-items: center;
  margin-top: 1.75rem;
}

.hire-specific label {
  margin: 0;
  color: var(--color-text, #1c1c1c);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.hire-specific input {
  width: 100%;
  height: 3.5rem;
  padding: 0 1rem;
  border: 1px solid var(--color-border, #e2e4f0);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text, #1c1c1c);
  font: inherit;
  font-size: 1rem;
}

.hire-specific input:focus {
  border-color: rgba(84, 91, 179, 0.55);
  box-shadow: 0 0 0 3px rgba(84, 91, 179, 0.14);
  outline: none;
}

.hire-specific input::placeholder {
  color: rgba(153, 153, 153, 0.9);
}

.hire-fields {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

#hire-wizard .form-field {
  gap: 0.35rem;
}

#hire-wizard .form-field::before {
  display: none;
}

#hire-wizard .form-field label {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0 0 0.4rem;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text, #1c1c1c);
}

.hire-req {
  color: #c62828;
  font-weight: 700;
}

#hire-wizard .form-field input,
#hire-wizard .form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border, #e2e4f0);
  border-radius: 10px;
  background: #fff;
  font-size: 1rem;
}

#hire-wizard .form-field input {
  height: 3.5rem;
  padding: 0 1rem;
}

#hire-wizard .form-field textarea {
  min-height: 6.5rem;
  padding: 0.85rem 1rem;
  resize: vertical;
}

#hire-wizard .form-field input:focus,
#hire-wizard .form-field textarea:focus {
  border-color: rgba(84, 91, 179, 0.55);
  box-shadow: 0 0 0 3px rgba(84, 91, 179, 0.14);
  outline: none;
}

.hire-privacy,
.hire-unsub,
.hire-recaptcha {
  margin: 1.15rem 0 0;
  max-width: 46rem;
  color: #666;
  font-size: 0.875rem;
  line-height: 1.5;
}

.hire-unsub {
  margin-top: 0.85rem;
}

.hire-unsub a {
  color: var(--color-primary, #545bb3);
}

.hire-recaptcha {
  margin-top: 1rem;
  font-weight: 600;
}

.hire-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text, #1c1c1c);
  cursor: pointer;
}

.hire-consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--color-primary, #545bb3);
}

/* Hire wizard step 3 (contact): tighter vertical layout */
.hire-step--contact .hire-step__intro,
.hire-step[data-step="3"] .hire-step__intro {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.45;
}

.hire-step--contact .hire-fields,
.hire-step[data-step="3"] .hire-fields {
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .hire-step--contact .hire-fields,
  .hire-step[data-step="3"] .hire-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    row-gap: 0.65rem;
  }

  .hire-step--contact .hire-fields .form-field:nth-child(n + 3),
  .hire-step[data-step="3"] .hire-fields .form-field:nth-child(n + 3) {
    grid-column: 1 / -1;
  }
}

.hire-step--contact .form-field label,
.hire-step[data-step="3"] .form-field label {
  margin-bottom: 0.28rem;
}

.hire-step--contact .form-field textarea,
.hire-step[data-step="3"] .form-field textarea {
  min-height: 4.25rem;
  padding: 0.65rem 1rem;
}

.hire-step--contact .hire-privacy,
.hire-step--contact .hire-unsub,
.hire-step--contact .hire-recaptcha,
.hire-step[data-step="3"] .hire-privacy,
.hire-step[data-step="3"] .hire-unsub,
.hire-step[data-step="3"] .hire-recaptcha {
  margin-top: 0.7rem;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.hire-step--contact .hire-unsub,
.hire-step[data-step="3"] .hire-unsub {
  margin-top: 0.45rem;
}

.hire-step--contact .hire-recaptcha,
.hire-step[data-step="3"] .hire-recaptcha {
  margin-top: 0.45rem;
}

.hire-step--contact .hire-consent,
.hire-step[data-step="3"] .hire-consent {
  margin-top: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.35;
}

.hire-step--contact .hire-wizard-actions,
.hire-step[data-step="3"] .hire-wizard-actions {
  margin-top: 1.15rem;
}

.hire-wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 0;
}

.hire-wizard-actions .btn {
  width: auto;
  min-height: 3.25rem;
  min-width: 8.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm, 4px);
  font-size: 1rem;
  font-weight: 700;
}

.hire-wizard-actions .btn--primary {
  flex: 0 0 auto;
  margin-left: auto;
  justify-content: center;
}

.hire-wizard-actions .btn--outline {
  min-width: 0;
  padding: 0.4rem 0.35rem 0.4rem 0;
  border-color: transparent;
  background: transparent;
  color: var(--color-muted, #5c5c66);
  font-weight: 600;
  box-shadow: none;
}

.hire-wizard-actions .btn--outline:hover {
  border-color: transparent;
  background: transparent;
  color: var(--color-primary, #545bb3);
  box-shadow: none;
  transform: none;
}

.hire-confirm h1 {
  margin: 0 0 0.75rem;
  color: var(--color-navy, #001062);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.hire-confirm p {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  color: var(--color-text, #1c1c1c);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.hire-confirm .btn {
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm, 4px);
  font-size: 1rem;
  font-weight: 700;
}

#hire-wizard .form-status {
  position: static;
  inset: auto;
  min-height: 0;
  margin: 0.75rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  z-index: auto;
  pointer-events: none;
}

#hire-wizard .form-status.is-error,
#hire-wizard .form-status.is-success {
  display: block;
  background: transparent;
  border: 0;
  pointer-events: none;
}

#hire-wizard .form-status.is-error {
  color: #b42318;
}

#hire-wizard .form-status.is-success {
  color: #3d4293;
}

@media (max-width: 800px) {
  .hire-skill-grid {
    grid-template-columns: 1fr;
  }

  .hire-specific {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner--minimal {
    align-items: flex-start;
    padding: 1.5rem 1.35rem 1rem;
  }
}

@media (max-width: 560px) {
  .hire-step-1-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .hire-step-1-actions .hire-count-row {
    width: 100%;
  }

  .hire-step-1-actions .hire-wizard-actions {
    justify-content: flex-end;
  }

  .hire-count-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .hire-count {
    max-width: none;
    min-height: 4.25rem;
    padding-inline: 0.35rem;
    font-size: 1.25rem;
  }

  .hire-wizard-actions {
    flex-wrap: wrap;
  }

  .hire-wizard-actions .btn--primary {
    margin-left: auto;
  }
}

/* ── Fidelity layouts for case studies, careers, industries, leftover HubSpot
   conversion pages. Scoped prefixes so Phase 1–2 pages are not restyled. ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.be-trustbar {
  padding: clamp(1.5rem, 4vw, 3.25rem) 0 0;
}
.be-trustbar__bar {
  display: grid;
  grid-template-columns: minmax(10rem, 12.5rem) 1fr;
  gap: 1.25rem 1.5rem;
  align-items: center;
  padding: 2rem 2rem 1.5rem;
  background: #f4f4f8;
  border-radius: var(--radius-md);
}
.be-trustbar__copy {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--color-text);
}
.be-trustbar__copy span {
  color: var(--color-primary);
}
.be-trustbar__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 0.5rem;
}
.be-trustbar__logos .client-block {
  text-align: center;
  flex: 1 1 0;
  min-width: 5.25rem;
  max-width: 9rem;
  min-height: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.be-trustbar__logos .client-block img {
  display: block;
  flex-shrink: 0;
  height: 36px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 0.4rem;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1);
  opacity: 0.9;
}
.be-trustbar__logos .client-sub {
  font-size: 0.6875rem;
  line-height: 1.3;
}
.be-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.be-check-list__item {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.85rem;
  align-items: start;
}
.be-check-list__mark {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--color-primary);
  position: relative;
}
.be-check-list__mark::after {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: 0.22rem;
  width: 0.32rem;
  height: 0.55rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(40deg);
}
.be-check-list h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.be-check-list p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}
.be-inline-cta {
  display: flex;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #fff;
  min-height: 7.6rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-soft);
}
.be-inline-cta__photo {
  flex: 0 0 240px;
  width: 240px;
  object-fit: cover;
  display: block;
}
.be-inline-cta__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
}
.be-inline-cta__body p,
.be-inline-cta__title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 500;
  color: #fff;
}
.be-inline-cta__btn {
  flex-shrink: 0;
  background: #fff;
  color: var(--color-primary);
}
.be-inline-cta__btn:hover {
  background: #f4f4fb;
}
.cs-page .cs-hero {
  position: relative;
  background-color: #f6f6fa;
  background-size: cover;
  background-position: center;
  padding: clamp(2.5rem, 4vw, 3.25rem) 0 clamp(2rem, 3vw, 2.75rem);
}
.cs-page .cs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.55) 62%, rgba(255,255,255,.2) 100%);
}
.cs-page .cs-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(12rem, 20rem);
  gap: 2.5rem;
  align-items: center;
}
.cs-page .cs-hero__grid:not(:has(.cs-hero__logo)) {
  grid-template-columns: minmax(0, 1fr);
}
.cs-page .cs-hero__logo {
  background: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cs-page .cs-hero__logo img {
  display: block;
  width: auto;
  max-width: min(220px, 100%);
  max-height: clamp(140px, 18vw, 200px);
  height: auto;
  object-fit: contain;
}
@media (max-width: 900px) {
  .cs-page #hero .cs-hero__logo {
    display: none;
  }
  .cs-page #hero .cs-hero__grid,
  .cs-page .cs-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .cs-page .cs-hero__grid > .reveal:first-child {
    grid-column: 1 / -1;
    max-width: none;
    width: 100%;
    min-width: 0;
  }
  .cs-page .cs-hero .cs-hero__title {
    max-width: none;
  }
}
@media (min-width: 901px) {
  .cs-page .cs-hero__grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(14rem, 20rem);
    align-items: center;
  }
  .cs-page .cs-hero__grid:not(:has(.cs-hero__logo)) {
    grid-template-columns: minmax(0, 1fr);
  }
  .cs-page .cs-hero__grid > .reveal:first-child {
    display: block;
    min-height: auto;
    height: auto;
    max-width: none;
    align-self: center;
  }
  .cs-page .cs-hero__grid > .reveal:first-child .btn-row {
    flex-grow: 0;
    margin-top: 1.25rem;
  }
  .cs-page .cs-hero__grid > .cs-hero__logo.reveal {
    max-width: none;
    align-self: center;
  }
  .cs-page .cs-hero__logo img {
    max-width: min(285px, 100%);
    max-height: 285px;
  }
  .cs-page .cs-hero .lead {
    max-width: min(36rem, 52ch);
  }
}
.cs-hero__title {
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  line-height: 1.2;
  color: var(--color-primary);
  font-weight: 500;
  max-width: 20ch;
  margin: 0 0 1rem;
}
.cs-page .cs-hero .lead {
  max-width: none;
  padding-right: 0;
  font-size: 1.125rem;
}
.cs-page .cs-hero .btn-row .btn--primary {
  min-width: 13rem;
  padding-left: 2.25rem;
  padding-right: 2.25rem;
}
.cs-kicker-heading {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
  font-weight: 600;
}
.cs-kicker-heading__label {
  display: block;
  color: inherit;
}
.cs-kicker-heading__title {
  display: block;
  font-weight: 400;
  color: var(--color-primary);
}
#solution .cs-kicker-heading {
  margin-bottom: 2.25rem;
}
.cs-challenge .cs-kicker-heading,
.cs-challenge .cs-kicker-heading__title,
.cs-challenge .cs-challenge__grid > .reveal > p,
.cs-challenge .cs-list,
.cs-challenge .cs-list li,
.cs-challenge .cs-stack-label {
  color: #fff;
}
.cs-summary__grid,
.cs-challenge__grid,
.cs-solution__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 22rem);
  gap: 2.5rem;
  align-items: start;
}
.cs-why {
  background: color-mix(in srgb, var(--color-primary) 6%, var(--color-white));
}
.cs-why__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 4rem;
  align-items: start;
}
.cs-why__grid > .reveal:first-child {
  padding-right: clamp(1.25rem, 3vw, 2.75rem);
}
.cs-why__heading-line,
.cs-why__heading-accent {
  display: block;
}
.cs-why__heading-br {
  display: none;
}
.cs-why__heading-accent {
  font-weight: 600;
}
.cs-why #why-heading .accent {
  color: var(--color-primary);
}
.cs-summary__grid {
  gap: 4rem;
  padding-block: clamp(2rem, 3.25vw, 2.75rem);
}
.cs-summary__grid > .reveal:first-child {
  padding-right: clamp(1.25rem, 3vw, 2.75rem);
}
.cs-challenge__grid {
  gap: 4rem;
}
.cs-challenge__grid > .reveal:first-child {
  padding-right: clamp(2rem, 4vw, 4rem);
}
.cs-solution__grid {
  gap: 4.5rem;
  align-items: start;
}
.cs-solution__grid > .reveal {
  align-self: start;
}
.cs-solution__grid > .reveal:first-child {
  padding-right: clamp(2rem, 4vw, 4rem);
}
.cs-summary__lead {
  font-size: 1.35rem;
  line-height: 1.35;
  margin: 0;
}
.cs-stats {
  display: grid;
  gap: 1.75rem;
}
.cs-stat {
  padding-left: 1.25rem;
  border-left: 4px solid var(--color-primary);
}
.cs-stat__num {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-primary);
}
.cs-stat__label {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}
.cs-challenge {
  background: linear-gradient(to bottom, #636ed2, #4d57ab);
  color: #fff;
  padding: 4.5rem 0;
}
.cs-about-card,
.cs-stack {
  background: #fff;
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.cs-challenge .cs-about-card,
.cs-challenge .cs-stack {
  background: #fff;
  color: var(--color-text);
}
.cs-challenge .cs-about-card p,
.cs-challenge .cs-about-card h3,
.cs-challenge .cs-stack span {
  color: var(--color-text);
}
.cs-about-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.cs-about-card p {
  color: var(--color-text);
  margin: 0 0 1rem;
}
.cs-about-card hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 0 0 1rem;
}
.cs-about-card a {
  color: var(--color-primary);
  font-weight: 600;
}
.cs-stack-label {
  margin: 1.25rem 0 0.6rem;
  font-weight: 600;
}
.cs-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 0.35rem;
  text-align: center;
  align-items: stretch;
}
.cs-stack__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  height: 100%;
}
.cs-stack__item img {
  flex: 0 0 56px;
  width: auto;
  max-width: min(100%, 72px);
  height: 56px;
  object-fit: contain;
  object-position: center;
  margin: 0 0 0.35rem;
}
.cs-stack__item span {
  display: block;
  margin-top: 0;
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.2;
  hyphens: auto;
}
.cs-list {
  margin: 1rem 0;
  padding-left: 1.2rem;
}
.cs-list li + li {
  margin-top: 0.7rem;
}
.cs-quote {
  margin: 0;
}
.cs-quote p {
  font-size: 1.45rem;
  line-height: 1.35;
  margin: 0 0 1.25rem;
}
.cs-quote__person {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cs-quote__person img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}
.cs-quote__person strong,
.cs-quote__person span {
  display: block;
  font-size: 1.2rem;
  line-height: 1.3;
}
/* Optional case study blocks (Hydrow): About the Product, gallery, feature quote, summary extras */
.cs-product {
  background: var(--color-white);
}
.cs-product.section {
  padding-bottom: 0;
}
.cs-product__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.cs-product__grid > .reveal:first-child {
  padding-right: clamp(1.25rem, 3vw, 2.75rem);
}
.cs-product .cs-kicker-heading {
  margin-bottom: 1.5rem;
}
.cs-product__grid p {
  margin: 0 0 1rem;
}
.cs-product__link {
  margin-top: 1.5rem;
}
.cs-product__link a {
  font-weight: 600;
  color: var(--color-primary);
}
.cs-gallery {
  min-width: 0;
}
.cs-gallery:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}
.cs-gallery__viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #eaf0f1;
}
.cs-gallery__track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.4s ease;
  will-change: transform;
}
.cs-gallery__slide {
  flex: 0 0 100%;
  min-width: 0;
}
.cs-gallery__slide figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(22rem, 52vh, 42rem);
  padding: clamp(0.75rem, 2vw, 1.25rem);
  box-sizing: border-box;
}
.cs-gallery__slide img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(72vh, 680px);
  height: auto;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 4px);
}
.cs-gallery__slide figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cs-gallery__caption {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}
.cs-gallery__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary);
  box-shadow: 0 4px 18px rgba(15, 35, 45, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.cs-gallery__btn:hover {
  background: #fff;
  box-shadow: 0 6px 22px rgba(15, 35, 45, 0.16);
}
.cs-gallery__btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.cs-gallery__btn--prev {
  left: clamp(0.5rem, 2vw, 1rem);
}
.cs-gallery__btn--next {
  right: clamp(0.5rem, 2vw, 1rem);
}
.cs-quote--feature {
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--color-primary);
  border-radius: var(--radius-lg);
}
.cs-quote--feature p,
.cs-quote--feature .cs-quote__person strong,
.cs-quote--feature .cs-quote__person span {
  color: #fff;
}
.cs-summary__grid > .reveal:first-child > .cs-summary__lead ~ p,
.cs-summary__grid > .reveal:first-child > .cs-summary__lead ~ ul {
  margin: 1.25rem 0 0;
}
.cs-summary__grid > .reveal:first-child > .cs-summary__lead ~ ul {
  margin-top: 0.75rem;
}
@media (max-width: 900px) {
  .cs-product__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cs-product__grid > .reveal:first-child {
    padding-right: 0;
  }
  .cs-gallery__slide figure {
    min-height: clamp(18rem, 45vh, 28rem);
  }
}
.cs-roles {
  margin-top: 2rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}
.cs-roles h3 {
  margin: 0 0 0.75rem;
  letter-spacing: .04em;
}
.cs-pills,
.cs-role-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.cs-pills li {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cs-why__photo {
  width: 100%;
  max-width: min(400px, 88%);
  height: auto;
  aspect-ratio: 478 / 255;
  object-fit: contain;
  object-position: center;
  margin: 0.625rem 0;
  display: block;
  border-radius: var(--radius-lg);
}
/* Case study trust block (why-engineers.png): vertical breathing room */
#trust.cs-why .cs-why__photo {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
/* Industry #why: full-column hero image + CTA (fintech, martech, healthtech) */
@media (min-width: 901px) {
  #why.cs-why:has(.cs-why__photo[src*="-hero"]) .cs-why__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }
  #why.cs-why:has(.cs-why__photo[src*="-hero"]) .cs-why__grid > .reveal:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
#why.cs-why:has(.cs-why__photo[src*="-hero"]) .cs-why__grid > .reveal:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#why .cs-why__photo[src*="-hero"] {
  width: 90%;
  max-width: 90%;
  margin-inline: 0;
  align-self: flex-start;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}
#why.cs-why:has(.cs-why__photo[src*="-hero"]) .cs-why__grid > .reveal:first-child .btn-row {
  width: 90%;
  max-width: 90%;
  align-self: flex-start;
  margin-top: 2rem;
}
#why.cs-why:has(.cs-why__photo[src*="-hero"]) .btn-row .btn--primary {
  width: 100%;
  min-width: 13rem;
  max-width: 100%;
  padding-inline: 2rem;
  box-sizing: border-box;
}
.cs-why .btn-row {
  display: block;
  margin: 0;
  max-width: min(400px, 88%);
}
.cs-why .btn-row .btn--primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.cs-why .be-check-list {
  gap: 1.75rem;
}
.cs-why .be-check-list__item {
  grid-template-columns: 1.75rem 1fr;
  gap: 1rem;
}
.cs-why .be-check-list__mark {
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.05rem;
  border-radius: 0;
  background: transparent;
}
.cs-why .be-check-list__mark::after {
  left: 0.3rem;
  top: 0.35rem;
  width: 0.55rem;
  height: 0.95rem;
  border-right: 2.5px solid var(--color-primary);
  border-bottom: 2.5px solid var(--color-primary);
  transform: rotate(45deg);
}
.cs-why .be-check-list h3 {
  font-weight: 600;
}
/* Case study closing CTA (#close): cap banner height (default cta-split follows image intrinsic size). */
.cs-page #close .cta-split {
  --cta-pad-y: clamp(1rem, 1.75vw, 1.5rem);
}
@media (min-width: 901px) {
  .cs-page #close .cta-split {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 38vw);
    height: 26rem;
    max-height: 27.5rem;
  }
  .cs-page #close .cta-split__photo picture,
  .cs-page #close .cta-split__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: right center;
  }
  .cs-page #close .cta-split__text .h2 {
    margin-bottom: 0.65rem;
  }
  .cs-page #close .cta-split__text .lead {
    margin-bottom: 0.85rem;
  }
}
@media (max-width: 900px) {
  .cs-page #close .cta-split {
    height: auto;
    max-height: none;
  }
  .cs-page #close .cta-split__text {
    padding-top: clamp(1.5rem, 4vw, 2rem);
    padding-bottom: clamp(1.5rem, 4vw, 2rem);
  }
  .cs-page #close .cta-split__text-inner:not(:has(.lead)) {
    gap: 0.65rem;
  }
  .cs-page #close .cta-split__text-inner:not(:has(.lead)) .h2,
  .cs-page #close .cta-split__text-inner:not(:has(.lead)) #close-heading {
    margin-bottom: 0;
  }
  .cs-page #close .cta-split__text-inner:has(.lead) .h2,
  .cs-page #close .cta-split__text-inner:has(.lead) #close-heading {
    margin-bottom: 0.45rem;
  }
  .cs-page #close .cta-split__text-inner > p,
  .cs-page #close .cta-split__text-inner .lead {
    margin-top: 0;
    margin-bottom: 0;
  }
  .cs-page #close .cta-split__text-inner .h2 + .lead,
  .cs-page #close #close-heading + .lead {
    margin-top: 0;
  }
  .cs-page #close .btn-row {
    margin-top: 0.5rem;
  }
}
.cr-hero {
  background: #eceefb;
  padding: 0 0 2.5rem;
}
.ind-hero {
  padding: 4rem 0 2.5rem;
}
.cr-hero__grid,
.ind-hero__grid,
.cr-job-hero__grid,
.cr-perks__grid,
.cr-jd__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}
.cr-hero__grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.82fr);
  align-items: stretch;
  gap: 2.5rem 3.5rem;
}
.cr-hero__grid > .reveal:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0;
}
.cr-hero .cr-hero__map.reveal {
  padding-top: 0;
}
.cr-hero .h1 {
  max-width: none;
  font-size: clamp(2.35rem, 3.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.12;
}
.cr-hero .h1 .light {
  color: var(--color-primary);
  font-weight: 500;
  white-space: nowrap;
}
.cr-hero__map {
  margin-top: 0;
  align-self: start;
}
@media (max-width: 1100px) {
  .cr-hero .h1 .light { white-space: normal; }
}
@media (max-width: 900px) {
  .cr-hero__grid > .reveal:first-child { padding-top: 1.75rem; }
  .cr-hero__grid > .reveal:first-child { justify-content: flex-start; }
}
.cv-page .h1 .accent {
  color: var(--color-primary);
  font-weight: 500;
}
.cr-hero__map img {
  width: 100%;
  max-width: 88%;
  margin-left: auto;
  height: auto;
  display: block;
}
.cr-job-hero__photo img,
.cr-perks__photo img {
  width: 100%;
  height: auto;
}
.cr-perks__photo img {
  display: block;
  border-radius: var(--radius-lg);
}
.cr-rule {
  width: 4rem;
  height: 4px;
  background: var(--color-primary);
  margin-bottom: 1.25rem;
}
.cr-select {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.15rem;
}
.cr-job-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
  column-gap: 2rem;
}
@media (min-width: 720px) {
  .cr-job-list { columns: 2; }
}
@media (min-width: 1100px) {
  .cr-job-list { columns: 3; }
}
.cr-job-list li {
  break-inside: avoid;
  border-bottom: 1px solid var(--color-border);
}
.cr-job-list a {
  display: block;
  padding: 0.7rem 0;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}
.cr-job-list a:hover {
  color: var(--color-primary);
}
.cr-perk {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
}
.cr-perk + .cr-perk {
  margin-top: 0.75rem;
}
.cr-perk h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}
.cr-perk p {
  margin: 0;
  color: var(--color-muted);
}
.cr-banner {
  background: var(--color-primary);
  color: #fff;
  padding: 2.75rem 0;
}
.cr-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cr-banner .eyebrow {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.45rem;
}
.cr-banner .h2,
.cr-banner p {
  color: #fff;
  margin: 0 0 0.35rem;
}
.cr-banner .btn--primary {
  background: #fff;
  color: var(--color-primary);
  flex-shrink: 0;
}
.cr-meta {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}
.cr-about {
  background: var(--color-surface);
  padding: 1.75rem;
  border-radius: var(--radius-md);
}
/* Careers job detail: shared pale wash for hero + about panel */
.cr-page.cr-job {
  --cr-wash-bg: var(--color-surface);
}
.cr-page.cr-job .cr-job-hero,
.cr-page.cr-job .cr-about {
  background-color: var(--cr-wash-bg);
}
.cr-page.cr-job .cr-job-hero {
  padding: 2.5rem 0 2.5rem;
}
.cr-page.cr-job .cr-job-hero__photo {
  padding-block: 1.25rem;
  box-sizing: border-box;
}
.cr-page.cr-job .cr-job-hero__photo img {
  display: block;
  border-radius: var(--radius-lg);
}
.cr-page.cr-job .cr-jd__grid {
  align-items: start;
}
.cr-page.cr-job #description #req-heading,
.cr-page.cr-job #description #additional-heading {
  margin-top: 2.25rem;
}
.cr-page.cr-job #description .cr-jd__emphasis {
  font-weight: 600;
}
.cr-page.cr-job .cr-about {
  margin-top: 0;
}
.cr-page.cr-job aside.cr-about p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.55;
}
.cr-page.cr-job .cr-meta {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem 2rem;
  margin: 0 0 1.5rem;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.45;
}
.cr-page.cr-job .cr-meta__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 1 auto;
  min-width: 0;
}
.cr-page.cr-job .cr-meta__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-primary);
}
.cr-page.cr-job .cr-meta__label {
  font-weight: 500;
}
@media (max-width: 640px) {
  .cr-page.cr-job .cr-meta {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }
}
.cr-page .cr-banner {
  padding: 3rem 0;
}
.cr-page .cr-banner__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.cr-page .cr-banner .h2 {
  margin: 0 0 0.35rem;
}
.cr-page .cr-banner p:last-child {
  margin-bottom: 0;
}
.cr-page .cr-banner .btn--primary {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .cr-page.cr-job .cr-job-hero {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }
  .cr-page.cr-job .cr-job-hero__photo {
    padding-block: 0.75rem;
  }
  .cr-page .cr-banner {
    padding: 2.25rem 0;
  }
  .cr-page .cr-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}
.cr-all {
  margin-top: 1.25rem;
}
.ind-hero__title {
  color: var(--color-primary);
  font-weight: 500;
}
.ind-hero__visual img {
  width: 100%;
  height: auto;
}
.ind-solutions .h2 {
  margin-bottom: 1.5rem;
}
/* Industry pages: tighten the gap between the main section title and the
   first cluster title (was 5rem + 5rem of section padding plus margin). */
.ind-page .ind-solutions {
  padding-bottom: 0;
}
.ind-page .ind-solutions .h2 {
  margin-bottom: 0;
}
.ind-page .ind-solutions + .ind-cluster,
.ind-page .ind-cluster + .ind-cluster {
  padding-top: 3rem;
}
.ind-page .ind-cluster:has(+ .ind-cluster) {
  padding-bottom: 0;
}
@media (max-width: 768px) {
  .ind-page .ind-solutions + .ind-cluster,
  .ind-page .ind-cluster + .ind-cluster {
    padding-top: 2rem;
  }

  #guesswork .btn-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  #guesswork .btn-row > .btn {
    display: flex;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
  }
}
/* Industry hero uses the technology-page form card (air-role-hero-card). */
.ind-hero .air-role-hero-card {
  padding: 1.75rem 1.85rem;
  margin-left: auto;
  margin-right: 0;
}
.ind-hero .air-role-hero-card .hero-form__title {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.35;
  margin: 0.35rem 0 1rem;
}
.ind-hero .air-role-process {
  margin: 1rem 0 0;
  color: var(--color-muted);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .ind-hero .air-role-hero-card {
    margin-left: auto;
    margin-right: auto;
  }
}
.ind-solutions__img img {
  width: 100%;
  height: auto;
  display: block;
}
/* Industry solutions: black section title, primary-blue cluster titles, full-width
   gray intro, thin divider, then an open 2-column list (no cards). */
.ind-page .ind-solutions .h2 {
  color: var(--color-text);
}
.ind-cluster__title {
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.ind-page .ind-cluster__title {
  color: var(--color-primary);
}
.ind-cluster .lead {
  max-width: none;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.ind-cluster--tint {
  background: color-mix(in srgb, var(--color-primary) 2%, var(--color-white));
}
.ind-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
  margin-top: 2rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--color-border, #e2e4f0);
}
.ind-pair__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}
.ind-pair__icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  margin-top: -0.2rem;
}
.ind-pair h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-text);
}
.ind-pair p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}
@media (max-width: 480px) {
  .ind-pair {
    gap: 1.75rem;
    padding-top: 1.75rem;
  }
}
.ind-mid.air-mid-cta {
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2.5rem, 5vw, 3.75rem);
  background: transparent;
}
.cv-hero--dark {
  background: #1c1c28 center/cover no-repeat;
  color: #fff;
  padding: 5rem 0 4rem;
}
.cv-hero--photo {
  position: relative;
  min-height: 28rem;
  display: flex;
  align-items: center;
  padding: 7rem 0 6rem;
}
.cv-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,22,40,.55) 0%, rgba(20,22,40,.2) 70%);
}
.cv-hero--photo .wrap {
  position: relative;
  max-width: 42rem;
}
.cv-hero--dark .eyebrow,
.cv-hero--dark .h1,
.cv-hero--dark .lead,
.cv-hero--dark h2 {
  color: #fff;
}
.cv-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
}
.cv-checks li::before {
  content: "✓ ";
}
.cv-skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.cv-skills--2 {
  grid-template-columns: 1fr 1fr;
}
.cv-kpi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  margin-top: 1.5rem;
}
.cv-kpi__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.cv-kpi__item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.cv-kpi__item p {
  margin: 0;
  font-size: 1.05rem;
}
.cv-skill {
  display: block;
  padding: 1.25rem 1.1rem;
  border: 1px solid var(--color-border);
  background: #fff;
  color: inherit;
  text-decoration: none;
  min-height: 11rem;
}
.cv-skill img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 0.7rem;
}
.cv-skill h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.cv-skill p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}
.cv-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.cv-steps img {
  width: 60px;
  height: 60px;
  margin: 0 auto 0.75rem;
  display: block;
}
.cv-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.cv-stats strong {
  display: block;
  font-size: 2.4rem;
  color: var(--color-primary);
  font-weight: 500;
}
.cv-ebook {
  display: grid;
  grid-template-columns: minmax(12rem, 20rem) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}
.cv-ebook img {
  width: 100%;
  height: auto;
}
@media (max-width: 900px) {
  .be-trustbar__bar,
  .cs-hero__grid,
  .cs-summary__grid,
  .cs-challenge__grid,
  .cs-solution__grid,
  .cs-why__grid,
  .cr-hero__grid,
  .ind-hero__grid,
  .cr-job-hero__grid,
  .cr-perks__grid,
  .cr-jd__grid,
  .ind-pair,
  .cv-ebook,
  .cv-skills,
  .cv-steps,
  .cv-stats,
  .be-inline-cta,
  .be-inline-cta__body {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .be-inline-cta__photo,
  .cr-job-list {
    width: 100%;
    columns: 1;
  }
  .be-inline-cta__photo {
    flex: none;
    width: 100%;
    height: 140px;
    object-fit: cover;
  }
  .be-inline-cta__body {
    align-items: stretch;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
  }
  .be-inline-cta__btn {
    width: 100%;
    justify-content: center;
  }
  .be-inline-cta__br {
    display: none;
  }

  /* Case study hero: full-width CTA on small screens */
  .cs-page .cs-hero .btn-row {
    width: 100%;
  }
  .cs-page .cs-hero .btn-row .btn {
    width: 100%;
    min-width: 0;
    display: flex;
    justify-content: center;
  }
  .cs-summary__grid,
  .cs-challenge__grid,
  .cs-solution__grid {
    gap: 2rem;
  }
  .cs-summary__grid {
    padding-block: clamp(1.5rem, 4vw, 2rem);
  }
  .cs-why__grid {
    gap: 2.25rem;
  }
  .cs-summary__grid > .reveal:first-child,
  .cs-challenge__grid > .reveal:first-child,
  .cs-solution__grid > .reveal:first-child,
  .cs-why__grid > .reveal:first-child {
    padding-right: 0;
  }
  .be-trustbar {
    padding-top: 1.5rem;
  }
  .be-trustbar__bar {
    padding: 1.5rem 1.25rem 1.25rem;
    gap: 1rem;
    justify-items: center;
  }
  .be-trustbar__copy {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .be-trustbar__logos {
    justify-content: center;
    gap: 1rem 0.65rem;
  }
  .be-trustbar__logos .client-block {
    flex: 1 1 calc(33.333% - 0.65rem);
    min-width: 4.75rem;
    max-width: none;
    min-height: 32px;
  }
  .be-trustbar__logos .client-block img {
    height: 32px;
  }
  .be-trustbar .client-sub {
    display: none;
  }
  .client-sub__trim-mobile {
    display: none;
  }
  .cs-why__photo,
  .cs-why .btn-row {
    max-width: 100%;
  }
  /* Industry #why: center hero image + Contact CTA on small screens */
  .ind-page #why .cs-why__photo[src*="-hero"] {
    margin-inline: auto;
    align-self: center;
    width: min(400px, 88%);
    max-width: 100%;
  }
  .ind-page #why.cs-why:has(.cs-why__photo[src*="-hero"]) .cs-why__grid > .reveal:first-child .btn-row {
    margin-inline: auto;
    align-self: center;
    width: min(400px, 88%);
    max-width: 100%;
    text-align: center;
  }
  /* Case study trust block (why-engineers.png): extra vertical space on small screens */
  #trust.cs-why .cs-why__photo {
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
  }
  /* Trust heading: line 1 ends at Engineering; line 2 keeps Teams + accent together */
  #trust .cs-why__heading-br {
    display: inline;
  }
  #trust .cs-why__heading-accent {
    display: inline;
  }
}

/* --- Staff augmentation hero: centered text banner + prompt ---------------- */
#hero.sa-hero {
  background: #fff;
  padding: 4.5em 0;
  text-align: center;
}
#hero.sa-hero .wrap {
  max-width: 1128px;
}
#hero.sa-hero .hero-grid {
  display: block;
}
#hero.sa-hero .sa-hero__eyebrow {
  margin: 0;
  padding-bottom: 15px;
  color: #495a74;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}
#hero.sa-hero .sa-hero__title {
  max-width: none;
  margin: 10px auto 20px;
  color: var(--color-navy);
  font-size: 60px;
  font-weight: 200;
  letter-spacing: 0;
  line-height: 68px;
  text-align: center;
}
#hero.sa-hero .sa-hero__title .accent {
  color: var(--color-primary);
  font-weight: 700;
}
#hero.sa-hero .sa-hero__lead {
  max-width: 750px;
  margin: 0 auto 2em;
  padding-right: 0;
  color: var(--color-text);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.14px;
  line-height: 1.5;
  text-align: center;
}
#hero.sa-hero .sa-hero__prompt {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 0;
  text-align: left;
}
#hero.sa-hero .sa-hero__prompt-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#hero.sa-hero .sa-hero__input {
  display: block;
  width: 100%;
  height: 120px;
  margin: 0;
  padding: 16px 22px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background: transparent;
  color: #000;
  caret-color: #000;
  resize: none;
  font: 18px/1.5 var(--font);
}
#hero.sa-hero .sa-hero__input:focus {
  outline: 2px solid #4c60b2;
  outline-offset: 2px;
}
#hero.sa-hero .sa-hero__ghost {
  position: absolute;
  top: 36px;
  right: 22px;
  left: 22px;
  color: #444;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
  white-space: pre-line;
  pointer-events: none;
}
#hero.sa-hero .sa-hero__caret {
  animation: sa-hero-caret 1s step-end infinite;
}
@keyframes sa-hero-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
#hero.sa-hero .sa-hero__actions {
  margin-top: 11px;
  text-align: center;
}
#hero.sa-hero a.sa-hero__cta {
  height: 66px;
  min-height: 66px;
  padding: 10px 53px;
  border: 0;
  border-radius: 4px;
  background: #4c60b2;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
  transform: none;
}
#hero.sa-hero a.sa-hero__cta:hover,
#hero.sa-hero a.sa-hero__cta:focus {
  background: #001062;
  border-color: transparent;
  border-radius: 6px;
  color: #fff;
  box-shadow: none;
  transform: none;
}
#hero.sa-hero a.sa-hero__cta:active {
  background: #9cb0ff;
  color: #fff;
}
@media (max-width: 1040px) and (min-width: 770px) {
  #main #hero.sa-hero.section { padding: 60px 0; }
  #hero.sa-hero .sa-hero__title {
    font-size: 42px;
    line-height: 1.2;
  }
}
@media (max-width: 769px) {
  #main #hero.sa-hero.section { padding: 30px 0 0; }
  #hero.sa-hero .sa-hero__title {
    font-size: 36px;
    line-height: 42px;
  }
  #hero.sa-hero .sa-hero__lead { margin-bottom: 32px; }
  #hero.sa-hero a.sa-hero__cta { width: 100%; }
}

/* --- FAQs platform CTA (full-bleed interrupt between FAQ groups) ---------- */
#platform-cta.platform-cta {
  width: 100%;
  margin: 3.5rem 0 0;
  padding-block: 4rem;
  padding-inline: 0;
  background: linear-gradient(
    180deg,
    rgba(238, 239, 250, 0.55) 0%,
    rgba(243, 244, 248, 0.92) 45%,
    rgba(243, 244, 248, 0.92) 55%,
    rgba(238, 239, 250, 0.45) 100%
  );
  border-radius: 0;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

#platform-cta .platform-cta__split {
  align-items: center;
  gap: clamp(2rem, 4vw, 3.75rem);
}

#platform-cta .platform-cta__visual {
  background: none;
  padding: 0;
  border: none;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

#platform-cta .platform-cta__visual img {
  display: block;
  width: 88%;
  max-width: 88%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  margin-inline: auto;
}

#platform-cta .h2 {
  color: var(--color-text);
  margin-bottom: 1rem;
}

#platform-cta .h2 .accent {
  color: var(--color-primary);
}

#platform-cta .lead {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  max-width: 34rem;
}

#platform-cta .eyebrow {
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  #platform-cta.platform-cta {
    padding-block: 2.5rem;
  }
}

@media (max-width: 900px) {
  #platform-cta .platform-cta__split .platform-cta__visual {
    order: -1;
  }

  #platform-cta .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  #platform-cta .btn-row .btn {
    width: 100%;
    justify-content: center;
  }
}

