/* ==========================================================================
   LTUSS Design System v4 — matched to HireRight's reference structure.
   Solid colors only (magenta as the sole accent, same role as their red).
   Montserrat for headings, Noto Sans for body. Alternating pastel section
   tints, rounded-rectangle buttons, borderless soft-shadow cards, dotted
   decorative pattern behind photos, black footer.
   ========================================================================== */

:root {
  --brand-pink: #E6007E;
  --brand-pink-dark: #b8005f;
  --brand-blue: #1E5BA8;
  --brand-purple: #7A2B8F;
  --ink: #0e0d16;             /* solid near-black — footer, dark banners */

  --bg: #ffffff;
  --fg: #14131f;
  --fg-soft: #4a4860;

  --card: #ffffff;
  --muted: #f5f4f9;
  --muted-fg: #6b6980;
  --accent: #fce8f2;
  --border: #e6e4ee;
  --header-bg: #ffffff;

  /* alternating pastel section tints, derived from brand hues (no gradient — flat fills) */
  --tint-pink: #fdeef6;
  --tint-blue: #eef3fb;

  --radius-sm: 0.4rem;
  --radius: 0.55rem;
  --radius-lg: 0.85rem;
  --radius-xl: 1.1rem;

  --shadow-xs: 0 1px 3px rgba(20,15,40,.07);
  --shadow-soft: 0 8px 24px -12px rgba(20,15,40,.14);
  --shadow-md: 0 14px 34px -16px rgba(20,15,40,.18);
  --shadow-brand: 0 18px 44px -20px rgba(20,15,40,.24);

  --ease: cubic-bezier(.16,.84,.44,1);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Noto Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.65;
}
h1, h2, h3, h4, h5, .display {
  font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  line-height: 1.2;
}
/* Explicit default sizes for headings that don't carry a Tailwind text-*
   class (e.g. plain <h3 class="font-semibold"> card titles) so they follow
   the same tightened scale rather than the browser's larger defaults. */
h2 { font-size: 1.4rem; }
h3 { font-size: 1.05rem; }
h4, h5 { font-size: .95rem; }
/* Hero page titles read bolder/tighter/uppercase — matches the reference's
   condensed all-caps H1 treatment, distinct from the lighter H2/H3 below it. */
h1, .h1-style {
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.12;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--brand-pink); color: #fff; }

/* ---------- tightened type scale — smaller text throughout ---------- */
.text-xl  { font-size: 1.0625rem !important; }
.text-2xl { font-size: 1.25rem !important; line-height: 1.3 !important; }
.text-3xl { font-size: 1.5rem !important; line-height: 1.28 !important; }
.text-4xl { font-size: 1.75rem !important; line-height: 1.22 !important; }
.text-lg  { font-size: 1rem !important; }
@media (min-width: 640px) {
  .sm\:text-2xl { font-size: 1.25rem !important; line-height: 1.3 !important; }
  .sm\:text-3xl { font-size: 1.5rem !important; line-height: 1.28 !important; }
  .sm\:text-4xl { font-size: 1.75rem !important; line-height: 1.22 !important; }
  .sm\:text-5xl { font-size: 2.1rem !important; line-height: 1.16 !important; }
}
@media (min-width: 1024px) {
  .lg\:text-6xl { font-size: 2.6rem !important; line-height: 1.12 !important; }
}

/* Headings inside a dark/white-text container (e.g. the solid-ink CTA
   banners) must stay white — the global h1–h5 rule above sets a dark
   color directly on the element, which otherwise wins over the
   inherited white from the parent's .text-white class. */
