/* agentalent.ai — homepage & contact layout components
   Depends on: css/agentalent-tokens.css */

/* ──────────────── NAV ──────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--accent);
  padding: 10px 24px;
  border-radius: 100px;
  text-decoration: none;
  border: 1.5px solid transparent;
  box-sizing: border-box;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s, background 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(233, 84, 20, 0.3);
}

.nav-cta--secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--border);
  box-shadow: none;
}

.nav-cta--secondary:hover {
  box-shadow: none;
  border-color: var(--accent);
  color: var(--accent);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-logo-secondary {
  height: 18px !important;
  opacity: 0.7;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text);
}

/* ──────────────── SHARED ──────────────── */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
  text-align: center;
}

/* Section H2: Poppins two-line + Instrument italic accent (see LP reference) */
.at-section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 0.6rem + 2.4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: var(--at-tracking-tight);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08em;
  text-align: center;
  text-wrap: balance;
  margin: 0 0 2.5rem;
  max-width: 100%;
  color: var(--text);
  text-transform: none;
  border: 0;
  padding: 0 0 0.25rem;
  font-style: normal;
}

/* ──────────────── HERO ──────────────── */

.hero-wrapper {
  position: relative;
  overflow: hidden;
  overflow-x: clip;
}

.hero-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
}

.hero {
  position: relative;
  padding-top: 120px;
  padding-bottom: 16px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0s;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-video {
  display: flex;
  align-items: center;
  position: relative;
}

.hero-video .video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-subtle);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 32px;
}

.hero-monday-logo {
  height: 24px;
  width: auto;
  opacity: 0.6;
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero h1.h1-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.06em;
  line-height: var(--at-lead-tight, 1.0);
  letter-spacing: var(--at-tracking-tight, -0.03em);
}

.hero h1 .h1-poppins {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  letter-spacing: -0.05em;
}

/* Hero without h1-hero two-line structure (legacy) */
.hero h1:not(.h1-hero) .h1-poppins {
  font-size: 64px;
}

.hero h1 em {
  color: var(--accent);
  font-style: italic;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  font-family: var(--font-body);
  color: var(--muted);
  max-width: 420px;
  margin: 0;
  line-height: 1.7;
}

.hero-subtitle--wide {
  max-width: min(100%, 640px);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(233, 84, 20, 0.3);
}

.hero-cta .arrow {
  transition: transform 0.2s;
  display: inline-flex;
}

.hero-cta:hover .arrow {
  transform: translateX(3px);
}

/* Gigs Funnel (marketing, compliance) LP: interest tags — 4×2 on md+; wrap on small screens */
.hero--marketing-gigs .hero-interest-tags-wrap,
.hero--compliance-gigs .hero-interest-tags-wrap {
  width: 100%;
  max-width: min(50rem, 100%);
  margin-top: 1.25rem;
}

.hero--marketing-gigs .hero-interest-tags__title,
.hero--compliance-gigs .hero-interest-tags__title {
  margin: 0 0 0.625rem;
  max-width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: clamp(0.8125rem, 0.72rem + 0.35vw, 0.9375rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.015em;
}

.hero--marketing-gigs .hero-interest-tags,
.hero--compliance-gigs .hero-interest-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px 9px;
  width: 100%;
  max-width: min(50rem, 100%);
  margin-top: 0;
}

@media (min-width: 640px) {
  .hero--marketing-gigs .hero-interest-tags,
  .hero--compliance-gigs .hero-interest-tags {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto auto;
    align-items: stretch;
    justify-content: start;
  }

  .hero--marketing-gigs .hero-interest-tag,
  .hero--compliance-gigs .hero-interest-tag {
    min-width: 0;
    max-width: none;
    width: 100%;
  }
}

.hero--marketing-gigs .hero-interest-tag,
.hero--compliance-gigs .hero-interest-tag {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  margin: 0;
  min-width: 0;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-subtle);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.hero--marketing-gigs .hero-interest-tag:has(.hero-interest-tag__input:checked),
.hero--compliance-gigs .hero-interest-tag:has(.hero-interest-tag__input:checked) {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 0 0 1px var(--accent-border);
}

@supports (background: color-mix(in srgb, var(--accent), white)) {
  .hero--marketing-gigs .hero-interest-tag:has(.hero-interest-tag__input:checked),
  .hero--compliance-gigs .hero-interest-tag:has(.hero-interest-tag__input:checked) {
    background: color-mix(in srgb, var(--accent) 7%, var(--bg-subtle));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent);
  }
}

.hero--marketing-gigs .hero-interest-tag:has(:focus-within),
.hero--compliance-gigs .hero-interest-tag:has(:focus-within) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero--marketing-gigs .hero-interest-tag__input,
.hero--compliance-gigs .hero-interest-tag__input {
  width: 0.95rem;
  height: 0.95rem;
  min-width: 0.95rem;
  min-height: 0.95rem;
  margin: 0;
  flex-shrink: 0;
  border-radius: 0.15rem;
  cursor: pointer;
  accent-color: var(--accent);
  vertical-align: middle;
}

/* Single-line pills: no wrap; row max-width unchanged (50rem) */
.hero--marketing-gigs .hero-interest-tag__text,
.hero--compliance-gigs .hero-interest-tag__text {
  font-family: var(--font-body);
  font-size: clamp(11.5px, 0.1rem + 1.3vw, 13px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  white-space: nowrap;
  min-width: 0;
  flex-shrink: 1;
  letter-spacing: -0.02em;
}

/* CTA pop (triggered by checking a hero interest tag) */
@keyframes hero-cta--gigs-pop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

#heroGigsCta.hero-cta--gigs-pop {
  animation: hero-cta--gigs-pop 200ms ease;
  transform-origin: center center;
}

@media (prefers-reduced-motion: reduce) {
  #heroGigsCta.hero-cta--gigs-pop {
    animation: none;
  }
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  transition: border-color 0.2s, color 0.2s;
}

.hero-cta-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-as-image {
  cursor: default;
}

