/* Generated by tools/port-css.py from the approved mockup. Edit assets/css/src/*, then rebuild. */

/* ---- 00-base.css ---- */
/* B+ block styles. Palette values live in schemes.css.
Components use rc- names so each section can become a WordPress block. */
/* Self-host Onest at the WordPress port; the preview retains the existing CDN. */
@font-face {
  font-family: "Onest Fallback";
  src: local("Arial");
  size-adjust: 103%;
  ascent-override: 94%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-section: 104px;
  --gutter: clamp(16px, 3.3vw, 48px);
  --wide: 1440px;
  --reading: 68ch;
  --header-h: 80px;
  --card-radius: 8px;
  --photo-radius: 14px;
  --card-shadow: 0 1px 2px rgb(15 20 25 / 6%), 0 16px 40px -16px rgb(15 20 25 / 18%);
  --glass-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), 0 32px 80px -24px rgb(0 0 0 / 55%);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--rc-ink);
  background: var(--rc-bg);
  font: 400 16px/1.65 "Onest", "Onest Fallback", sans-serif;
  counter-reset: section;
}

body.has-sticky-cta {
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

body.has-dialog {
  overflow: hidden;
}

main {
  min-height: 75vh;
}

main:focus {
  outline: none;
}

.rc-wrap {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

:where(h1, h2, h3, p, figure) {
  margin: 0;
}

:where(h1, h2, h3) {
  font-weight: 600;
}

:where(.rc-section, .rc-hero) h1 {
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.06;
  letter-spacing: -.025em;
}

:where(.rc-section, .rc-hero) h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -.02em;
}

:where(.rc-section, .rc-hero) h3 {
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.25;
  letter-spacing: -.01em;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

button, input {
  font: inherit;
}

button {
  cursor: pointer;
}

a, button, input, summary {
  -webkit-tap-highlight-color: transparent;
}

:where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--rc-focus);
  outline-offset: 4px;
}

:where(section[id], h2[id], form[id], #contact, #main) {
  scroll-margin-top: calc(var(--header-h) + 16px);
  scroll-margin-bottom: 88px;
}

:where(input, a, button, summary) {
  scroll-margin-block: calc(var(--header-h) + 16px) 96px;
}

.rc-section {
  padding-block: var(--space-section);
}

.rc-section__label {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  margin-bottom: 48px;
  border-top: 1px solid var(--rc-line);
  font-size: 13px;
  font-weight: 600;
}

.rc-section__label::before {
  counter-increment: section;
  content: counter(section, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  color: var(--rc-muted);
}

.rc-section__intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

.rc-section__intro h2 {
  max-width: 24ch;
}

.rc-section__lead {
  max-width: 60ch;
  color: var(--rc-muted);
  font-size: 18px;
}

.rc-note {
  padding-top: 24px;
  border-top: 1px solid var(--rc-line);
  color: var(--rc-muted);
  font-size: 14px;
}

.rc-loading {
  position: absolute;
  z-index: 51;
  top: 90px;
  left: var(--gutter);
  padding: 8px 16px;
  background: var(--rc-paper);
  color: var(--rc-ink);
  border-radius: 8px;
}

.rc-skip {
  top: 8px;
  left: 16px;
  background: var(--rc-paper);
  color: var(--rc-ink);
  padding: 12px 24px;
  border-radius: 8px;
}

@media (max-width: 767px) {
  :root {
    --header-h: 64px;
    --space-section: 64px;
  }

  .rc-section__intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  .rc-section__label {
    margin-bottom: 32px;
  }

  .rc-section h2 {
    text-wrap: pretty;
  }

}


/* ---- 01-buttons.css ---- */
/* Buttons: primary, ghost and text. No border-width change on hover. */
.rc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.rc-button > [aria-hidden] {
  transition: transform 160ms ease;
}

.rc-button:hover > [aria-hidden] {
  transform: translate(2px, -2px);
}

.rc-button:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 6px rgb(0 0 0 / 16%);
}

.rc-button--primary {
  color: var(--rc-accent-ink);
  background: var(--rc-accent);
}

.rc-button--primary:hover {
  background: var(--rc-accent-hover);
}

.rc-button--ghost {
  color: inherit;
  background: transparent;
  border-color: color-mix(in srgb, currentColor 28%, transparent);
}

.rc-button--ghost:hover {
  background: color-mix(in srgb, currentColor 8%, transparent);
}

.rc-button--text {
  justify-content: flex-start;
  padding-inline: 0;
  color: var(--rc-accent);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.rc-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex: none;
}


/* ---- 02-site-header.css ---- */
/* Fixed header: overlay, dark glass, light glass. */
.rc-header {
  color: var(--rc-ink);
  height: var(--header-h);
  background: var(--rc-header-light);
  border-bottom: 1px solid var(--rc-line);
  transition: background-color 200ms ease-out, color 200ms ease-out, box-shadow 200ms ease-out, height 200ms ease-out, transform 200ms ease-out;
}

.rc-header.on-dark {
  color: var(--rc-on-dark);
  --rc-focus: var(--rc-dark-accent);
  background: transparent;
  border-color: rgb(255 255 255 / 14%);
}

.rc-header.is-stuck {
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 8px 24px -16px rgb(15 20 25 / 28%);
}

.rc-header.is-stuck.on-dark {
  background: var(--rc-header-dark);
  border-color: rgb(255 255 255 / 16%);
}

.rc-header__inner {
  height: 100%;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1680px;
  margin-inline: auto;
}

.rc-brand {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 600;
  min-height: 44px;
  flex: none;
}

.rc-brand__mark {
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--rc-accent);
  font-size: 24px;
}

.on-dark .rc-brand__mark {
  color: var(--rc-dark-accent);
}

.rc-header__nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 28px);
  flex: 1;
}

.rc-header__nav a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  padding-block: 12px;
}

.rc-header a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--rc-accent);
}

.on-dark a[aria-current="page"] {
  text-decoration-color: var(--rc-dark-accent);
}

.rc-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.rc-header .rc-button {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 14px;
  white-space: nowrap;
}

.rc-header__cta {
  animation: cta-in 200ms ease-out;
}

@keyframes cta-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: none;
  }

}

.rc-header__burger {
  display: none;
  width: 44px;
  height: 44px;
  color: inherit;
  background: none;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: 8px;
  padding: 10px;
}

.rc-header__burger svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.rc-languages-control {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.rc-language {
  min-height: 44px;
  padding: 8px;
  background: none;
  border: 1px solid transparent;
  border-radius: 8px;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
}

.rc-language[aria-pressed="true"] {
  border-color: currentColor;
}

.rc-header__languages .rc-language {
  font-size: 0;
  min-width: 32px;
  padding-inline: 4px;
}

.rc-header__languages .rc-language::after {
  content: attr(data-language);
  text-transform: uppercase;
  font-size: 12px;
}


/* ---- 03-site-header-nav.css ---- */
/* Seven links replace the review's six. Keep the 1280px desktop threshold,
with a compact brand/language treatment while the conditional CTA is shown. */
@media (min-width: 1280px) and (max-width: 1550px) {
  .rc-header__inner {
    padding-inline: 24px;
    gap: 16px;
  }

  .rc-header__nav {
    gap: 14px;
  }

  .rc-header__actions {
    gap: 8px;
  }

  .rc-header__languages .rc-language {
    min-width: 24px;
  }

  .rc-header .rc-brand {
    font-size: 15px;
    max-width: 145px;
  }

  .rc-header .rc-brand > span:last-child {
    max-width: 105px;
  }

}

@media (max-width: 1279px) {
  .rc-header__nav {
    display: none;
  }

  .rc-header__burger {
    display: block;
  }

}

@media (max-width: 1023px) {
  .rc-header__languages {
    display: none;
  }

}

@media (max-width: 767px) {
  .rc-header__inner {
    gap: 8px;
  }

  .rc-header.is-hidden {
    transform: translateY(-100%);
  }

  .rc-header .rc-brand {
    font-size: 15px;
    max-width: 190px;
  }

  .rc-header .rc-brand__mark {
    width: 28px;
    height: 28px;
  }

  .rc-header__actions {
    gap: 8px;
  }

  .rc-header__cta {
    display: none;
  }

  .rc-header .rc-contact-trigger {
    width: 44px;
    height: 44px;
    padding: 0;
    min-height: 44px;
  }

  .rc-header .rc-contact-trigger > span {
    display: none;
  }

}

@supports not (backdrop-filter: blur(1px)) {
  .rc-header.is-stuck {
    background: var(--rc-header-solid-light);
  }

  .rc-header.is-stuck.on-dark {
    background: var(--rc-header-solid-dark);
  }

}


/* Header signup button "always visible" (Site Settings → Design → Header). Short label on phones. */
.rc-header__cta--always {
  animation: none;
}

.rc-header__cta-short {
  display: none;
}

@media (max-width: 767px) {
  .rc-header .rc-header__cta--always {
    display: inline-flex;
    padding-inline: 12px;
    font-size: 13px;
  }

  .rc-header:has(.rc-header__cta--always) .rc-header__actions {
    gap: 4px;
    flex-shrink: 0;
  }

  .rc-header:has(.rc-header__cta--always) .rc-brand {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 150px;
    font-size: 14px;
  }

  .rc-header__cta--always:has(.rc-header__cta-short) .rc-header__cta-full,
  .rc-header__cta--always:has(.rc-header__cta-short) .rc-header__cta-arrow {
    display: none;
  }

  .rc-header__cta-short {
    display: inline;
  }
}

/* "Always" header button: the short label below 1600px, and in every non-English language (long labels). */
@media (max-width: 1599px) {
  .rc-header__cta--always:has(.rc-header__cta-short) .rc-header__cta-full { display: none; }
  .rc-header__cta--always .rc-header__cta-short { display: inline; }
}

html:not([lang^="en"]) .rc-header__cta--always:has(.rc-header__cta-short) .rc-header__cta-full { display: none; }
html:not([lang^="en"]) .rc-header__cta--always .rc-header__cta-short { display: inline; }

/* Spanish and Russian menu labels are longer: the full menu plus the header button needs about 1440px,
   so those languages switch to the drawer earlier (same approach as recruit-dispatch). */
@media (max-width: 1439px) {
  html:is([lang^="es"], [lang^="ru"]) .rc-header__nav { display: none; }
  html:is([lang^="es"], [lang^="ru"]) .rc-header__burger { display: block; }
}

/* ---- 04-hero.css ---- */
/* Hero: layered image fallback, photo scrims and mobile 220px band. */
.rc-hero {
  position: relative;
  isolation: isolate;
  padding: calc(80px + 72px) 0 40px;
  background-color: var(--rc-deep);
  color: var(--rc-on-dark);
  --rc-muted: var(--rc-dark-muted);
  --rc-focus: var(--rc-dark-accent);
}

.rc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--rc-hero-top), var(--rc-hero-scrim), var(--rc-hero-vignette), var(--hero-image), var(--hero-fallback, none);
  background-size: cover;
  background-position: center, center, center, var(--hero-position), var(--hero-position);
}