.text-white, .text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5 {
  color: #fff;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand-pink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- utility: brand (solid only) ---------- */
.text-gradient { color: var(--brand-pink); font-weight: 800; }
.text-accent { color: var(--brand-pink); font-weight: 700; }
.bg-gradient-brand { background: var(--ink); }
.bg-gradient-brand-soft { background: var(--tint-pink); }
.text-magenta { color: var(--brand-pink); }
.text-royal { color: var(--brand-blue); }
.bg-magenta { background-color: var(--brand-pink); }
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-brand { box-shadow: var(--shadow-brand); }
.shadow-pink { box-shadow: var(--shadow-soft); }
.border-brand { border-color: var(--border); }

.blob { display: none; }

/* ---------- dotted decorative pattern (replaces gradient blobs) ---------- */
.dot-grid {
  position: absolute;
  background-image: radial-gradient(circle, currentColor 1.4px, transparent 1.4px);
  background-size: 14px 14px;
  color: var(--brand-pink);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}

/* ---------- layout ---------- */
.wrap { max-width: 84rem; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 640px) { .wrap { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .wrap { padding-left: 2rem; padding-right: 2rem; } }

.section { position: relative; padding-top: 5rem; padding-bottom: 5rem; }
.section-tight { padding-top: 0; }
@media (min-width: 1024px) { .section { padding-top: 6.5rem; padding-bottom: 6.5rem; } }

/* ---------- breadcrumb ---------- */
.breadcrumb { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--muted-fg); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--muted-fg); transition: color .2s ease; }
.breadcrumb a:hover { color: var(--brand-pink); }
.breadcrumb .current { font-weight: 700; color: var(--fg); }
.breadcrumb svg { width: .7rem; height: .7rem; flex-shrink: 0; }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--border);
  background: #fff;
  padding: .38rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .66rem;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--fg-soft);
}
.eyebrow::before {
  content: "";
  width: .4rem; height: .4rem; border-radius: 999px;
  background: var(--brand-pink);
  flex-shrink: 0;
}
.eyebrow-onbrand {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.1);
  color: #fff;
}
.eyebrow-onbrand::before { background: #fff; }
.eyebrow-plain::before { display: none; }
.eyebrow-plain { padding-left: .7rem; }

/* ---------- buttons: rounded rectangles, not pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 2.85rem; padding: 0 1.5rem;
  border-radius: var(--radius);
  font-size: .82rem; font-weight: 700;
  font-family: "Montserrat", sans-serif;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--brand-pink); color: #fff; }
.btn-primary:hover { background: var(--brand-pink-dark); }
.btn-outline {
  border-color: var(--fg);
  background: #fff;
  color: var(--fg);
}
.btn-outline:hover { border-color: var(--brand-pink); color: var(--brand-pink); }
.btn-white { background: #fff; color: var(--fg); border-color: #fff; }
.btn-white:hover { border-color: var(--fg); }
.btn-sm { height: 2.35rem; padding: 0 1.15rem; font-size: .77rem; }
.btn-block { width: 100%; }

/* ---------- card ---------- */
.card {
  background: var(--card);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.card-hover { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.icon-tile {
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border-radius: var(--radius);
  background: var(--brand-pink);
  color: #fff;
  flex-shrink: 0;
}
.icon-tile svg { width: 1.35rem; height: 1.35rem; }
.icon-tile-lg { width: 3.75rem; height: 3.75rem; border-radius: var(--radius-lg); }
.icon-tile-lg svg { width: 1.8rem; height: 1.8rem; }
.icon-tile-soft { background: var(--muted); color: var(--brand-pink); }

.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-size: .82rem; font-weight: 600;
  color: var(--fg-soft);
  box-shadow: var(--shadow-xs);
  transition: border-color .2s ease;
}

/* "Learn More >" style link, matching the reference exactly */
.link-more {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .85rem; font-weight: 700; font-family: "Montserrat", sans-serif;
  color: var(--brand-pink);
  transition: gap .2s ease;
}
.link-more:hover { gap: .5rem; }
.link-more svg { width: 1rem; height: 1rem; }

.check-item { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; color: var(--fg-soft); }
.check-item svg { flex-shrink: 0; margin-top: .15rem; width: 1.05rem; height: 1.05rem; color: var(--brand-pink); }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.site-header.is-scrolled {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 8px 24px -18px rgba(20,15,40,.22);
}
.nav-link {
  padding: .55rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .82rem; font-weight: 600;
  font-family: "Montserrat", sans-serif;
  color: var(--fg-soft);
  transition: color .2s ease, background-color .2s ease;
  white-space: nowrap;
}
.nav-link:hover { color: var(--brand-pink); }
.nav-link.is-active { color: var(--brand-pink); }

.mega {
  position: fixed; top: 0; left: -9999px; padding-top: .75rem;
  width: 40rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.25rem; box-shadow: var(--shadow-brand);
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.mega-link {
  display: flex; align-items: flex-start; gap: .7rem;
  border-radius: var(--radius-sm); padding: .6rem .65rem;
  color: var(--fg-soft); transition: background-color .15s ease;
}
.mega-link:hover { background: var(--muted); }
.mega-link:hover .mega-link-title { color: var(--brand-pink); }
.mega-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 2.1rem; height: 2.1rem; border-radius: var(--radius-sm);
  background: var(--muted); color: var(--brand-pink);
}
.mega-icon svg { width: 1.1rem; height: 1.1rem; }
.mega-link-title { display: block; font-size: .83rem; font-weight: 700; font-family: "Montserrat", sans-serif; color: var(--fg); transition: color .15s ease; }
.mega-link-desc { display: block; margin-top: .1rem; font-size: .74rem; line-height: 1.4; color: var(--muted-fg); }
.mega-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: .75rem; padding-top: .9rem; border-top: 1px solid var(--border);
}
.mega-footer-text { font-size: .78rem; color: var(--muted-fg); }
.mega-cta {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .8rem; font-weight: 700; font-family: "Montserrat", sans-serif; color: var(--brand-pink);
  flex-shrink: 0;
}
.mega-cta svg { width: .9rem; height: .9rem; transition: transform .2s ease; }
.mega-cta:hover svg { transform: translateX(3px); }
.nav-chevron { display: inline-block; width: .65rem; height: .65rem; margin-left: .15rem; transition: transform .2s ease; vertical-align: -1px; }
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

/* ==========================================================================
   COOKIE CONSENT — banner + preference center modal
   ========================================================================== */
#cookieBanner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -12px 32px -12px rgba(20,15,40,.18);
  padding: 1.25rem 1.5rem;
  transform: translateY(110%);
  transition: transform .4s cubic-bezier(.16,.84,.44,1);
}
#cookieBanner.show { transform: translateY(0); }
.cookie-banner-inner { max-width: 84rem; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; justify-content: space-between; }
.cookie-banner-text { flex: 1 1 26rem; min-width: 0; }
.cookie-banner-text h2 { font-size: 1rem; font-weight: 800; margin: 0 0 .35rem; }
.cookie-banner-text p { font-size: .82rem; line-height: 1.5; color: var(--fg-soft); margin: 0; }
.cookie-banner-text a { color: var(--brand-pink); font-weight: 700; text-decoration: underline; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: .6rem; flex-shrink: 0; }
@media (max-width: 640px) {
  #cookieBanner { padding: 1.1rem 1.1rem 1.25rem; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 1rem; }
  .cookie-banner-text { flex-basis: auto; }
  .cookie-banner-actions { flex-direction: column; }
  .cookie-banner-actions .btn { width: 100%; }
}

