/* ==========================================================================
   White Label SEO Reseller Program — executive B2B landing page
   --------------------------------------------------------------------------
   Scoped design layer for the bespoke /reseller-program/ renderer
   (inc/reseller-program-page.php). Every rule is namespaced with .rsl-* or
   keyed to a section class only this page emits, so shared single templates
   are untouched.

   Brand tokens
     Deep navy    #0B2545
     Slate blue   #13315C
     Amber gold   #F5B700
     Soft gray    #F8FAFC
   ========================================================================== */

.rsl-hero__grid,
.rsl-fit,
.rsl-model,
.rsl-services,
.rsl-process,
.rsl-reasons,
.rsl-checks,
.rsl-faq,
.audit-cta.rsl-cta {
  --rsl-navy: #0b2545;
  --rsl-navy-mid: #13315c;
  --rsl-gold: #f5b700;
  --rsl-gold-soft: #fff4cf;
  --rsl-bg: #f8fafc;
  --rsl-ink: #334155;
  --rsl-ink-strong: #0b2545;
  --rsl-line: #e2e8f0;
  --rsl-surface: #ffffff;
  --rsl-radius: 16px;
  --rsl-radius-sm: 10px;
  --rsl-shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.06);
  --rsl-shadow-md: 0 10px 32px rgba(11, 37, 69, 0.09);
  --rsl-shadow-lg: 0 24px 64px rgba(11, 37, 69, 0.18);
}

/* Anchor offsets so in-page links clear the sticky site header. */
#rsl-fit,
#rsl-model,
#rsl-services,
#rsl-process,
#rsl-reasons,
#rsl-checks,
#rsl-faq,
#enquire {
  scroll-margin-top: 6.5rem;
}

/* ── Shared section rhythm ───────────────────────────────────────────── */
.rsl-fit,
.rsl-model,
.rsl-services,
.rsl-process,
.rsl-reasons,
.rsl-checks,
.rsl-faq {
  padding-block: clamp(3.5rem, 3rem + 4vw, 6.5rem);
}

/* The brief asks for the soft cool gray #F8FAFC on the alternating bands,
   which is lighter than the theme default used by `.section--alt`. */
.rsl-model.section--alt,
.rsl-process.section--alt,
.rsl-checks.section--alt {
  background: var(--rsl-bg);
}

.rsl-fit h2,
.rsl-model h2,
.rsl-services h2,
.rsl-process h2,
.rsl-reasons h2,
.rsl-checks h2,
.rsl-faq h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--rsl-ink-strong);
}

.rsl-fit p,
.rsl-model p,
.rsl-services p,
.rsl-process p,
.rsl-reasons p,
.rsl-checks p,
.rsl-faq p {
  color: var(--rsl-ink);
  line-height: 1.7;
}

/* ── Section header (shared) ─────────────────────────────────────────── */
.rsl-fit .section-header,
.rsl-model .section-header,
.rsl-services .section-header,
.rsl-process .section-header,
.rsl-reasons .section-header,
.rsl-checks .section-header,
.rsl-faq .section-header {
  max-width: 780px;
  margin: 0 auto clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  text-align: center;
}

.rsl-fit .section-header .eyebrow,
.rsl-model .section-header .eyebrow,
.rsl-services .section-header .eyebrow,
.rsl-process .section-header .eyebrow,
.rsl-reasons .section-header .eyebrow,
.rsl-checks .section-header .eyebrow,
.rsl-faq .section-header .eyebrow {
  display: inline-block;
  margin-bottom: 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6300;
}

.rsl-fit .section-header h2,
.rsl-model .section-header h2,
.rsl-services .section-header h2,
.rsl-process .section-header h2,
.rsl-reasons .section-header h2,
.rsl-checks .section-header h2,
.rsl-faq .section-header h2 {
  margin-bottom: 1rem;
}

.rsl-fit .section-header p,
.rsl-model .section-header p,
.rsl-services .section-header p,
.rsl-process .section-header p,
.rsl-reasons .section-header p,
.rsl-checks .section-header p,
.rsl-faq .section-header p {
  margin: 0;
  font-size: 1.0625rem;
  max-width: 64ch;
  margin-inline: auto;
}

/* ==========================================================================
   SECTION 1 — HERO
   ========================================================================== */
.audit-hero--rsl {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 5vw, 5.5rem);
  /*
   * A solid navy base remains as the failure fallback. `background-image` is
   * deliberately not set: pages.css applies `.audit-hero:has(.audit-hero__bg)
   * { background-image: none }` at a higher specificity to strip the dot
   * texture, and that should also strip any gradient we might add here.
   */
  background-color: #0b2545;
  color: #ffffff;
}

/* The shared `.audit-hero::before` gold wash would double up with the scrim,
   so it is removed here and re-expressed in the scrim gradient instead. */