.rc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .75fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: center;
}

.rc-hero__copy {
  min-width: 0;
}

.rc-hero__eyebrow {
  font-size: 14px;
  color: var(--rc-hero-muted);
  margin-bottom: 24px;
}

.rc-hero h1 {
  max-width: 19ch;
}

.rc-hero__answer {
  font-size: 18px;
  line-height: 1.65;
  max-width: 62ch;
  margin-top: 32px;
}

.rc-hero__note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--rc-hero-muted);
  border-left: 1px solid var(--rc-hero-line);
  padding-left: 16px;
  margin-top: 24px;
  max-width: 60ch;
}

.rc-hero__sentinel {
  position: absolute;
  bottom: 0;
  height: 1px;
  width: 1px;
}

.rc-hero__card {
  padding: 32px;
  background: var(--rc-glass);
  border: 1px solid var(--rc-glass-line);
  border-radius: 14px;
  backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: var(--glass-shadow);
}

.rc-hero__card p {
  margin: 16px 0 24px;
}

.rc-hero__card .rc-button {
  width: 100%;
}

.rc-hero--compact {
  padding-bottom: 64px;
}

.rc-hero--compact:has(.rc-hero__grid > :only-child) .rc-hero__grid {
  grid-template-columns: minmax(0, 1000px);
}

.rc-hero--compact h1 {
  max-width: 24ch;
}

.rc-hero__byline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  font-size: 14px;
  color: var(--rc-hero-muted);
}

.rc-hero--light {
  background: var(--rc-band);
  color: var(--rc-ink);
  --rc-hero-muted: var(--rc-body-muted);
}

.rc-hero--light::before {
  display: none;
}

.rc-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
}

.rc-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.rc-breadcrumb a + a::before {
  content: "/";
  opacity: .6;
  margin-right: 8px;
}

.rc-breadcrumb a[aria-current] {
  text-decoration: none;
}

.rc-draft {
  margin-top: 24px;
  font-size: 13px;
  color: var(--rc-tag-ink);
}

@media (max-width: 1023px) {
  .rc-hero__grid {
    gap: 32px;
    grid-template-columns: 1fr 1fr;
  }

  .rc-hero h1 {
    font-size: clamp(36px, 4.5vw, 52px);
  }

}

@media (max-width: 767px) {
  .rc-hero {
    padding: 196px 0 32px;
  }

  .rc-hero::before {
    bottom: auto;
    height: 220px;
    background-image: linear-gradient(0deg, var(--rc-deep), transparent 80px), var(--rc-hero-top), var(--hero-image), var(--hero-fallback, none);
    background-position: center, center, var(--hero-mobile-position), var(--hero-mobile-position);
  }

  .rc-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rc-hero h1 {
    max-width: 20ch;
    font-size: 36px;
  }

  .rc-hero__eyebrow {
    margin-bottom: 16px;
  }

  .rc-hero__answer {
    font-size: 16px;
    line-height: 1.55;
    margin-top: 24px;
  }

  .rc-hero--light {
    padding-top: 88px;
  }

  .rc-hero__byline {
    gap: 8px 24px;
  }

}



/* ---- 04a-hero-partner.css ---- */
/* Hero, layout "partner" (ajp): light page, headline with the answer and CTA beside it,
   two equal route cards, a photo pair with captions ("your side" / "office side"). No form, no backdrop. */
/* .rc-main already reserves the header height on light pages, so only the visual gap is added here. */
.rc-hero--partner {
  padding: 56px 0 0;
  background: var(--rc-bg);
  color: var(--rc-ink);
  --rc-hero-muted: var(--rc-body-muted);
}

.rc-hero--partner::before {
  display: none;
}

.rc-hero--partner .rc-hero__eyebrow {
  color: var(--rc-accent);
  font-weight: 500;
  margin-bottom: 20px;
}

.rc-hero__head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
}

.rc-hero--partner h1 {
  max-width: 16ch;
}

.rc-hero--partner .rc-hero__answer {
  margin-top: 0;
  max-width: 40ch;
  color: var(--rc-body-muted);
}

.rc-hero--partner .rc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.rc-hero--partner .rc-hero__trust {
  margin-top: 12px;
  font-size: 14px;
  color: var(--rc-body-muted);
}

/* Route cards: one per program, equal weight. */
.rc-routes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 36px 0 32px;
}

.rc-routes__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  min-height: 44px;
  padding: 18px 20px;
  border: 1px solid var(--rc-line);
  border-radius: 6px;
  background: var(--rc-paper);
  color: var(--rc-ink);
  text-decoration: none;
  transition: border-color .15s ease;
}

a.rc-routes__item:hover {
  border-color: var(--rc-accent);
}

a.rc-routes__item:focus-visible {
  outline: 2px solid var(--rc-focus);
  outline-offset: 2px;
}

.rc-routes__tag {
  padding-top: 4px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--rc-accent);
  white-space: nowrap;
}

.rc-routes__body {
  display: grid;
  gap: 4px;
}

.rc-routes__title {
  font-size: 18px;
  font-weight: 600;
}

.rc-routes__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--rc-body-muted);
}

.rc-routes__go {
  align-self: center;
  font-size: 20px;
  color: var(--rc-accent);
}

/* Photo pair. */
.rc-hero__sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 14px;
  overflow: hidden;
}

.rc-hero__sides--1 {
  grid-template-columns: 1fr;
}

.rc-hero__sidefig {
  margin: 0;
  background: var(--rc-paper);
}

.rc-hero__sidefig + .rc-hero__sidefig {
  border-left: 4px solid var(--rc-bg);
}

.rc-hero__sidefig img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: var(--rc-photo-filter, none);
}

.rc-hero__sidefig figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 24px;
  font-size: 15px;
}

.rc-hero__sidefig figcaption strong {
  color: var(--rc-accent);
  font-weight: 600;
}

.rc-hero__sidefig figcaption span {
  color: var(--rc-body-muted);
}

.rc-hero__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding: 24px 0 40px;
  border-bottom: 1px solid var(--rc-line);
  font-size: 14px;
  color: var(--rc-body-muted);
}

.rc-hero--partner .rc-wrap > :last-child:not(.rc-hero__foot) {
  margin-bottom: 40px;
}

@media (max-width: 1023px) {
  .rc-hero__head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rc-hero__sidefig img {
    height: 240px;
  }
}

@media (max-width: 767px) {
  .rc-hero--partner {
    padding-top: 32px;
  }

  .rc-routes {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 28px 0 24px;
  }

  .rc-routes__item {
    padding: 14px 16px;
  }

  .rc-hero__sides {
    grid-template-columns: 1fr 1fr;
    border-radius: 10px;
  }

  .rc-hero__sidefig img {
    height: 160px;
  }

  .rc-hero__sidefig figcaption {
    display: grid;
    gap: 2px;
    padding: 12px;
    font-size: 13px;
  }

  .rc-hero__foot {
    display: grid;
    padding-bottom: 32px;
  }
}

/* ---- 05-signup.css ---- */
/* Signup: light panels reset focus explicitly, including inside dark bands. */
.rc-signup {
  color: var(--rc-ink);
  background: var(--rc-paper);
  border: 1px solid var(--rc-line);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  --rc-focus: var(--rc-input-focus);
}

.rc-signup h3 {
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 24px;
}

.rc-signup__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.rc-signup__field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
}

.rc-signup input {
  min-width: 0;
  width: 100%;
  height: 48px;
  border: 1px solid var(--rc-input-line);
  border-radius: 8px;
  color: var(--rc-ink);
  background: rgb(255 255 255 / 94%);
  padding: 8px 12px;
  font-size: 16px;
}

.rc-signup input[aria-invalid="true"] {
  border: 1.5px solid var(--rc-error);
}

.rc-signup__error {
  color: var(--rc-error);
  font-size: 13px;
}

.rc-signup--glass .rc-signup__error {
  color: var(--rc-dark-error);
}

.rc-signup .rc-button {
  width: 100%;
}

.rc-signup__note {
  font-size: 13px;
  margin-top: 16px;
}

.rc-signup__platform {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 8px;
  color: var(--rc-body-muted);
}

.rc-signup__status {
  font-size: 13px;
  margin-top: 16px;
  padding: 8px;
  background: var(--rc-tint);
  color: var(--rc-ink);
  border-radius: 8px;
}

.rc-signup--glass {
  background: var(--rc-glass);
  color: var(--rc-on-dark);
  border: 1px solid var(--rc-glass-line);
  backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: var(--glass-shadow);
}

.rc-signup--glass .rc-signup__platform {
  color: var(--rc-dark-muted);
}

.rc-signup--glass input:focus-visible {
  outline-color: var(--rc-dark-accent);
  box-shadow: 0 0 0 2px var(--rc-deep);
}

@media (max-width: 1023px) {
  .rc-signup {
    padding: 24px;
  }

}

@media (max-width: 479px) {
  .rc-signup__field:is([data-field="cell_telephone"], [data-field="email"]) {
    grid-column: 1 / -1;
  }

}


/* ---- 06-programs.css ---- */
/* Facts / program options. */
.rc-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-block: 32px;
  border-bottom: 1px solid var(--rc-line);
}

.rc-facts > div {
  padding-inline: 24px;
  border-right: 1px solid var(--rc-line);
}

.rc-facts > div:last-child {
  border-right: 0;
}

.rc-facts p {
  color: var(--rc-muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.rc-facts strong {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  display: block;
  color: var(--rc-ink);
}

.rc-facts--hero {
  margin-top: 64px;
  border-top: 1px solid var(--rc-hero-line);
  border-bottom: 0;
  padding-bottom: 0;
}

.rc-facts--hero > div {
  border-color: var(--rc-hero-line);
  font-size: 14px;
  font-weight: 500;
}

.rc-programs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.rc-programs__item {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 24px;
  min-width: 0;
}

.rc-programs__item + .rc-programs__item {
  padding-left: 64px;
  border-left: 1px solid var(--rc-line);
}

.rc-programs__label {
  font-size: 13px;
  font-weight: 600;
}

.rc-programs__item p, .rc-programs__item li {
  font-size: 15px;
}

.rc-programs__item ul {
  padding-left: 20px;
  margin: 0;
}

.rc-programs__item li {
  padding-bottom: 8px;
}

.rc-programs__item .rc-programs__fineprint {
  padding-top: 24px;
  border-top: 1px dashed var(--rc-line);
  font-size: 13px;
  color: var(--rc-muted);
  margin-top: auto;
}

@media (max-width: 767px) {
  .rc-facts {
    grid-template-columns: 1fr 1fr;
    gap: 24px 0;
  }

  .rc-facts > div {
    padding-inline: 16px;
  }

  .rc-facts > div:nth-child(even) {
    border-right: 0;
  }

  .rc-facts strong {
    font-size: 18px;
  }

  .rc-facts--hero {
    margin-top: 32px;
  }

  .rc-programs__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rc-programs__item + .rc-programs__item {
    padding: 40px 0 0;
    border-left: 0;
    border-top: 1px solid var(--rc-line);
  }

}


/* ---- 07-roles.css ---- */
/* Roles: complementary hollow/filled bullets with a shared seam icon. */
.rc-section--roles {
  background: var(--rc-roles-surface);
  color: var(--rc-on-dark);
  --rc-line: var(--rc-dark-line);
  --rc-muted: var(--rc-dark-muted);
  --rc-focus: var(--rc-dark-accent);
}

.rc-roles__grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
}

.rc-roles__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.rc-roles__list li {
  position: relative;
  border-bottom: 1px solid var(--rc-dark-line);
  padding: 16px 0 16px 24px;
  font-size: 16px;
}

.rc-roles__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 27px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--rc-dark-accent);
}