/* Preference Center modal */
#cookieModalOverlay {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(14,13,22,.55);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
  display: flex; align-items: center; justify-content: center; padding: 1.25rem;
}
#cookieModalOverlay.show { opacity: 1; visibility: visible; }
#cookieModal {
  background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 40rem;
  max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-brand);
  transform: scale(.96) translateY(10px); transition: transform .25s ease;
}
#cookieModalOverlay.show #cookieModal { transform: scale(1) translateY(0); }
.cookie-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.5rem 1.5rem 0; }
.cookie-modal-header h2 { font-size: 1.3rem; font-weight: 800; margin: 0; }
.cookie-modal-close { flex-shrink: 0; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: var(--radius-sm); color: var(--muted-fg); transition: background-color .15s ease; }
.cookie-modal-close:hover { background: var(--muted); color: var(--fg); }
.cookie-modal-intro { padding: .5rem 1.5rem 0; font-size: .84rem; color: var(--fg-soft); line-height: 1.6; }
.cookie-cat-list { padding: 1.25rem 1.5rem 0; }
.cookie-cat { border-top: 1px solid var(--border); padding: 1.1rem 0; }
.cookie-cat:first-child { border-top: none; }
.cookie-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-cat-head h3 { font-size: .92rem; font-weight: 700; margin: 0; }
.cookie-cat-desc { margin: .4rem 0 0; font-size: .8rem; color: var(--fg-soft); line-height: 1.55; }
.cookie-cat-always { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-fg); background: var(--muted); padding: .3rem .6rem; border-radius: var(--radius-sm); flex-shrink: 0; }

/* toggle switch */
.cookie-toggle { position: relative; display: inline-block; width: 2.65rem; height: 1.5rem; flex-shrink: 0; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-track { position: absolute; inset: 0; background: var(--border); border-radius: 999px; cursor: pointer; transition: background-color .2s ease; }
.cookie-toggle-track::before { content: ""; position: absolute; left: .2rem; top: .2rem; width: 1.1rem; height: 1.1rem; background: #fff; border-radius: 50%; transition: transform .2s ease; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.cookie-toggle input:checked + .cookie-toggle-track { background: var(--brand-pink); }
.cookie-toggle input:checked + .cookie-toggle-track::before { transform: translateX(1.15rem); }
.cookie-toggle input:disabled + .cookie-toggle-track { background: #d9d7e4; cursor: default; }
.cookie-toggle input:focus-visible + .cookie-toggle-track { outline: 2px solid var(--brand-pink); outline-offset: 2px; }

.cookie-modal-footer { display: flex; flex-wrap: wrap; gap: .6rem; padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--border); margin-top: 1.25rem; }
.cookie-modal-footer .btn { flex: 1 1 auto; }

/* ==========================================================================
   LEGAL PAGE LAYOUT — sticky left sidebar TOC (Privacy / Cookie Policy)
   ========================================================================== */
.legal-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 16rem 1fr; align-items: start; } }
.legal-toc { position: sticky; top: 6rem; }
.legal-toc-list { display: flex; flex-direction: column; border-left: 2px solid var(--border); }
.legal-toc-list a {
  padding: .5rem 0 .5rem 1rem; margin-left: -2px; border-left: 2px solid transparent;
  font-size: .84rem; color: var(--muted-fg); transition: color .15s ease, border-color .15s ease;
}
.legal-toc-list a:hover { color: var(--fg); }
.legal-toc-list a.is-active { color: var(--brand-pink); border-left-color: var(--brand-pink); font-weight: 700; }
@media (max-width: 1023px) {
  .legal-toc { position: static; margin-bottom: 1rem; }
  .legal-toc-list { flex-direction: row; flex-wrap: wrap; border-left: none; border-bottom: 1px solid var(--border); padding-bottom: .5rem; }
  .legal-toc-list a { border-left: none; border-bottom: 2px solid transparent; margin-left: 0; margin-bottom: -2px; padding: .4rem .7rem; }
  .legal-toc-list a.is-active { border-bottom-color: var(--brand-pink); border-left-color: transparent; }
}
.legal-content h2 { font-size: 1.45rem; font-weight: 800; color: var(--fg); margin: 3rem 0 1.1rem; padding-bottom: .65rem; border-bottom: 2px solid var(--border); scroll-margin-top: 6rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.08rem; font-weight: 800; color: var(--fg); margin: 1.85rem 0 .65rem; }
.legal-content p { font-size: .92rem; line-height: 1.75; color: var(--fg-soft); margin: 0 0 1rem; }
.legal-content ul { margin: 0 0 1rem; padding-left: 1.4rem; list-style: disc; }
.legal-content ul ul { margin-top: .35rem; margin-bottom: 0; list-style: circle; }
.legal-content ol { margin: 0 0 1rem; padding-left: 1.4rem; list-style: decimal; }
.legal-content li { font-size: .92rem; line-height: 1.7; color: var(--fg-soft); margin-bottom: .35rem; padding-left: .2rem; }
.legal-content li::marker { color: var(--brand-pink); }
.legal-content a { color: var(--brand-pink); font-weight: 600; }
.legal-meta { font-size: .8rem; color: var(--muted-fg); margin-bottom: 2rem; }