.hero-as-image__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* ── Sales LP: full-bleed hero image, soft edge blend (no box) ── */

.hero-wrapper--sales-bleed {
  overflow: visible;
  overflow-x: visible;
  overflow-y: visible;
  position: relative;
  isolation: isolate;
}

/* Photo: right-anchored; nudged past the frame so the right side bleeds out of the hero */
.hero-wrapper--sales-bleed::after {
  content: '';
  position: absolute;
  z-index: 0;
  right: 0;
  left: auto;
  top: 0;
  width: min(76vw, 70rem);
  max-width: none;
  height: 100%;
  background: url('../images/hero-sales-marketplace.jpg') 100% 46% / cover no-repeat;
  transform: translate3d(min(11vw, 8.5rem), 0, 0);
  /* Wider soft fade into the page: more white, photo ramps in toward the right */
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 12%,
    rgba(0, 0, 0, 0.3) 28%,
    rgba(0, 0, 0, 0.55) 44%,
    rgba(0, 0, 0, 0.82) 58%,
    #000 72%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 12%,
    rgba(0, 0, 0, 0.3) 28%,
    rgba(0, 0, 0, 0.55) 44%,
    rgba(0, 0, 0, 0.82) 58%,
    #000 72%,
    #000 100%
  );
  pointer-events: none;
}

.hero-wrapper--sales-bleed::before {
  z-index: 2;
}

/* Virtual Assistant LP: home-office / business operations hero (images/hero-virtual-assistant-ops.png) */
.hero-wrapper--va-bleed {
  overflow: visible;
  overflow-x: visible;
  overflow-y: visible;
  position: relative;
  isolation: isolate;
}

.hero-wrapper--va-bleed::after {
  content: '';
  position: absolute;
  z-index: 0;
  right: 0;
  left: auto;
  top: 0;
  width: min(76vw, 70rem);
  max-width: none;
  height: 100%;
  background-color: #c85a2e;
  background-image: url('../images/hero-virtual-assistant-ops.png');
  background-position: 86% 42%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translate3d(min(11vw, 8.5rem), 0, 0);
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 12%,
    rgba(0, 0, 0, 0.3) 28%,
    rgba(0, 0, 0, 0.55) 44%,
    rgba(0, 0, 0, 0.82) 58%,
    #000 72%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 12%,
    rgba(0, 0, 0, 0.3) 28%,
    rgba(0, 0, 0, 0.55) 44%,
    rgba(0, 0, 0, 0.82) 58%,
    #000 72%,
    #000 100%
  );
  pointer-events: none;
}

.hero-wrapper--va-bleed::before {
  z-index: 2;
}

/* IT Support LP: desk / office photo */
.hero-wrapper--it-bleed {
  overflow: visible;
  overflow-x: visible;
  overflow-y: visible;
  position: relative;
  isolation: isolate;
}

.hero-wrapper--it-bleed::after {
  content: '';
  position: absolute;
  z-index: 0;
  right: 0;
  left: auto;
  top: 0;
  width: min(76vw, 70rem);
  max-width: none;
  height: 100%;
  background-color: #1a2633;
  background-image: url('../images/hero-it-support.png');
  background-position: 88% 42%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translate3d(min(11vw, 8.5rem), 0, 0);
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 12%,
    rgba(0, 0, 0, 0.3) 28%,
    rgba(0, 0, 0, 0.55) 44%,
    rgba(0, 0, 0, 0.82) 58%,
    #000 72%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 12%,
    rgba(0, 0, 0, 0.3) 28%,
    rgba(0, 0, 0, 0.55) 44%,
    rgba(0, 0, 0, 0.82) 58%,
    #000 72%,
    #000 100%
  );
  pointer-events: none;
}

.hero-wrapper--it-bleed::before {
  z-index: 2;
}

/* Marketing LP: creative / laptop hero */
.hero-wrapper--marketing-bleed {
  overflow: visible;
  overflow-x: visible;
  overflow-y: visible;
  position: relative;
  isolation: isolate;
}

.hero-wrapper--marketing-bleed::after {
  content: '';
  position: absolute;
  z-index: 0;
  right: 0;
  left: auto;
  top: 0;
  width: min(76vw, 70rem);
  max-width: none;
  height: 100%;
  background-color: #c41e2e;
  background-image: url('../images/hero-marketing-creative.png');
  background-position: 88% 42%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translate3d(min(11vw, 8.5rem), 0, 0);
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 12%,
    rgba(0, 0, 0, 0.3) 28%,
    rgba(0, 0, 0, 0.55) 44%,
    rgba(0, 0, 0, 0.82) 58%,
    #000 72%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 12%,
    rgba(0, 0, 0, 0.3) 28%,
    rgba(0, 0, 0, 0.55) 44%,
    rgba(0, 0, 0, 0.82) 58%,
    #000 72%,
    #000 100%
  );
  pointer-events: none;
}

/* Compliance Gigs LP: hero art only (navy / desk scene; marketing pages unchanged) */
.hero-wrapper--compliance-lp.hero-wrapper--marketing-bleed::after {
  background-color: #1a2d45;
  background-image: url('../images/hero-compliance-gigs.png');
  background-position: 50% 44%;
}

.hero-wrapper--marketing-bleed::before {
  z-index: 2;
}

.hero--sales {
  max-width: var(--at-lp-hero-max-w);
  margin: 0 auto;
  padding: calc(
      var(--at-nav-h) + var(--at-lp-hero-below-nav)
    )
    var(--at-lp-hero-pad-x) var(--at-lp-hero-above-trust) var(--at-lp-hero-pad-x);
  position: relative;
  overflow: visible;
  z-index: 1;
  background: transparent;
}

/* h1-hero: sales LP: two lines (row1 + row2), same as default h1-hero column layout */
.hero.hero--sales h1.h1-hero {
  font-size: calc(var(--at-text-display-hero) * var(--at-lp-hero-h1-scale));
  font-weight: 400;
  line-height: var(--at-lead-tight);
  letter-spacing: var(--at-tracking-tight);
  margin-bottom: var(--at-lp-hero-h1-mb);
  max-width: 100%;
}