.rc-roles__list--office li::before {
  background: var(--rc-dark-accent);
}

.rc-roles__seam {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--rc-dark-line);
  border-radius: 50%;
  justify-self: center;
}

.rc-roles__seam svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

@media (max-width: 767px) {
  .rc-roles__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rc-roles__seam {
    margin-block: 8px;
  }

}


/* ---- 08-lead-card.css ---- */
/* Work order: badge is in flow; separate customer fee and lead-price cells. */
.rc-lead-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.rc-lead-grid .rc-section__intro {
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.rc-work-order {
  width: 100%;
  max-width: 800px;
  border: 1px solid var(--rc-line);
  border-radius: 8px;
  background: var(--rc-paper);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.rc-work-order__badge {
  display: inline-block;
  margin: 24px 24px 0;
  padding: 4px 12px;
  background: var(--rc-flag);
  color: var(--rc-flag-ink);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.rc-work-order__fields {
  padding-inline: 24px;
  margin: 24px 0;
}

.rc-work-order__fields > div {
  display: grid;
  grid-template-columns: 40% 60%;
  padding-block: 16px;
  border-bottom: 1px solid var(--rc-line);
}

.rc-work-order dt {
  font-size: 13px;
  color: var(--rc-body-muted);
  padding-right: 16px;
}

.rc-work-order dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.rc-work-order__prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 24px;
}

.rc-work-order__price {
  padding: 16px;
  background: var(--rc-band);
  border-radius: 8px;
}

.rc-work-order__price:last-child {
  color: var(--rc-accent-ink);
  background: var(--rc-accent);
}

.rc-work-order__price h3 {
  font-size: 13px;
  letter-spacing: 0;
}

.rc-work-order__price strong {
  display: block;
  font-size: 36px;
  font-weight: 600;
  margin-block: 8px;
}

.rc-work-order__price p {
  font-size: 13px;
  line-height: 1.5;
}

.rc-work-order__disclaimer {
  padding: 24px;
  font-size: 13px;
  color: var(--rc-body-muted);
}

@media (max-width: 767px) {
  .rc-lead-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rc-work-order__prices {
    gap: 8px;
    padding-inline: 16px;
  }

  .rc-work-order__price {
    padding: 16px 12px;
  }

}


/* ---- 09-media.css ---- */
/* Media, work types, languages and schedule. */
.rc-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.rc-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin: 0;
}

.rc-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: var(--photo-position, center);
  display: block;
  filter: var(--rc-photo-filter);
}

.rc-photo__caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  max-width: min(420px, calc(100% - 48px));
  color: var(--rc-on-dark);
  background: var(--rc-glass);
  backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--rc-glass-line);
  border-radius: 14px;
  padding: 24px;
  font-size: 15px;
}

.rc-section--steps .rc-photo {
  margin-top: 56px;
}

.rc-section--steps .rc-photo img {
  max-height: 440px;
  aspect-ratio: 3 / 1;
}

.rc-section--steps .rc-photo__caption {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.rc-work-types__item {
  border-top: 1px solid var(--rc-line);
  padding-block: 24px;
}

.rc-work-types__item p {
  margin-top: 8px;
  font-size: 15px;
}

.rc-schedule article {
  padding-block: 24px;
  border-top: 1px solid var(--rc-line);
}

.rc-schedule article:first-child {
  padding-top: 0;
  border-top: 0;
}

.rc-schedule p {
  margin-top: 8px;
  font-size: 15px;
}

.rc-languages__row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 80px;
  border-top: 1px solid var(--rc-line);
}

.rc-languages__row h3 {
  font-size: 22px;
}

.rc-languages__row > span:last-child {
  color: var(--rc-muted);
  font-size: 15px;
}

.rc-languages__code {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

.rc-languages .rc-contact-trigger {
  margin-top: 24px;
}

@media (max-width: 767px) {
  .rc-media-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rc-photo__caption {
    left: 16px;
    bottom: 16px;
    padding: 16px;
    max-width: calc(100% - 32px);
  }

  .rc-section--steps .rc-photo img {
    aspect-ratio: 3 / 2;
  }

  .rc-languages__row {
    grid-template-columns: 24px 1fr;
    gap: 8px;
    padding-block: 16px;
  }

  .rc-languages__row > span:last-child {
    grid-column: 2;
  }

}


/* ---- 10-coverage.css ---- */
/* Equal-tile US cartogram. All tiles are neutral; geography, not availability. */
.rc-coverage__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.rc-coverage__map {
  display: grid;
  grid-template-columns: repeat(11, 40px);
  grid-template-rows: repeat(8, 40px);
  gap: 4px;
  width: max-content;
  max-width: 100%;
}

.rc-coverage__tile {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--rc-accent);
  background: var(--rc-tint);
  border: 1px solid var(--rc-tint-line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.rc-coverage__grid p + p {
  margin-top: 24px;
}

.rc-coverage__grid .rc-button {
  margin-top: 24px;
}

.rc-coverage__states {
  margin-top: 48px;
}

.rc-coverage__states ul {
  columns: 5;
  padding: 0;
  list-style: none;
  margin-block: 24px;
  font-size: 14px;
}

.rc-coverage__states li {
  padding-block: 4px;
}

@media (max-width: 1100px) {
  .rc-coverage__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

}

@media (max-width: 767px) {
  .rc-coverage__map {
    grid-template-columns: repeat(11, 28px);
    grid-template-rows: repeat(8, 28px);
    width: 348px;
    max-width: none;
    gap: 4px;
  }

  .rc-coverage__states ul {
    columns: 2;
  }

}

@media (max-width: 399px) {
  .rc-coverage__map {
    margin-inline: -10px;
  }

}


/* ---- 11-lists.css ---- */
/* Steps, paths, cards, notes and two-list blocks. */
.rc-steps {
  display: flex;
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rc-strong-line);
}

.rc-steps__item {
  flex: 1;
  min-width: 0;
  position: relative;
  padding: 32px 24px 0 0;
}

.rc-steps__item::before {
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  display: block;
  font-size: 28px;
  font-variant-numeric: tabular-nums;
  color: var(--rc-muted);
  margin-bottom: 24px;
}

.rc-steps__item::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rc-bg);
  border: 1px solid var(--rc-muted);
}

.rc-steps h3 {
  font-size: 20px;
}

.rc-steps p {
  font-size: 15px;
  margin-top: 8px;
}

.rc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 32px;
}

.rc-cards__item {
  border-top: 2px solid var(--rc-tint-line);
  padding-top: 24px;
}

.rc-cards p {
  margin-top: 16px;
  font-size: 15px;
}

.rc-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  counter-reset: note;
  list-style: none;
  padding: 32px;
  margin: 0;
  border-radius: 12px;
  background: var(--rc-band);
}

.rc-notes__item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  font-size: 16px;
}

.rc-notes__item::before {
  counter-increment: note;
  content: counter(note, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  color: var(--rc-muted);
  font-size: 14px;
}

.rc-two-lists, .rc-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.rc-two-lists ul {
  padding-left: 20px;
  margin: 24px 0 0;
}

.rc-two-lists li {
  padding-bottom: 16px;
}

.rc-paths__item {
  border-top: 1px solid var(--rc-strong-line);
  padding-top: 32px;
}

.rc-paths ol {
  list-style: none;
  counter-reset: path;
  padding: 0;
  margin: 24px 0;
}

.rc-paths li {
  counter-increment: path;
  padding: 0 0 24px 48px;
  position: relative;
  border-left: 1px solid var(--rc-line);
  margin-left: 16px;
}

.rc-paths li::before {
  content: counter(path);
  position: absolute;
  left: -16px;
  top: 0;
  background: var(--rc-bg);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rc-line);
  border-radius: 50%;
  font-size: 13px;
}

.rc-sell {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 32px;
  align-items: center;
  background: var(--rc-band);
  padding: 32px 40px;
  border-radius: 12px;
}

.rc-sell h3 {
  font-size: 24px;
}

.rc-sell p {
  font-size: 15px;
}

@media (max-width: 1023px) {
  .rc-sell {
    grid-template-columns: 1fr 1.5fr;
  }

  .rc-sell .rc-button {
    grid-column: 2;
  }

}

@media (max-width: 767px) {
  .rc-steps {
    display: block;
    border-top: 0;
  }

  .rc-steps__item {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 16px;
    padding: 24px 0;
    border-top: 1px solid var(--rc-line);
  }

  .rc-steps__item::before {
    grid-row: 1 / 3;
    margin: 0;
  }

  .rc-steps__item::after {
    display: none;
  }

  .rc-steps__item p {
    grid-column: 2;
  }

  .rc-notes, .rc-two-lists, .rc-paths {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rc-notes {
    padding: 24px 16px;
  }

  .rc-section--benefits .rc-cards {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .rc-section--benefits h3 {
    font-size: 20px;
  }

  .rc-sell {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }

  .rc-sell .rc-button {
    grid-column: auto;
  }

}


/* Long step lists (5+) wrap into rows of three below 1280px instead of squeezing every step into one row. */
@media (min-width: 768px) and (max-width: 1279px) {
  .rc-steps:has(> .rc-steps__item:nth-child(5)) {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto auto 1fr;
    row-gap: 0;
    border-top: 0;
  }

  .rc-steps:has(> .rc-steps__item:nth-child(5)) > .rc-steps__item {
    border-top: 1px solid var(--rc-strong-line);
    padding-bottom: 32px;
  }
}

/* ---- 12-faq.css ---- */
/* FAQ: native details, whole summary is a 44px+ toggle target. */
.rc-faq__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
}

.rc-faq__item {
  border-top: 1px solid var(--rc-line);
}

.rc-faq__item:last-child {
  border-bottom: 1px solid var(--rc-line);
}

.rc-faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding-block: 16px;
  font-size: 18px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.rc-faq__item summary::-webkit-details-marker {
  display: none;
}

.rc-faq__toggle {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--rc-strong-line);
  border-radius: 50%;
}

.rc-faq__toggle svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.rc-faq__item[open] .rc-faq__toggle .rc-faq__vertical {
  display: none;
}

.rc-faq__item p {
  max-width: 68ch;
  margin-bottom: 24px;
  padding-right: 48px;
  font-size: 16px;
  color: var(--rc-muted);
}

