/* ============================================================
   Radius Hire responsive foundation
   Loaded after every page stylesheet so desktop keeps its existing
   composition and phone/tablet rules have one predictable cascade.
   ============================================================ */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mobile-nav-toggle,
.mobile-nav,
.mobile-nav-backdrop {
  display: none;
}

.aud-copy-mobile {
  display: none;
}

@media (max-width: 1024px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
  }

  img,
  video,
  iframe,
  svg {
    max-width: 100%;
  }

  .wrap {
    width: min(100% - 40px, 720px);
  }

  .section {
    padding-block: clamp(64px, 9vw, 84px);
  }

  .h-display {
    font-size: clamp(42px, 8.4vw, 64px);
    line-height: 1.01;
  }

  .h2 {
    font-size: clamp(32px, 6.5vw, 46px);
  }

  .lead {
    font-size: clamp(17px, 2.5vw, 19px);
  }

  .btn,
  .text-link,
  .play-link,
  button,
  input,
  select,
  textarea {
    touch-action: manipulation;
  }

  .btn {
    min-height: 44px;
  }

  input,
  select,
  textarea {
    max-width: 100%;
    font-size: 16px;
  }

  /* The desktop flyout is hover-based and intentionally has no mobile role. */
  .nav-panel {
    display: none !important;
  }

  .nav {
    width: 100%;
    min-width: 0;
  }

  .nav__inner {
    width: calc(100% - 32px);
    height: 64px;
    gap: 10px;
  }

  .nav__logo {
    flex: none;
    white-space: nowrap;
  }

  .nav__links,
  .nav__login {
    display: none !important;
  }

  .nav__actions {
    margin-left: auto;
    gap: 8px;
  }

  .nav .btn--sm {
    min-height: 42px;
    padding: 11px 14px;
    white-space: nowrap;
  }

  .mobile-nav-toggle {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 13px;
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav-toggle > span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 1.5px;
    border-radius: 99px;
    background: currentColor;
    transform-origin: center;
    transition: transform .25s var(--ease), opacity .2s var(--ease);
  }

  .mobile-nav-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .mobile-nav-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .nav.scrolled .mobile-nav-toggle,
  body.sc-page .mobile-nav-toggle,
  body.srx-page .mobile-nav-toggle,
  body.atx-page .mobile-nav-toggle,
  body.aud-page .mobile-nav-toggle,
  body.page-sub .mobile-nav-toggle,
  body.platform-page .mobile-nav-toggle,
  body.blog-page .mobile-nav-toggle,
  body.article-page .mobile-nav-toggle {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(20, 33, 63, 0.12);
  }

  body.page-demo .mobile-nav-toggle,
  body.page-demo .nav.scrolled .mobile-nav-toggle,
  body.home-page .nav:not(.scrolled) .mobile-nav-toggle,
  body.pass-page .nav:not(.scrolled) .mobile-nav-toggle,
  body.ind-page .nav:not(.scrolled) .mobile-nav-toggle {
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.22);
  }

  .mobile-nav-toggle:focus-visible,
  .mobile-nav__close:focus-visible,
  .mobile-nav a:focus-visible,
  .mobile-nav-backdrop:focus-visible {
    outline: 3px solid var(--cobalt);
    outline-offset: 3px;
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 78;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: rgba(7, 13, 35, 0.54);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s var(--ease), visibility 0s linear .3s;
  }

  .mobile-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 79;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(91vw, 390px);
    height: 100vh;
    height: 100dvh;
    max-width: 100%;
    color: var(--ink);
    background:
      radial-gradient(80% 34% at 100% 0%, rgba(47, 107, 235, .13), transparent 72%),
      var(--paper);
    border-left: 1px solid rgba(20, 33, 63, .09);
    box-shadow: -30px 0 70px -38px rgba(11, 20, 64, .52);
    transform: translateX(104%);
    visibility: hidden;
    transition: transform .42s var(--ease), visibility 0s linear .42s;
  }

  .mobile-nav-open .mobile-nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .3s var(--ease), visibility 0s;
  }

  .mobile-nav-open .mobile-nav {
    transform: translateX(0);
    visibility: visible;
    transition: transform .42s var(--ease), visibility 0s;
  }

  html.mobile-nav-open,
  body.mobile-nav-open {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  .mobile-nav__head {
    display: flex;
    min-height: calc(68px + env(safe-area-inset-top));
    align-items: center;
    justify-content: space-between;
    padding: env(safe-area-inset-top) 18px 0 20px;
    border-bottom: 1px solid var(--line-soft);
  }

  .mobile-nav__brand {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
  }

  .mobile-nav__brand .nav__mark {
    background: var(--grad-blue);
  }

  .mobile-nav__close {
    position: relative;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 13px;
    background: rgba(20, 33, 63, .055);
  }

  .mobile-nav__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 19px;
    height: 1.5px;
    border-radius: 99px;
    background: currentColor;
  }

  .mobile-nav__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-nav__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .mobile-nav__body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px 18px 28px;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav__home {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border-radius: 13px;
    color: #fff;
    background: var(--grad-blue);
    font-size: 16px;
    font-weight: 680;
    box-shadow: 0 12px 26px -16px rgba(30, 58, 186, .58);
  }

  .mobile-nav__group {
    margin-top: 24px;
  }

  .mobile-nav__group h2 {
    margin: 0 0 9px;
    color: var(--mute);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .11em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
  }

  .mobile-nav__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mobile-nav__links a {
    display: flex;
    min-height: 70px;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 11px 12px;
    border: 1px solid rgba(20, 33, 63, .08);
    border-radius: 13px;
    background: rgba(255, 255, 255, .62);
    box-shadow: 0 8px 22px -20px rgba(11, 20, 64, .35);
  }

  .mobile-nav__links a span {
    font-size: 14px;
    font-weight: 680;
    line-height: 1.2;
  }

  .mobile-nav__links a small {
    display: block;
    margin-top: 4px;
    color: var(--mute);
    font-size: 11px;
    line-height: 1.3;
  }

  .mobile-nav__links--compact a {
    min-height: 46px;
  }

  .mobile-nav__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }

  .mobile-nav__chips a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 0 13px;
    border: 1px solid rgba(47, 107, 235, .16);
    border-radius: 999px;
    background: rgba(47, 107, 235, .07);
    color: var(--body);
    font-size: 13px;
    font-weight: 620;
  }

  .mobile-nav a[aria-current="page"] {
    border-color: rgba(47, 107, 235, .45);
    box-shadow: inset 0 0 0 1px rgba(47, 107, 235, .16);
  }

  .mobile-nav__home[aria-current="page"] {
    border-color: transparent;
    box-shadow: 0 12px 26px -16px rgba(30, 58, 186, .58), inset 0 0 0 2px rgba(255, 255, 255, .66);
  }

  .mobile-nav__actions {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 9px;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-soft);
    background: rgba(248, 243, 233, .9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .mobile-nav__actions a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 660;
  }

  .mobile-nav__login {
    border: 1px solid rgba(20, 33, 63, .13);
    background: rgba(255, 255, 255, .68);
  }

  .mobile-nav__actions .btn {
    gap: 7px;
    color: #fff;
    box-shadow: 0 12px 24px -15px rgba(30, 58, 186, .6);
  }

  /* Shared footer: prevent the fixed-width newsletter from widening the page. */
  .footer {
    padding: 72px 0 calc(28px + env(safe-area-inset-bottom));
    border-radius: 34px 34px 0 0;
  }

  .footer__news {
    align-items: stretch;
    gap: 20px;
  }

  .footer__form {
    width: 100%;
    min-width: 0;
  }

  .footer__form input {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    font-size: 16px;
  }

  .footer__form button {
    min-height: 46px;
    white-space: nowrap;
  }

  .footer__bar {
    gap: 14px;
    align-items: flex-start;
  }

  /* Every accordion remains easy to tap, even when copy wraps in Dutch. */
  .faq-item__q,
  .ind-faq__q,
  .oli-faq__q,
  .pg-faq__q {
    min-height: 52px;
    padding-block: 15px;
    text-align: left;
  }

  .modal__box {
    width: calc(100% - 32px);
    border-radius: 16px;
  }

  /* Local horizontal components may scroll; the document itself may not. */
  .cmp,
  .sc-cmp,
  .pf-board,
  .blg-cats__row,
  .dln-toc {
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .section {
    padding-block: 54px;
  }

  .h-display {
    font-size: clamp(34px, 9vw, 42px);
  }

  .h2 {
    font-size: clamp(28px, 7.8vw, 34px);
  }

  .lead {
    font-size: clamp(15.5px, 4.2vw, 17px);
    line-height: 1.5;
  }

  .nav__inner {
    width: calc(100% - 24px);
  }

  .nav__logo {
    font-size: 18px;
  }

  .nav .btn--sm {
    padding-inline: 12px;
    font-size: 13px;
  }

  .footer__bookend {
    margin-bottom: 42px;
  }

  .footer__ctas {
    align-items: stretch;
    flex-direction: column;
  }

  .footer__ctas .btn,
  .footer__ctas .play-link {
    justify-content: center;
  }

  .footer__news,
  .footer__form {
    flex-direction: column;
  }

  .footer__form button {
    width: 100%;
  }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
  }

  .footer__bar {
    flex-direction: column;
  }

  /* A phone should show the breadth of the customer base, not two oversized marks. */
  .logos {
    padding-block: 22px;
  }

  .logos__label {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .logos .marquee {
    width: 100%;
  }

  .logos .marquee__row {
    align-items: center;
  }

  .logos .marquee__logo {
    gap: 8px;
    margin-right: 22px;
    font-size: 15px;
    white-space: nowrap;
  }

  .logos .marquee__ic {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 7px;
  }

  /* Audience pages: preserve the full cinematic photograph, then give the
     message its own compact panel. Desktop keeps the full-bleed composition. */
  body.aud-page .aud-hero {
    display: flex;
    min-height: auto;
    padding: 64px 0 0 !important;
    background: #0b1440;
    text-align: center;
  }

  body.aud-page .aud-hero__bg {
    position: relative;
    inset: auto;
    order: 0;
    width: 100%;
    aspect-ratio: 1916 / 821;
    background: #0b1440;
  }

  body.aud-page .aud-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  body.aud-page .aud-hero__scrim {
    display: none;
  }

  body.aud-page .aud-hero > .wrap {
    order: 1;
    width: 100%;
    max-width: none;
    padding: 28px 16px 36px;
    background:
      radial-gradient(70% 90% at 100% 0%, rgba(47, 107, 235, .22), transparent 70%),
      linear-gradient(164deg, #14274e, #0b1440 72%);
  }

  body.aud-page .aud-hero h1 {
    max-width: 18ch;
    font-size: clamp(30px, 8.5vw, 35px);
    line-height: 1.04;
  }

  body.aud-page .aud-hero .lead {
    max-width: 36ch;
    margin-top: 14px;
    font-size: 15.5px;
    line-height: 1.48;
  }

  body.aud-page .aud-copy-desktop {
    display: none;
  }

  body.aud-page .aud-copy-mobile {
    display: inline;
  }

  body.aud-page .aud-hero__cta {
    margin-top: 20px;
  }

  body.aud-page .aud-hero__cta .btn {
    width: auto;
    min-width: 174px;
  }

  /* Industry pages use the same photo-first logic. Their source files are
     16:9, so this stage shows every pixel rather than cropping ~3/4 of it. */
  body.ind-page .oli-hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    padding-top: 64px;
    background: #0b1440;
  }

  body.ind-page .oli-hero__photo {
    position: relative;
    inset: auto;
    order: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  body.ind-page .oli-hero__scrim,
  body.ind-page .oli-hero__scroll {
    display: none;
  }

  body.ind-page .oli-hero__wrap {
    position: relative;
    order: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 27px 16px 36px;
    background:
      radial-gradient(70% 100% at 100% 0%, rgba(47, 107, 235, .2), transparent 70%),
      linear-gradient(164deg, #14274e, #0b1440 72%);
  }

  body.ind-page .oli-hero__block {
    width: 100%;
    max-width: 520px;
    align-self: center;
  }

  body.ind-page .oli-hero h1 {
    font-size: clamp(30px, 8.5vw, 35px);
    line-height: 1.04;
    text-shadow: none;
  }

  body.ind-page .oli-hero__sub {
    max-width: 38ch;
    margin-top: 14px;
    font-size: 15.5px;
    line-height: 1.48;
  }

  body.ind-page .oli-hero__cta {
    margin-top: 20px;
  }

  body.ind-page .oli-sec {
    padding-block: 52px;
  }

  /* Product-page rhythm: smaller editorial type and complete hero media. */
  body.srx-page .srx-hero h1,
  body.sc-page .sc-hero h1,
  body.atx-page .atx-hero h1,
  body.pass-page .psp-hero h1 {
    font-size: clamp(31px, 8.8vw, 36px);
    line-height: 1.04;
  }

  body.srx-page .srx-hero .lead,
  body.sc-page .sc-hero .lead,
  body.atx-page .atx-hero .lead,
  body.pass-page .psp-hero .lead {
    font-size: 15.5px;
    line-height: 1.48;
  }

  body.atx-page .atx-hero {
    padding-bottom: 44px;
  }

  body.atx-page .atx-hero__screen {
    aspect-ratio: 2.05 / 1;
    background: transparent;
  }

  body.atx-page .atx-hero__screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
  }

  /* The eyebrow repeats each ATS feature title (for example Messaging /
     Message on WhatsApp). Remove that repetition on the phone. */
  body.atx-page .atx-row__k {
    display: none;
  }

  body.atx-page .atx-row__txt h3 {
    margin-top: 0;
    font-size: clamp(27px, 7.6vw, 32px);
  }

  body.srx-page .srx-hero,
  body.sc-page .sc-hero,
  body.atx-page .atx-hero,
  body.pass-page .psp-hero {
    min-height: auto;
  }

  body.srx-page .srx-hero,
  body.sc-page .sc-hero,
  body.atx-page .atx-hero {
    padding-top: calc(var(--nav-h, 64px) + 28px);
    padding-bottom: 44px;
  }

  body.srx-page .srx-hero__grid,
  body.sc-page .sc-hero__grid {
    gap: 24px;
  }

  body.srx-page .srx-hero__cta,
  body.sc-page .sc-hero__cta,
  body.atx-page .atx-hero__cta,
  body.pass-page .psp-hero__cta {
    margin-top: 20px;
  }

  body.srx-page .srx-hero__proof,
  body.sc-page .sc-hero__proof,
  body.atx-page .atx-hero__proof {
    margin-top: 15px;
    font-size: 12.5px;
  }

  body.srx-page .srx-cards {
    width: min(100%, 340px);
    gap: 8px;
  }

  body.srx-page .srx-card {
    gap: 9px;
    padding: 10px 11px;
    border-radius: 13px;
  }

  body.srx-page .srx-card:nth-child(2) {
    margin-left: 12px;
  }

  body.srx-page .srx-card:nth-child(3) {
    margin-left: 6px;
  }

  body.srx-page .srx-card__ava {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  body.srx-page .srx-card__b b {
    font-size: 13px;
  }

  body.srx-page .srx-card__b span,
  body.srx-page .srx-card__src b {
    font-size: 10.5px;
  }

  body.srx-page .srx-card__src span {
    display: none;
  }

  body.pass-page .psp-hero__grid {
    gap: 28px;
  }

  body.pass-page .psp-visual {
    width: min(100%, 330px);
    margin-inline: auto;
  }
}

@media (min-width: 421px) and (max-width: 1024px) {
  .mobile-nav__links--solutions > a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 4px);
    justify-self: center;
  }
}