.hero h1.h1-hero {
  /* font-size: .hero h1 72px; sales h1.h1-hero + .hero--sales block overrides to calc(72) */
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 400;
}

.h1-hero .h1-poppins,
.at-section-heading .h1-poppins {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  letter-spacing: -0.05em;
  color: var(--text);
}

/* 64/72: Poppins rows relative to Instrument (em) on the parent h1 / h2 */
.h1-hero .h1-hero__row1,
.at-section-heading .h1-hero__row1 {
  display: block;
  font-size: 0.8889em;
  line-height: 1.05;
  white-space: nowrap;
}

.h1-hero .h1-hero__row2,
.at-section-heading .h1-hero__row2 {
  display: block;
  line-height: 1.05;
  white-space: nowrap;
}

.h1-hero .h1-poppins--hire,
.at-section-heading .h1-poppins--hire {
  display: inline;
  font-size: 0.8889em;
  vertical-align: baseline;
}

.h1-hero .h1-hero__row2 em,
.at-section-heading .h1-hero__row2 em {
  font-style: italic;
  font-weight: 400;
  font-family: var(--font-heading);
  font-size: 1em;
  display: inline;
  color: var(--accent);
}

.h1-hero .h1-hero--compliance-lp em {
  font-style: italic;
  font-weight: 400;
  font-family: var(--font-heading);
  font-size: 1em;
  display: inline;
  color: var(--accent);
}

/* Subcopy: slightly larger type + a bit more max width */
.hero.hero--sales .hero-subtitle.hero-subtitle--wide {
  max-width: var(--at-lp-hero-sub-max);
  width: 100%;
  line-height: 1.7;
  font-size: var(--at-lp-hero-sub);
  text-align: left;
  color: var(--text);
}

/* Gigs Funnel LP: slightly narrower sub + type (h2) */
.hero.hero--sales.hero--marketing-gigs .hero-subtitle.hero-subtitle--wide,
.hero.hero--sales.hero--compliance-gigs .hero-subtitle.hero-subtitle--wide {
  max-width: min(100%, 40rem);
  font-size: calc(var(--at-lp-hero-sub) * 0.97);
}

.hero--sales__layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  min-height: var(--at-lp-hero-layout-min);
  overflow: visible;
}

/* Gigs Funnel LP: H1 two block lines (h1-hero--marketing-gigs-lp) */
.hero--marketing-gigs h1.h1-hero--marketing-gigs-lp,
.hero--marketing-gigs h1.h1-hero,
.hero--compliance-gigs h1.h1-hero--marketing-gigs-lp,
.hero--compliance-gigs h1.h1-hero {
  max-width: 100%;
}

.hero--marketing-gigs h1.h1-hero--marketing-gigs-lp .h1-hero__row1,
.hero--marketing-gigs h1.h1-hero--marketing-gigs-lp .h1-hero__row2 {
  max-width: 100%;
  line-height: 1.1;
}

.hero--compliance-gigs h1.h1-hero--marketing-gigs-lp .h1-hero--compliance-lp {
  display: block;
  max-width: 100%;
  line-height: 1.1;
}