.audit-hero--rsl::before {
  display: none;
}

/*
 * The photograph itself is emitted as `.audit-hero__bg` with an inline
 * background-image (the same technique the Technical SEO Audits hero uses),
 * so it renders above the navy base and below the scrim with no stacking
 * tricks. Positioning comes from pages.css; only the crop is tuned here.
 */
.audit-hero--rsl .audit-hero__bg {
  background-position: center 42%;
  background-size: cover;
}

/* Navy scrim over the photograph. Weighted left-to-right: the copy column is
   pushed to near-opaque navy for text contrast while the right-hand side
   stays lighter so the artwork remains visible. */
.audit-hero--rsl .audit-hero__bg-scrim {
  background:
    linear-gradient(
      100deg,
      rgba(11, 37, 69, 0.95) 0%,
      rgba(11, 37, 69, 0.90) 38%,
      rgba(19, 49, 92, 0.80) 62%,
      rgba(11, 37, 69, 0.66) 100%
    ),
    radial-gradient(120% 90% at 88% 8%, rgba(245, 183, 0, 0.16) 0%, rgba(245, 183, 0, 0) 58%);
}

/* The hero carries copy only — no visual column — so the grid collapses to a
   single measure. `grid-template-areas` is reset in case pages.css or the
   shared `.audit-hero__grid--bg` rule declares a two-column template. */
.rsl-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: none;
  gap: 0;
}

.rsl-hero__content {
  max-width: 860px;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

/* pages.css sets the background-hero heading size through
   `.audit-hero__grid--bg .audit-hero__content h1` (two classes + element), so
   the reseller heading is re-declared at equal-or-higher specificity. The same
   applies to the colour, which pages.css sets via `.audit-hero__content h1`. */
.audit-hero--rsl .audit-hero__grid--bg .audit-hero__content h1,
.audit-hero.audit-hero--rsl .audit-hero__content h1 {
  color: #ffffff;
  font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.audit-hero--rsl .eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--rsl-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.audit-hero--rsl h1 {
  font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.audit-hero.audit-hero--rsl .audit-hero__lead {
  max-width: 64ch;
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.1875rem);
  line-height: 1.65;
  color: #c7d5e6;
  margin-bottom: 0;
}

/* Two intro paragraphs stack in the source document. */
.audit-hero--rsl .audit-hero__lead + .audit-hero__lead {
  margin-top: 1rem;
}

.audit-hero--rsl .audit-hero__actions {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.audit-hero--rsl .btn--primary {
  background: var(--rsl-gold);
  color: var(--rsl-navy);
  font-weight: 700;
  border-color: var(--rsl-gold);
}

.audit-hero--rsl .btn--primary:hover {
  background: #ffca2b;
  border-color: #ffca2b;
  color: var(--rsl-navy);
}

.audit-hero--rsl .btn--secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.audit-hero--rsl .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.audit-hero--rsl .audit-hero__pills {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 1.25rem;
}

.audit-hero--rsl .audit-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dbe6f2;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
}

.audit-hero--rsl .audit-hero__pill-icon {
  display: inline-flex;
  color: var(--rsl-gold);
}

.audit-hero--rsl .audit-hero__pill-icon svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   SECTION 2 — WHO THE PROGRAM IS FOR
   ========================================================================== */
.rsl-fit__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.5rem);
  align-items: stretch;
}

.rsl-fit__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  height: 100%;
  padding: clamp(1.25rem, 2vw, 1.6rem);
  background: var(--rsl-surface);
  border: 1px solid var(--rsl-line);
  border-radius: var(--rsl-radius);
  box-shadow: var(--rsl-shadow-sm);
}

/* Five items in a two-column grid leave a lone card on the last row; letting
   it span the full width keeps the block visually balanced. */
.rsl-fit__list > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.rsl-fit__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--rsl-gold-soft);
  color: #8a6300;
}

.rsl-fit__tick svg {
  width: 13px;
  height: 13px;
}

.rsl-fit__body strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--rsl-navy);
}

.rsl-fit__body span {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--rsl-ink);
}

.rsl-fit__closing {
  max-width: 780px;
  margin: clamp(1.75rem, 3vw, 2.5rem) auto 0;
  text-align: center;
  font-size: 1rem;
}

/* ==========================================================================
   SECTION 3 — HOW THE RESELLER MODEL WORKS
   ========================================================================== */
.rsl-table-wrap {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  background: var(--rsl-surface);
  border: 1px solid var(--rsl-line);
  border-radius: var(--rsl-radius);
  box-shadow: var(--rsl-shadow-sm);
  overflow-x: auto;
}

.rsl-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  text-align: left;
}

.rsl-table__caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6300;
}

.rsl-table thead th {
  padding: 0.875rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--rsl-navy);
  border-bottom: 1px solid var(--rsl-navy);
}