/* multi-column mega menu (Services: pillars / solutions / talent side by side) */
.mega-columns { display: grid; gap: 1.5rem; }
.mega-col-heading { font-size: .68rem; font-weight: 800; font-family: "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-fg); margin-bottom: .5rem; padding: 0 .65rem; }
.mega-col-links { display: flex; flex-direction: column; }
.mega-col-link { display: flex; align-items: center; gap: .55rem; padding: .5rem .65rem; border-radius: var(--radius-sm); font-size: .82rem; font-weight: 600; color: var(--fg-soft); transition: background-color .15s ease, color .15s ease; }
.mega-col-link:hover { background: var(--muted); color: var(--brand-pink); }
.mega-col-icon { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; flex-shrink: 0; color: var(--brand-pink); }
.mega-col-icon svg { width: 1rem; height: 1rem; }

/* ---------- mobile nav ---------- */
#mobileNav { display: none; border-top: 1px solid var(--border); background: #fff; }
#mobileNav.open { display: block; }
.mnav-link { display: block; padding: 1.05rem .875rem; font-weight: 600; font-family: "Montserrat", sans-serif; font-size: .95rem; color: var(--fg-soft); border-bottom: 1px solid var(--border); }
.mnav-sub { padding-left: 1rem; font-size: .85rem; font-weight: 500; color: var(--muted-fg); }
.mnav-group-label { padding: 1.1rem .875rem .25rem; font-size: .7rem; font-weight: 800; font-family: "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-fg); }

/* ---------- footer: solid black, matching the reference exactly ---------- */
.site-footer { margin-top: 6rem; background: var(--ink); color: rgba(255,255,255,.7); }
.footer-heading { font-size: .75rem; font-weight: 700; font-family: "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: .09em; color: #fff; }
.footer-link { font-size: .875rem; color: rgba(255,255,255,.65); transition: color .2s ease; }
.footer-link:hover { color: var(--brand-pink); }
.social-btn {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; transition: all .2s ease;
}
.social-btn:hover { background: var(--brand-pink); border-color: var(--brand-pink); }

/* ==========================================================================
   TAB NAVIGATION — flat underline style (no pill chips)
   ========================================================================== */
.subnav {
  position: sticky; top: 4.75rem; z-index: 30;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--border);
}
.subnav-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0; }
.subnav-pill {
  flex-shrink: 0;
  padding: .95rem 1rem;
  margin: 0 .1rem;
  font-size: .8rem; font-weight: 600;
  font-family: "Montserrat", sans-serif;
  color: var(--fg-soft);
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  border-radius: 0;
  box-shadow: none;
  transition: color .2s ease, border-color .2s ease;
}
.subnav-pill:hover { color: var(--fg); }
.subnav-pill.is-active { color: var(--brand-pink); border-bottom-color: var(--brand-pink); background: none; box-shadow: none; transform: none; }

@media (max-width: 767px) {
  .subnav-inner {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding: 0 1.25rem; margin: 0 -1.25rem;
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 24px, black calc(100% - 24px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, black 24px, black calc(100% - 24px), transparent 100%);
  }
  .subnav-inner::-webkit-scrollbar { display: none; }
  .subnav-pill { padding: .95rem .85rem; }
}

.tabs-bar { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--border); }
.tab-btn {
  padding: .8rem 1rem; margin: 0 .1rem -1px;
  font-size: .8rem; font-weight: 600;
  font-family: "Montserrat", sans-serif;
  border: none; border-bottom: 2px solid transparent;
  background: none; color: var(--fg-soft); cursor: pointer;
  border-radius: 0; box-shadow: none;
  transition: color .2s ease, border-color .2s ease;
}
.tab-btn:hover { color: var(--fg); }
.tab-btn.is-active { color: var(--brand-pink); border-bottom-color: var(--brand-pink); background: none; box-shadow: none; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

@media (max-width: 767px) {
  .tabs-bar {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding: 0 1.25rem; margin: 0 -1.25rem;
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 24px, black calc(100% - 24px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, black 24px, black calc(100% - 24px), transparent 100%);
  }
  .tabs-bar::-webkit-scrollbar { display: none; }
  .tab-btn { flex-shrink: 0; white-space: nowrap; padding: .8rem .85rem; }
}

/* ---------- accordion ---------- */
.acc-item { border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; overflow: hidden; transition: border-color .2s ease; }
.acc-item.open { border-color: var(--brand-pink); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.3rem; text-align: left; background: none; border: none; cursor: pointer;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: .93rem; color: var(--fg);
}
.acc-chevron { transition: transform .3s var(--ease); flex-shrink: 0; color: var(--brand-pink); }
.acc-item.open .acc-chevron { transform: rotate(180deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc-item.open .acc-panel { max-height: 2000px; }
.acc-panel-inner { padding: 0 1.4rem 1.4rem; color: var(--muted-fg); font-size: .9rem; line-height: 1.7; }

/* ---------- forms ---------- */
.field { margin-bottom: 1.1rem; }
.field label { font-size: .85rem; font-weight: 600; font-family: "Montserrat", sans-serif; color: var(--fg-soft); display: block; margin-bottom: .4rem; }
.input, textarea.input, select.input {
  width: 100%; height: 3rem; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg); padding: 0 1rem; font-size: .9rem; font-family: inherit; color: var(--fg);
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea.input { height: auto; padding: .8rem 1rem; resize: vertical; }
.input:focus { border-color: var(--brand-pink); box-shadow: 0 0 0 3px rgba(230,0,126,.12); outline: none; }
.field-error { color: #d92662; font-size: .78rem; margin-top: .3rem; display: none; }
.field.has-error .input { border-color: #d92662; }
.field.has-error .field-error { display: block; }

/* ---------- toast ---------- */
#toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: .85rem 1.4rem; border-radius: var(--radius);
  font-size: .875rem; font-weight: 500; box-shadow: var(--shadow-brand);
  opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 100; max-width: 90vw;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- table ---------- */
.ltuss-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ltuss-table th { text-align: left; padding: .85rem 1rem; background: var(--muted); color: var(--fg); font-weight: 700; font-family: "Montserrat", sans-serif; }
.ltuss-table td { padding: .85rem 1rem; border-top: 1px solid var(--border); color: var(--fg-soft); }
.ltuss-table tr:hover td { background: var(--muted); }

/* ---------- stat strip ---------- */
.stat-strip { display: grid; gap: 0; }
.stat-block { padding: 1.5rem 1rem; text-align: center; position: relative; }
.stat-block + .stat-block::before {
  content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--border);
}
@media (max-width: 767px) { .stat-block:nth-child(3)::before { display: none; } }
.stat-num { font-family: "Montserrat", sans-serif; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.01em; color: var(--fg); }
.stat-label { margin-top: .35rem; font-size: .82rem; font-weight: 600; color: var(--fg-soft); }

.num-badge {
  font-family: "Montserrat", sans-serif;
  position: absolute; top: 1.1rem; right: 1.25rem;
  font-size: 2.5rem; font-weight: 800;
  color: var(--border);
}

/* Careers "Our Hiring Process" steps: number sits above the content,
   centered, and bold — rather than floating in the card corner. */
.process-step { text-align: center; }
.process-step .num-badge {
  position: static;
  display: block;
  margin: 0 auto .75rem;
  font-weight: 800;
  color: var(--brand-pink);
}

.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

#toTop {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 40;
  width: 2.9rem; height: 2.9rem; border-radius: var(--radius-lg);
  background: var(--brand-pink); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s var(--ease), background-color .2s ease;
}
#toTop.show { opacity: 1; pointer-events: auto; }
#toTop:hover { background: var(--brand-pink-dark); transform: translateY(-3px); }

/* ==========================================================================
   v5 — CLIENT REVIEW PASS (Aug 2026)
   Bigger headings, black text (no grey), eyebrow bullets removed, tab
   overflow fix, full-bleed dark bands, story timeline, visible social
   icons, brand-pink Vision, tighter section spacing, brand tint bgs.
   ========================================================================== */

/* 1 — no dull grey fonts anywhere: body + soft text go near-black */
:root {
  --fg-soft: #1E1E1E;
  --muted-fg: #2A2933;
}

/* 2 — remove bullet dot beside subheadings (eyebrows keep their text) */
.eyebrow::before { display: none; }
.eyebrow { padding-left: .85rem; }

/* 3 — bigger headings everywhere */
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }
h4, h5 { font-size: 1rem; }
.text-xl  { font-size: 1.15rem !important; }
.text-2xl { font-size: 1.45rem !important; line-height: 1.28 !important; }
.text-3xl { font-size: 1.8rem !important; line-height: 1.24 !important; }
.text-4xl { font-size: 2.1rem !important; line-height: 1.18 !important; }
.text-lg  { font-size: 1.05rem !important; }
@media (min-width: 640px) {
  .sm\:text-2xl { font-size: 1.45rem !important; line-height: 1.28 !important; }
  .sm\:text-3xl { font-size: 1.8rem !important; line-height: 1.24 !important; }
  .sm\:text-4xl { font-size: 2.15rem !important; line-height: 1.18 !important; }
  .sm\:text-5xl { font-size: 2.6rem !important; line-height: 1.14 !important; }
}
@media (min-width: 1024px) {
  .lg\:text-6xl { font-size: 3.1rem !important; line-height: 1.1 !important; }
}

/* 4 — tighter section rhythm (kill the excess empty space) */
.section { padding-top: 3.75rem; padding-bottom: 3.75rem; }
@media (min-width: 1024px) { .section { padding-top: 4.75rem; padding-bottom: 4.75rem; } }
.site-footer { margin-top: 4rem; }

/* 5 — tabs/subnav: never wrap to an orphan second line; scroll instead,
       centered while they fit ("safe center" falls back to start when
       overflowing, so nothing gets clipped) */
.subnav-inner, .tabs-bar {
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-start;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.subnav-inner::-webkit-scrollbar, .tabs-bar::-webkit-scrollbar { display: none; }
.subnav-pill, .tab-btn { flex-shrink: 0; white-space: nowrap; }

/* 6 — full-bleed dark band (replaces rounded black cards) */
.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-radius: 0 !important;
  padding-left: max(1.25rem, calc(50vw - 42rem));
  padding-right: max(1.25rem, calc(50vw - 42rem));
}

/* 7 — brand tint section backgrounds (variety beyond plain white) */
.bg-tint-pink { background: var(--tint-pink); }
.bg-tint-blue { background: var(--tint-blue); }

/* 8 — Vision block: brand pink, not black */
.vision-pink { background: var(--brand-pink) !important; }

/* 9 — Our Story timeline */
.timeline { position: relative; max-width: 46rem; margin: 0 auto; padding-left: 2.4rem; }
.timeline::before {
  content: ""; position: absolute; left: .55rem; top: .4rem; bottom: .4rem;
  width: 2px; background: var(--brand-pink); opacity: .3;
}
.timeline-item { position: relative; padding-bottom: 2.25rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -2.4rem; top: .35rem;
  width: 1.25rem; height: 1.25rem; border-radius: 999px;
  background: #fff; border: 3px solid var(--brand-pink);
  box-shadow: 0 0 0 4px var(--tint-pink);
}
.timeline-label {
  display: inline-block; font-family: "Montserrat", sans-serif;
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .09em; color: var(--brand-pink); margin-bottom: .3rem;
}
.timeline-item h3 { font-size: 1.2rem; font-weight: 700; }
.timeline-item p { margin-top: .45rem; font-size: .95rem; line-height: 1.7; color: var(--fg-soft); }

/* 10 — social icons: visible, larger, branded */
.social-btn {
  width: 2.9rem; height: 2.9rem;
  background: #fff; border: none; color: var(--ink);
}
.social-btn svg { width: 1.25rem; height: 1.25rem; }
.social-btn:hover { background: var(--brand-pink); color: #fff; }

/* 11 — process steps: number above, centered, bold (shared class) */
.process-step { text-align: center; }
.process-step .num-badge {
  position: static; display: block; margin: 0 auto .6rem;
  font-size: 2rem !important; font-weight: 800; color: var(--brand-pink);
}

/* 12 — header client-login dropdown trigger */
.login-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  height: 2.35rem; padding: 0 1rem;
  border-radius: var(--radius); border: 1.5px solid var(--fg);
  font-family: "Montserrat", sans-serif; font-size: .77rem; font-weight: 700;
  color: var(--fg); background: #fff; white-space: nowrap;
  transition: border-color .2s ease, color .2s ease;
}
.login-btn:hover { border-color: var(--brand-pink); color: var(--brand-pink); }

.subnav-pill:first-child, .tab-btn:first-child { margin-left: auto; }
.subnav-pill:last-child, .tab-btn:last-child { margin-right: auto; }

/* v5.1 — client follow-up notes */

/* modern 2026 chip style (replaces the outdated bordered pills) */
.pill {
  border: none;
  background: var(--tint-pink);
  color: var(--ink);
  font-weight: 600;
  box-shadow: none;
  padding: .55rem 1.15rem;
  transition: background .2s ease, transform .2s var(--ease);
}
.pill:hover { background: var(--brand-pink); color: #fff; transform: translateY(-1px); }
.pill:nth-child(even) { background: var(--tint-blue); }
.pill:nth-child(even):hover { background: var(--brand-blue); color: #fff; }

/* process cards: subtle brand gradient boxes, plain brand numbers */
.process-step {
  background: linear-gradient(160deg, #ffffff 0%, var(--tint-pink) 100%);
  border: 1px solid rgba(230,0,126,.10);
}
.process-step:nth-child(even) {
  background: linear-gradient(160deg, #ffffff 0%, var(--tint-blue) 100%);
  border-color: rgba(30,91,168,.12);
}
.process-step .num-badge { font-size: 1.7rem !important; }

/* keep the delivery-framework heading on one line where it fits */
.nowrap-lg { white-space: normal; }
@media (min-width: 1024px) { .nowrap-lg { white-space: nowrap; } }

/* v5.2 — modern bullets, page color, contact cleanup */

/* replace tick marks with a modern marker: small brand square with soft ring */
.check-item svg { display: none; }
.check-item { position: relative; padding-left: 1.35rem; }
.check-item::before {
  content: "";
  position: absolute; left: 0; top: .48em;
  width: .5rem; height: .5rem;
  border-radius: .16rem;
  background: var(--brand-pink);
  box-shadow: 0 0 0 3px var(--tint-pink);
}
ul li.check-item:nth-child(even)::before {
  background: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--tint-blue);
}

/* legal pages: markers already handled by ::marker — recolor to match */
.legal-content li::marker { color: var(--brand-pink); }

/* column headings inside big list cards get an accent underline
   (lightens the "wall of checklists" read) */
.col-heading {
  display: inline-block;
  padding-bottom: .3rem;
  border-bottom: 2.5px solid var(--brand-pink);
  margin-bottom: .35rem;
}
div:nth-child(even) > .col-heading { border-bottom-color: var(--brand-blue); }

/* tinted content cards for grids that read too plain (careers areas, etc.) */
.tint-card {
  background: linear-gradient(165deg, #ffffff 20%, var(--tint-pink) 100%);
  border: 1px solid rgba(230,0,126,.10);
}
.tint-card:nth-child(even) {
  background: linear-gradient(165deg, #ffffff 20%, var(--tint-blue) 100%);
  border-color: rgba(30,91,168,.12);
}

/* v5.3 — feature strip (replaces floating pill rows on Industries) */
.feature-strip {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-strip > div {
  background: #fff;
  padding: 1.1rem 1.15rem;
  display: flex; align-items: center; gap: .65rem;
  font-size: .9rem; font-weight: 600; color: var(--fg);
  transition: background .2s ease;
}
.feature-strip > div::before {
  content: "";
  width: .5rem; height: .5rem; flex-shrink: 0;
  border-radius: .16rem;
  background: var(--brand-pink);
  box-shadow: 0 0 0 3px var(--tint-pink);
}
.feature-strip > div:nth-child(even)::before {
  background: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--tint-blue);
}
.feature-strip > div:hover { background: var(--tint-pink); }
.feature-strip > div:nth-child(even):hover { background: var(--tint-blue); }

/* v6 — client review round 3 */

/* Industries: capability strips now wrap as compact chips that hug their
   text, instead of stretched grid cells with empty space after the label */
.feature-strip.feature-strip-inline {
  display: flex; flex-wrap: wrap; gap: .6rem;
  background: transparent; border: none; border-radius: 0; overflow: visible;
}
.feature-strip.feature-strip-inline > div {
  flex: 0 0 auto; width: auto;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: .7rem 1rem .7rem .9rem;
}

/* Legal pages (Privacy Notice, Terms of Use, Cookie Policy):
   revised bullet + content presentation */
.legal-content { max-width: 46rem; }
.legal-content h2 {
  font-size: 1.5rem; font-weight: 800; margin: 3.25rem 0 1.15rem;
  padding: 0 0 .75rem 0; border-bottom: 2px solid var(--border); position: relative;
}
.legal-content h2::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 3.25rem; height: 2px; background: var(--brand-pink);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; font-weight: 800; margin: 1.85rem 0 .6rem; }
.legal-content p { font-size: .95rem; line-height: 1.8; color: var(--fg-soft); margin: 0 0 1.05rem; }
.legal-content ul, .legal-content ol {
  list-style: none; margin: .25rem 0 1.4rem; padding: 0;
}
.legal-content li {
  position: relative; padding-left: 1.55rem; margin-bottom: .55rem;
  font-size: .95rem; line-height: 1.75; color: var(--fg-soft);
}
.legal-content li::marker { content: ""; }
.legal-content ul > li::before {
  content: ""; position: absolute; left: .15rem; top: .62em;
  width: .5rem; height: .5rem; border-radius: .16rem;
  background: var(--brand-pink);
  box-shadow: 0 0 0 3px var(--tint-pink);
}
.legal-content ul > li:nth-child(even)::before {
  background: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--tint-blue);
}
.legal-content ul ul { margin: .45rem 0 .2rem; }
.legal-content ul ul > li::before {
  width: .38rem; height: .38rem; left: .2rem; top: .68em;
  background: #fff; border: 2px solid var(--brand-pink); box-shadow: none;
}
.legal-content ul ul > li:nth-child(even)::before { border-color: var(--brand-blue); }
.legal-content ol { counter-reset: legal; }
.legal-content ol > li { padding-left: 2.1rem; }
.legal-content ol > li::before {
  counter-increment: legal; content: counter(legal);
  position: absolute; left: 0; top: .28em;
  width: 1.45rem; height: 1.45rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-family: "Montserrat", sans-serif; font-size: .68rem; font-weight: 800;
  color: var(--brand-pink); background: var(--tint-pink);
}
.legal-content li strong { color: var(--fg); font-weight: 700; }
.legal-content li > p { margin: 0; }
.legal-content a { color: var(--brand-pink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-meta {
  display: inline-block; font-size: .78rem; font-weight: 600;
  color: var(--fg-soft); background: var(--tint-pink);
  padding: .4rem .8rem; border-radius: var(--radius-sm); margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
   v6 — split header: utility row on top, nav divided left and right
   --------------------------------------------------------------------------- */

/* slim utility row, right aligned, desktop only */
.hdr-utility { border-bottom: 1px solid var(--border); }
.hdr-utility-inner {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 1.6rem; height: 2.4rem;
}
.hdr-utility-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: "Montserrat", sans-serif; font-size: .76rem; font-weight: 600;
  color: var(--muted-fg); transition: color .15s ease;
}
.hdr-utility-link:hover { color: var(--brand-pink); }
.hdr-utility-phone svg { width: .85rem; height: .85rem; color: var(--brand-pink); }

/* main row: logo, left nav, flexible gap, right nav, actions */
.hdr-main { display: flex; align-items: center; height: 5rem; gap: 1.75rem; }
.hdr-main > a[aria-label="LTUSS home"] { flex: none; }
.hdr-nav { display: none; align-items: center; gap: .125rem; }
.hdr-nav-right { margin-left: auto; }
.hdr-actions { display: none; align-items: center; gap: .5rem; flex: none; }
.hdr-main #navToggle { margin-left: auto; }

/* Five nav items plus two buttons fit from 1100px. Below that the hamburger
   takes over. The old single-row header already overflowed at 1024px. */
@media (min-width: 1100px) {
  .hdr-nav, .hdr-actions { display: flex; }
  .hdr-main #navToggle { display: none; }
}
@media (min-width: 1100px) and (max-width: 1365px) {
  .hdr-main { gap: 1.1rem; }
  .nav-link { padding-left: .55rem; padding-right: .55rem; }
}
@media (max-width: 1099px) {
  .hdr-main #navToggle { display: inline-flex; }
}
@media (max-width: 767px) {
  .hdr-utility { display: none; }
}


/* ---------------------------------------------------------------------------
   v6.1 — mobile menu accordion, so the megamenu links are reachable on phones
   --------------------------------------------------------------------------- */
#mobileNav { max-height: calc(100vh - 5rem); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mnav-inner { display: flex; flex-direction: column; padding: .75rem 0 1.75rem; }

.mnav-group { border-bottom: 1px solid var(--border); }
.mnav-trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 1.15rem .875rem; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: "Montserrat", sans-serif; font-size: .95rem; font-weight: 600;
  color: var(--fg-soft);
}
.mnav-trigger[aria-expanded="true"] { color: var(--brand-pink); }
.mnav-chevron { width: .8rem; height: .8rem; flex: none; transition: transform .2s ease; }
.mnav-trigger[aria-expanded="true"] .mnav-chevron { transform: rotate(180deg); }

.mnav-panel { display: none; padding-bottom: .85rem; }
.mnav-panel.open { display: block; }
.mnav-sub {
  display: block; padding: .85rem .875rem .85rem 1.75rem;
  font-size: .875rem; font-weight: 500; color: var(--muted-fg);
  border-bottom: 1px solid var(--border);
}
.mnav-sub:last-child { border-bottom: none; }
.mnav-sub:hover { color: var(--brand-pink); }
.mnav-sub-all { font-weight: 700; color: var(--fg-soft); }

.mnav-actions { display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem .875rem 0; }
.mnav-login { justify-content: center; width: 100%; height: 2.75rem; }

/* the cookie banner sits at z-index 200 and covered the lower half of the open
   menu on a phone, so taps landed on the banner instead of the links */
body.nav-open { overflow: hidden; }
body.nav-open #cookieBanner { display: none; }