/* Desktop: one nowrap line per span = 2 H1 lines; scales to fit ~50rem column */
@media (min-width: 769px) {
  .hero--marketing-gigs h1.h1-hero--marketing-gigs-lp,
  .hero--compliance-gigs h1.h1-hero--marketing-gigs-lp {
    font-size: min(
      calc(var(--at-text-display-hero) * var(--at-lp-hero-h1-scale)),
      2.65vw + 0.5rem
    );
  }

  .hero--marketing-gigs h1.h1-hero--marketing-gigs-lp .h1-hero__row1,
  .hero--marketing-gigs h1.h1-hero--marketing-gigs-lp .h1-hero--marketing-gigs-l2 {
    white-space: nowrap;
  }

  .hero--compliance-gigs h1.h1-hero--marketing-gigs-lp .h1-hero--compliance-lp {
    white-space: normal;
  }

  .hero--sales__layout .hero-content {
    flex: 0 1 28rem;
    min-width: 0;
  }

  .hero--sales.hero--marketing-gigs .hero--sales__layout .hero-content,
  .hero--sales.hero--compliance-gigs .hero--sales__layout .hero-content {
    flex: 0 1 min(50rem, 66vw);
    max-width: min(50rem, 66vw);
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .hero--sales {
    padding: calc(var(--at-nav-h) + var(--at-lp-hero-below-nav))
      var(--at-lp-hero-pad-x-sm) var(--at-lp-hero-above-trust) var(--at-lp-hero-pad-x-sm);
  }

  .hero.hero--sales h1.h1-hero {
    align-items: center;
    font-size: clamp(0.8rem, 0.1rem + 1.1vw, 1.2rem);
  }

  .hero.hero--sales h1.h1-hero .h1-hero__row1,
  .hero.hero--sales h1.h1-hero .h1-poppins--hire {
    font-size: 0.9em;
    line-height: 1.1;
  }

  .hero.hero--sales h1.h1-hero .h1-hero__row1,
  .hero.hero--sales h1.h1-hero .h1-hero__row2 {
    white-space: nowrap;
    max-width: 100%;
  }

  .hero.hero--sales.hero--marketing-gigs h1.h1-hero--marketing-gigs-lp .h1-hero__row1,
  .hero.hero--sales.hero--marketing-gigs h1.h1-hero--marketing-gigs-lp .h1-hero__row2,
  .hero.hero--sales.hero--compliance-gigs h1.h1-hero--marketing-gigs-lp .h1-hero--compliance-lp {
    white-space: normal;
  }

  .hero.hero--sales h1.h1-hero .h1-hero__row2 em {
    font-size: 1em;
  }

  .hero.hero--sales .hero-subtitle.hero-subtitle--wide {
    max-width: 100%;
    text-align: center;
  }

  .hero-wrapper--sales-bleed::after,
  .hero-wrapper--it-bleed::after,
  .hero-wrapper--va-bleed::after,
  .hero-wrapper--marketing-bleed::after {
    left: 0;
    right: 0;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: min(40vh, 20rem);
    transform: translate3d(5vw, 0, 0);
    background-position: 100% 32%;
    /* Shorter “solid” band, longer fade to white above the text block */
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 32%,
      rgba(0, 0, 0, 0.72) 50%,
      rgba(0, 0, 0, 0.38) 64%,
      rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 32%,
      rgba(0, 0, 0, 0.72) 50%,
      rgba(0, 0, 0, 0.38) 64%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .hero-wrapper--marketing-bleed::after {
    background-position: 50% 26%;
  }

  .hero-wrapper--compliance-lp.hero-wrapper--marketing-bleed::after {
    background-position: 50% 30%;
  }

  .hero--sales__layout {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
    padding-top: min(36vh, 18.5rem);
    gap: var(--at-lp-hero-stack-gap);
  }

  .hero--sales__layout .hero-content {
    flex: 0 1 auto;
    max-width: 100%;
  }

  .at-section-heading {
    font-size: clamp(1.25rem, 0.4rem + 1.1vw, 1.5rem);
  }

  .at-section-heading .h1-hero__row1,
  .at-section-heading .h1-poppins--hire {
    font-size: 0.9em;
    line-height: 1.1;
  }

  .at-section-heading .h1-hero__row1,
  .at-section-heading .h1-hero__row2 {
    white-space: nowrap;
    max-width: 100%;
  }

  .at-section-heading .h1-hero__row2 em {
    font-size: 1em;
  }
}

/* Shared soft line — uses design tokens (see --at-rule-bg) */
.hero-logos-divider,
.section-divider {
  display: block;
  max-width: 100%;
  width: 100%;
  height: var(--at-rule-h);
  border: 0;
  padding: 0;
  background: var(--at-rule-bg);
}

/* Hero → logos: no block margin under the line (logos block has padding) */
.hero-logos-divider {
  margin: 0;
}

/* In-flow section separators */
.section-divider {
  margin: 0 0 var(--at-section-after-rule) 0;
}

/* Air between the hero’s soft line and the “trusted by” strip */
.logos-section.logos-section--tight {
  padding-top: var(--at-hero-to-logos-pt);
  padding-bottom: var(--at-hero-to-logos-pb);
}

@media (max-width: 768px) {
  .hero-logos-divider {
    max-width: calc(100% - 2 * var(--at-lp-hero-pad-x-sm));
    margin-left: var(--at-lp-hero-pad-x-sm);
    margin-right: var(--at-lp-hero-pad-x-sm);
  }
}

/* ──────────────── VIDEO ──────────────── */

.video-section {
  padding-bottom: 72px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.15s;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-subtle);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* VIDEO EMBED: replace with <video>, <iframe> (Loom/YouTube), or a poster;
   remove .video-placeholder when embedding real content. */
.video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.video-placeholder:hover {
  transform: scale(1.08);
}

.video-placeholder svg {
  width: 72px;
  height: 72px;
}

/* ──────────────── VIDEO PLAY OVERLAY ──────────────── */

.hero-video {
  cursor: pointer;
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(233, 84, 20, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}

.hero-video:hover .video-play-btn {
  transform: scale(1.12);
  box-shadow: 0 6px 32px rgba(233, 84, 20, 0.55);
}

/* ──────────────── VIDEO MODAL ──────────────── */

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}

.video-modal-close:hover {
  opacity: 1;
}

.video-modal-player {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-modal-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ──────────────── LOGOS ──────────────── */

.logos-section {
  padding-top: 32px;
  padding-bottom: 8px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.2s;
}

.logos-headline {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: center;
  margin-bottom: 10px;
}

.logos-carousel {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}

.logos-track:hover {
  animation-play-state: paused;
}

.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.logo-slot:hover {
  opacity: 0.7;
}

.logo-slot img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ──────────────── HOW IT WORKS ──────────────── */

.how-it-works {
  padding-bottom: 72px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.25s;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 280px;
  position: relative;
}

.step-img {
  width: 160px;
  height: 160px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.step-img-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
  font-family: var(--font-body);
}

.step-number {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.step-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.step-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 220px;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 50px;
  flex-shrink: 0;
}

.step-arrow svg {
  width: 40px;
  height: 40px;
  color: var(--border);
}

/* ──────────────── WHY AI AGENTS (value props) ──────────────── */

.why-agents-section {
  padding-bottom: 64px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.25s;
}

.why-agents-section .section-divider {
  margin-bottom: var(--at-section-after-rule);
}

h2.why-agents-title.at-section-heading,
h2.why-agents-title {
  margin: 0 auto 48px;
  max-width: 36em;
}

.value-props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
  align-items: stretch;
}

/* Tighter 3-up band: more gutter between columns, equal-height cells */
.why-agents-section .value-props-grid {
  column-gap: 64px;
  row-gap: 32px;
}

.value-prop-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
}

.value-prop-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px 0;
  line-height: 1.3;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
}

.value-prop-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
}