.rsl-table thead th:first-child {
  border-radius: 8px 0 0 0;
}

.rsl-table thead th:last-child {
  border-radius: 0 8px 0 0;
}

.rsl-table tbody th {
  padding: 0.875rem 1rem;
  width: 42%;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--rsl-navy);
  background: var(--rsl-bg);
  border-bottom: 1px solid var(--rsl-line);
}

.rsl-table tbody td {
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  color: var(--rsl-ink);
  border-bottom: 1px solid var(--rsl-line);
  vertical-align: top;
}

.rsl-table tbody tr:last-child th,
.rsl-table tbody tr:last-child td {
  border-bottom: 0;
}

.rsl-model__note {
  max-width: 780px;
  margin: clamp(1.5rem, 2.4vw, 2rem) auto 0;
  font-size: 1rem;
}

.rsl-model__note a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   SECTION 4 — SERVICES YOU CAN RESELL
   ========================================================================== */
.rsl-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.2vw, 1.75rem);
  align-items: stretch;
}

.rsl-service {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: var(--rsl-surface);
  border: 1px solid var(--rsl-line);
  border-radius: var(--rsl-radius);
  box-shadow: var(--rsl-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.rsl-service:hover {
  transform: translateY(-3px);
  box-shadow: var(--rsl-shadow-md);
  border-color: rgba(245, 183, 0, 0.6);
}

/* Seven cards in a three-column grid: the seventh spans the final row. */
.rsl-services__grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.rsl-service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: var(--rsl-navy);
  color: var(--rsl-gold);
}

.rsl-service__icon svg {
  width: 22px;
  height: 22px;
}

.rsl-service__title {
  margin: 0 0 0.625rem;
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--rsl-navy);
}

.rsl-service__text {
  margin: 0;
  font-size: 0.9375rem;
}

/* ==========================================================================
   SECTION 5 — OUR RESELLER PROCESS
   ========================================================================== */
.rsl-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.2vw, 1.75rem);
}

.rsl-step {
  position: relative;
  padding-top: 0.5rem;
}

.rsl-step::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 62px;
  right: -1.75rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(11, 37, 69, 0.16), rgba(11, 37, 69, 0.04));
}

.rsl-step:last-child::after {
  display: none;
}

.rsl-step__marker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.rsl-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--rsl-navy);
  color: var(--rsl-gold);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.rsl-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--rsl-bg);
  border: 1px solid var(--rsl-line);
  color: var(--rsl-navy-mid);
}

.rsl-step__icon svg {
  width: 17px;
  height: 17px;
}

.rsl-step__title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--rsl-navy);
}

.rsl-step__text {
  margin: 0;
  font-size: 0.9375rem;
}

/* ==========================================================================
   SECTION 6 — WHY AGENCIES CHOOSE WHITE LABEL SEO
   ========================================================================== */
.rsl-reasons__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.2vw, 1.75rem);
  align-items: stretch;
}

.rsl-reason {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  height: 100%;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: var(--rsl-surface);
  border: 1px solid var(--rsl-line);
  border-radius: var(--rsl-radius);
  box-shadow: var(--rsl-shadow-sm);
}

.rsl-reason__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(11, 37, 69, 0.06);
  color: var(--rsl-navy);
}

.rsl-reason__mark svg {
  width: 17px;
  height: 17px;
}

.rsl-reason__title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--rsl-navy);
}

.rsl-reason__text {
  margin: 0;
  font-size: 0.9375rem;
}

/* ==========================================================================
   SECTION 7 — WHAT TO CHECK BEFORE CHOOSING A RESELLER
   ========================================================================== */
.rsl-check__list {
  list-style: none;
  counter-reset: rsl-check;
  margin: 0 auto;
  padding: 0;
  max-width: 880px;
  display: grid;
  gap: 0.875rem;
}

.rsl-check {
  counter-increment: rsl-check;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.25rem, 2vw, 1.6rem);
  background: var(--rsl-surface);
  border: 1px solid var(--rsl-line);
  border-radius: var(--rsl-radius-sm);
  box-shadow: var(--rsl-shadow-sm);
}

.rsl-check__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--rsl-navy);
  color: var(--rsl-gold);
  font-size: 0.8125rem;
  font-weight: 700;
}

.rsl-check__num::before {
  content: counter(rsl-check);
}

.rsl-check__body strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--rsl-navy);
}

.rsl-check__body span {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--rsl-ink);
}

.rsl-caution {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 880px;
  margin: clamp(1.75rem, 3vw, 2.5rem) auto 0;
  padding: clamp(1.25rem, 2vw, 1.6rem);
  background: var(--rsl-gold-soft);
  border: 1px solid rgba(245, 183, 0, 0.5);
  border-left-width: 4px;
  border-radius: var(--rsl-radius-sm);
}