.rc-faq-page {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
}

.rc-faq-page__nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  display: flex;
  flex-direction: column;
}

.rc-faq-page__nav a {
  min-height: 48px;
}

.rc-faq-group + .rc-faq-group {
  padding-top: 64px;
}

.rc-faq-group h2 {
  margin-bottom: 32px;
}

@media (max-width: 767px) {
  .rc-faq__grid, .rc-faq-page {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rc-faq-page__nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 24px;
  }

  .rc-faq__item summary {
    font-size: 16px;
    gap: 16px;
  }

  .rc-faq__item p {
    padding-right: 0;
  }

}


/* ---- 13-cta-footer.css ---- */
/* Final signup / footer. */
.rc-final {
  background: linear-gradient(90deg, var(--rc-deep) 10%, var(--rc-final-overlay)), url('../img/b-hands.webp') right center / cover;
  color: var(--rc-on-dark);
  --rc-line: var(--rc-dark-line);
  --rc-muted: var(--rc-dark-muted);
}

.rc-final__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.rc-final__grid > div > p {
  margin-top: 24px;
  max-width: 48ch;
  font-size: 18px;
}

.rc-final .rc-signup {
  --rc-line: var(--rc-input-line);
  --rc-focus: var(--rc-input-focus);
}

.rc-footer {
  padding-block: 64px 32px;
}

.rc-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr 1fr 1.3fr;
  gap: 48px;
}

.rc-footer h3 {
  font-size: 16px;
  margin-bottom: 16px;
}

.rc-footer p {
  font-size: 14px;
  margin-top: 24px;
  color: var(--rc-body-muted);
}

.rc-footer__grid > div > a:not(.rc-brand) {
  display: flex;
  min-height: 44px;
  align-items: center;
  font-size: 14px;
  padding-block: 8px;
}

.rc-footer__grid > div > span {
  display: flex;
  min-height: 44px;
  align-items: center;
  font-size: 14px;
}

.rc-footer__disclaimer {
  font-size: 12px !important;
}

.rc-footer__bottom {
  border-top: 1px solid var(--rc-line);
  margin-top: 48px;
  padding-top: 24px;
  font-size: 12px;
  color: var(--rc-body-muted);
}

.rc-footer .rc-contact__copy {
  display: none;
}

.rc-footer .rc-contact__row a {
  padding-inline: 0;
}

.rc-footer .rc-contact__icon {
  display: none;
}

.rc-footer .rc-languages-control {
  margin-top: 16px;
}

.rc-sticky {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 40;
  height: calc(64px + env(safe-area-inset-bottom));
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: var(--rc-sticky-surface);
  border-top: 1px solid var(--rc-line);
  backdrop-filter: blur(20px) saturate(1.4);
}

.rc-sticky .rc-button {
  width: 100%;
  height: 48px;
}

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

}

@media (max-width: 1023px) {
  .rc-final__grid {
    gap: 48px;
  }

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

}

@media (max-width: 767px) {
  .rc-final__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rc-footer__grid {
    gap: 32px 24px;
  }

  .rc-footer__grid > div:first-child, .rc-footer__grid > div:last-child {
    grid-column: 1 / -1;
  }

}


/* ---- 14-compare.css ---- */
/* Comparison tables: readable scrolling region and sticky row headers. */
.rc-compare {
  overflow-x: auto;
  max-width: 100%;
  background: var(--rc-paper);
  scrollbar-color: var(--rc-accent) var(--rc-band);
  background-image: linear-gradient(to left, var(--rc-tint), transparent 24px);
}

.rc-compare table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}

.rc-compare caption {
  text-align: left;
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  background: var(--rc-band);
}

.rc-compare th, .rc-compare td {
  text-align: left;
  padding: 16px;
  vertical-align: top;
  border: 1px solid var(--rc-table-line);
  width: 33.333%;
}

.rc-compare thead {
  background: var(--rc-deep);
  color: var(--rc-on-dark);
}

.rc-compare tbody th {
  position: sticky;
  left: 0;
  background: var(--rc-paper);
  font-weight: 600;
  box-shadow: 8px 0 12px -10px var(--rc-ink);
}

.rc-compare tbody tr:nth-child(even), .rc-compare tbody tr:nth-child(even) th {
  background: var(--rc-band);
}


/* ---- 15-article.css ---- */
/* Article: stable reading measure, rails and responsive compact signup. */
.rc-article__layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 720px) 320px;
  gap: 32px;
  justify-content: space-between;
}

.rc-toc summary {
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  cursor: pointer;
}

.rc-toc nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rc-toc a {
  font-size: 13px;
  line-height: 1.4;
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 12px;
}

.rc-toc a[aria-current] {
  border-color: var(--rc-accent);
  color: var(--rc-accent);
}

.rc-article__body {
  min-width: 0;
  font-size: 19px;
  line-height: 1.7;
}

.rc-article__body > * {
  max-width: var(--reading);
}

.rc-article__body > :is(.rc-compare, figure) {
  max-width: 100%;
}

.rc-article__body > p, .rc-article__body > ul {
  margin-block: 24px;
}

.rc-article__body > h2 {
  font-size: 32px;
  margin: 56px 0 24px;
}

.rc-article__body li {
  margin-bottom: 12px;
}

.rc-takeaways {
  padding: 32px;
  background: var(--rc-band);
  border-radius: 12px;
  font-size: 16px;
}

.rc-takeaways h2 {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
}

.rc-takeaways ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.rc-callout {
  border-left: 3px solid var(--rc-accent);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--rc-tint);
}

.rc-article__body .rc-photo {
  margin-block: 32px;
}

.rc-article__body .rc-photo__caption {
  position: static;
  max-width: none;
  color: var(--rc-muted);
  background: var(--rc-band);
  border: 0;
  border-radius: 0;
  font-size: 13px;
  padding: 16px;
}

.rc-article__author {
  border-top: 1px solid var(--rc-line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
}

.rc-related-program {
  padding: 32px;
  background: var(--rc-band);
  border-radius: 12px;
  margin-top: 48px;
}

.rc-related-program h2 {
  font-size: 28px;
}

.rc-related-program p {
  font-size: 16px;
  margin-top: 24px;
}

.rc-article__signup .rc-signup {
  padding: 24px;
}

.rc-article__signup .rc-signup__fields {
  grid-template-columns: 1fr;
}

.rc-article__compact-cta {
  display: none;
  border-radius: 14px;
  background: var(--rc-paper);
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.rc-article__compact-cta h3 {
  font-size: 22px;
}

.rc-article__compact-cta p {
  margin-block: 16px;
  font-size: 14px;
}

.rc-related-guides {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-block: 32px;
}

.rc-related-guides article {
  padding-top: 24px;
  border-top: 1px solid var(--rc-line);
}

.rc-related-guides p {
  font-size: 15px;
  margin-block: 16px;
}

.rc-related-guides p:first-child {
  font-size: 12px;
  color: var(--rc-muted);
}

@media (max-width: 1400px) {
  .rc-article__layout {
    grid-template-columns: 200px minmax(0, 1fr) 320px;
    gap: 24px;
  }

}

@media (max-width: 1279px) {
  .rc-article__layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .rc-article__signup {
    display: none;
  }

  .rc-article__full-form {
    display: none;
  }

  .rc-article__compact-cta {
    display: block;
    margin-top: 32px;
  }

  .rc-article__body {
    grid-column: 2;
  }

}

@media (max-width: 1023px) {
  .rc-article__layout {
    display: block;
  }

  .rc-article__rail {
    position: static;
    margin-bottom: 32px;
  }

  .rc-article__signup {
    position: static;
    margin-top: 32px;
  }

  .rc-article__compact-cta {
    max-width: 480px;
  }

}

@media (max-width: 767px) {
  .rc-article__body {
    font-size: 18px;
    line-height: 1.6;
  }

  .rc-article__body > h2 {
    font-size: 28px;
  }

  .rc-takeaways, .rc-related-program {
    padding: 24px;
  }

  .rc-related-guides {
    grid-template-columns: 1fr;
  }

}


/* Phones: tables with a header row become labelled rows (data-label from the plugin's TableLabels),
   so no column hides off-screen. Tables without a header row keep the horizontal scroller. */
@media (max-width: 767px) {
  .rc-article__body table:has(td[data-label]) { min-width: 0; }
  .rc-article__body table:has(td[data-label]) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .rc-article__body table:has(td[data-label]) :is(tbody, tr, td) { display: block; }
  .rc-article__body table:has(td[data-label]) tr { padding: 12px 0; border-bottom: 1px solid var(--rc-line); }
  .rc-article__body table:has(td[data-label]) td { display: grid; grid-template-columns: minmax(96px, 38%) minmax(0, 1fr); gap: 12px; padding: 6px 0; border: 0; }
  .rc-article__body table:has(td[data-label]) td::before { content: attr(data-label); font-size: 12px; font-weight: 600; line-height: 1.6; letter-spacing: .04em; text-transform: uppercase; color: var(--rc-body-muted); }
  .rc-article__body .wp-block-table:has(td[data-label]) { overflow: visible; background-image: none; }
  .rc-article__body table:has(td[data-label]) tr > :first-child { display: block; padding: 0 0 6px; border: 0; background: none; font-weight: 600; font-size: 16px; }
  .rc-article__body table:has(td[data-label]) tr > :first-child::before { content: none; }
  .rc-article__body table:has(td[data-label]) tr { background: none; }
}

/* ---- 16-guides.css ---- */
/* Guides: intrinsic card tracks, accessible filters and compact mobile rows. */
.rc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

.rc-filter {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--rc-strong-line);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  color: var(--rc-ink);
}

.rc-filter[aria-pressed="true"] {
  background: var(--rc-tint);
  border-color: var(--rc-accent);
  box-shadow: inset 0 0 0 1px var(--rc-accent);
}

.rc-guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 32px;
}

.rc-guide-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-bottom: 1px solid var(--rc-line);
}

.rc-guide-card__image {
  border-radius: 14px;
  overflow: hidden;
}

.rc-guide-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  height: auto;
  transition: transform 300ms var(--ease);
  filter: var(--rc-photo-filter);
}

.rc-guide-card:has(a):hover img {
  transform: scale(1.03);
}

.rc-guide-card__body {
  padding-block: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rc-guide-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--rc-muted);
}

.rc-guide-card h2 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.rc-guide-card__title {
  text-decoration: none;
}

.rc-guide-card__title:hover {
  text-decoration: underline;
}

.rc-guide-card__title > [aria-hidden] {
  margin-left: 8px;
}

.rc-guide-card p {
  font-size: 15px;
}

.rc-guide-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  border-bottom: 0;
  align-items: center;
  margin-bottom: 16px;
}

.rc-guide-card--featured h2 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.rc-guides__signup {
  padding: 32px;
  background: var(--rc-band);
  border-radius: 14px;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 24px;
}

.rc-hub > .rc-wrap > .rc-note {
  margin-top: 48px;
}