.value-prop-card .value-prop-card__fig {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  h2.why-agents-title.at-section-heading,
  h2.why-agents-title {
    margin-bottom: 40px;
  }

  .value-props-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.why-agentalent-section {
  padding-bottom: 64px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.28s;
}

/* Nudge section content to the right so the block isn’t flush to the left edge */
.why-agentalent-section.container {
  padding-left: calc(var(--at-gutter) + min(5vw, 4rem));
  padding-right: var(--at-gutter);
}

/* One line: “Why” + orange Instrument “Agentalent?” (does not affect “Why hiring …?” above) */
.why-agentalent-section h2.at-section-heading.why-agentalent-title {
  max-width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.2em;
  font-size: clamp(1.5rem, 0.55rem + 2.5vw, 2.75rem);
  white-space: nowrap;
}

.why-agentalent-section h2.at-section-heading.why-agentalent-title .h1-hero__row1 {
  font-size: 1em;
}

.value-props-grid--quad {
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Why Agentalent: icon left, title + copy stacked and left-aligned */
.why-agentalent-section .value-prop-card--why-left {
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  justify-content: flex-start;
  gap: 16px 20px;
}

.why-agentalent-section .value-prop-card--why-left .value-prop-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.why-agentalent-section .value-prop-card--why-left h3,
.why-agentalent-section .value-prop-card--why-left p {
  text-align: left;
  width: 100%;
}

.why-agentalent-section .value-prop-card--why-left p {
  flex: 0 1 auto;
}

.why-agentalent-section .value-prop-card__fig {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}

.why-agentalent-section .value-prop-card__fig img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.why-agentalent-section .value-prop-card__fig--why-svg {
  max-width: 100px;
  max-height: 100px;
  margin-bottom: 0;
}

.why-agentalent-section .value-prop-card__fig--why-svg img {
  max-height: 88px;
  width: auto;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 768px) {
  .why-agentalent-section.container {
    padding-left: calc(var(--at-gutter-sm) + min(4vw, 1.75rem));
    padding-right: var(--at-gutter-sm);
  }

  .value-props-grid--quad {
    grid-template-columns: 1fr;
  }

  .why-agentalent-section .value-prop-card--why-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .why-agentalent-section .value-prop-card__fig--why-svg {
    max-width: 88px;
  }

  .why-agentalent-section h2.at-section-heading.why-agentalent-title {
    font-size: clamp(0.8rem, 0.2rem + 3.2vw, 1.6rem);
  }
}

/* ──────────────── ROUTING ──────────────── */

.routing-section {
  padding-bottom: 40px;
  overflow: hidden;
}

.routing-section .section-divider {
  margin-bottom: var(--at-space-4);
}

.routing-section .at-section-heading,
.routing-section .section-label {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
  font-weight: 400;
}

.routing-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 48px;
  padding: 16px 0 0;
  position: relative;
}

.routing-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease, filter 0.5s ease;
  position: relative;
  user-select: none;
}

.routing-figure.enter-left {
  transform: translateX(-120px);
  opacity: 0;
}

.routing-figure.enter-right {
  transform: translateX(120px);
  opacity: 0;
}

.routing-figure.entered {
  transform: translateX(0);
  opacity: 1;
}

.routing-figure.active {
  transform: translateX(0) scale(1);
  opacity: 1;
  filter: none;
}

.routing-figure.inactive {
  transform: scale(0.88);
  opacity: 0.4;
  filter: grayscale(0.5);
}

.routing-label {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
  text-align: center;
  transition: color 0.4s ease;
}

.routing-figure.active .routing-label {
  color: var(--accent);
}

.routing-img-wrap {
  position: relative;
  width: 240px;
  height: 260px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.routing-illustration {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: box-shadow 0.4s ease;
  position: relative;
  z-index: 1;
}

.routing-figure.active .routing-illustration {
  box-shadow: 0 12px 40px rgba(233, 84, 20, 0.15);
}

.routing-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.routing-curved-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.routing-curved-text text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  fill: var(--muted);
  letter-spacing: 0.03em;
  transition: fill 0.4s ease;
}

.routing-figure.active .routing-curved-text text {
  fill: var(--text);
}

.routing-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 16px;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.routing-figure.active .routing-indicator {
  opacity: 1;
  transform: scale(1);
}

.routing-content-wrapper {
  position: relative;
  min-height: 40px;
}

.routing-content {
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 1;
  transform: translateY(0);
}

.routing-content.fade-out {
  opacity: 0;
  transform: translateY(8px);
}

@media (max-width: 768px) {
  .routing-container {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .routing-figure.enter-left,
  .routing-figure.enter-right {
    transform: translateX(0) translateY(40px);
  }

  .routing-img-wrap {
    width: 180px;
    height: 220px;
  }

  .routing-illustration {
    width: 150px;
    height: 150px;
  }

  .routing-curved-text text {
    font-size: 11px;
  }

  .routing-label {
    font-size: 18px;
  }
}

/* ──────────────── AGENTS ──────────────── */

.agents-section {
  padding-bottom: 72px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.3s;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.agent-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

.agent-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.agent-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.agent-name-inline {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.agent-price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1.2;
}

.agent-price strong {
  font-weight: 700;
}

.agent-price span {
  font-family: var(--font-body);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}

.agent-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  color: var(--muted);
  overflow: hidden;
}

.agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-pricing {
  text-align: right;
}

.agent-pricing-label {
  font-family: var(--font-heading);
  font-size: 18px;
  font-style: italic;
  color: var(--accent);
  line-height: 1.2;
}

.agent-pricing-sub {
  font-size: 12px;
  color: var(--muted);
}

.agent-name {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.agent-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.agent-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 12px;
}

.agent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.agent-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--muted);
}

.agent-provider {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.agent-provider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.agent-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 20px;
  padding: 12px 20px;
  background: var(--bg);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.agent-cta:hover {
  background: var(--accent);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.agent-cta .arrow {
  transition: transform 0.2s;
  display: inline-flex;
}

.agent-cta:hover .arrow {
  transform: translateX(3px);
}

.agents-browse {
  text-align: right;
  margin-top: 32px;
}

.agents-browse-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}

.agents-browse-link:hover {
  gap: 12px;
  color: var(--text);
}

.dynamic-section {
  padding-bottom: 72px;
}

#dynamicCards .section-divider,
#dynamicHowItWorks .section-divider {
  margin-bottom: var(--at-space-6);
}

#dynamicCards .section-label,
#dynamicHowItWorks .section-label,
#dynamicCards .at-section-heading,
#dynamicHowItWorks .at-section-heading {
  border-bottom: none;
  margin-bottom: 24px;
}

.steps-cta {
  text-align: center;
  margin-top: 48px;
}

.role-view {
  animation: fadeUp 0.4s ease both;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
  margin-left: 6px;
}

.role-card {
  display: flex;
  flex-direction: column;
}

