/* Shared styles for the home page and the Resources page */
    :root {
      --navy-dark: #0a192f;
      --navy-primary: #0f2744;
      --blue-primary: #0369a1;
      --blue-hover: #0369a1;
      --blue-soft: #e0f2fe;
      --emerald-primary: #047857;
      --emerald-soft: #ecfdf5;
      --bg-page: #f8fafc;
      --border-light: #e2e8f0;
      --text-dark: #0f172a;
      --text-muted: #64748b;
    }
    html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
    /* overflow-x: clip hides sideways overflow WITHOUT turning the page into a scroll container,
       so position: sticky (nav bar, Previous/Next bar) keeps working */
    html, body { overflow-x: clip; overflow-y: visible; }

    body {
      background-color: var(--bg-page);
      color: #1e293b;
      font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
      margin: 0;
      padding: 0;
    }
    /* One container width for nav, hero, sections and footer so everything lines up */
    .wrap { max-width: 1200px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }

    /* ---------------- Header: small utility line + main navigation ---------------- */
    .site-nav { background: #ffffff; border-bottom: 1px solid var(--border-light); position: sticky; top: 0; z-index: 1000; }
    .nav-util { display: flex; justify-content: flex-end; align-items: center; gap: 0.6rem; padding-top: 0.45rem; font-size: 0.82rem; color: #64748b; }
    .nav-util a { color: #334155; text-decoration: underline; text-underline-offset: 2px; }
    .nav-util a:hover { color: #0369a1; }
    .nav-row { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; height: 64px; }
    .nav-row .brand { justify-self: start; }
    .nav-row .nav-cta { justify-self: end; }
    .brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--text-dark); font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.015em; }
    .brand i { font-style: normal; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, #0369a1, #1d4ed8); color: #fff; display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 4px 12px rgba(3, 105, 161, 0.25); }
    .brand span { white-space: nowrap; }
    .brand-img img { height: 52px; width: auto; display: block; }
    .brand-mark { width: 40px; height: 40px; border-radius: 50%; display: block; flex: none; }
    @media (max-width: 760px) { .brand-img img { height: 40px; } }
    @media (max-width: 380px) { .brand-img img { height: 36px; } }
    .brand span { line-height: 1.05; }
    .brand small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #64748b; margin-top: 4px; }
    .site-footer .brand small { color: #94a3b8; }
    @media (max-width: 380px) { .brand small { font-size: 0.5rem; letter-spacing: 0.08em; } }
    .brand b { color: #0369a1; font-weight: 800; }
    .nav-menu { display: flex; align-items: center; justify-content: center; gap: 2.6rem; }
    .nav-menu a { color: #1e293b; text-decoration: none; font-weight: 500; font-size: 1.02rem; padding: 0.4rem 0; border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s; }
    .nav-menu a:hover { color: #0369a1; border-color: #0369a1; }
    .nav-cta { background: linear-gradient(135deg, #0369a1, #1d4ed8); color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem; padding: 0.75rem 1.4rem; border-radius: 9px; box-shadow: 0 4px 12px rgba(3, 105, 161, 0.25); transition: filter 0.15s, transform 0.15s; white-space: nowrap; }
    .nav-cta:hover, .nav-cta:focus-visible { filter: brightness(1.1); transform: translateY(-1px); }
    .cta-short { display: none; }

    /* ---------------- Hero: full-width banner with rotating slides ---------------- */
    .hero { position: relative; background: #0f1f4d; color: #fff; overflow: hidden; }
    .hero-bg { position: absolute; inset: 0; }
    .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; opacity: 0; transition: opacity 0.8s ease; }
    .hero-bg img.is-active { opacity: 1; }
    .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(10, 25, 74, 0.94) 0%, rgba(15, 40, 112, 0.86) 38%, rgba(23, 50, 124, 0.45) 68%, rgba(23, 50, 124, 0.15) 100%); pointer-events: none; }
    .hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 640px); align-items: center; min-height: 500px; padding-top: 3rem; padding-bottom: 6rem; }
    .hb-slides { display: grid; grid-template-columns: minmax(0, 1fr); }
    .hb-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s; }
    .hb-slide.is-active { opacity: 1; visibility: visible; }
    .hero-eyebrow { display: block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #bfdbfe; margin: 0 0 0.9rem; }
    .hb-slide h1, .hb-slide .slide-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 1.1rem; color: #fff; }
    .hb-slide p { font-size: 1.2rem; line-height: 1.65; color: #eff6ff; margin: 0 0 2rem; max-width: 560px; }
    .hero-outline { display: inline-block; border: 1.5px solid #fff; color: #fff; text-decoration: none; font-weight: 600; font-size: 1.02rem; padding: 0.8rem 1.7rem; border-radius: 8px; transition: background 0.15s, color 0.15s; }
    .hero-outline:hover, .hero-outline:focus-visible { background: #fff; color: #17327c; }
    .hero-dots { position: absolute; left: 1.5rem; bottom: 3.6rem; display: flex; gap: 0.5rem; }
    .hero-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.45); cursor: pointer; transition: width 0.25s, background 0.25s; }
    .hero-dot.is-active { width: 44px; background: #fff; }
    .hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

    /* white stat panel that overlaps the bottom of the hero */
    .stats-wrap { position: relative; z-index: 2; margin-top: -3rem; }
    .stats { background: #fff; border: 1px solid var(--border-light); border-radius: 16px; box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12); display: grid; grid-template-columns: repeat(4, 1fr); }
    .stat { padding: 1.4rem 1.5rem; border-left: 1px solid var(--border-light); }
    .stat:first-child { border-left: 0; }
    .stat strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.6rem; color: #0f172a; line-height: 1.15; }
    .stat span { color: #64748b; font-size: 0.92rem; }

    /* floating shortcut rail (desktop only) */
    .rail { position: fixed; right: 0; top: 46%; z-index: 900; background: #fff; border: 1px solid var(--border-light); border-right: 0; border-radius: 12px 0 0 12px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14); display: flex; flex-direction: column; }
    .rail a { display: grid; place-items: center; width: 52px; height: 56px; color: #0369a1; }
    .rail a + a { border-top: 1px solid var(--border-light); }
    .rail a:hover, .rail a:focus-visible { background: #eff6ff; }
    .rail svg { width: 24px; height: 24px; }

    @media (max-width: 1320px) { .rail { display: none; } }
    .nav-menu a { white-space: nowrap; }
    /* dropdown menus */
    .dd { position: relative; }
    .dd.dd-pos { position: static; }
    .dd-btn { font: inherit; font-weight: 500; font-size: 1.02rem; color: #1e293b; background: none; border: 0; border-bottom: 2px solid transparent; padding: 0.4rem 0; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
    .dd-btn:hover, .dd-btn[aria-expanded="true"] { color: #0369a1; border-color: #0369a1; }
    .dd-btn:focus-visible { outline: 2px solid #0369a1; outline-offset: 3px; border-radius: 4px; }
    .dd-btn .chev { transition: transform 0.15s; }
    .dd-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
    .dd-panel { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); min-width: 290px; background: #fff; border: 1px solid var(--border-light); border-radius: 14px; box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16); padding: 0.6rem; display: none; z-index: 1100; }
    .dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
    .dd.open .dd-panel { display: block; }
    .dd-panel.dd-wide { width: 640px; left: 50%; right: auto; top: calc(100% - 6px); transform: translateX(-50%); padding: 0.8rem; }
    .dd-panel.dd-wide::before { display: none; }
    .dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem 0.5rem; }
    .nav-menu .dd-panel a { display: block; border: 0; border-radius: 9px; padding: 0.6rem 0.75rem; white-space: normal; }
    .nav-menu .dd-panel a b { display: block; font-weight: 600; font-size: 0.97rem; color: #0f172a; line-height: 1.3; }
    .nav-menu .dd-panel a small { display: block; font-size: 0.82rem; color: #64748b; margin-top: 2px; }
    .nav-menu .dd-panel a:hover, .nav-menu .dd-panel a:focus-visible { background: #eff6ff; }
    .nav-menu .dd-panel a:hover b, .nav-menu .dd-panel a:focus-visible b { color: #0369a1; }
    .nav-menu .dd-panel a.dd-all { border-top: 1px solid var(--border-light); border-radius: 0 0 9px 9px; margin-top: 0.4rem; padding-top: 0.8rem; color: #0369a1; font-weight: 700; font-size: 0.95rem; }
    @media (max-width: 900px) { .dd-panel.dd-wide { width: min(520px, calc(100vw - 2rem)); } }
    .nav-menu a.nav-home { font-weight: 600; color: #0369a1; border-color: #0369a1; }
    .dd-head { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #64748b; padding: 0.3rem 0.75rem 0.4rem; }
    .dd-panel.dd-two { display: none; width: 560px; grid-template-columns: 1fr 1fr; gap: 0.4rem; padding: 0.8rem; }
    .dd.open .dd-panel.dd-two { display: grid; }
    @media (max-width: 900px) { .dd-panel.dd-two { width: min(520px, calc(100vw - 2rem)); } }
    @media (max-width: 760px) { .dd { display: none; } }
    @media (max-width: 900px) {
      .hero-inner { min-height: 0; padding-top: 2.5rem; padding-bottom: 6rem; }
      .hero-dots { bottom: 4.4rem; }
      .hero::before { background: linear-gradient(180deg, rgba(10, 25, 74, 0.9) 0%, rgba(15, 40, 112, 0.82) 100%); }
      .stats { grid-template-columns: repeat(2, 1fr); }
      .stat:nth-child(3) { border-left: 0; }
      .stat:nth-child(n+3) { border-top: 1px solid var(--border-light); }
    }
    @media (max-width: 760px) {
      .nav-util { display: none; }
      .nav-row { height: 60px; gap: 1rem; }
      .nav-menu a { display: none; }
      .brand { font-size: 1.15rem; }
      .cta-long { display: none; }
      .cta-short { display: inline; }
      .nav-cta { padding: 0.6rem 1rem; font-size: 0.88rem; box-shadow: none; }
    }
    @media (max-width: 380px) {
      .wrap { padding-left: 1rem; padding-right: 1rem; }
      .brand { font-size: 0.95rem; gap: 0.45rem; }
      .brand i { width: 32px; height: 32px; font-size: 0.8rem !important; }
      .nav-cta { padding: 0.5rem 0.75rem; font-size: 0.82rem; }
    }
    /* Process Section */
    .how-it-works-section {
      background: #ffffff;
      padding: 3.5rem 1.5rem;
      border-bottom: 1.5px solid var(--border-light);
    }
    .section-header-center {
      text-align: center;
      max-width: 650px;
      margin: 0 auto 3rem auto;
    }
    .process-grid {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
      gap: 1.5rem;
    }
    @media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
    .process-card {
      background: #f8fafc;
      border: 1.5px solid var(--border-light);
      border-radius: 14px;
      padding: 2rem 1.5rem;
      text-align: center;
      transition: all 0.2s ease;
    }
    .process-card:hover {
      border-color: var(--blue-primary);
      transform: translateY(-3px);
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    }
    .process-num {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--blue-primary);
      color: #ffffff;
      font-weight: 800;
      font-size: 1.15rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1rem auto;
    }
    /* Job Openings Section */
    .jobs-section {
      max-width: 1200px;
      margin: 0 auto;
      padding: 4rem 1.5rem;
    }
    .jobs-header-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      flex-wrap: wrap;
      gap: 1.5rem;
      margin-bottom: 2.25rem;
      border-bottom: 1.5px solid var(--border-light);
      padding-bottom: 1.5rem;
    }
    .filter-pills-row {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
    }
    .filter-pill {
      background: #ffffff;
      border: 1.5px solid var(--border-light);
      color: #475569;
      font-size: 0.85rem;
      font-weight: 600;
      padding: 0.4rem 0.9rem;
      border-radius: 9999px;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .filter-pill:hover, .filter-pill.active {
      background: var(--blue-primary);
      border-color: var(--blue-primary);
      color: #ffffff;
    }
    /* CORPORATE JOB CARDS (Polished & Fully Formatted) */
    .jobs-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
      gap: 2rem;
    }
    .job-card-corporate {
      background: #ffffff;
      border: 1.5px solid var(--border-light);
      border-radius: 16px;
      padding: 1.85rem;
      box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .job-card-corporate:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12);
      border-color: var(--blue-primary);
    }
    .job-header-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.85rem;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
    .job-dept-pill {
      font-size: 0.76rem;
      text-transform: uppercase;
      font-weight: 700;
      letter-spacing: 0.06em;
      color: var(--blue-primary);
    }
    .job-salary-tag {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.85rem;
      font-weight: 700;
      color: #065f46;
      background: #ecfdf5;
      border: 1px solid #a7f3d0;
      padding: 0.25rem 0.65rem;
      border-radius: 9999px;
      white-space: nowrap;
    }
    .job-title-h3 {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--navy-dark);
      margin: 0.5rem 0 0.65rem 0;
      line-height: 1.35;
    }
    .job-title-h3 a { color: inherit; text-decoration: none; }
    .job-title-h3 a:hover { color: #0369a1; text-decoration: underline; }
    .job-desc-copy {
      font-size: 0.92rem;
      color: #475569;
      line-height: 1.6;
      margin: 0 0 1.25rem 0;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .job-skills-wrap {
      display: flex;
      gap: 0.45rem;
      flex-wrap: wrap;
      margin-bottom: 1.25rem;
    }
    .job-skill-chip {
      background: #f8fafc;
      color: #1e293b;
      font-size: 0.75rem;
      font-weight: 600;
      padding: 0.25rem 0.65rem;
      border-radius: 6px;
      border: 1px solid var(--border-light);
    }
    .job-meta-row {
      display: flex;
      gap: 0.6rem;
      flex-wrap: wrap;
      margin-bottom: 1.5rem;
      font-size: 0.78rem;
    }
    .job-meta-chip {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      background: #f1f5f9;
      padding: 0.28rem 0.65rem;
      border-radius: 6px;
      color: #334155;
      font-weight: 600;
    }
    .job-apply-btn {
      width: 100%;
      box-sizing: border-box;
      text-decoration: none;
      background: linear-gradient(135deg, #0369a1, #1d4ed8);
      color: #ffffff;
      border: none;
      padding: 0.85rem 1.25rem;
      border-radius: 8px;
      font-weight: 700;
      font-size: 0.95rem;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      transition: all 0.2s ease;
    }
    .job-apply-btn:hover {
      box-shadow: 0 8px 18px rgba(3, 105, 161, 0.35);
      transform: translateY(-1px);
    }
    .skip-link { position: absolute; left: -999px; top: 0; background: #0f172a; color: #fff; padding: 0.7rem 1rem; z-index: 2000; border-radius: 0 0 8px 0; }
    .skip-link:focus { left: 0; }
    .content-band { padding: 4.5rem 0; }
    .content-band.alt { background: #ffffff; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
    .content-band h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--text-dark); margin: 0 0 0.6rem; letter-spacing: -0.02em; }
    .content-band .lead { color: #475569; font-size: 1.05rem; max-width: 640px; margin: 0 0 2rem; }
    .guide-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 2rem; }
    .guide-list li { display: flex; flex-direction: column; gap: 0.15rem; padding: 1rem 1.15rem; border: 1px solid var(--border-light); border-radius: 12px; background: #fff; }
    .guide-list span { color: #475569; font-size: 0.95rem; }
    .guide-list a { color: #0369a1; font-weight: 700; text-decoration: none; }
    .guide-list a:hover { text-decoration: underline; }
    .faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 3rem; }
    .faq-grid h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; color: var(--text-dark); margin: 0 0 0.4rem; }
    .faq-grid p { margin: 0; color: #475569; line-height: 1.7; font-size: 0.97rem; }
    .faq-grid a { color: #0369a1; }
    @media (max-width: 760px) { .guide-list, .faq-grid { grid-template-columns: 1fr; } .content-band { padding: 3rem 0; } }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    }
    /* Footer */
    .site-footer { background: #091322; color: #94a3b8; font-size: 0.93rem; line-height: 1.7; margin-top: 3rem; }
    .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; padding-top: 4rem; padding-bottom: 3rem; }
    .site-footer .brand { color: #fff; margin-bottom: 1rem; }
    .site-footer .brand b { color: #38bdf8; }
    .site-footer p { margin: 0; max-width: 320px; color: #94a3b8; }
    .site-footer li { color: #94a3b8; }
    .site-footer h3 { margin: 0 0 1rem; color: #fff; font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
    .site-footer ul { list-style: none; margin: 0; padding: 0; }
    .site-footer li { margin-bottom: 0.6rem; }
    .site-footer a { color: #cbd5e1; text-decoration: none; }
    .site-footer a:hover { color: #38bdf8; text-decoration: underline; }
    .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
    .footer-bottom .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.4rem; padding-bottom: 1.6rem; font-size: 0.86rem; }
    @media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.25rem; padding-top: 3rem; } }
    @media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom .wrap { flex-direction: column; } }

    /* ------------------------------------------------------------------ */
    /* Mobile-first behaviour: jobs first, compact cards, collapsible FAQ */
    /* ------------------------------------------------------------------ */
    .jobs-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.2rem; color: var(--navy-dark); margin: 0 0 0.35rem 0; }
    main#main { display: flex; flex-direction: column; }
    main#main > section, main#main > .stats-wrap { width: 100%; min-width: 0; box-sizing: border-box; }
    #hero-section { order: 0; } #why-rcm { order: 1; } #claim-journey { order: 2; } #how-it-works { order: 3; } #jobs-section { order: 4; } #which-role { order: 5; } #rcm-terms { order: 6; } #faq { order: 7; }
    .faq-item summary { list-style: none; cursor: default; }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary h3 { margin: 0 0 0.4rem; }
    .faq-item summary::after { content: ""; }


    /* Home: industry sections */
    .why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
    .why-card { background: #f8fafc; border: 1px solid var(--border-light); border-radius: 14px; padding: 1.4rem 1.3rem; }
    .why-icon { width: 44px; height: 44px; border-radius: 12px; background: #e0f2fe; color: #0369a1; display: grid; place-items: center; margin-bottom: 0.9rem; }
    .why-icon svg { width: 24px; height: 24px; }
    .why-card h3 { margin: 0 0 0.35rem; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.08rem; color: #0f172a; }
    .why-card p { margin: 0; color: #475569; font-size: 0.95rem; line-height: 1.55; }
    .journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
    .journey li { position: relative; background: #fff; border: 1px solid var(--border-light); border-radius: 14px; padding: 1.2rem 1.25rem 1.2rem 4rem; counter-increment: step; }
    .journey li::before { content: counter(step); position: absolute; left: 1.1rem; top: 1.15rem; width: 34px; height: 34px; border-radius: 50%; background: #0369a1; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 0.95rem; }
    .journey li:last-child::before { background: #047857; }
    .journey b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; color: #0f172a; font-size: 1.02rem; margin-bottom: 0.2rem; }
    .journey span { display: block; color: #475569; font-size: 0.93rem; line-height: 1.5; }
    .journey a { display: inline-block; margin-top: 0.45rem; color: #0369a1; font-weight: 700; font-size: 0.9rem; text-decoration: none; }
    .journey a:hover { text-decoration: underline; }
    .terms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; margin: 0; }
    .term { background: #f8fafc; border: 1px solid var(--border-light); border-radius: 12px; padding: 1rem 1.15rem; }
    .term dt { font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 0.92rem; color: #0369a1; margin: 0 0 0.25rem; }
    .term dd { margin: 0; color: #475569; font-size: 0.93rem; line-height: 1.5; }
    @media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .journey, .terms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (max-width: 760px) {
      .why-grid, .journey, .terms-grid { grid-template-columns: 1fr; gap: 0.6rem; }
      .why-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 0.9rem; padding: 0.95rem 1rem; }
      .why-icon { grid-row: 1 / span 2; margin: 0; }
      .why-card h3 { font-size: 1rem; margin: 0 0 0.15rem; }
      .why-card p { font-size: 0.9rem; }
      .journey li { padding: 0.9rem 1rem 0.9rem 3.5rem; }
      .journey li::before { left: 0.9rem; top: 0.85rem; width: 30px; height: 30px; }
      .term { padding: 0.8rem 1rem; }
    }

    /* Openings as a compact stacked list on larger screens: one row per role */
    @media (min-width: 761px) {
      .jobs-grid { display: flex; flex-direction: column; gap: 0.75rem; }
      .job-card-corporate { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "dept btn" "title btn" "meta btn"; column-gap: 1.5rem; align-items: center; padding: 1rem 1.4rem; border-radius: 14px; }
      .job-card-corporate:hover { transform: none; box-shadow: 0 8px 22px -8px rgba(15, 23, 42, 0.14); }
      .job-card-corporate > div:first-child, .job-header-top { display: contents; }
      .job-card-corporate .job-dept-pill { grid-area: dept; font-size: 0.72rem; }
      .job-card-corporate .job-title-h3 { grid-area: title; margin: 0.15rem 0 0.4rem; font-size: 1.15rem; }
      .job-card-corporate .job-meta-row { grid-area: meta; margin: 0; }
      .job-card-corporate .job-salary-tag { grid-area: pay; justify-self: end; font-size: 0.92rem; padding: 0.35rem 0.8rem; }
      .job-card-corporate .job-apply-btn { grid-area: btn; width: auto; white-space: nowrap; padding: 0.7rem 1.3rem; }
      .job-card-corporate .job-desc-copy, .job-card-corporate .job-skills-wrap, .job-card-corporate > div:first-child > div[style] { display: none; }
    }
    @media (max-width: 760px) {
      /* the jobs are why people come: show them right after the hero, steps after */
      #jobs-section { order: 1; } #how-it-works { order: 2; } #why-rcm { order: 3; } #claim-journey { order: 4; }

      .hero-inner { padding-top: 1.75rem; padding-bottom: 3.6rem; gap: 0; }
      .hero-eyebrow { font-size: 0.78rem; margin-bottom: 0.6rem; }
      .hb-slide h1, .hb-slide .slide-title { font-size: 1.75rem; margin-bottom: 0.8rem; }
      .hb-slide p { font-size: 1rem; line-height: 1.6; margin-bottom: 1.4rem; }
      .hero-outline { display: block; text-align: center; padding: 0.95rem 1rem; }
      .hero-dots { left: 1rem; bottom: 1.4rem; }
      .stats-wrap { display: none; }

      .jobs-section { padding: 2rem 1rem 1rem; }
      .jobs-header-row { display: block; margin-bottom: 1.25rem; padding-bottom: 1rem; }
      .jobs-header-row > div { min-width: 0; }
      .jobs-title { font-size: 1.55rem; }
      .jobs-section p { font-size: 0.93rem; }
      /* filters become one swipeable row instead of three wrapped rows */
      .filter-pills-row { flex-wrap: nowrap; overflow-x: auto; margin: 1rem -1rem 0; padding: 0.25rem 1rem 0.5rem; width: auto; max-width: none; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
      .filter-pills-row::-webkit-scrollbar { display: none; }
      .filter-pill { flex: 0 0 auto; white-space: nowrap; padding: 0.65rem 1.05rem; font-size: 0.9rem; min-height: 44px; }

      .jobs-grid { gap: 0.9rem; }
      .job-card-corporate { padding: 1.15rem; }
      .job-title-h3 { font-size: 1.12rem; margin-top: 0.4rem; }
      .job-desc-copy { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.92rem; margin-bottom: 0.8rem; }
      .job-skills-wrap { display: none; }
      .job-meta-row { gap: 0.4rem; margin-bottom: 0.9rem; }
      .job-apply-btn { padding: 0.95rem 1rem; min-height: 48px; }

      /* how it works: four compact rows instead of four tall cards */
      .how-it-works-section { padding: 2rem 1rem; }
      .section-header-center { margin-bottom: 1.5rem; }
      .section-header-center h2 { font-size: 1.45rem; }
      .process-grid { grid-template-columns: 1fr; gap: 0.7rem; }
      .process-card { display: grid; grid-template-columns: 40px 1fr; column-gap: 0.9rem; align-items: center; text-align: left; padding: 0.9rem 1rem; }
      .process-card:hover { transform: none; }
      .process-card .process-num { grid-row: 1 / span 2; width: 40px; height: 40px; margin: 0; font-size: 1rem; }
      .process-card h3 { margin: 0 !important; font-size: 1rem; }
      .process-card p { font-size: 0.86rem !important; }

      .content-band { padding: 2.25rem 0; }
      .content-band h2 { font-size: 1.45rem; }
      .content-band .lead { font-size: 0.97rem; margin-bottom: 1.25rem; }
      .guide-list { gap: 0.6rem; }
      .guide-list li { padding: 0.8rem 1rem; }

      /* FAQ: tap a question to open it */
      .faq-grid { gap: 0; }
      .faq-item { border-top: 1px solid var(--border-light); padding: 0.2rem 0; }
      .faq-item:last-child { border-bottom: 1px solid var(--border-light); }
      .faq-item summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 0; min-height: 48px; }
      .faq-item summary h3 { font-size: 1rem; margin: 0; }
      .faq-item summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: #0369a1; flex: 0 0 auto; }
      .faq-item[open] summary::after { content: "–"; }
      .faq-item p { padding-bottom: 0.9rem; }

      .footer-grid { gap: 1.75rem; padding-top: 2.25rem; padding-bottom: 1.5rem; }
    }

    /* ================= Sharp, typographic layer ================= */
    :root { --r: 2px; }
    .brand i, .nav-cta, .dd-panel, .nav-menu .dd-panel a, .stats, .why-card, .why-icon, .journey li, .term, .process-card,
    .job-card-corporate, .job-apply-btn, .job-salary-tag, .job-meta-chip, .job-skill-chip, .job-dept-pill, .filter-pill,
    .hero-outline, .guide-list li, .faq-item, .art-pill, span[style*="border-radius"] { border-radius: var(--r) !important; }
    .rail { border-radius: 3px 0 0 3px; }
    .brand i { border-radius: 50% !important; font-size: 0.98rem; font-weight: 800; letter-spacing: -0.05em; }
    .process-num, .journey li::before { border-radius: 0 !important; }
    .hero-dot { border-radius: 0; height: 3px; width: 22px; }
    .hero-dot.is-active { width: 56px; }

    /* type */
    .kicker { display: flex; align-items: center; gap: 0.8rem; font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #0369a1; margin: 0 0 1rem; }
    .kicker::before { content: ""; width: 2.4rem; height: 2px; background: currentColor; transform-origin: left; }
    .hero-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; letter-spacing: 0.18em; display: flex; align-items: center; gap: 0.8rem; }
    .hero-eyebrow::before { content: ""; width: 2.4rem; height: 2px; background: #93c5fd; }
    .hero-inner { grid-template-columns: minmax(0, 780px); }
    .hb-slide h1, .hb-slide .slide-title { font-size: clamp(2.2rem, 5.2vw, 4.1rem); line-height: 1.03; letter-spacing: -0.04em; }
    .hb-slide p { font-size: 1.25rem; max-width: 520px; }
    .content-band h2, .jobs-title, .section-header-center h2 { font-size: clamp(2rem, 4vw, 3.1rem) !important; line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; color: #0f172a; margin: 0 0 0.9rem !important; }
    .content-band .lead, .jobs-header-row p, .section-header-center p { font-size: 1.12rem; line-height: 1.6; color: #475569; max-width: 560px; }
    .section-header-center { text-align: left; max-width: 1152px; margin: 0 auto 2.5rem; }
    .process-grid { max-width: 1152px; }
    .stats { border-radius: var(--r); border: 1px solid #cbd5e1; border-top: 3px solid #0369a1; box-shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.25); }
    .stat strong { font-size: 1.75rem; letter-spacing: -0.03em; }
    .stat span { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #64748b; }
    .why-card h3, .journey b, .process-card h3 { letter-spacing: -0.02em; }
    .term dt, .job-salary-tag, .job-dept-pill { font-family: 'JetBrains Mono', monospace; }
    .job-dept-pill { font-size: 0.7rem; letter-spacing: 0.1em; }
    .job-title-h3 { letter-spacing: -0.025em; font-weight: 800; }

    /* flat cards with a drawn accent line */
    .why-card, .term, .process-card, .journey li { background: #fff; border: 1px solid #cbd5e1; box-shadow: none; position: relative; overflow: hidden; transition: border-color 0.2s; }
    .why-card::after, .term::after, .process-card::after, .journey li::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: #0369a1; transition: width 0.35s ease; }
    .why-card:hover, .term:hover, .process-card:hover, .journey li:hover { border-color: #0369a1; transform: none; }
    .why-card:hover::after, .term:hover::after, .process-card:hover::after, .journey li:hover::after { width: 100%; }
    .why-icon { width: 40px; height: 40px; background: #0369a1; color: #fff; }
    .process-card { text-align: left; padding: 1.6rem 1.4rem; }
    .process-num, .process-num[style] { width: auto; height: auto; background: none !important; color: transparent; -webkit-text-stroke: 1.5px #0369a1; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 3.1rem; font-weight: 800; line-height: 1; margin: 0 0 0.7rem; justify-content: flex-start; letter-spacing: -0.03em; }
    .process-num[style] { -webkit-text-stroke-color: #047857; }
    .journey li { padding: 1.3rem 1.3rem 1.3rem 4.8rem; }
    .journey li::before { content: counter(step, decimal-leading-zero); background: none; color: transparent; -webkit-text-stroke: 1.3px #0369a1; width: auto; height: auto; left: 1.1rem; top: 0.95rem; display: block; font-size: 2rem; letter-spacing: -0.03em; }
    .journey li:last-child::before { background: none; -webkit-text-stroke-color: #047857; }

    /* openings rows */
    .job-card-corporate { box-shadow: none; border: 1px solid #cbd5e1; position: relative; transition: border-color 0.2s, transform 0.25s, box-shadow 0.25s; }
    .job-card-corporate::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: #0369a1; transform: scaleY(0); transform-origin: top; transition: transform 0.25s ease; }
    .job-card-corporate:hover::before { transform: scaleY(1); }
    .job-salary-tag { background: #fff; border-color: #047857; }
    .job-apply-btn svg { transition: transform 0.2s; }
    .job-apply-btn:hover svg { transform: translateX(5px); }
    .nav-menu .dd-panel a.dd-all { border-radius: 0 !important; }

    /* nav underline that draws in */
    .nav-menu a, .dd-btn { border-bottom: 0; background-image: linear-gradient(#0369a1, #0369a1); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 2px; padding-bottom: 0.45rem; transition: color 0.15s, background-size 0.28s ease; }
    .nav-menu a:hover, .dd-btn:hover, .dd-btn[aria-expanded="true"] { background-size: 100% 2px; border-color: transparent; }
    .nav-menu a.nav-home { background-size: 100% 2px; border-color: transparent; }
    .nav-menu .dd-panel a { background-image: none; padding-bottom: 0.6rem; }

    @media (min-width: 761px) {
      .job-card-corporate:hover { transform: translateX(4px); box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.22); }
    }
    @media (max-width: 760px) {
      .hb-slide h1, .hb-slide .slide-title { font-size: 1.85rem; }
      .hb-slide p { font-size: 1.02rem; }
      .content-band h2, .jobs-title, .section-header-center h2 { font-size: 1.75rem !important; }
      .content-band .lead, .jobs-header-row p, .section-header-center p { font-size: 0.98rem; }
      .process-num, .process-num[style] { font-size: 1.7rem; grid-row: 1 / span 2; width: auto; height: auto; margin: 0; }
      .process-card { padding: 0.9rem 1rem; }
      .journey li { padding: 0.9rem 1rem 0.9rem 3.6rem; }
      .journey li::before { font-size: 1.4rem; left: 0.9rem; top: 0.75rem; width: auto; height: auto; }
      .why-icon { width: 40px; height: 40px; }
    }

    /* motion (skipped entirely when the visitor prefers less motion) */
    @keyframes riseIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
    @keyframes drawLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    @keyframes slowZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
    @keyframes ddIn { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
    @media (prefers-reduced-motion: no-preference) {
      .hb-slide.is-active > * { animation: riseIn 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
      .hb-slide.is-active > :nth-child(2) { animation-delay: 0.1s; }
      .hb-slide.is-active > :nth-child(3) { animation-delay: 0.2s; }
      .hb-slide.is-active > :nth-child(4) { animation-delay: 0.3s; }
      .hero-bg img.is-active { animation: slowZoom 9s ease-out both; }
      .dd.open .dd-panel { animation: ddIn 0.18s ease-out; }
      .js .reveal:not(.in) { opacity: 0; }
      .js .reveal.in { animation: riseIn 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
      .js .kicker.reveal.in::before { animation: drawLine 0.7s 0.25s ease-out backwards; }
    }

    /* Open positions: richer motion */
    .job-card-corporate { isolation: isolate; overflow: hidden; }
    .job-card-corporate::before { left: 0; top: 0; bottom: 0; }
    .job-card-corporate::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #e0f2fe, #fff 80%); transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
    .job-card-corporate:hover::after { transform: scaleX(1); }
    .job-salary-tag { transition: background 0.25s, color 0.25s; font-variant-numeric: tabular-nums; }
    .job-card-corporate:hover .job-salary-tag { background: #047857; color: #fff; }
    .job-apply-btn { position: relative; overflow: hidden; }
    .job-apply-btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent); transform: skewX(-20deg); pointer-events: none; }
    .filter-pill { transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.15s; }
    .filter-pill:active { transform: scale(0.96); }
    @keyframes rowIn { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
    @keyframes rowSwap { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
    @keyframes shine { to { left: 130%; } }
    @media (prefers-reduced-motion: no-preference) {
      .js .job-card-corporate.reveal.in { animation: rowIn 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
      .js .job-card-corporate.swap, .js .job-card-corporate.reveal.in.swap { animation: rowSwap 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; animation-delay: calc(var(--s, 0) * 70ms); }
      .job-card-corporate:hover .job-apply-btn::after { animation: shine 0.8s ease; }
    }

    /* Stat strip: top rule draws across, figures rise in and count up, light sweep, hover underline */
    .stats { position: relative; overflow: hidden; border-top: 1px solid #cbd5e1; }
    .stats::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #0369a1; transform-origin: left; z-index: 1; }
    .stats::after { content: ""; position: absolute; top: 0; bottom: 0; left: -30%; width: 30%; background: linear-gradient(100deg, transparent, rgba(3, 105, 161, 0.09), transparent); transform: skewX(-18deg); pointer-events: none; }
    .stat { position: relative; transition: background 0.25s; }
    .stat strong { transition: color 0.25s; font-variant-numeric: tabular-nums; }
    .stat > span { transition: color 0.25s; }
    .stat::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #0369a1; transition: width 0.35s ease; }
    .stat:hover { background: #f8fafc; }
    .stat:hover::after { width: 100%; }
    .stat:hover strong { color: #0369a1; }
    @keyframes sweep { to { left: 130%; } }
    @media (prefers-reduced-motion: no-preference) {
      .stats::before { animation: drawLine 1s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
      .stats::after { animation: sweep 1.3s 1.1s ease-in-out both; }
      .js .stat.reveal.in { animation: riseIn 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; animation-delay: calc(0.35s + var(--i, 0) * 120ms); }
    }

/* Resources menu link, current-page state, and "read more" links */
.nav-menu .dd-panel a.dd-all-wide { grid-column: 1 / -1; }
.dd-btn.is-current { color: #0369a1; background-size: 100% 2px; }
.more-link { display: inline-block; margin-top: 1.3rem; color: #0369a1; font-weight: 700; text-decoration: none; background-image: linear-gradient(#0369a1, #0369a1); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 2px; padding-bottom: 3px; transition: background-size 0.28s ease; }
.more-link:hover, .more-link:focus-visible { background-size: 100% 2px; }

/* Menu labels are real links; the small arrow beside them opens the menu */
.dd { display: flex; align-items: center; }
.dd-toggle { padding: 0.4rem 0.2rem 0.45rem 0.35rem !important; background-image: none !important; }
.dd-link.is-current, .dd.open .dd-link { color: #0369a1; background-size: 100% 2px; }
.dd.open .dd-toggle .chev { transform: rotate(180deg); }
.dd-btn.is-current { color: inherit; background-size: 0 2px; }

/* Narrow tablets: tighten the header so logo, menu and button all fit */
@media (min-width: 761px) and (max-width: 1000px) {
  .nav-row { gap: 1rem; }
  .brand-img img { height: 42px; }
  .nav-menu { gap: 1.1rem; }
  .nav-cta { padding: 0.65rem 1rem; font-size: 0.88rem; }
}

/* Page banner used by the Resources and Open Positions pages */
.page-hero { position: relative; overflow: hidden; background: #0f1f4d; color: #fff; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(10, 25, 74, 0.95) 0%, rgba(15, 40, 112, 0.88) 45%, rgba(23, 50, 124, 0.5) 100%); }
.page-hero .wrap { position: relative; z-index: 2; padding-top: 3.8rem; padding-bottom: 3.8rem; }
.page-hero h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.04; letter-spacing: -0.04em; margin: 0 0 1rem; color: #fff; max-width: 780px; }
.page-hero p { font-size: 1.2rem; line-height: 1.6; color: #eff6ff; max-width: 540px; margin: 0; }
p.crumbs, .page-hero p.crumbs { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem !important; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 1.2rem; color: #bfdbfe; max-width: none; line-height: 1.4; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .page-hero .wrap { padding-top: 2.4rem; padding-bottom: 2.4rem; }
  .page-hero p { font-size: 1.02rem; }
}

/* phones: the menus are hidden (this must come after the .dd display rule above) */
@media (max-width: 760px) { .dd { display: none; } }