@media (max-width: 1023px) {
  .rc-guides {
    grid-template-columns: 1fr 1fr;
  }

  .rc-guides__signup {
    grid-column: auto;
  }

}

@media (max-width: 767px) {
  .rc-guide-card--featured {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rc-guides {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rc-guide-card:not(.rc-guide-card--featured) {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
  }

  .rc-guide-card:not(.rc-guide-card--featured) img {
    aspect-ratio: 4 / 3;
  }

  .rc-guide-card:not(.rc-guide-card--featured) h2 {
    font-size: 17px;
  }

  .rc-guide-card:not(.rc-guide-card--featured) p {
    display: none;
  }

  .rc-guide-card:not(.rc-guide-card--featured) .rc-guide-card__body {
    padding-top: 0;
    gap: 8px;
  }

}


/* ---- 17-drawer-contact.css ---- */
/* Navigation drawer and shared contact popover / bottom sheet. */
.rc-drawer, .rc-contact {
  color: var(--rc-ink);
  border: 1px solid var(--rc-line);
  --rc-focus: var(--rc-input-focus);
}

.rc-drawer::backdrop, .rc-contact::backdrop {
  background: rgb(7 18 40 / 50%);
}

.rc-dialog-close {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 28px;
  margin-left: auto;
}

.rc-dialog-close:hover {
  background: var(--rc-band);
}

/* The transparent modal hosts the real header in the top layer; only its
   right-hand panel moves. This keeps the original burger inside the focus trap. */
.rc-drawer {
  border: 0;
  background: transparent;
  --drawer-duration: 280ms;
  --drawer-ease: cubic-bezier(.2,.8,.2,1);
}

@media (max-width: 1279px) {
  .rc-drawer::backdrop {
    background: color-mix(in srgb, var(--rc-ink) 40%, transparent);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity var(--drawer-duration) ease;
  }

  .rc-drawer.is-visible::backdrop { opacity: 1; }

  .has-drawer .rc-header {
    color: var(--rc-ink);
    background: var(--rc-paper);
    border-color: var(--rc-tint-line);
    backdrop-filter: none;
    --rc-focus: var(--rc-input-focus);
  }

  .has-drawer .rc-brand__mark { color: var(--rc-accent); }
  .has-drawer .rc-header__languages { display: none; }
  .has-drawer .rc-header .rc-button { min-height: 44px; }

  .rc-header__burger { padding: 9px; }
  .rc-header__burger svg { display: block; }
  .rc-header__burger path {
    transform-origin: 12px 12px;
    transition: transform 200ms var(--drawer-ease, ease), opacity 200ms ease;
  }
  .rc-header__burger[aria-expanded="true"] { background: var(--rc-tint); border-color: var(--rc-tint-line); }
  .rc-header__burger[aria-expanded="true"] path:nth-child(1) { transform: translateY(6px) rotate(45deg); transform-origin: 12px 6px; }
  .rc-header__burger[aria-expanded="true"] path:nth-child(2) { opacity: 0; transform: scaleX(.3); }
  .rc-header__burger[aria-expanded="true"] path:nth-child(3) { transform: translateY(-6px) rotate(-45deg); transform-origin: 12px 18px; }

  .rc-drawer__panel {
    width: min(92vw, 420px);
    padding: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px) + 16px) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) 20px;
    gap: 16px;
    background: var(--rc-contact-surface);
    border-left: 1px solid var(--rc-glass-line);
    box-shadow: var(--glass-shadow);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    backdrop-filter: blur(24px) saturate(1.2);
    transition: transform var(--drawer-duration) var(--drawer-ease), opacity var(--drawer-duration) ease;
  }

  .rc-drawer__nav {
    scrollbar-width: thin;
    scrollbar-color: var(--rc-tint-line) transparent;
    padding: 4px;
    margin: -4px;
  }

  .rc-drawer__nav a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.025em;
    text-decoration: none;
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 180ms ease, transform 180ms var(--drawer-ease);
  }

  .rc-drawer__nav a::after {
    content: "";
    flex: none;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid var(--rc-body-muted);
    border-right: 1.5px solid var(--rc-body-muted);
    transform: rotate(45deg);
  }

  .rc-drawer__nav a:hover { background: var(--rc-band); }
  .rc-drawer__nav a[aria-current="page"] { color: var(--rc-accent); background: var(--rc-tint); }
  .rc-drawer__nav a[aria-current="page"]::before {
    content: "";
    position: absolute;
    left: 0;
    width: 3px;
    height: 24px;
    border-radius: 4px;
    background: var(--rc-accent);
  }

  .rc-drawer.is-visible .rc-drawer__nav a {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--row-index, 0) * 30ms);
  }

  .rc-drawer__panel > .rc-languages-control {
    flex: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    height: 44px;
    border-radius: 10px;
    background: var(--rc-tint);
    box-shadow: inset 0 0 0 1px var(--rc-tint-line);
  }

  .rc-drawer .rc-language {
    min-width: 44px;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--rc-body-muted);
  }

  .rc-drawer .rc-language[aria-pressed="true"] {
    color: var(--rc-accent);
    background: var(--rc-paper);
    border-color: var(--rc-tint-line);
    box-shadow: 0 2px 6px color-mix(in srgb, var(--rc-deep) 10%, transparent);
  }

  .rc-drawer__bottom { flex: none; border-top: 1px solid var(--rc-tint-line); padding-top: 12px; }
  .rc-drawer__bottom > .rc-button { width: 100%; min-height: 52px; }
  .rc-drawer__bottom .rc-contact__rows:not(:empty) { margin-bottom: 12px; }
  .rc-drawer__bottom .rc-contact__row { background: none; }
  .rc-drawer__bottom .rc-contact__row a { min-height: 44px; padding: 6px 4px; gap: 10px; }
  .rc-drawer__bottom .rc-contact__label { display: none; }
  .rc-drawer__bottom .rc-contact__value { font-size: 14px; }
  .rc-drawer__bottom .rc-contact__icon { width: 28px; height: 28px; color: var(--rc-accent); }
  .rc-drawer__bottom .rc-contact__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .rc-drawer .rc-toast { bottom: max(24px, env(safe-area-inset-bottom)); }
}

.rc-contact {
  inset: 80px 24px auto auto;
  margin: 0;
  width: 340px;
  max-width: calc(100% - 32px);
  padding: 8px;
  background: var(--rc-contact-surface);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  box-shadow: 0 24px 64px -16px rgb(15 20 25 / 30%);
}

.rc-contact[open] {
  animation: contact-in 160ms ease-out;
}

@keyframes contact-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(.98);
  }

  to {
    opacity: 1;
    transform: none;
  }

}

.rc-contact__heading {
  padding: 8px 16px 16px;
}

.rc-contact__heading h2 {
  font-size: 16px;
  font-weight: 600;
}

.rc-contact__heading p {
  color: var(--rc-body-muted);
  font-size: 13px;
  margin-top: 8px;
}

.rc-contact > .rc-dialog-close {
  position: absolute;
  top: 8px;
  right: 8px;
}

.rc-contact__heading {
  padding-right: 44px;
}

.rc-contact__row {
  display: flex;
  align-items: center;
  min-width: 0;
  border-radius: 8px;
}

.rc-contact__row:hover {
  background: var(--rc-band);
}

.rc-contact__row a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  min-height: 60px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
}

.rc-contact__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--rc-tint);
  border-radius: 50%;
  flex: none;
  font-size: 18px;
}

.rc-contact__body {
  min-width: 0;
  flex: 1;
}

.rc-contact__label {
  display: block;
  color: var(--rc-body-muted);
  font-size: 13px;
}

.rc-contact__value {
  font-size: 15px;
  font-weight: 600;
  display: block;
  overflow-wrap: anywhere;
}

.rc-contact__copy {
  width: 32px;
  height: 32px;
  flex: none;
  border: 0;
  background: transparent;
  color: var(--rc-body-muted);
  border-radius: 8px;
  font-size: 20px;
}

.rc-contact__copy:hover {
  background: var(--rc-tint);
}

.rc-contact__status {
  padding-inline: 16px;
  font-size: 13px;
}

.rc-contact__status:not(:empty) {
  padding-block: 8px;
}

.rc-contact__handle {
  display: none;
}

.rc-toast {
  bottom: 96px;
  padding: 16px 24px;
  background: var(--rc-deep);
  color: var(--rc-on-dark);
  border-radius: 8px;
  font-size: 14px;
  box-shadow: var(--card-shadow);
}

@media (max-width: 767px) {
  .rc-contact {
    inset: auto 0 0 !important;
    width: 100%;
    max-width: 100%;
    max-height: 80dvh;
    margin: 0;
    padding: 8px 16px calc(16px + env(safe-area-inset-bottom));
    border-radius: 16px 16px 0 0;
  }

  .rc-contact[open] {
    animation: sheet-in 240ms cubic-bezier(.2,.8,.2,1);
  }

  @keyframes sheet-in {
    from {
      transform: translateY(100%);
    }

    to {
      transform: none;
    }

  }

  .rc-contact__handle {
    display: block;
    width: 36px;
    height: 4px;
    background: var(--rc-strong-line);
    border-radius: 4px;
    margin: 0 auto 16px;
  }

  .rc-contact__heading {
    padding: 8px 44px 16px 0;
  }

  .rc-contact > .rc-dialog-close {
    top: 20px;
    right: 16px;
  }

  .rc-contact__row a {
    min-height: 64px;
  }

  .rc-contact__icon {
    width: 44px;
    height: 44px;
  }

  .rc-contact__row[data-contact-row="phone"] {
    background: var(--rc-tint);
  }

  .rc-contact__copy {
    display: none;
  }

}


/* ---- wp/10-chrome.css ---- */
/* WordPress port: chrome details the static mockup did not need. */

/* Contact icons are line icons. */
.rc-contact__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Admin bar offset and the header reserve live in recruit-core's structure.css. */

/* Closing CTA band: background photo chosen per page (block attribute), default stays the theme photo. */
.rc-final[style*="--final-image"] {
  background: linear-gradient(90deg, var(--rc-deep) 10%, var(--rc-final-overlay)), var(--final-image) right center / cover;
}

/* ---- wp/20-article.css ---- */
/* WordPress port: core blocks inside guide articles get the mockup's article styling. */

/* Core table = the mockup comparison table. */
.rc-article__body .wp-block-table { margin: 32px 0; overflow-x: auto; max-width: 100%; background: var(--rc-paper); scrollbar-color: var(--rc-accent) var(--rc-band); }
.rc-article__body .wp-block-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.rc-article__body .wp-block-table th,
.rc-article__body .wp-block-table td { text-align: left; padding: 14px 16px; vertical-align: top; border: 1px solid var(--rc-table-line); }
.rc-article__body .wp-block-table thead { background: var(--rc-deep); color: var(--rc-on-dark); border: 0; }
.rc-article__body .wp-block-table thead th { border-color: var(--rc-deep); font-weight: 600; }
.rc-article__body .wp-block-table tbody td:first-child { font-weight: 600; position: sticky; left: 0; background: var(--rc-paper); }
.rc-article__body .wp-block-table tbody tr:nth-child(even) td { background: var(--rc-band); }
.rc-article__body .wp-block-table figcaption { font-size: 14px; color: var(--rc-body-muted); margin-top: 8px; }