.role-card-logo {
  margin-bottom: 20px;
}

.role-card-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.role-company-name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.role-card-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
}

.role-oneliner {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.role-budget {
  font-family: var(--font-heading);
  font-size: 24px;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1.2;
}

.role-budget strong {
  font-weight: 700;
}

.role-budget span {
  font-family: var(--font-body);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}

.role-card .agent-cta {
  margin-top: auto;
}

.agents-browse-underline {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.verified-agents-section .agent-cta {
  margin-top: auto;
}

/* Inline text link (not pill button), e.g. “View agent” on sales LP — same target as Post a Job / sign up */
a.agent-card-link {
  display: inline-block;
  width: auto;
  margin-top: 20px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  align-self: flex-start;
  transition: color 0.2s;
}

a.agent-card-link:hover {
  color: var(--text);
  background: none;
  transform: none;
}

.verified-agents-section .agent-card a.agent-card-link {
  margin-top: auto;
}

.verified-agents-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.verified-agents-section .agent-desc {
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
  margin-bottom: 12px;
}

.agent-type-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  margin: 0 0 10px 0;
}

.agent-scoreline {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px 0;
}

.agent-scoreline strong {
  color: var(--text);
  font-weight: 600;
}

.agent-rank-gold {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #9a6b16;
  vertical-align: 1px;
}

.agent-avatar--initial {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  flex-shrink: 0;
}

.agents-bottom-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.agents-browse-panel {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.agents-browse-panel__art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 4px;
}

.agents-browse-panel__art img {
  max-height: 140px;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.agents-browse-question {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

.agents-browse-body {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
  text-align: center;
  max-width: 20rem;
}

.agents-browse-panel .agents-browse-panel__cta {
  margin-top: 8px;
  align-self: center;
  width: auto;
}

/* Marketing Gigs LP: section H2 (Verified marketing agent gigs) — single line */
.verified-gigs-title--oneline {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  text-align: center;
  max-width: 100%;
  white-space: normal;
}

.verified-gigs-title--oneline .verified-gigs-title__line {
  display: block;
  font-size: 1em;
  line-height: 1.15;
  text-wrap: balance;
}

.verified-gigs-title--oneline .verified-gigs-title__line em {
  font-style: italic;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--accent);
  margin-left: 0.06em;
}

@media (min-width: 640px) {
  .verified-gigs-title--oneline {
    white-space: nowrap;
  }

  .verified-gigs-title--oneline .verified-gigs-title__line {
    text-wrap: nowrap;
  }
}

/* Gigs Funnel LP: gig cards (Funnel A) — default agent avatar; optional top cover (Compliance LP) */
.agent-card--gig {
  padding: 24px 22px 28px;
  overflow: hidden;
}

.agent-card--gig.agent-card--gig--with-cover {
  padding: 0 22px 28px;
  overflow: hidden;
}

.verified-agents-section .agent-card--gig--with-cover .gig-card-cover {
  width: calc(100% + 44px);
  margin: 0 -22px 16px -22px;
  max-height: 180px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  flex-shrink: 0;
  background: var(--bg-subtle);
}

.verified-agents-section .agent-card--gig--with-cover .gig-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.verified-agents-section .agent-card--gig .gig-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0;
}

.verified-agents-section .agent-card--gig .agent-avatar {
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 50%;
  background: var(--bg-subtle);
  overflow: hidden;
  flex-shrink: 0;
}

.verified-agents-section .agent-card--gig .agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.verified-agents-section .agent-card--gig .agent-header {
  margin-bottom: 10px;
}

.verified-agents-section .agent-card--gig .agent-type-title {
  margin-top: 0;
}

.gig-card-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 12px 0;
}

.verified-agents-section .agent-card--gig .gig-card-desc {
  display: block;
}

.gig-delivery {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 10px 0;
  line-height: 1.45;
}

.gig-from-price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1.2;
}

.gig-from-price strong {
  font-weight: 700;
}

.verified-agents-section .agent-card--gig a.agent-card-link {
  margin-top: auto;
}

@media (max-width: 900px) {
  .agents-bottom-row {
    grid-template-columns: 1fr;
  }
}

/* ──────────────── FAQ ──────────────── */

.faq-section {
  padding-bottom: 72px;
}

.faq-section .section-label,
.faq-section .at-section-heading {
  border-bottom: none;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  padding-bottom: 24px;
}

/* ──────────────── SALES LP: ABOUT SNIPPET (before sendoff) ──────────────── */

.sales-about-band {
  padding: 80px 0 64px;
  text-align: center;
}

/* One line: Poppins “About” + orange Instrument “Agentalent.ai” (same pattern as company sendoff) */
.sales-about-band h2.at-section-heading.sales-about-band__headline {
  margin: 0 auto 1.75rem;
  max-width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.2em;
  font-size: clamp(1.5rem, 0.55rem + 2.5vw, 2.75rem);
  white-space: nowrap;
}

.sales-about-band h2.at-section-heading.sales-about-band__headline .h1-hero__row1 {
  font-size: 1em;
}

.sales-about-band__body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto;
  text-wrap: pretty;
}

@media (max-width: 768px) {
  .sales-about-band {
    padding: 64px 0 48px;
  }

  .sales-about-band h2.at-section-heading.sales-about-band__headline {
    font-size: clamp(0.8rem, 0.2rem + 3.2vw, 1.6rem);
  }

  .sales-about-band__body {
    font-size: 16px;
  }
}

/* ──────────────── SENDOFF CTA ──────────────── */

.sendoff-section {
  background: #1A1A1A;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sendoff-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
}

.sendoff-section .container {
  position: relative;
  z-index: 1;
}

/* Company CTA: same title system as the page (Poppins + orange Instrument accent) — one line */
.sendoff-section .sendoff-headline.at-section-heading {
  color: #fff;
  font-size: clamp(2.1rem, 0.7rem + 3.1vw, 3.5rem);
  margin: 0 auto 20px;
  max-width: min(100%, 48rem);
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.2em;
  white-space: nowrap;
}