@media (max-width: 420px) {
  .nav__inner {
    gap: 8px;
  }

  .nav .btn--sm {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 12.5px;
  }

  .mobile-nav__links {
    grid-template-columns: 1fr;
  }

  .mobile-nav__links a {
    min-height: 58px;
  }

  .mobile-nav__links--compact {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-nav__links--compact a {
    min-height: 46px;
  }

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

@media (max-width: 350px) {
  .nav__actions {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav,
  .mobile-nav-backdrop,
  .mobile-nav-toggle > span:not(.sr-only) {
    transition-duration: .01ms !important;
  }
}

/* ============================================================
   Type floor on phones (audit, 2026-09-12). Labels inside the product mocks
   were set at 8.5 to 10.5px, which is unreadable on a phone. Nothing under
   11px at 480 and below; the mocks keep their layout because the rows are
   flex and the values are tabular.
   ============================================================ */
@media (max-width: 480px) {
  .pf-cand__ro, .pf-cand__ro *, .bd__chip, .bd__chip * { font-size: 11px !important; }
  .pf-cand__nm, .pf-cand__nm * { font-size: 12px !important; }
  .hb__id, .hb__id *, .c-badge, .c-badge *, .bd__who, .bd__who *, .ov__r, .ov__r *,
  .rc__sparklab, .rc__th, .rc__th *, .kb__p *, .sc-hero .ok, .sc-hero .ok *,
  .sc-hero .gcard__lab, .sc-hero .gcard__lab *, .sc-hero .wait, .sc-hero .wait *,
  .jbpl, .jbpl *, .jbreq, .jbreq *, .pw-chn, .pw-chn *, .rx-chn, .rx-chn *,
  .pf__q i, .tsw .tag, .vb__doc p, .vb__doc *, .vb__hd em, .gcard__lab span, .gcard__lab b,
  .topbar, .topbar *, .plx-chips *, .gcard *, .srx-card *, .pass-card *, .mc__lang, .mc__t,
  .cmp *, .ev__src *, .ask__src, .lg__lab b, .lg__b, .kb__col > i, .cc__st i, .qt__st i { font-size: 11.5px !important; }
}

/* The Hire page mocks were drawn for 680px. On a phone the board squeezed four
   columns until names broke one word per line, and the overview's four stat
   tiles clipped on the right (audit, 2026-09-12). The board becomes a swipeable
   row of real-width columns, the way an ATS actually behaves on a phone; the
   stats go two by two. */
@media (max-width: 480px) {
  .bd__cols { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 168px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: none; }
  .bd__cols::-webkit-scrollbar { display: none; }
  .bd__c { scroll-snap-align: start; min-height: 260px; }
  .ov__nums { grid-template-columns: repeat(2, 1fr); }
  .ov__cols { grid-template-columns: minmax(0, 1fr); }
}