/* Core image and quote in articles. */
.rc-article__body .wp-block-image { margin: 32px 0; }
.rc-article__body .wp-block-image img { border-radius: 14px; }
.rc-article__body .wp-block-quote { margin: 32px 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--rc-accent); font-size: 20px; line-height: 1.55; }
.rc-article__body .wp-block-separator { border: 0; border-top: 1px solid var(--rc-line); margin: 40px 0; }


/* ---- wp/30-polish.css ---- */
/* ==========================================================================
   Audit polish (design/audit/AUDIT.md): rhythm, surfaces, icons, archives.
   Tokens only (works in cobalt, pine, ember).
   ========================================================================== */

/* ---------- 1. Rhythm ---------- */
:root {
  --space-section: 88px;
  --space-section-tight: 64px;
  --card-shadow-soft: 0 1px 2px rgb(15 20 25 / 5%);
  --card-shadow-hover: 0 1px 2px rgb(15 20 25 / 6%), 0 16px 40px -16px rgb(15 20 25 / 18%);
}
@media (max-width: 767px) {
  :root { --space-section: 56px; --space-section-tight: 40px; }
}

/* Banded sections (white cards need a surface behind them). */
.rc-section--cards,
.rc-section--benefits,
.rc-section--paths { background: var(--rc-band); }

/* Two plain cream sections in a row share one gap instead of two. */
.rc-section:is(.rc-section--programs, .rc-section--lead-card, .rc-section--schedule, .rc-section--work-types,
  .rc-section--languages, .rc-section--coverage, .rc-section--steps, .rc-section--notes, .rc-section--two-lists,
  .rc-section--compare, .rc-section--media-list, .rc-section--faq, .rc-section--sell)
+ .rc-section:is(.rc-section--programs, .rc-section--lead-card, .rc-section--schedule, .rc-section--work-types,
  .rc-section--languages, .rc-section--coverage, .rc-section--steps, .rc-section--notes, .rc-section--two-lists,
  .rc-section--compare, .rc-section--media-list, .rc-section--faq, .rc-section--sell) { padding-top: 0; }

.rc-section--sell { padding-block: var(--space-section-tight); }

/* Section head: one column when there is no lead; measured line lengths. */
.rc-section__intro .rc-heading { max-width: 18ch; }
.rc-section__intro .rc-section__lead { max-width: 52ch; }
.rc-section__intro:not(:has(.rc-section__lead)) { grid-template-columns: 1fr; margin-bottom: 32px; }

/* ---------- 2. Icons ---------- */
.rc-icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; }
.rc-icon-chip {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--rc-tint); border: 1px solid var(--rc-tint-line); color: var(--rc-accent);
}
.rc-icon-chip--lg { width: 48px; height: 48px; }
.rc-icon-chip--lg .rc-icon { width: 24px; height: 24px; }
.rc-icon--inline { width: 18px; height: 18px; margin-top: 3px; color: var(--rc-accent); }
:is(.rc-section--roles, .rc-final) .rc-icon-chip { background: rgb(255 255 255 / 8%); border-color: var(--rc-dark-line); color: var(--rc-dark-accent); }
:is(.rc-section--roles, .rc-final) .rc-icon--inline { color: var(--rc-dark-accent); }

/* Lists with a leading inline icon. */
:is(.rc-programs__item, .rc-roles__list, .rc-two-lists, .rc-checklist) li,
.rc-notes__item:has(.rc-icon) {
  display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; list-style: none;
}
:is(.rc-programs__item, .rc-two-lists) ul,
.rc-roles__list { padding-left: 0; }

/* ---------- 3. Cards ---------- */
.rc-cards { gap: 20px; align-items: stretch; }
.rc-cards__item {
  display: flex; flex-direction: column; gap: 0;
  background: var(--rc-paper); border: 1px solid var(--rc-line); border-top: 1px solid var(--rc-line);
  border-radius: 8px; padding: 28px 24px 24px; box-shadow: var(--card-shadow-soft);
}
.rc-cards__item .rc-icon-chip { margin-bottom: 16px; }
.rc-cards__item h3 { font-size: 20px; }
.rc-cards__item p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--rc-body-muted); max-width: 34ch; }
@media (min-width: 1024px) {
  .rc-cards:has(> .rc-cards__item:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
  .rc-cards:has(> .rc-cards__item:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .rc-cards { gap: 12px; }
  .rc-cards__item { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 20px; }
  .rc-cards__item .rc-icon-chip { width: 40px; height: 40px; margin: 0; grid-row: span 2; }
  .rc-cards__item p { margin-top: 4px; }
}

/* ---------- 4. Notes panel ---------- */
.rc-notes {
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px 32px; background: var(--rc-tint); border: 1px solid var(--rc-tint-line); border-radius: 12px; padding: 32px;
}
.rc-notes__item:has(.rc-icon)::before { content: none; }
.rc-notes__item:has(.rc-icon) { grid-template-columns: 20px 1fr; }
.rc-notes__item .rc-icon--inline { width: 20px; height: 20px; }
.rc-notes__item span { max-width: 46ch; color: var(--rc-ink); }
@media (max-width: 767px) { .rc-notes { padding: 20px; } }

/* ---------- 5. Programs: two equal product cards ---------- */
.rc-programs__grid { gap: 24px; align-items: stretch; }
.rc-programs__item,
.rc-programs__item + .rc-programs__item {
  padding: 36px; border: 1px solid var(--rc-line); border-left: 1px solid var(--rc-line);
  border-radius: 8px; background: var(--rc-paper); gap: 16px; transition: box-shadow .2s ease;
}
.rc-programs__item:hover { box-shadow: var(--card-shadow-hover); }
.rc-programs__item ul { display: grid; gap: 10px; }
.rc-programs__item li { padding-bottom: 0; }
.rc-programs__cta { margin-top: 8px; min-height: 44px; border: 1px solid var(--rc-accent); border-radius: 8px; padding: 10px 18px; color: var(--rc-accent); text-decoration: none; }
.rc-programs__cta:hover { background: var(--rc-tint); }
@media (max-width: 767px) {
  .rc-programs__item, .rc-programs__item + .rc-programs__item { padding: 24px; border-top: 1px solid var(--rc-line); }
}

/* ---------- 6. Facts strips ---------- */
.rc-wrap.rc-facts { background: var(--rc-paper); border-bottom: 1px solid var(--rc-line); padding-block: 24px; }
.rc-facts > div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: start; }
.rc-facts > div > .rc-icon--inline { grid-row: span 2; }
.rc-facts strong { font-size: 18px; font-weight: 600; }
.rc-facts--hero .rc-facts__point { display: flex; gap: 10px; align-items: flex-start; }
.rc-facts--hero .rc-icon--inline { color: var(--rc-dark-accent); }

/* ---------- 7. Roles ---------- */
.rc-section--roles { padding-bottom: 72px; }
.rc-roles__grid h3 { display: flex; align-items: center; gap: 12px; }
.rc-roles__list li::before { content: none; }

/* ---------- 8. Example lead + checklist ---------- */
.rc-checklist { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.rc-checklist li { font-size: 16px; }
.rc-lead-grid .rc-section__intro + .rc-checklist { margin-top: 0; }

/* ---------- 9. Media lists (schedule, notifications, be ready) ---------- */
.rc-schedule article { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: start; }
.rc-schedule article > .rc-icon-chip { grid-row: span 2; }
.rc-schedule article > :not(.rc-icon-chip) { grid-column: 2; }
.rc-media-grid .rc-photo img { aspect-ratio: 4 / 5; }
.rc-section--media-list .rc-media-grid .rc-photo img { aspect-ratio: 3 / 2; }
.rc-work-types__item { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
.rc-work-types__item > .rc-icon-chip { grid-row: span 2; }
.rc-work-types__item > :not(.rc-icon-chip) { grid-column: 2; }
.rc-section--languages .rc-photo img { aspect-ratio: 3 / 2; }

/* ---------- 10. Two lists → two cards; paths → cards ---------- */
.rc-two-lists { gap: 24px; }
.rc-two-lists__col { padding: 32px; border-radius: 8px; border: 1px solid var(--rc-line); }
.rc-two-lists__col--good { background: var(--rc-paper); border-top: 3px solid var(--rc-accent); }
.rc-two-lists__col--other .rc-icon--inline { color: var(--rc-body-muted); }
.rc-two-lists li { padding-bottom: 12px; }
.rc-paths { gap: 24px; }
.rc-paths__item { background: var(--rc-paper); border: 1px solid var(--rc-line); border-radius: 8px; padding: 32px; }
.rc-paths__item > .rc-icon-chip { margin-bottom: 16px; }
@media (max-width: 767px) { .rc-two-lists__col, .rc-paths__item { padding: 20px; } }

/* ---------- 11. Coverage map panel ---------- */
.rc-coverage__grid { grid-template-columns: 7fr 5fr; }
.rc-coverage__map { padding: 32px; background: var(--rc-tint); border-radius: 12px; grid-template-columns: repeat(11, 44px); grid-template-rows: repeat(8, 44px); gap: 6px; }
.rc-coverage__tile { background: var(--rc-paper); transition: background .15s ease, color .15s ease; }
.rc-coverage__tile:hover { background: var(--rc-accent); color: var(--rc-accent-ink); }
.rc-coverage__states { background: var(--rc-paper); border: 1px solid var(--rc-line); border-radius: 8px; padding: 32px; }
.rc-coverage__states ul { column-count: 5; font-size: 15px; }
@media (max-width: 1100px) { .rc-coverage__grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .rc-coverage__map { padding: 16px; grid-template-columns: repeat(11, minmax(0, 28px)); grid-template-rows: repeat(8, 28px); gap: 3px; }
  .rc-coverage__states ul { column-count: 2; }
  .rc-coverage__states { padding: 20px; }
}

/* ---------- 12. Sell strip ---------- */
.rc-sell { background: var(--rc-tint); border-radius: 12px; padding: 32px; max-width: 1120px; display: grid; grid-template-columns: auto 1fr auto; gap: 8px 24px; align-items: center; }
.rc-sell > .rc-icon-chip { grid-row: span 2; }
@media (max-width: 767px) { .rc-sell { grid-template-columns: 1fr; padding: 20px; } }

/* ---------- 13. Compare table: emphasise "with us"; cards on mobile ---------- */
.rc-compare caption { display: none; }
.rc-compare thead th:last-child { border-top: 3px solid var(--rc-accent); }
.rc-compare tbody td:last-child { background: var(--rc-tint); }
@media (max-width: 639px) {
  .rc-compare { background: none; overflow: visible; }
  .rc-compare table { min-width: 0; }
  .rc-compare thead { display: none; }
  .rc-compare tr { display: block; margin-bottom: 12px; background: var(--rc-paper); border: 1px solid var(--rc-line); border-radius: 8px; overflow: hidden; }
  .rc-compare th, .rc-compare td { display: block; width: auto; border: 0; position: static; box-shadow: none; }
  .rc-compare tbody th { background: var(--rc-band); }
  .rc-compare td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--rc-body-muted); margin-bottom: 4px; }
}

/* Article tables: scroll with a right-edge fade. */
.rc-article__body .wp-block-table { background-image: linear-gradient(to left, var(--rc-tint), transparent 24px); }

/* ---------- 14. Hero ---------- */
.rc-hero h1 { max-width: 16ch; }
.rc-hero__grid { align-items: start; }
@media (max-width: 767px) {
  .rc-hero:not(.rc-hero--light) .rc-hero__answer { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .rc-breadcrumb { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* Header CTA on light pages: solid, never looks disabled. */
body:not(.has-dark-hero) .rc-header__cta { background: var(--rc-accent); color: var(--rc-accent-ink); border-color: var(--rc-accent); opacity: 1; }
body:not(.has-dark-hero) .rc-header__cta:hover { background: var(--rc-accent-hover); }

/* ---------- 15. Footer: four columns ---------- */
.rc-footer { background: var(--rc-band); }
.rc-footer__grid--4 { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.rc-footer__col { display: grid; align-content: start; gap: 10px; }
.rc-footer__col h3, .rc-footer__start h3 { font-size: 15px; margin-bottom: 6px; }
.rc-footer__col a { min-height: 32px; display: inline-flex; align-items: center; font-size: 15px; text-decoration: none; }
.rc-footer__col a:hover { color: var(--rc-accent); text-decoration: underline; }
.rc-footer__start { display: grid; align-content: start; gap: 16px; justify-items: start; }
.rc-footer__languages { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--rc-body-muted); }
@media (max-width: 1023px) { .rc-footer__grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .rc-footer__grid--4 { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .rc-footer__brand, .rc-footer__start { grid-column: 1 / -1; }
}

/* ---------- 16. FAQ ---------- */
.rc-faq-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; margin-bottom: 56px; }
.rc-faq-topic { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; padding: 20px; background: var(--rc-paper); border: 1px solid var(--rc-line); border-radius: 8px; text-decoration: none; color: var(--rc-ink); transition: box-shadow .2s ease; }
.rc-faq-topic:hover { box-shadow: var(--card-shadow-hover); }
.rc-faq-topic > .rc-icon-chip { grid-row: span 2; }
/* A group without an icon: the title takes the full width instead of the 44px icon column. */
.rc-faq-topic:not(:has(> .rc-icon-chip)) { grid-template-columns: 1fr; }
.rc-faq-topic__count { font-size: 13px; color: var(--rc-body-muted); }
.rc-faq-page__nav a { text-decoration: none; font-size: 15px; padding-left: 12px; border-left: 2px solid transparent; }
.rc-faq-page__nav a[aria-current] { color: var(--rc-accent); border-left-color: var(--rc-accent); }
.rc-faq-page__nav a span[aria-hidden] { display: none; }
.rc-faq-group + .rc-faq-group { margin-top: 56px; }

/* ---------- 17. Guides hub, archives, search, 404 ---------- */
.rc-basics { margin-top: 56px; }
.rc-basics__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; margin-top: 24px; }
.rc-basics__card { display: grid; gap: 10px; align-content: start; padding: 24px; background: var(--rc-paper); border: 1px solid var(--rc-line); border-radius: 8px; color: var(--rc-ink); text-decoration: none; transition: box-shadow .2s ease; }
.rc-basics__card:hover { box-shadow: var(--card-shadow-hover); }
.rc-basics__card strong { font-size: 19px; font-weight: 600; }
.rc-basics__card span:not(.rc-icon-chip) { font-size: 15px; color: var(--rc-body-muted); }
.rc-related .rc-basics__grid { margin-top: 24px; }

.rc-filters--links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.rc-filters--links .rc-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--rc-line); border-radius: 999px; background: var(--rc-paper); color: var(--rc-ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.rc-filters--links .rc-filter[aria-current] { background: var(--rc-ink); color: var(--rc-bg); border-color: var(--rc-ink); }
.rc-filter__count { font-size: 12px; color: inherit; opacity: .7; }

.rc-search-wrap { margin-top: 24px; max-width: 560px; }
.rc-search { display: flex; gap: 8px; }
.rc-search__input { flex: 1; min-height: 52px; padding: 0 16px; border: 1px solid var(--rc-input-line); border-radius: 8px; background: var(--rc-paper); color: var(--rc-ink); font: inherit; font-size: 16px; }
.rc-search__input:focus-visible { outline: 3px solid var(--rc-focus); outline-offset: 2px; }
.rc-search .rc-button { min-height: 52px; display: inline-flex; gap: 8px; align-items: center; }
.rc-search .rc-icon--inline { margin-top: 0; color: currentColor; }

.rc-empty { display: grid; justify-items: start; gap: 12px; padding: 40px; background: var(--rc-tint); border-radius: 12px; max-width: 760px; }

.rc-not-found__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.rc-not-found__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; margin-top: 40px; }
.rc-tile { display: flex; gap: 14px; align-items: center; min-height: 72px; padding: 14px 16px; background: var(--rc-paper); border: 1px solid var(--rc-line); border-radius: 8px; color: var(--rc-ink); text-decoration: none; font-weight: 600; transition: box-shadow .2s ease; }
.rc-tile:hover { box-shadow: var(--card-shadow-hover); }
.rc-not-found .rc-hero__copy { max-width: none; }

.rc-pagination ul { display: flex; gap: 8px; list-style: none; padding: 0; margin: 40px 0 0; }
.rc-pagination a, .rc-pagination span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--rc-line); border-radius: 8px; text-decoration: none; }
.rc-pagination .current { background: var(--rc-ink); color: var(--rc-bg); }