.sendoff-section .sendoff-headline.at-section-heading .h1-poppins,
.sendoff-section .sendoff-headline.at-section-heading .h1-hero__row1 {
  color: #fff;
}

/* Builder CTA: legacy single-line italic hero style */
.sendoff-section .role-view[data-view="builder"] .sendoff-headline {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 auto 20px;
}

.sendoff-subline {
  font-family: var(--font-body);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
  line-height: 1.5;
}

.sendoff-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sendoff-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(233, 84, 20, 0.4);
}

.sendoff-btn .arrow {
  display: inline-flex;
  transition: transform 0.2s;
}

.sendoff-btn:hover .arrow {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .sendoff-section {
    padding: 72px 0;
  }

  .sendoff-section .role-view[data-view="builder"] .sendoff-headline {
    font-size: 36px;
  }

  .sendoff-section .sendoff-headline.at-section-heading {
    font-size: clamp(1.1rem, 2.2vw + 0.7rem, 2.9rem);
  }

  .sendoff-subline {
    font-size: 16px;
  }

  .sendoff-section .sendoff-headline--gigs-lp .sendoff-headline--gigs-lp__text {
    font-size: clamp(1.05rem, 0.3rem + 1.1vw, 1.5rem);
  }
}

/* Marketing Gigs LP sendoff: one balanced headline with accent “needed” */
.sendoff-section .sendoff-headline.sendoff-headline--gigs-lp {
  flex-direction: column;
  flex-wrap: wrap;
  white-space: normal;
  max-width: min(100%, 40rem);
  line-height: 1.2;
  align-items: center;
}

.sendoff-section .sendoff-headline.sendoff-headline--gigs-lp .sendoff-headline--gigs-lp__text {
  color: #fff;
  font-size: clamp(1.2rem, 0.4rem + 2.2vw, 2.1rem);
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
  display: block;
  max-width: 100%;
}

.sendoff-section .sendoff-headline.sendoff-headline--gigs-lp .sendoff-headline--gigs-lp__text em {
  font-style: italic;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--accent);
}

.builder-demo-video {
  margin-top: 48px;
  cursor: pointer;
}

.builder-demo-video .video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-subtle);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.builder-demo-video .video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.builder-demo-video:hover .video-play-btn {
  transform: scale(1.12);
  box-shadow: 0 6px 32px rgba(233, 84, 20, 0.55);
}

/* ──────────────── CONTACT ──────────────── */

.contact-section {
  padding-bottom: var(--at-nav-h);
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.35s;
  scroll-margin-top: var(--at-contact-scroll-margin);
}

.contact-divider {
  display: block;
  max-width: 100%;
  width: 100%;
  height: var(--at-rule-h);
  border: 0;
  margin: 0 0 var(--at-section-after-rule) 0;
  padding: 0;
  background: var(--at-rule-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-copy h2 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
}

.contact-copy p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.trust-heading {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}

.trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}

.trust-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-check svg {
  width: 20px;
  height: 20px;
}

/* ──── FORM ──── */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B6B68' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: var(--bg-subtle);
  padding-right: 40px;
  cursor: pointer;
}

.form-field select option {
  background: var(--bg);
  color: var(--text);
}

.form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 32px;
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 8px;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(233, 84, 20, 0.3);
}

.submit-btn .arrow {
  transition: transform 0.2s;
  display: inline-flex;
}

.submit-btn:hover .arrow {
  transform: translateX(3px);
}