.rsl-caution__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--rsl-navy);
  color: var(--rsl-gold);
}

.rsl-caution__icon svg {
  width: 17px;
  height: 17px;
}

.rsl-caution p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #5a4a12;
}

/* ==========================================================================
   SECTION 8 — FAQ
   ========================================================================== */
.rsl-faq .faq-grid {
  align-items: start;
  gap: 1.25rem clamp(1.25rem, 2.2vw, 1.75rem);
}

.rsl-faq .faq {
  background: var(--rsl-surface);
  border: 1px solid var(--rsl-line);
  border-radius: var(--rsl-radius);
  padding: 0.5rem 1.25rem;
  box-shadow: var(--rsl-shadow-sm);
}

.rsl-faq .faq details {
  border-bottom: 1px solid var(--rsl-line);
}

.rsl-faq .faq details:last-child {
  border-bottom: 0;
}

.rsl-faq .faq summary {
  padding: 1rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--rsl-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.rsl-faq .faq summary::-webkit-details-marker {
  display: none;
}

.rsl-faq .faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.125rem;
  line-height: 1;
  color: #8a6300;
  transition: transform 0.2s ease;
}

.rsl-faq .faq details[open] summary::after {
  transform: rotate(45deg);
}

.rsl-faq .faq .faq__body {
  padding-bottom: 1.125rem;
}

.rsl-faq .faq .faq__body p {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
}

.rsl-faq .faq .faq__body p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   SECTION 9 — CLOSING CTA
   ========================================================================== */
.rsl-cta-section {
  padding-block: clamp(3rem, 2.4rem + 3vw, 5rem);
  background: #ffffff;
}

.audit-cta.rsl-cta {
  position: relative;
  overflow: hidden;
  max-width: 960px;
  margin-inline: auto;
  padding: clamp(2.25rem, 4vw, 3.75rem);
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(245, 183, 0, 0.16) 0%, rgba(245, 183, 0, 0) 55%),
    linear-gradient(160deg, #0b2545 0%, #13315c 100%);
  box-shadow: var(--rsl-shadow-lg);
}

.audit-cta.rsl-cta .eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--rsl-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.audit-cta.rsl-cta h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.625rem, 1.2rem + 2vw, 2.375rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.audit-cta.rsl-cta p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
  color: #c7d5e6;
}

.audit-cta.rsl-cta .audit-cta__actions {
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.audit-cta.rsl-cta .btn--primary {
  background: var(--rsl-gold);
  border-color: var(--rsl-gold);
  color: var(--rsl-navy);
  font-weight: 700;
}

.audit-cta.rsl-cta .btn--primary:hover {
  background: #ffca2b;
  border-color: #ffca2b;
  color: var(--rsl-navy);
}

.audit-cta.rsl-cta .btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.audit-cta.rsl-cta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1023px) {
  .rsl-fit__list,
  .rsl-services__grid,
  .rsl-reasons__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Seven services in a two-column grid leave the last card alone; span it. */
  .rsl-services__grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .rsl-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: clamp(1.75rem, 3vw, 2.25rem);
  }

  .rsl-step::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .audit-hero--rsl {
    padding-top: 1.5rem;
  }

  /* The stacked layout puts the copy directly on top of the artwork, so the
     scrim switches to a near-vertical wash and the crop is raised to keep the
     photographic subject below the text block. */
  .audit-hero--rsl .audit-hero__bg {
    background-position: center 30%;
  }

  .audit-hero--rsl .audit-hero__bg-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(11, 37, 69, 0.97) 0%,
        rgba(11, 37, 69, 0.94) 46%,
        rgba(19, 49, 92, 0.86) 74%,
        rgba(11, 37, 69, 0.78) 100%
      ),
      radial-gradient(120% 60% at 50% 4%, rgba(245, 183, 0, 0.14) 0%, rgba(245, 183, 0, 0) 62%);
  }

  .rsl-fit__list,
  .rsl-services__grid,
  .rsl-reasons__list,
  .rsl-timeline {
    grid-template-columns: minmax(0, 1fr);
  }

  .rsl-fit__list > :last-child:nth-child(odd),
  .rsl-services__grid > :last-child:nth-child(odd) {
    grid-column: auto;
  }

  .rsl-table {
    min-width: 420px;
  }

  .rsl-table tbody th {
    width: auto;
  }

  .rsl-faq .faq {
    padding: 0.25rem 1rem;
  }

  .audit-cta.rsl-cta {
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
  }
}

@media (max-width: 430px) {
  .audit-hero--rsl .audit-hero__actions .btn,
  .audit-cta.rsl-cta .audit-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rsl-service {
    transition: none;
  }

  .rsl-service:hover {
    transform: none;
  }

  .rsl-faq .faq summary::after {
    transition: none;
  }
}