/* Takeaways + callout icons. */
.rc-takeaways h2 { display: flex; gap: 10px; align-items: center; }
.rc-takeaways { background: var(--rc-tint); }
blockquote.rc-callout { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }

@media (prefers-reduced-motion: reduce) {
  .rc-programs__item, .rc-faq-topic, .rc-basics__card, .rc-tile, .rc-coverage__tile { transition: none; }
}

/* Mobile overflow guards. */
@media (max-width: 767px) {
  .rc-coverage__map { width: 100%; grid-template-columns: repeat(11, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; }
  .rc-coverage__tile { aspect-ratio: 1; font-size: 10px; }
  .rc-search { flex-wrap: wrap; }
  .rc-search__input { min-width: 0; width: 100%; }
  .rc-search .rc-button { width: 100%; justify-content: center; }
}
@media (max-width: 767px) {
  .rc-cards, .rc-section--benefits .rc-cards { grid-template-columns: 1fr; }
  .rc-cards__item { min-width: 0; }
}

/* Sell strip: chip | title + text | link. */
.rc-sell { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "icon title link" "icon text link"; }
.rc-sell > .rc-icon-chip { grid-area: icon; align-self: start; }
.rc-sell > h3 { grid-area: title; max-width: none; }
.rc-sell > p { grid-area: text; max-width: 64ch; }
.rc-sell > .rc-button { grid-area: link; white-space: nowrap; }
.rc-sell:not(:has(> .rc-icon-chip)) { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title link" "text link"; }
@media (max-width: 767px) {
  .rc-sell { grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "icon title" "text text" "link link"; }
  .rc-sell > .rc-button { white-space: normal; }
}

/* ---------- Notes v2: head left, one clean ruled list right (any number of items) ---------- */
@media (min-width: 1024px) {
  .rc-section--notes > .rc-wrap { display: grid; grid-template-columns: 5fr 7fr; column-gap: 64px; align-items: start; }
  .rc-section--notes > .rc-wrap > .rc-section__label { grid-column: 1 / -1; }
  .rc-section--notes .rc-section__intro { display: block; position: sticky; top: calc(var(--header-h, 80px) + 24px); margin: 0; }
  .rc-section--notes .rc-section__intro .rc-section__lead { margin-top: 16px; }
}
.rc-notes,
.rc-section--notes .rc-notes {
  display: block; padding: 0; background: none; border: 0; border-radius: 0;
  border-top: 1px solid var(--rc-line);
}
.rc-notes__item,
.rc-notes__item:has(.rc-icon) {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; align-items: start;
  padding: 22px 0; border-bottom: 1px solid var(--rc-line); font-size: 17px; line-height: 1.6;
}
.rc-notes__item .rc-icon--inline {
  box-sizing: content-box; width: 22px; height: 22px; padding: 10px; margin: 0;
  border-radius: 10px; background: var(--rc-tint); border: 1px solid var(--rc-tint-line); color: var(--rc-accent);
}
.rc-notes__item span { max-width: 62ch; padding-top: 9px; }
.rc-notes__item:not(:has(.rc-icon))::before { padding-top: 12px; }
@media (max-width: 767px) {
  .rc-notes__item, .rc-notes__item:has(.rc-icon) { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 0; font-size: 16px; }
  .rc-notes__item .rc-icon--inline { width: 20px; height: 20px; padding: 9px; }
}

/* ---------- Roles v2: two equal glass cards, aligned to the top ---------- */
.rc-roles__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; margin-top: 8px; }
.rc-roles__card {
  display: flex; flex-direction: column; padding: 32px;
  background: rgb(255 255 255 / 5%); border: 1px solid var(--rc-dark-line); border-radius: 12px;
}
.rc-roles__card--office { background: rgb(255 255 255 / 9%); }
.rc-roles__head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; margin-bottom: 4px; border-bottom: 1px solid var(--rc-dark-line); }
.rc-roles__head h3 { margin: 0; font-size: 24px; }
.rc-roles__list, .rc-roles__list--office { list-style: none; margin: 0; padding: 0; }
.rc-roles__list li,
.rc-roles__list--office li {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start;
  min-height: 0; padding: 14px 0; margin: 0; border: 0; border-bottom: 1px solid rgb(255 255 255 / 10%); font-size: 16px;
}
.rc-roles__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.rc-roles__list li::before, .rc-roles__list li::after { content: none !important; }
.rc-roles__list .rc-icon--inline { margin-top: 3px; }
@media (max-width: 767px) {
  .rc-roles__grid { grid-template-columns: 1fr; gap: 16px; }
  .rc-roles__card { padding: 20px; }
}

/* ---------- Guides hub: order + featured card alignment ---------- */
.rc-hub .rc-filters { margin-bottom: 32px; }
.rc-hub .rc-basics { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--rc-line); }
.rc-hub .rc-basics .rc-heading { margin-bottom: 8px; }
.rc-guide-card--featured .rc-guide-card__body { align-self: start; justify-content: flex-start; padding-top: 8px; }
.rc-guide-card--featured .rc-guide-card__meta { justify-content: flex-start; gap: 16px; }
.rc-guide-card--featured { align-items: start; }