.form-success {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

.form-success.visible {
  display: flex;
}

/* ──────────────── FOOTER ──────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  font-size: 13px;
  color: var(--muted);
}

.footer-right a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-right a:hover {
  color: var(--text);
}

/* ──────────────── ANIMATIONS ──────────────── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ──────────────── RESPONSIVE ──────────────── */

@media (max-width: 768px) {
  .nav {
    padding: 0 20px;
  }

  .nav-right {
    gap: 8px;
  }

  .nav-cta,
  .nav-cta.nav-cta--secondary {
    padding: 8px 14px;
    font-size: 12px;
  }

  .container {
    padding: 0 20px;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 48px;
  }

  .hero.hero--sales {
    padding: calc(var(--at-nav-h) + var(--at-lp-hero-below-nav))
      var(--at-lp-hero-pad-x-sm) var(--at-lp-hero-above-trust) var(--at-lp-hero-pad-x-sm);
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto;
  }

  .hero-ctas {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: 44px;
    letter-spacing: -0.02em;
  }

  .hero h1 .h1-poppins {
    font-size: 1em;
  }

  .hero h1.h1-hero .h1-hero__row1.h1-poppins,
  .hero h1.h1-hero .h1-hero__row2 .h1-poppins--hire {
    font-size: 0.9em;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-video {
    position: static;
    width: 100%;
  }

  .hero-video .video-container {
    border-radius: 12px;
  }

  .video-placeholder svg {
    width: 52px;
    height: 52px;
  }

  .logos-section {
    padding-bottom: 64px;
  }

  .logos-section.logos-section--tight {
    padding-top: var(--at-hero-to-logos-pt-m);
    padding-bottom: var(--at-hero-to-logos-pb-m);
  }

  .logo-slot img {
    height: 36px;
  }

  .how-it-works {
    padding-bottom: 64px;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .step-arrow {
    padding-top: 0;
    transform: rotate(90deg);
  }

  .step-img,
  .step-img-placeholder {
    width: 100px;
    height: 100px;
  }

  .agents-section {
    padding-bottom: 64px;
  }

  .agents-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding-bottom: var(--at-space-16);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-copy h2 {
    font-size: 36px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ──────────────── CAMPAIGN LP — NAV CTA RESPONSIVE LABEL ──────────────── */
/* Default: show full text, hide short variant. Small viewports flip it.
   The actual small-viewport overrides live AFTER the 768px block below so
   they don't get clobbered by source order. */
.nav-cta__full { display: inline; }
.nav-cta__short { display: none; }

/* ──────────────── CAMPAIGN LP — MOBILE READABILITY FIXES ──────────────── */
/* Targeted overrides for /ap/* landing pages: bigger section headlines,
   tighter vertical rhythm, smaller browse-panel art so the gap between
   sections doesn't feel like dead space on a 390-414px viewport. */
@media (max-width: 768px) {
  /* Hero "Built by monday.com" eyebrow — keep it readable but not dominant */
  .hero .hero-monday-logo {
    height: 22px;
    width: auto;
  }

  /* "About Agentalent.ai" — readable heading + tight padding + breathing room around body */
  .sales-about-band {
    padding: 28px 16px 28px;
  }
  .sales-about-band h2.at-section-heading.sales-about-band__headline {
    font-size: clamp(1.5rem, 0.95rem + 2.4vw, 2rem);
    margin-bottom: 1rem;
  }
  .sales-about-band__body {
    font-size: 15px;
    line-height: 1.6;
    padding: 0 8px;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }

  /* Section dividers between agents/gigs → about → sendoff: pull them in */
  .verified-agents-section.agents-section + .hero-logos-divider,
  .hero-logos-divider {
    margin: 0;
  }

  /* Sendoff — bigger headline, much tighter chrome */
  .sendoff-section {
    padding: 40px 0 44px;
  }
  .sendoff-section .sendoff-headline.at-section-heading {
    font-size: clamp(1.7rem, 1.1rem + 2.8vw, 2.4rem);
    white-space: normal;
    flex-wrap: wrap;
    line-height: 1.15;
    margin-bottom: 14px;
  }
  .sendoff-section .sendoff-headline.sendoff-headline--gigs-lp .sendoff-headline--gigs-lp__text {
    font-size: clamp(1.4rem, 0.9rem + 2vw, 2rem);
    line-height: 1.2;
  }
  .sendoff-subline {
    font-size: 15px;
    margin-bottom: 20px;
    padding: 0 16px;
  }
  .sendoff-btn {
    padding: 14px 28px;
    font-size: 15px;
  }

  /* Verified agents/gigs section — tighten so the section break feels intentional */
  .verified-agents-section.agents-section {
    padding-bottom: 32px;
  }

  /* Browse panel — reduce robot art and internal whitespace */
  .agents-browse-panel {
    padding: 18px 16px 22px;
    gap: 8px;
  }
  .agents-browse-panel__art img {
    max-height: 84px;
  }
  .agents-browse-panel .agents-browse-panel__cta {
    margin-top: 4px;
  }

  /* Why-Agentalent — shave vertical space + center each card on phones.
     Override the desktop "nudge right" padding so content sits centered
     relative to the viewport on mobile. */
  .why-agentalent-section {
    padding-bottom: 40px;
  }
  .why-agentalent-section.container {
    padding-left: var(--at-gutter-sm);
    padding-right: var(--at-gutter-sm);
  }
  .value-props-grid--quad {
    gap: 24px;
  }
  .why-agentalent-section .value-prop-card--why-left {
    align-items: center;
    text-align: center;
  }
  .why-agentalent-section .value-prop-card--why-left .value-prop-card__body,
  .why-agentalent-section .value-prop-card--why-left .value-prop-card__body h3,
  .why-agentalent-section .value-prop-card--why-left .value-prop-card__body p {
    align-items: center;
    text-align: center;
  }
  .why-agentalent-section .value-prop-card__fig {
    justify-content: center;
    align-items: center;
  }

  /* Hero H1 — base rule clamps to 12.8px which is body size, not a headline.
     Override so the marketing-supplied wordmark reads as a hero on a phone. */
  .hero.hero--sales h1.h1-hero {
    font-size: clamp(1.5rem, 0.9rem + 2.6vw, 2.4rem);
    line-height: 1.15;
  }
  .hero.hero--sales h1.h1-hero .h1-hero__row1,
  .hero.hero--sales h1.h1-hero .h1-poppins--hire {
    font-size: 0.95em;
    line-height: 1.15;
  }
  .hero.hero--sales h1.h1-hero .h1-hero__row1,
  .hero.hero--sales h1.h1-hero .h1-hero__row2 {
    white-space: normal;
  }
  /* Compliance gigs H1 has no row1/row2, just one span — make sure it inherits
     the bumped size and wraps cleanly */
  .hero.hero--sales h1.h1-hero .h1-hero--compliance-lp {
    font-size: 1em;
    line-height: 1.2;
    display: block;
    text-wrap: balance;
  }

  /* Logos divider — pull the section breaks closer together on phone */
  .hero-logos-divider {
    margin-top: 0;
  }

  /* Defensive: campaign LPs use overflow-visible on the bleed wrappers so
     the hero photo can bleed out past the right edge. Belt-and-braces clip
     at the body level to kill any 1-15px right-side white strip on phones. */
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Footer — drop padding so it sits closer to the dark sendoff */
  .footer {
    padding: 18px 0;
  }
  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }
  .footer-left,
  .footer-right {
    font-size: 12px;
  }
}

/* ──────────────── CAMPAIGN LP — SMALL PHONE NAV (≤480px) ──────────────── */
/* This block intentionally lives AFTER the 768px block above so its rules
   win the cascade on phones — otherwise .nav { padding: 0 20px } from the
   768px block overrides the tighter 14px we want here. */
@media (max-width: 480px) {
  .nav-cta__full { display: none; }
  .nav-cta__short { display: inline; }

  .nav { padding: 0 12px; height: 60px; }
  .nav-left { gap: 0; }
  .nav-right { gap: 6px; }

  .nav .nav-logo img,
  .nav .nav-logo svg {
    height: 22px;
    width: auto;
  }

  .nav-cta,
  .nav-cta.nav-cta--secondary {
    padding: 7px 12px;
    font-size: 11.5px;
    line-height: 1.1;
    white-space: nowrap;
  }

  /* The hero is fixed-positioned below a 60px nav now, so adjust its top pad */
  .hero.hero--sales {
    padding-top: calc(60px + 1rem);
  }
}