/* Signup title is an h2 (heading order after the page h1); same look as the mockup's h3. */
.rc-signup .rc-signup__title { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; margin: 0 0 24px; }

/* Mobile hero loads the 768px rendition (LCP). */
@media (max-width: 767px) {
  .rc-hero { --hero-image: var(--hero-image-mobile); --hero-fallback: var(--hero-image-mobile); }
}
.rc-article__compact-cta .rc-article__cta-title { font-size: 22px; line-height: 1.25; margin: 0 0 12px; }
.rc-article__body .wp-block-table tbody th { text-align: left; padding: 14px 16px; vertical-align: top; border: 1px solid var(--rc-table-line); font-weight: 600; background: var(--rc-paper); position: sticky; left: 0; }
.rc-article__body .wp-block-table tbody tr:nth-child(even) th { background: var(--rc-band); }

/* ---- wp/40-r2.css ---- */
/* Audit round 2 (design/audit/AUDIT-R2.md): uneven/crooked fixes. */
/* ===== Audit R2 ===== */

/* G1. Facts strip: full-bleed white band instead of a boxed patch. */
.rc-wrap.rc-facts {
  box-shadow: 0 0 0 100vmax var(--rc-paper);
  clip-path: inset(0 -100vmax);
  border-bottom: 0;
}

/* G2. Steps: number / title / text share rows, so descriptions line up. */
@media (min-width: 768px) {
  .rc-steps {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
  }
  .rc-steps__item { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; }
  .rc-steps__item h3 { align-self: start; }
}

/* G3. Short FAQ keeps the same heading-left / list-right layout as the long one.
   (Cleaner: delete the "Short FAQ" rule in section 16 instead.) */
@media (min-width: 768px) {
  .rc-faq__grid:not(:has(.rc-faq__item:nth-child(4))) { grid-template-columns: 1fr 2fr; max-width: none; gap: 64px; }
}

/* G4 + G24. Photo follows the list height instead of forcing 4:5. */
@media (min-width: 768px) {
  .rc-media-grid { align-items: stretch; }
  .rc-media-grid > :not(.rc-photo) { align-self: center; }
  .rc-media-grid .rc-photo { min-height: 380px; }
  .rc-media-grid .rc-photo img,
  .rc-section--media-list .rc-media-grid .rc-photo img,
  .rc-section--languages .rc-photo img {
    position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto;
  }
}
@media (max-width: 767px) {
  .rc-media-grid .rc-photo img { aspect-ratio: 3 / 2; }
}

/* G5. Mobile hero lede: no mid-sentence cut. */
@media (max-width: 767px) {
  .rc-hero:not(.rc-hero--light) .rc-hero__answer { display: block; -webkit-line-clamp: unset; overflow: visible; }
}

/* G6. Mobile map: cancel the old negative margin. */
@media (max-width: 767px) {
  .rc-coverage__map { margin-inline: 0; }
}

/* G7. No one-word last lines in headings. */
.rc-hero h1, .rc-section h2, .rc-final h2, .rc-faq-group .rc-heading, .rc-guide-card h2 { text-wrap: balance; }

/* G8. Sell strip spans the container. */
.rc-sell { max-width: none; }

/* G9. Article TOC: own marker instead of the browser triangle. */
.rc-toc summary { list-style: none; display: flex; align-items: center; gap: 8px; }
.rc-toc summary::-webkit-details-marker { display: none; }
.rc-toc summary::after {
  content: ""; width: 8px; height: 8px; margin-left: auto;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .15s ease;
}
.rc-toc details[open] > summary::after, .rc-toc[open] > summary::after { transform: rotate(-135deg); }
@media (min-width: 1024px) {
  .rc-toc summary { pointer-events: none; min-height: 0; padding-bottom: 12px; }
  .rc-toc summary::after { content: none; }
}

/* G10. Mobile lead card: price boxes align with the field rows. */
@media (max-width: 767px) {
  .rc-work-order__prices { padding-inline: 24px; }
}

/* G11. Program fine print spans the card. */
.rc-programs__item .rc-programs__fineprint { align-self: stretch; }

/* G12. Paths: no connector tail after the last step. */
.rc-paths li:last-child { border-left-color: transparent; padding-bottom: 0; }

/* G13. Links that follow a grid get real spacing. */
.rc-two-lists + a, .rc-basics__grid + a, .rc-related .rc-basics__grid ~ a { display: inline-flex; margin-top: 28px; }

/* G14. Lead card: columns centred against each other. */
@media (min-width: 1024px) { .rc-lead-grid { align-items: center; } }

/* G15. Languages: rows share the photo height. */
@media (min-width: 768px) {
  .rc-section--languages .rc-media-grid > :not(.rc-photo) { align-self: stretch; display: grid; grid-auto-rows: 1fr; }
  .rc-section--languages .rc-languages__row:last-of-type { border-bottom: 1px solid var(--rc-line); }
}

/* G16. Every media list opens with a rule. */
.rc-schedule article:first-child { padding-top: 24px; border-top: 1px solid var(--rc-line); }

/* G17. One two-column grid for intro, media, lead card. */
@media (min-width: 1024px) {
  .rc-section__intro:has(.rc-section__lead):not(.rc-lead-grid .rc-section__intro),
  .rc-media-grid,
  .rc-lead-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; }
  .rc-coverage__grid { grid-template-columns: auto minmax(0, 1fr); gap: 64px; }
}

/* G18. Facts cells: label and value pinned to the top. */
.rc-facts > div { align-content: start; }
.rc-facts p { text-wrap: balance; }

/* G19. Light hero: less dead band above the breadcrumb. */
@media (min-width: 768px) {
  .rc-hero--light { padding-top: calc(var(--header-h, 80px) + 40px); }
}

/* G20. Side navs: visible rail, even rows on desktop. */
@media (min-width: 1024px) {
  .rc-toc nav, .rc-faq-page__nav { border-left: 1px solid var(--rc-line); gap: 2px; }
  .rc-toc a, .rc-faq-page__nav a { min-height: 0; padding: 7px 0 7px 14px; margin-left: -1px; }
}

/* G23. Steps photo: gentler crop, keep heads in frame. */
@media (min-width: 768px) { .rc-section--steps .rc-photo img { aspect-ratio: 5 / 2; object-position: var(--photo-position, 50% 20%); } }
@media (max-width: 767px) {
  .rc-section--steps .rc-photo img { aspect-ratio: 4 / 3; max-height: none; }
  .rc-section--steps .rc-photo__caption { top: auto; bottom: 12px; transform: none; }
}

/* A1. Mobile breadcrumb: one line; the current page is not repeated (the H1 sits right below it). */
@media (max-width: 767px) {
  .rc-breadcrumb { flex-wrap: nowrap; }
  .rc-breadcrumb a { flex: none; }
  .rc-breadcrumb a[aria-current] { display: none; }
}

/* A2. Table fade only where the table can actually scroll. */
.rc-article__body .wp-block-table { background-image: none; }
@media (max-width: 767px) {
  .rc-article__body .wp-block-table {
    background:
      linear-gradient(to left, var(--rc-paper), var(--rc-paper)) right / 24px 100% no-repeat local,
      linear-gradient(to left, rgb(15 20 25 / 14%), transparent) right / 16px 100% no-repeat scroll,
      var(--rc-paper);
  }
}

/* N1. 404 tiles: full width, four per row. */
.rc-not-found .rc-hero__grid { grid-template-columns: 1fr; }
.rc-not-found__tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .rc-not-found__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .rc-not-found__tiles { grid-template-columns: 1fr; } }

/* Two-lists CTA now lives inside the second card. */
.rc-two-lists__col--other { display: flex; flex-direction: column; }
.rc-two-lists__cta { margin-top: auto; align-self: flex-start; min-height: 44px; border: 1px solid var(--rc-accent); border-radius: 8px; padding: 10px 18px; text-decoration: none; color: var(--rc-accent); }

/* Footer language links (TranslatePress), native names. */
.rc-footer__languages { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rc-languages-control--full { display: flex; gap: 4px 14px; flex-wrap: wrap; }
.rc-languages-control--full .rc-language { color: inherit; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent; }
.rc-languages-control--full .rc-language:hover { border-bottom-color: currentColor; }
.rc-languages-control--full .rc-language[aria-current="true"] { font-weight: 600; border-bottom-color: currentColor; }

/* Guides hub: excerpts stay short; a lone card in the last row becomes a wide horizontal card. */
.rc-guide-card:not(.rc-guide-card--featured) p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
@media (min-width: 1024px) {
  .rc-guides:has(> .rc-guide-card--featured:first-child):has(> .rc-guide-card:nth-child(3n+2):last-child) > .rc-guide-card:last-child,
  .rc-guides:not(:has(> .rc-guide-card--featured:first-child)):has(> .rc-guide-card:nth-child(3n+1):last-child) > .rc-guide-card:last-child {
    grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: center;
  }
}

/* Long words in translations (RU/ES): wrapping lives in recruit-core's structure.css; narrow cells here. */
@media (max-width: 420px) { .rc-facts > div { padding-inline: 12px; } .rc-facts strong { font-size: 16px; } }

/* FAQ page on phones: the topic cards already jump to each group; the side nav would repeat them. */
@media (max-width: 1023px) { .rc-faq-page__nav { display: none; } }

/* Current language: the markup marks it with aria-current (links), the mockup used aria-pressed (buttons). */
.rc-language[aria-current="true"] { border-color: currentColor; }
.rc-drawer .rc-language[aria-current="true"] { color: var(--rc-accent); background: var(--rc-paper); border-color: var(--rc-tint-line); box-shadow: 0 2px 6px color-mix(in srgb, var(--rc-deep) 10%, transparent); text-decoration: none; }
.rc-drawer .rc-language:not([aria-current="true"]) { text-decoration: none; }
.rc-languages-control--full .rc-language[aria-current="true"] { border-width: 0 0 1px; border-radius: 0; }

/* Header language switcher, minimal (owner 2026-12-01): no frame; inactive muted, active = full colour + thin underline. */
.rc-header__languages .rc-language { border: 0 !important; border-radius: 0; text-decoration: none; opacity: .62; transition: opacity .15s; }
.rc-header__languages .rc-language:hover { opacity: 1; }
.rc-header__languages .rc-language[aria-current="true"] { opacity: 1; }
.rc-header__languages .rc-language::after { display: inline-block; padding-bottom: 3px; border-bottom: 2px solid transparent; }
.rc-header__languages .rc-language[aria-current="true"]::after { border-bottom-color: currentColor; }

/* Legal pages: one reading column under the light hero; footer legal links in the bottom row. */
.rc-legal { padding-block: 56px 96px; }
.rc-legal > h2:first-child { margin-top: 0; }
.rc-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: center; }
.rc-footer__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.rc-footer__legal a { color: inherit; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.rc-footer__legal a:hover, .rc-footer__legal a[aria-current] { text-decoration: underline; }
