/* ATS overview page (ats.html). Converted once on 2026-10-11 from the design export sense-ats-overview-share.html (tokens, base, sections, agents, product, minis, feature, ats; nav.css is left to nav-footer-new.css), scoped to main.ats-overview and trimmed to the rules this page can match; maintained by hand from here on. */

/* ===== PAGE-LEVEL RULES (html, body): START: the page canvas; every other rule is scoped to main.ats-overview */

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #F4F4F7; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html { scroll-padding-top: 96px; }   /* focus and #anchor scrolling stop clear of the fixed overlay header (about 80 px tall) */

/* ===== PAGE-LEVEL RULES: END */

/* css/tokens.css */
/* ==========================================================================
   Sense HR website — design tokens
   Layout/motion language recreated from the Zyntexa reference; colour + type
   are Sense's own (Satoshi display, Inter body, brand #634AFC).
   ========================================================================== */
.ats-overview {
  /* Brand */
  --brand: #634AFC;
  --brand-hover: #4931DC;
  --brand-soft: #B8ADFF;
  --brand-10: #EFF1FF;
  --brand-20: #E5E7FF;
  --brand-glow: rgba(99, 74, 252, .35);

  /* Primary button — the ONE definition used by every primary CTA (nav, mobile menu, sections) */
  --btn-primary-bg: #634AFC;
  --btn-primary-bg-hover: #4931DC;
  --btn-primary-fg: #FFFFFF;          /* 5.4:1 on #634AFC — passes WCAG AA */
  --btn-radius: 10px;

  /* Neutrals */
  --ink: #0B0A14;                     /* dark panels */
  --ink-2: #15132A;
  --ink-3: #1C1A35;
  --page: #F4F4F7;                    /* off-white page, like the reference */
  --card: #FFFFFF;
  --text: #0B0A14;
  --text-2: #54536B;
  --text-3: #8B899E;
  --line: rgba(11, 10, 20, .08);
  --line-strong: rgba(11, 10, 20, .14);
  --line-dash: rgba(11, 10, 20, .18);
  --text-inv: #FFFFFF;
  --text-inv-2: rgba(255, 255, 255, .72);
  --text-inv-3: rgba(255, 255, 255, .5);
  --line-inv: rgba(255, 255, 255, .14);
  --live: #22B573;
  --live-bg: #E4FFE9;

  /* Type */
  --font-display: 'Satoshi', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-h1: clamp(40px, 5.2vw, 68px);
  --fs-h2: clamp(30px, 3.4vw, 46px);
  --fs-h3: clamp(22px, 2vw, 28px);
  --fs-h4: 19px;
  --fs-lede: clamp(16px, 1.25vw, 18px);
  --fs-body: 16px;
  --fs-small: 14px;
  --ls-display: -0.035em;

  /* Layout */
  --container: 1320px;
  --container-wide: 1470px;
  --gutter: 24px;
  --frame-inset: 20px;
  --section-y: clamp(80px, 9vw, 128px);

  /* Radii (reference: 100 pill · 40 panel · 30/24/20 card · 15 dropdown · 10 small) */
  --r-panel: 40px;
  --r-card-lg: 30px;
  --r-card: 24px;
  --r-md: 16px;
  --r-sm: 12px;

  /* Shadows — soft, wide blurs */
  --shadow-sm: 0 1px 2px rgba(11, 10, 20, .06), 0 0 0 1px rgba(11, 10, 20, .05);
  --shadow-md: 0 24px 56px -12px rgba(11, 10, 20, .15);
  --shadow-lg: 0 57px 70px -20px rgba(11, 10, 20, .12), 0 0 0 1px rgba(11, 10, 20, .04);
  --shadow-float: 0 18px 40px -8px rgba(20, 12, 70, .28), 0 0 0 1px rgba(11, 10, 20, .05);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-reveal: .8s;
  --reveal-y: 40px;
}

@media (max-width: 767px) {
  .ats-overview {
    --gutter: 16px;
    --frame-inset: 8px;
    --r-panel: 24px;
    --r-card-lg: 22px;
    --r-card: 20px;
  }
}

/* css/base.css */
/* ==========================================================================
   Base: reset, type, layout primitives, buttons, reveal + odometer motion
   ========================================================================== */
.ats-overview *, .ats-overview *::before, .ats-overview *::after { box-sizing: border-box; }
.ats-overview {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 var(--fs-body)/1.62 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.ats-overview img, .ats-overview picture, .ats-overview svg { display: block; max-width: 100%; }
.ats-overview img { height: auto; }
.ats-overview a { color: inherit; text-decoration: none; }
.ats-overview button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.ats-overview ul { list-style: none; margin: 0; padding: 0; }
.ats-overview p { margin: 0; }
.ats-overview h1, .ats-overview h2, .ats-overview h3, .ats-overview h4, .ats-overview h5 { margin: 0; text-wrap: balance; font-family: var(--font-display); font-weight: 500; letter-spacing: var(--ls-display); color: inherit; }
.ats-overview h1 { font-size: var(--fs-h1); line-height: 1.06; }
.ats-overview h2 { font-size: var(--fs-h2); line-height: 1.12; }
.ats-overview h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.025em; }
.ats-overview h4 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -0.015em; }
.ats-overview h5 { font-size: 15px; line-height: 1.3; letter-spacing: 0; }
.ats-overview b, .ats-overview strong { font-weight: 600; }

.ats-overview :focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.ats-overview .on-dark :focus-visible, .ats-overview .frame-dark :focus-visible, .ats-overview .hero :focus-visible { outline-color: var(--brand-soft); }

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

.ats-overview .container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ats-overview .section { padding-block: var(--section-y); }
.ats-overview .section-frame { padding-block: calc(var(--section-y) * .5); }

/* Dark inset panel — the reference's signature black rounded card */
.ats-overview .frame { margin-inline: var(--frame-inset); border-radius: var(--r-panel); position: relative; overflow: hidden; isolation: isolate; }
.ats-overview .frame-dark { background: var(--ink); color: var(--text-inv); }

/* Eyebrow pill */
.ats-overview .eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 13px/1 var(--font-body); letter-spacing: .01em;
  padding: 8px 14px; border-radius: 100px;
  background: var(--card); color: var(--brand-hover);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.ats-overview .eyebrow.on-dark { background: rgba(255, 255, 255, .08); color: #DCD6FF; box-shadow: inset 0 0 0 1px var(--line-inv); }

.ats-overview .lede { font-size: var(--fs-lede); color: var(--text-2); line-height: 1.62; }
.ats-overview .frame-dark .lede, .ats-overview .hero .lede { color: var(--text-inv-2); }

/* ---------- Buttons ---------- */
.ats-overview .btn {
  --btn-h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--btn-h); padding: 0 20px;
  border-radius: var(--btn-radius);
  font: 500 15px/1 var(--font-body); white-space: nowrap;
  transition: transform .2s var(--ease-out), background-color .2s, color .2s, box-shadow .2s, border-color .2s;
}
.ats-overview .btn:hover { transform: scale(.97); }            /* standing rule: every button scales to .97 */
.ats-overview .btn:active { transform: scale(.95); }
.ats-overview .btn-lg { --btn-h: 52px; padding: 0 26px; font-size: 16px; }
.ats-overview .btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); box-shadow: 0 8px 24px -8px rgba(99, 74, 252, .6), inset 0 1px 0 rgba(255, 255, 255, .18); }
.ats-overview .btn-primary:hover { background: var(--btn-primary-bg-hover); }
.ats-overview .btn-secondary { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.ats-overview .btn-secondary:hover { box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand-hover); }
.ats-overview .btn-secondary-dark { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.ats-overview .btn-secondary-dark:hover { background: rgba(255, 255, 255, .12); }

.ats-overview .cta-group { display: flex; flex-wrap: wrap; gap: 12px; }

.ats-overview .link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--brand-hover); }
.ats-overview .link svg { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.ats-overview .link:hover svg { transform: translateX(3px); }

/* ---------- Icon tile ---------- */
.ats-overview .icon-tile {
  width: 44px; height: 44px; border-radius: var(--r-sm); flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--brand); color: #fff;
  box-shadow: 0 8px 18px -8px rgba(99, 74, 252, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.ats-overview .icon-tile svg { width: 20px; height: 20px; }

/* ---------- Scroll reveal (fade-up, staggered by JS via --i) ---------- */
.js .ats-overview .reveal { opacity: 0; transform: translate3d(0, var(--reveal-y), 0); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .ats-overview .reveal.in { opacity: 1; transform: none; }

/* ---------- Odometer (digits roll; the real text stays in .sr-only) ---------- */
.ats-overview .odo { display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ats-overview .odo-reels { display: inline-flex; align-items: baseline; }
.ats-overview .odo-col { display: inline-block; height: 1.1em; line-height: 1.1em; overflow: hidden; vertical-align: bottom; }
.ats-overview .odo-reel { display: flex; flex-direction: column; transform: translate3d(0, 0, 0); transition: transform var(--odo-dur, 1.8s) cubic-bezier(.2, .75, .1, 1); transition-delay: var(--odo-delay, 0s); }
.ats-overview .odo-reel > span { height: 1.1em; }
.ats-overview .odo-static { display: inline-block; opacity: 0; transform: translateY(.3em); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--odo-delay, .2s); }
.ats-overview .odo-run .odo-static { opacity: 1; transform: none; }

/* ---------- Reduced motion: everything final, instantly ---------- */
@media (prefers-reduced-motion: reduce) {
  .ats-overview *, .ats-overview *::before, .ats-overview *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .ats-overview .reveal, .ats-overview .odo-static { opacity: 1 !important; transform: none !important; }
  .ats-overview .btn:hover, .ats-overview .btn:active { transform: none; }
}

/* css/sections.css */
/* ==========================================================================
   Sections (in page order)
   ========================================================================== */

/* ---------- shared heads ---------- */
.ats-overview .center-head { max-width: 780px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ats-overview .center-head p { color: var(--text-2); font-size: var(--fs-lede); max-width: 640px; margin-top: 20px; }

/* ==========================================================================
   01 HERO — dark inset frame, centred copy, dashboard + floating cards
   ========================================================================== */
.ats-overview .hero { position: relative; isolation: isolate; padding-top: calc(var(--frame-inset) + 150px); color: var(--text-inv); }

.ats-overview .hero-inner { display: flex; flex-direction: column; align-items: center; }
.ats-overview .hero-copy { max-width: 920px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ats-overview .hero-copy h1 { color: #fff; text-wrap: balance; }
.ats-overview .hero-copy .lede { max-width: 620px; margin-top: 24px; }
.ats-overview .hero-copy .cta-group { margin-top: 36px; justify-content: center; }
.js .ats-overview .hero-anim { opacity: 0; transform: translateY(16px); animation: heroIn .9s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.ats-overview .word-reveal-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.ats-overview .word-reveal { display: inline-block; transform: translateY(110%); animation: wordUp .8s var(--ease-out) forwards; }
@keyframes wordUp { to { transform: none; } }

.ats-overview .hero-visual { position: relative; width: 100%; max-width: 1180px; margin-top: 72px; perspective: 1400px; }
.ats-overview .hero-window {
  position: relative; padding: 8px; border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .08));
  box-shadow: 0 40px 100px -30px rgba(33, 18, 140, .7), inset 0 0 0 1px rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform-origin: 50% 0;
  transform: rotateX(calc(var(--tilt, 1) * 14deg)) scale(calc(1 - var(--tilt, 1) * .04));
  will-change: transform;
}
.ats-overview .hero-window img { width: 100%; border-radius: 19px; }

.ats-overview .float-card { background: #fff; color: var(--text); border-radius: var(--r-md); box-shadow: var(--shadow-float); }
.ats-overview .hero-floats { position: absolute; inset: 0; pointer-events: none; }

.ats-overview .chip { position: absolute; display: flex; align-items: center; gap: 9px; padding: 10px 14px 10px 10px; border-radius: 14px; font: 500 13.5px/1.2 var(--font-body); white-space: nowrap; animation: floatY 6s ease-in-out infinite; }
.ats-overview .chip-check { width: 24px; height: 24px; border-radius: 50%; background: var(--live-bg); color: var(--live); display: grid; place-items: center; flex-shrink: 0; }
.ats-overview .chip-check svg { width: 13px; height: 13px; }
.ats-overview .chip-1 { right: -40px; top: 9%; }
.ats-overview .chip-3 { left: 6%; bottom: 8%; animation-delay: -3s; }
.ats-overview .chip-4 { right: 12%; bottom: -22px; animation-delay: -4.5s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.js .ats-overview .hero-floats .float-card { opacity: 0; scale: .92; transition: opacity .7s var(--ease-out), scale .7s var(--ease-out); }
.js .ats-overview .hero-floats.in .float-card { opacity: 1; scale: 1; }
.ats-overview .hero-floats.in .chip-1 { transition-delay: .15s; } 
.ats-overview .hero-floats.in .chip-3 { transition-delay: .45s; } .ats-overview .hero-floats.in .chip-4 { transition-delay: .6s; }

@media (max-width: 1280px) {
   .ats-overview .chip-1 { right: -12px; } 
}
@media (max-width: 900px) {
  .ats-overview .hero { padding-top: calc(var(--frame-inset) + 120px); }
  .ats-overview .hero-visual { margin-top: 48px; }
  .ats-overview .hero-floats { position: static; pointer-events: auto; display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
  .ats-overview .hero-chips { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .ats-overview .hero-chips::-webkit-scrollbar { display: none; }
  .ats-overview .chip { position: static; scroll-snap-align: start; animation: none; box-shadow: var(--shadow-sm); }
}
@media (max-width: 767px) {
  .ats-overview .hero-window { padding: 5px; border-radius: 16px; }
  .ats-overview .hero-window img { border-radius: 12px; }
  .ats-overview .hero-copy .cta-group { width: 100%; flex-direction: column; }
  .ats-overview .hero-copy .cta-group .btn { width: 100%; }
}

/* ==========================================================================
   02 STATS STRIP — odometer counters with dashed dividers
   ========================================================================== */
.ats-overview .trust-bar { padding-block: 100px 24px; }
.ats-overview .stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 1180px; margin-inline: auto; }
.ats-overview .stat { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 40px; padding: 8px 20px; border-left: 1px dashed var(--line-dash); min-height: 148px; text-align: center; }
.ats-overview .stat:first-child { border-left: 0; }
.ats-overview .stat-top { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.ats-overview .stat-num { display: inline-flex; align-items: center; gap: 8px; font: 500 clamp(30px, 2.9vw, 44px)/1.1 var(--font-display); letter-spacing: -0.035em; color: var(--text); }
.ats-overview .stat-lbl { font-size: 15px; color: var(--text-2); }
.ats-overview .odo-emoji { font-size: .55em; vertical-align: .18em; }
@media (max-width: 1100px) {
  .ats-overview .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .ats-overview .stat:nth-child(4) { border-left: 0; }
}
@media (max-width: 640px) {
  .ats-overview .trust-bar { padding-block: 48px 8px; }
  .ats-overview .stats { grid-template-columns: 1fr 1fr; row-gap: 0; }
  .ats-overview .stat { min-height: 0; gap: 16px; padding: 22px 8px; border-top: 1px dashed var(--line-dash); }
  .ats-overview .stat:nth-child(odd) { border-left: 0; }
  .ats-overview .stat:nth-child(4) { border-left: 1px dashed var(--line-dash); }
  .ats-overview .stat:nth-child(-n+2) { border-top: 0; }
  .ats-overview .stat:last-child { grid-column: 1 / -1; }
}

/* ==========================================================================
   06 TIME & ATTENDANCE — home-three "We simplify…" layout:
   head + icon list with a progress bar on the left, tall gradient card on the right
   (stacked card of devices on top, product screenshot below). DOM keeps live order.
   ========================================================================== */
.ats-overview .ta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "head devices" "steps shot" "cta shot"; grid-template-rows: auto auto 1fr; column-gap: 88px; }
.ats-overview .ta-card-bg { grid-column: 2; grid-row: 1 / 4; border-radius: var(--r-card-lg); background: radial-gradient(70% 55% at 90% 95%, #fff 0%, transparent 70%), linear-gradient(155deg, #5238E8 0%, #8B78FF 42%, #D9D2FF 78%, #F3F0FF 100%); }
.ats-overview .ta-head { grid-area: head; padding-top: 24px; }
.ats-overview .ta-head .lede { margin-top: 20px; max-width: 520px; }
.ats-overview .ta-steps { grid-area: steps; position: relative; margin-top: 56px; padding-left: 64px; }
.ats-overview .ta-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; border-radius: 30px; background: rgba(99, 74, 252, .1); overflow: hidden; }
.ats-overview .ta-bar-fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% / 3); border-radius: 30px; background: var(--brand); transform: translateY(calc(var(--ta-i, 0) * 100%)); transition: transform .6s var(--ease-out); }
.ats-overview .ta-list { display: flex; flex-direction: column; }
.ats-overview .ta-list li { display: flex; align-items: center; gap: 20px; padding: 22px 0; font: 500 clamp(19px, 1.6vw, 22px)/1.35 var(--font-display); letter-spacing: -0.015em; color: var(--text-2); transition: color .4s; }
.ats-overview .ta-list li:first-child { padding-top: 0; }
.ats-overview .ta-list li.is-active { color: var(--text); }
.ats-overview .ta-ic { flex-shrink: 0; width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; background: #EFF1FF; color: #634AFC; }
.ats-overview .ta-ic svg { width: 24px; height: 24px; }
.ats-overview .ta-shot { grid-area: shot; position: relative; margin: 32px 44px 44px; aspect-ratio: 1 / .86; align-self: start; }
.ats-overview .ta-frame { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.ats-overview .ta-frame.is-active { opacity: 1; transform: none; }
.ats-overview .ta-frame:nth-child(1) img { max-width: 80%; max-height: 80%; }
.ats-overview .ta-frame:nth-child(2) img { box-shadow: none; border-radius: 0; }
.ats-overview .ta-frame img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: var(--r-card); box-shadow: 0 30px 60px -28px rgba(33, 18, 140, .55); }
@media (max-width: 900px) {
  .ats-overview .ta { grid-template-columns: 1fr; grid-template-areas: "head" "steps" "cta" "devices" "shot"; grid-template-rows: none; }
  .ats-overview .ta-card-bg { grid-column: 1; grid-row: 4 / 6; margin-top: 40px; }
  .ats-overview .ta-head { padding-top: 0; }
  .ats-overview .ta-steps { margin-top: 40px; padding-left: 40px; }
  .ats-overview .ta-shot { margin: 20px 16px 16px; }
}

/* ==========================================================================
   11 GET STARTED — pinned section: marquee headline behind product image,
   copy + buttons reveal on scroll (progress in --p, set by JS)
   ========================================================================== */
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   13 FOOTER — full-bleed black (oma-melon layout): brand + copyright left,
   link columns right, oversized fading wordmark at the bottom
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .ats-overview .chip { animation: none !important; }
  .ats-overview .hero-window { transform: none; }
  .js .ats-overview .hero-anim { opacity: 1; transform: none; }
  .js .ats-overview .hero-floats .float-card { opacity: 1; scale: 1; }
}

/* ==========================================================================
   Home quick fixes (30 Sep)
   ========================================================================== */
/* hero: softer screen shadow; agent feed lowered so it clears "Hi Stephany!" */
.ats-overview .hero .hero-window { box-shadow: 0 30px 70px -34px rgba(33, 18, 140, .38), inset 0 0 0 1px rgba(255, 255, 255, .25); }
/* time & attendance: animated minis on the product-page card background */
.ats-overview #time-attendance .ta-card-bg { background: #0A0916 url("/assets/images/pages/homepage/ta-card-bg.webp") center / cover no-repeat; }
.ats-overview #time-attendance .ta-frame { display: grid; place-items: center; }
/* T&A minis: frames stack in one grid cell so the area sizes to the tallest widget (no fixed-ratio overflow) */
.ats-overview #time-attendance .ta-shot { display: grid; aspect-ratio: auto; align-content: center; }
.ats-overview #time-attendance .ta-frame { position: relative; inset: auto; grid-area: 1 / 1; }
@media (max-width: 900px) { .ats-overview #time-attendance .ta-shot { margin: 24px 16px 20px; } }
/* T&A: device strip removed — the widget is centred in the whole card, a touch bigger */
.ats-overview #time-attendance .ta { grid-template-areas: "head shot" "steps shot" "cta shot"; }
.ats-overview #time-attendance .ta-card-bg { grid-row: 1 / 4; }
.ats-overview #time-attendance .ta-shot { align-self: stretch; margin: 40px; place-items: center; }
@media (min-width: 1101px) { .ats-overview #time-attendance .ta-shot .mi { zoom: 1.14; } }
@media (max-width: 900px) {
  .ats-overview #time-attendance .ta { grid-template-areas: "head" "steps" "cta" "shot"; }
  .ats-overview #time-attendance .ta-card-bg { grid-row: 4; margin-top: 40px; }
  .ats-overview #time-attendance .ta-shot { grid-row: 4; margin: 64px 16px 24px; }
}

/* css/agents.css */
/* ==========================================================================
   Agent pages — AMI hub page (sense-agent-ami.html)
   Builds on tokens/base/nav/sections from the home page; only page-specific
   patterns live here.
   ========================================================================== */

/* ---------- 05 MEET AMI IN PERSON — pay-co "Network of passionate users" layout ----------
   striped lavender card · centred copy · product shot cropped by the card's bottom edge
   inside the home page's glass frame · form bar under the copy */
.ats-overview .ami-meet-wrap { position: relative; }
.ats-overview .ami-meet { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-panel); padding: clamp(56px, 7vw, 96px) var(--gutter) 0;
  background: linear-gradient(180deg, #F7F6FF 0%, #EFEDFF 55%, #E4E0FF 100%); box-shadow: inset 0 0 0 1px rgba(99, 74, 252, .08); text-align: center; }
.ats-overview .ami-meet::before { /* vertical column stripes, fading in towards the bottom (reference texture, in Sense purple) */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(99, 74, 252, .09) 0 72px, transparent 72px 89px) center top;
  -webkit-mask-image: linear-gradient(180deg, transparent 5%, #000 95%); mask-image: linear-gradient(180deg, transparent 5%, #000 95%); }
.ats-overview .ami-meet::after { /* purple haze rising from the lower corners */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(38% 60% at 0% 100%, rgba(99, 74, 252, .38), transparent 70%), radial-gradient(38% 60% at 100% 100%, rgba(99, 74, 252, .38), transparent 70%); }
.ats-overview .ami-meet-copy { max-width: 720px; margin: 0 auto; }
.ats-overview .ami-meet-copy h2 { color: var(--text); }
.ats-overview .ami-meet-copy p { margin: 18px auto 0; color: var(--text-2); font-size: var(--fs-lede); max-width: 620px; }
.ats-overview .ami-meet-shot { position: relative; max-width: 1080px; margin: clamp(40px, 5vw, 64px) auto 0; height: clamp(240px, 33vw, 470px); overflow: hidden; }
/* same glass outline as the home page's dashboard frame (.hero-window), tuned for a light background */
.ats-overview .ami-meet-window { padding: 8px 8px 0; border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .28));
  box-shadow: 0 40px 100px -30px rgba(33, 18, 140, .35), inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px rgba(99, 74, 252, .1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ats-overview .ami-meet-window img { width: 100%; border-radius: 19px 19px 0 0; }

/* form bar: Name · Email · button, directly under the copy */
@media (max-width: 767px) {
  .ats-overview .ami-meet-shot { height: 220px; }
}

/* ---------- 06 FAQ — single rounded container with square toggles ---------- */
.ats-overview .ami-faq { max-width: 1070px; margin: 56px auto 0; border-radius: var(--r-card-lg); background: var(--card); box-shadow: var(--shadow-sm); overflow: hidden; }
.ats-overview .ami-faq-item + .ami-faq-item { border-top: 1px solid var(--line); }
.ats-overview .ami-faq-q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 40px; cursor: pointer; font: 500 clamp(17px, 1.4vw, 20px)/1.4 var(--font-display); letter-spacing: -0.01em; color: var(--text); transition: background-color .2s; }
.ats-overview .ami-faq-q::-webkit-details-marker { display: none; }
.ats-overview .ami-faq-q:hover { background: var(--page); }
.ats-overview .ami-faq-q:focus-visible { outline: 2px solid var(--brand); outline-offset: -4px; border-radius: 12px; }
.ats-overview .ami-faq-ic { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; background: var(--ink); color: #fff; transition: background-color .3s; }
.ats-overview .ami-faq-ic svg { width: 14px; height: 14px; }
.ats-overview .ami-faq-ic svg { transition: transform .35s var(--ease-out); }
.ats-overview .ami-faq-item[open] .ami-faq-ic { background: var(--brand); }
.ats-overview .ami-faq-item[open] .ami-faq-ic svg { transform: rotate(45deg); }
.ats-overview .ami-faq-a { padding: 0 104px 26px 40px; color: var(--text-2); font-size: 16px; line-height: 1.65; }
@supports (interpolate-size: allow-keywords) {
  .ats-overview .ami-faq { interpolate-size: allow-keywords; }
  .ats-overview .ami-faq-item::details-content { height: 0; overflow: hidden; transition: height .4s var(--ease-out), content-visibility .4s allow-discrete; }
  .ats-overview .ami-faq-item[open]::details-content { height: auto; }
}
@media (max-width: 767px) { .ats-overview .ami-faq { margin-top: 40px; } .ats-overview .ami-faq-q { padding: 20px; } .ats-overview .ami-faq-a { padding: 0 20px 20px; font-size: 15px; } }

/* css/product.css */
/* ==========================================================================
   HR product pages (sense-hr-*.html). HR overview first: tools/product/gen_hr_overview.py
   Builds on the home hero (.hero), stats strip (.stats), AMI Meet card + FAQ (agents.css).
   ========================================================================== */

/* ---------- 01 HERO — dark: bg_1 artwork fills the rounded hero frame; the screen is cropped by the frame's bottom edge ---------- */
.ats-overview .pd-hero { position: relative; isolation: isolate; overflow: clip; padding-top: calc(var(--frame-inset) + 150px); color: var(--text-inv); }
.ats-overview .pd-hero-bg { position: absolute; z-index: -1; inset: var(--frame-inset) var(--frame-inset) 0; overflow: hidden; border-radius: var(--r-panel) var(--r-panel) 0 0; background: #0A0B24; }
.ats-overview .pd-hero-bg picture, .ats-overview .pd-hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 0; }
/* the screen runs flat and is cut off by the bottom of the hero / prism panel */
.ats-overview .pd-hero .hero-visual { height: clamp(380px, 44vw, 640px); margin-top: 72px; perspective: none; clip-path: inset(-120px -200px 0 -200px); }   /* clip only the bottom: floating chips can still overhang the sides */
.ats-overview .pd-hero .hero-window { transform: none; will-change: auto; }
.ats-overview .pd-hero .chip-1 { top: 12%; right: -44px; }
.ats-overview .pd-hero .chip-3 { left: -40px; bottom: auto; top: 40%; }
.ats-overview .pd-hero .chip-4 { right: 8%; bottom: auto; top: 70%; }
.ats-overview .pd-hero .pd-play { top: 34%; white-space: nowrap; }
.ats-overview .pd-hero .hero-copy h1 { color: #fff; }
.ats-overview .pd-hero .hero-copy .lede { color: var(--text-inv-2); margin-top: 52px; }   /* clears the chip at the bottom of its float (+22px) */
@media (max-width: 900px) {
  .ats-overview .pd-hero { padding-top: calc(var(--frame-inset) + 120px); }
  .ats-overview .pd-hero .hero-visual { height: 64vw; margin-top: 40px; clip-path: inset(-40px -40px 0 -40px); }
  .ats-overview .pd-hero .hero-floats { display: none; }
}
.ats-overview .pd-hero .hero-copy { max-width: 1240px; }   /* room for a one-line title on wide screens */
/* floating purple card, as the AMI page header chip (agents.css .ami-chip + qzFloat) */
.ats-overview .pd-hero .hero-copy .lede { max-width: 680px; }
.ats-overview .pd-play { position: absolute; left: 50%; top: 42%; z-index: 2; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 8px; border-radius: 100px;
  background: rgba(11, 10, 20, .72); color: #fff; font: 500 15px/1 var(--font-body); box-shadow: 0 20px 40px -12px rgba(11, 10, 20, .5), inset 0 0 0 1px rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .25s var(--ease-out), background-color .25s; }
.ats-overview .pd-play:hover { transform: translate(-50%, -50%) scale(.97); background: rgba(11, 10, 20, .85); }
.ats-overview .pd-play-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); box-shadow: 0 0 0 6px rgba(99, 74, 252, .25); animation: pdRing 2s ease-out infinite; }
.ats-overview .pd-play-ic svg { width: 16px; height: 16px; margin-left: 2px; }
@keyframes pdRing { 0% { box-shadow: 0 0 0 0 rgba(123, 92, 255, .6); } 100% { box-shadow: 0 0 0 14px rgba(123, 92, 255, 0); } }
@media (max-width: 767px) {
  .ats-overview .pd-play { height: 44px; padding: 0 16px 0 6px; font-size: 13px; gap: 8px; top: 50%; }
  .ats-overview .pd-play-ic { width: 32px; height: 32px; }
}

/* ---------- 02 STATS — home strip with 4 items ---------- */
.ats-overview .pd-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1040px; }
.ats-overview .pd-stats .stat { min-height: 0; justify-content: flex-start; gap: 40px; }   /* 40px from the figure to its label */
@media (max-width: 1024px) { .ats-overview .pd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }

/* ---------- 03 BIG CLAIM — Zyntexa style giant line, auto-scrolling like the home page's "Get started" marquee (4 copies, -50% loop) ---------- */
.ats-overview .pd-claim { position: relative; overflow: clip; padding: clamp(72px, 9vw, 140px) 0 clamp(24px, 3vw, 48px); text-align: center; }
.ats-overview .pd-claim-marquee { overflow: hidden; }
.ats-overview .pd-claim-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ats-overview .pd-claim-text { flex-shrink: 0; padding: 0 .5em .08em 0; margin: 0; white-space: nowrap; text-wrap: nowrap; font: 500 clamp(76px, 12.5vw, 210px)/1 var(--font-display); letter-spacing: -0.055em; color: var(--ink); }
.ats-overview .pd-claim-tile { position: absolute; left: 50%; top: 50%; width: clamp(86px, 9vw, 132px); aspect-ratio: 1; margin: calc(clamp(86px, 9vw, 132px) / -2 - 30px) 0 0 calc(clamp(86px, 9vw, 132px) / -2);
  border-radius: 30%; display: grid; place-items: center; background: linear-gradient(145deg, #8C7BFF 0%, #634AFC 48%, #3A22C9 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -10px 22px rgba(20, 8, 90, .45), 0 34px 60px -18px rgba(62, 36, 214, .65); animation: pdTile 5s ease-in-out infinite alternate; }
.ats-overview .pd-claim-tile img { width: 50%; height: 50%; filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(20, 8, 90, .4)); }
@keyframes pdTile { from { transform: translate(-18px, -10px) rotate(-10deg); } to { transform: translate(18px, 12px) rotate(8deg); } }
.ats-overview .pd-claim-sub { max-width: 560px; margin: clamp(20px, 2.4vw, 36px) auto 0; padding-inline: var(--gutter); font: 500 clamp(20px, 2vw, 28px)/1.3 var(--font-display); letter-spacing: -0.02em; color: var(--text); }
@media (prefers-reduced-motion: reduce) {
  .ats-overview .pd-claim-track { animation: none; width: 100%; justify-content: center; padding-inline: var(--gutter); }
  .ats-overview .pd-claim-text { font-size: clamp(48px, 8vw, 120px); white-space: normal; text-wrap: balance; padding-right: 0; }
  .ats-overview .pd-claim-text[aria-hidden] { display: none; }
  .ats-overview .pd-claim-tile { display: none; }
}

/* ---------- 04 CHAPTERS — shared head + module label + "Learn more" ---------- */
.ats-overview .pd-more { display: inline-block; margin-top: 24px; font: 500 15px/1.4 var(--font-body); color: var(--brand-hover); transition: color .2s; }
.ats-overview .pd-more svg { display: inline-block; width: 16px; height: 16px; margin-left: 5px; vertical-align: -3px; transition: transform .25s var(--ease-out); }   /* arrow stays after the last word when the label wraps */
.ats-overview .pd-more:hover { color: var(--brand); }
.ats-overview .pd-more:hover svg { transform: translate(2px, -2px); }

/* 04a stacking panels — pay-co "Digital wallets → Next-gen technology": panels stick below the nav and pile up;
   the one underneath shrinks + dims as the next slides over it (js/product.js sets --p per card) */
.ats-overview .pd-stack { position: relative; margin-top: clamp(48px, 5vw, 72px); }
.ats-overview .pd-stack-card { --p: 0; position: sticky; top: calc(96px + var(--i) * 22px); margin-bottom: 36px; }
.ats-overview .pd-stack-card:last-child { margin-bottom: 0; }
.ats-overview .pd-stack-inner { position: relative; overflow: hidden; isolation: isolate; min-height: 560px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 64px); align-items: center;
  padding: clamp(32px, 4vw, 60px); border-radius: var(--r-panel); transform-origin: 50% 0; transform: scale(calc(1 - var(--p) * .05)); box-shadow: 0 -20px 60px -30px rgba(11, 10, 20, .35); }
.ats-overview .pd-stack-inner::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: #0B0A14; opacity: calc(var(--p) * .28); border-radius: inherit; }   /* dims as it's covered */
.ats-overview .pd-stack-copy { position: relative; z-index: 1; max-width: 500px; }
.ats-overview .pd-stack-copy h3 { margin-top: 18px; font-size: clamp(30px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.ats-overview .pd-stack-copy p { margin-top: 18px; font-size: 17px; line-height: 1.65; }
.ats-overview .pd-stack-visual { position: relative; z-index: 1; }
.ats-overview .pd-stack-visual .pd-frame { aspect-ratio: 1.2; }
.ats-overview .pd-stack-card .pd-stack-visual .pd-frame:has(> .mi) { background: #0A0916 url("/assets/images/pages/homepage/ta-card-bg.webp") center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }   /* Cards-image-bg.png */
.ats-overview .pd-stack-card .pd-stack-visual .pd-frame:has(> .mi)::before { display: none; }
/* themes */
.ats-overview .pd-stack-card.is-dark .pd-stack-inner { background: radial-gradient(70% 80% at 100% 0%, rgba(99, 74, 252, .38), transparent 60%), #0B0A14; color: #fff; }
.ats-overview .pd-stack-card.is-light .pd-stack-inner { background: #fff; color: var(--text); box-shadow: var(--shadow-sm), 0 -20px 60px -30px rgba(11, 10, 20, .25); }
.ats-overview .pd-stack-card.is-dark p { color: rgba(255, 255, 255, .78); }
.ats-overview .pd-stack-card.is-light p { color: var(--text-2); }

.ats-overview .pd-stack-card.is-dark .pd-bullets li { color: #fff; }
.ats-overview .pd-stack-card.is-dark .pd-bullets svg { background: rgba(123, 92, 255, .22); color: var(--brand-soft); }
.ats-overview .pd-stack-card.is-dark .pd-more { color: #fff; }
.ats-overview .pd-stack-card.is-dark .pd-frame { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ats-overview .pd-stack-card.is-dark .pd-frame::before { background: repeating-linear-gradient(90deg, rgba(184, 173, 255, .07) 0 56px, transparent 56px 70px); }
@media (max-width: 900px) {   /* panels taller than the screen can't stick: plain stacked cards */
  .ats-overview .pd-stack-card { position: relative; top: auto; margin-bottom: 20px; }
  .ats-overview .pd-stack-inner { grid-template-columns: 1fr; min-height: 0; transform: none; }
  .ats-overview .pd-stack-inner::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ats-overview .pd-stack-inner { transform: none; } .ats-overview .pd-stack-inner::after { display: none; } }

/* 04b time & performance — home .ta layout; the active step opens its paragraph + link */
.ats-overview .pd-ta { grid-template-areas: "head shot" "steps shot"; grid-template-rows: auto 1fr; }   /* no device strip: the visual spans the whole right column */
.ats-overview .pd-ta .ta-card-bg { grid-row: 1 / 3; background: #0A0916 url("/assets/images/pages/homepage/ta-card-bg.webp") center / cover no-repeat; }
.ats-overview .pd-ta .ta-shot { align-self: stretch; justify-self: stretch; margin: 36px; aspect-ratio: auto; display: grid; place-items: center; }
.ats-overview .pd-ta .ta-list li { align-items: flex-start; }
.ats-overview .pd-ta .ta-txt { display: flex; flex-direction: column; padding-top: 14px; }
.ats-overview .pd-ta-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.ats-overview .pd-ta-more-in { overflow: hidden; min-height: 0; }
.ats-overview .pd-ta .ta-list li.is-active .pd-ta-more { grid-template-rows: 1fr; }
.ats-overview .pd-ta-p { display: block; margin-top: 12px; font: 400 15.5px/1.6 var(--font-body); letter-spacing: 0; color: var(--text-2); }
.ats-overview .pd-ta .pd-more { margin-top: 12px; font-size: 14.5px; }
.ats-overview .pd-ta .ta-list li { cursor: default; }
.ats-overview .pd-ta .ta-bar-fill { top: 0; height: var(--ta-h, calc(100% / 3)); transform: translateY(var(--ta-top, 0px)); transition: transform .5s var(--ease-out), height .5s var(--ease-out); }
.ats-overview .pd-ta-frame { display: grid; place-items: center; }
.ats-overview .pd-ta-frame picture { display: contents; }
.ats-overview .pd-ta .ta-frame:nth-child(1) img { max-width: 100%; max-height: 100%; }
.ats-overview .pd-ta .ta-frame:nth-child(2) img { box-shadow: 0 30px 60px -28px rgba(33, 18, 140, .55); border-radius: var(--r-card); }

/* 04a spotlight rows — text + bullets | framed visual, alternating */
.ats-overview .pd-spot { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ats-overview .pd-spot-copy { max-width: 520px; }
.ats-overview .pd-spot-copy h3 { margin-top: 18px; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.12; letter-spacing: -0.03em; }
.ats-overview .pd-spot-copy p { margin-top: 18px; color: var(--text-2); font-size: 17px; line-height: 1.65; }
.ats-overview .pd-bullets { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ats-overview .pd-bullets li { display: flex; align-items: center; gap: 12px; font: 500 15px/1.3 var(--font-body); color: var(--text); }
.ats-overview .pd-bullets svg { width: 22px; height: 22px; flex-shrink: 0; padding: 4px; border-radius: 7px; background: var(--brand-10); color: var(--brand); }
.ats-overview .pd-frame { position: relative; aspect-ratio: 1.18; padding: clamp(18px, 2.6vw, 36px); border-radius: var(--r-card-lg); overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #EEEBFF 0%, #E4DFFF 100%); box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.ats-overview .pd-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, rgba(99, 74, 252, .07) 0 56px, transparent 56px 70px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%); mask-image: linear-gradient(180deg, transparent, #000 70%); }
.ats-overview .pd-frame picture { display: block; width: 100%; height: 100%; }
.ats-overview .pd-frame img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(49, 30, 160, .18)); }
@media (max-width: 900px) {
  .ats-overview .pd-spot { grid-template-columns: 1fr; gap: 32px; }
  .ats-overview .pd-spot-copy { max-width: none; }
}

/* 04c dark panel — two halves */
.ats-overview .pd-dark { padding-block: var(--section-y); }
.ats-overview .pd-dark::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("/assets/images/agents/ami-intro.svg") center top / 100% auto no-repeat; }
.ats-overview .pd-dark .pd-more { color: #fff; }
.ats-overview .pd-dark .pd-more:hover { color: var(--brand-soft); }

/* 04d bento — self-service access points + payroll */
.ats-overview .pd-bento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; margin-top: clamp(48px, 5vw, 72px); }
.ats-overview .pd-tile { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-card-lg); background: var(--card); box-shadow: var(--shadow-sm); }
.ats-overview .pd-tile h3 { margin-top: 14px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.18; letter-spacing: -0.02em; }
.ats-overview .pd-tile p { margin-top: 14px; color: var(--text-2); font-size: 16px; line-height: 1.65; }
.ats-overview .pd-tile .pd-more { margin-top: auto; padding-top: 22px; }
@media (max-width: 1024px) {
  .ats-overview .pd-bento { grid-template-columns: 1fr; }
}

/* ---------- 05 CTA — two buttons in the AMI Meet card ---------- */
.ats-overview .pd-meet-cta { justify-content: center; margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  .ats-overview .pd-play-ic { animation: none; }
}

/* Insight & control + payroll tile: animated minis on the cards background, glass border */
@media (max-width: 767px) { .ats-overview .pd-hero .hero-copy .lede { margin-top: 48px; } }

/* time & performance, stacked (mobile/tablet): visual below the steps, on the card background */
@media (max-width: 900px) {
  .ats-overview .pd-ta { grid-template-areas: "head" "steps" "shot"; grid-template-rows: none; }
  .ats-overview .pd-ta .ta-card-bg { grid-column: 1; grid-row: 3; margin-top: 40px; }
  .ats-overview .pd-ta .ta-shot { grid-row: 3; margin: 64px 20px 24px; }
}

/* stats, 4 items: a clean 2×2 on phones (the home rules are built for 5: last item spans, 4th gets a border) */
@media (max-width: 767px) {
  .ats-overview .pd-stats { grid-template-columns: 1fr 1fr; }
  .ats-overview .pd-stats .stat { gap: 16px; padding: 22px 8px; border-top: 1px dashed var(--line-dash); }
  .ats-overview .pd-stats .stat:nth-child(-n+2) { border-top: 0; }
  .ats-overview .pd-stats .stat:nth-child(odd) { border-left: 0; }
  .ats-overview .pd-stats .stat:nth-child(even) { border-left: 1px dashed var(--line-dash); }
  .ats-overview .pd-stats .stat:last-child { grid-column: auto; }
  .ats-overview .pd-stats .stat-num { font-size: 30px; }
}

/* big claim: the S tile sits above the scrolling line instead of over it */
.ats-overview .pd-claim { display: flex; flex-direction: column; align-items: center; }
.ats-overview .pd-claim-marquee { width: 100%; }
.ats-overview .pd-claim .pd-claim-tile { position: relative; left: auto; top: auto; order: -1; margin: 0 0 clamp(32px, 4vw, 52px); }
/* header pill: gentler float, so the description can sit closer (user, 1 Oct) */
.ats-overview .pd-hero .hero-copy .lede { margin-top: 34px; }
@media (max-width: 767px) { .ats-overview .pd-hero .hero-copy .lede { margin-top: 32px; } }
.ats-overview .pd-claim .pd-claim-tile { margin-bottom: clamp(4px, 1vw, 14px); }   /* closer to the sliding line (user, 1 Oct) */
@media (max-width: 767px) { .ats-overview .pd-claim .pd-claim-tile { margin-bottom: 20px; } }

/* css/minis.css */
/* ==========================================================================
   Animated product mini-UIs (tools/product/minis.py · js/minis.js), rebuilt from the exported designs.
   States are toggled by classes; with reduced motion / no JS they show the designed end state.
   ========================================================================== */
.ats-overview .mi { position: relative; font-family: var(--font-body); color: #2C2853; text-align: left; background: #fff; box-shadow: 0 40px 70px -30px rgba(33, 18, 140, .45), 0 0 0 1px rgba(11, 10, 20, .04); }
.ats-overview .mi svg { display: block; }
.ats-overview .pd-frame .mi { margin: auto; }
.ats-overview .pd-frame .mi img { filter: none; }   /* not the frame's product-screenshot image rules */

/* cursor (moved by js/minis.js) */
.ats-overview .mi-cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 22px; height: 22px; pointer-events: none; opacity: 0;
  transform: translate(var(--cx, 60%), var(--cy, 110%)); transition: transform .9s cubic-bezier(.5, 0, .2, 1), opacity .3s; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .25)); }
.ats-overview .mi.is-cursor .mi-cursor { opacity: 1; }
.ats-overview .mi-cursor.is-press svg { transform: scale(.82); transition: transform .12s; }
.ats-overview .mi-cursor svg { width: 22px; height: 22px; transition: transform .2s; transform-origin: 20% 15%; }

/* ---------- AMI assistant (291×329 export) ---------- */

@keyframes miDot { 50% { transform: translateY(-4px); background: #894AFF; } }
.ats-overview .mi-caret::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: #894AFF; animation: miBlink .8s steps(1) infinite; }
@keyframes miBlink { 50% { opacity: 0; } }

/* frames holding a mini-UI size to it (the fixed aspect ratio would crop the taller widgets) */
.ats-overview .pd-frame:has(> .mi) { aspect-ratio: auto; padding: clamp(24px, 3vw, 40px); }

/* translucent glass border on the card animations — same treatment as the hero product window */
.ats-overview .pd-stack-visual .mi { border: 8px solid rgba(255, 255, 255, .16); background-clip: padding-box;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 40px 70px -30px rgba(0, 0, 0, .6); }

/* frames that hold the new minis */
.ats-overview .pd-ta-frame .mi { margin: auto; }
.ats-overview .pd-ta .mi { border: 8px solid rgba(255, 255, 255, .16); background-clip: padding-box; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 40px 70px -30px rgba(0, 0, 0, .6); }

/* inside the time & performance frames: undo the home .ta-frame screenshot rules for the minis' own images,
   and stack the frames in one grid cell so the area sizes to the tallest mini (no fixed ratio cropping) */
.ats-overview .pd-ta .ta-shot { display: grid; aspect-ratio: auto; }
.ats-overview .pd-ta .pd-ta-frame { position: relative; inset: auto; grid-area: 1 / 1; }
.ats-overview .pd-ta .ta-frame .mi img { position: static; inset: auto; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; border-radius: 0; box-shadow: none; }

/* time & performance visuals a touch bigger on desktop */
@media (min-width: 1101px) { .ats-overview .pd-ta .mi { zoom: 1.14; } }

/* ---------- inside the home T&A frames: undo the screenshot rules, centre, glass border ---------- */
.ats-overview .ta-frame:has(> .mi) { display: grid; place-items: center; }
.ats-overview .ta-frame .mi img { position: static; inset: auto; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; border-radius: 0; box-shadow: none; }
.ats-overview .ta-shot .mi { border: 8px solid rgba(255, 255, 255, .16); background-clip: padding-box; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 40px 70px -30px rgba(0, 0, 0, .6); }
.ats-overview .ta-shot .mi { max-width: 100%; }

/* permissions: bigger */

.ats-overview .pd-ta .mi { max-width: 100%; }
@media (max-width: 1100px) { .ats-overview .pd-ta .mi { zoom: 1; } }

/* ---------- Counsel (Counsel.svg) ---------- */

.ats-overview .pd-stack-inner { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
@media (max-width: 900px) { .ats-overview .pd-stack-inner { grid-template-columns: minmax(0, 1fr); } }

/* ===== every animation panel: 16px visible corners (user, 1 Oct). Where a panel has the 8px glass border, the outer
   radius is 24px so the white panel inside it reads as 16px. ===== */
.ats-overview .mi { border-radius: 16px !important; }
.ats-overview .pd-stack-visual .mi, .ats-overview .pd-ta .mi, .ats-overview .ta-shot .mi { border-radius: 24px !important; }

/* ===================== Lifecycle v3 — continuous journey with depth (user brief, 1 Oct) ===================== */

/* ---------- ATS → Sense HR (ATS HR.svg), with an animated connection ---------- */
.ats-overview .mi-ah { width: min(500px, 100%); padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: center; background: none !important; box-shadow: none !important; border: 0 !important; }
.ats-overview .mi-ah-side { padding: 12px; border-radius: 16px; background: #F7F6FD; box-shadow: 0 0 0 1px #ECEBFA, 0 24px 44px -26px rgba(33, 18, 140, .45); transition: box-shadow .5s, transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.ats-overview .mi-ah-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 10px; } .ats-overview .mi-ah-top b { font: 500 13px/1 var(--font-body); color: #2C2853; }
.ats-overview .mi-ah-tag { padding: 4px 8px; border-radius: 6px; background: #EFD6FF; color: #8400FF; font: 500 10.5px/1 var(--font-body); }
.ats-overview .mi-ah-card { padding: 8px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #EEF0F6; }
.ats-overview .mi-ah-name { display: flex; align-items: center; gap: 9px; padding: 4px 0 10px; font: 500 12.5px/1 var(--font-body); color: #2C2853; }
.ats-overview .mi-ah-av { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; } .ats-overview .mi-ah-av img { width: 100%; height: 100%; object-fit: cover; }
.ats-overview .mi-ah-f { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid #F1F2F6; font-size: 11px; color: #6C7597; transition: opacity .35s, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.ats-overview .mi-ah-f b { font-weight: 500; color: #2C2853; }
.ats-overview .mi-ah-st { padding: 4px 8px; border-radius: 6px; background: #E5FDF0; color: #007C66; font-weight: 500; }
.ats-overview .mi-ah-link { position: relative; height: 100%; display: grid; place-items: center; }
.ats-overview .mi-ah-line { position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; margin-top: -1px; background-image: linear-gradient(90deg, #B8ADFF 55%, transparent 0); background-size: 7px 2px; animation: ahDash .6s linear infinite; }
@keyframes ahDash { to { background-position: 7px 0; } }
.ats-overview .mi-ah-sync { position: relative; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #634AFC; box-shadow: 0 0 0 1px #E1DCFF, 0 8px 18px -8px rgba(99, 74, 252, .6); transition: background-color .3s, color .3s; }
.ats-overview .mi-ah-sync svg { width: 15px; height: 15px; }
.ats-overview .mi-ah.is-syncing .mi-ah-sync { background: #634AFC; color: #fff; } .ats-overview .mi-ah.is-syncing .mi-ah-sync svg { animation: ahSpin .8s linear infinite; }
@keyframes ahSpin { to { transform: rotate(360deg); } }
.ats-overview .mi-ah-pkt { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 3px; background: #634AFC; box-shadow: 0 0 12px 3px rgba(123, 92, 255, .7); opacity: 0; }
.ats-overview .mi-ah-pkt.is-go { animation: ahPkt .9s cubic-bezier(.45, 0, .2, 1) both; }
@keyframes ahPkt { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.ats-overview .mi-ah-lbl { position: absolute; top: calc(50% + 22px); font: 500 9.5px/1 var(--font-body); color: #007C66; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.ats-overview .mi-ah.is-synced .mi-ah-lbl { opacity: 1; transform: none; }
.ats-overview .mi-ah.is-pre [data-side="hr"] .mi-ah-f, .ats-overview .mi-ah.is-pre [data-side="hr"] .mi-ah-name { opacity: 0; transform: translateX(-10px); }
.ats-overview [data-side="hr"] .mi-ah-f, .ats-overview [data-side="hr"] .mi-ah-name { transition-delay: calc(var(--k, 0) * .12s); }
.ats-overview .mi-ah-side.is-hot { box-shadow: 0 0 0 1.5px #8C7BFF, 0 24px 44px -26px rgba(33, 18, 140, .55); transform: translateY(-2px); }
.ats-overview .pd-stack-visual .mi-ah, .ats-overview .pd-ta .mi-ah { border: 0 !important; }
@media (max-width: 600px) { .ats-overview .mi-ah { grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); } .ats-overview .mi-ah-side { padding: 8px; } .ats-overview .mi-ah-card { padding: 6px 8px; } .ats-overview .mi-ah-f { font-size: 10px; } .ats-overview .mi-ah-st { padding: 3px 5px; } .ats-overview .mi-ah-sync { width: 24px; height: 24px; } }
@media (prefers-reduced-motion: reduce) { .ats-overview .mi-ah-line { animation: none; } }

/* ===== onboarding fixes (user, 1 Oct) ===== */

/* ATS → HR: "Synced" in white */
.ats-overview .mi-ah-lbl { color: #fff; text-shadow: 0 1px 6px rgba(20, 8, 90, .5); }

/* ==========================================================================
   Absence (page 7) — Record absences.svg, In and out.svg, rules and reactions.svg, bradford.svg, Tackle.svg, RTW.svg
   ========================================================================== */

/* in the Absence panels / frames */

.ats-overview .pd-spot-visual .pd-frame:has(> .mi) { background: #0A0916 url("/assets/images/pages/homepage/ta-card-bg.webp") center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.ats-overview .pd-spot-visual .pd-frame:has(> .mi)::before { display: none; }
.ats-overview .pd-spot-visual .mi { border: 8px solid rgba(255, 255, 255, .16); background-clip: padding-box; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 40px 70px -30px rgba(0, 0, 0, .6); }

/* ==========================================================================
   Customisation (page 9) — Screen details.svg (660×620) + custom-data workflow (new graphic)
   ========================================================================== */

/* payslip assistant (Payslip.svg 451×301) */



/* ---------- Recruitment: Vacancies page ---------- */
/* hero: AMI vacancy set-up chat (live sense.hr/vacancies.html image 1.png, shown ~1.15×) */

.ats-overview .mi-vc.is-pre :is(.mi-vc-h, .mi-vc-p, .mi-vc-btns, .mi-vc-ask):not(.is-in) { opacity: 0; transform: translateY(8px); }

/* ---------- Recruitment: Vacancies page exports (user, 6 Oct) — palette: #393940 text, #6B6D80 grey, #9802A0 / #B000BA magenta, #FAF1FB / #F8E7F9 pinks ---------- */
.ats-overview .pd-ta .ta-frame .mi :is(.mi-su-av, .mi-su-rav, .mi-vb-logo, .mi-vg-co) img { border-radius: 0; }

/* vacancies board (Vacancies.svg 768×660) */

.ats-overview .mi-vg-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.ats-overview .mi-vg-card { display: flex; flex-direction: column; padding: 12px 14px 14px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #EFEEF3;
  transition: opacity .45s var(--ease-out), transform .55s var(--ease-out); transition-delay: calc(var(--k) * 120ms); }
.ats-overview .mi-vg-top { display: flex; align-items: center; justify-content: space-between; }
.ats-overview .mi-vg-badge { padding: 3px 7px; border-radius: 5px; font: 500 11px/1.2 var(--font-body); }
.ats-overview .mi-vg-badge.is-open { background: #E5FDF0; color: #007C66; } .ats-overview .mi-vg-badge.is-hold { background: #F8E7F9; color: #9802A0; }
.ats-overview .mi-vg-dots { width: 14px; height: 14px; color: #4E4D54; }
.ats-overview .mi-vg-card > b { margin-top: 10px; font: 600 13px/1.25 var(--font-body); color: #393940; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ats-overview .mi-vg-loc { margin-top: 3px; font-size: 11.5px; color: #393940; }
.ats-overview .mi-vg-meta { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 11px; color: #4E4D54; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ats-overview .mi-vg-loc + .mi-vg-meta { margin-top: 12px; }
.ats-overview .mi-vg-meta svg { flex-shrink: 0; width: 12px; height: 12px; }
@media (max-width: 600px) {   
    .ats-overview .mi-vg-cards { grid-template-columns: 1fr; gap: 10px; } .ats-overview .mi-vg-card:nth-child(n+3) { display: none; } }

/* vacancy board (Post and track.svg 506×341) */

.ats-overview .pd-stack-visual :is(.mi-vg, .mi-vo, .mi-jp, .mi-ht) { border-radius: 22px; }
@media (max-width: 600px) {   /* phones: thinner frame and glass border around the vacancy panels, more room for the UI */
  .ats-overview .pd-stack-visual :is(.mi-vg, .mi-vo, .mi-jp, .mi-ht) { border-width: 5px; border-radius: 18px; }

  .ats-overview .mi-vg-card { padding: 10px 12px 12px; } .ats-overview .mi-vg-meta { font-size: 10px; gap: 5px; } .ats-overview .mi-vg-meta svg { width: 11px; height: 11px; }
}
.ats-overview .mi-vg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .ats-overview .mi-vg-cards { grid-template-columns: minmax(0, 1fr); }    }
@media (max-width: 360px) {   /* narrowest phones */
  .ats-overview .mi-vg-meta { white-space: normal; }

}

/* ==========================================================================
   Recruitment: Pipelines page exports (user, 6 Oct) — tools/product/minis.py pipeline_board … benefit_roles.
   Same palette as the vacancies minis (#393940 text, #6B6D80 grey, #9802A0 / #B000BA magenta); stage colours from Pipeline.svg / Define.svg.
   ========================================================================== */
.ats-overview .pl-sub { --st-bg: #FFF7D8; --st-fg: #965509; --st-chip: #FFF0B6; --st-line: #E2B23A; }
.ats-overview .pl-rev { --st-bg: #F8E7F9; --st-fg: #9802A0; --st-chip: #F2CAF4; --st-line: #D27ADA; }
.ats-overview .pl-scr { --st-bg: #E5FDF0; --st-fg: #007C66; --st-chip: #C0FFDD; --st-line: #2DB383; }
.ats-overview .pl-n { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 6px; background: var(--st-chip); color: var(--st-fg); font: 500 11.5px/1 var(--font-body); font-variant-numeric: tabular-nums; }
.ats-overview .pl-n svg { width: 12px; height: 12px; } .ats-overview .pl-n i { font-style: normal; }
.ats-overview .pl-cb { flex-shrink: 0; width: 13px; height: 13px; border-radius: 3px; background: #fff; box-shadow: inset 0 0 0 1px #E2E1E6; }
.ats-overview .pl-card { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 10px 0 11px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px #EFEEF3; }
.ats-overview .pl-card b { flex: 1; min-width: 0; font: 400 12.5px/1.2 var(--font-body); color: #393940; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ats-overview .pl-dots { flex-shrink: 0; width: 16px; height: 16px; color: #4E4D54; }
.ats-overview .pl-col { flex: 0 0 214px; display: flex; flex-direction: column; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #EFEEF3; overflow: hidden; }
.ats-overview .pl-col-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 7px 8px; padding: 12px 11px 12px 13px; background: var(--st-bg); color: var(--st-fg); }
.ats-overview .pl-col-h b { font: 600 13px/1.25 var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ats-overview .pl-col-x { width: 12px; height: 12px; margin-top: 2px; }
.ats-overview .pl-col-h > span:not(.pl-n) { font-size: 11px; line-height: 1.4; }
.ats-overview .pl-col-list { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.ats-overview .pl-slot { display: block; flex-shrink: 0; height: 0; margin-top: -8px; transition: height .55s var(--ease-out), margin-top .55s var(--ease-out); }   /* closed: takes back its gap */
.ats-overview .pl-slot.is-open { height: 38px; margin-top: 0; }
.ats-overview .pl-card.is-float { position: absolute; left: 0; top: 0; z-index: 4; width: var(--w); transform: translate(var(--dx), var(--dy)) rotate(var(--rot, 0deg));
  transition: transform .9s cubic-bezier(.5, 0, .2, 1), box-shadow .3s, opacity .4s; }
.ats-overview .pl-card.is-float.is-lift { --rot: -4deg; box-shadow: inset 0 0 0 1px #EFEEF3, 0 18px 30px -12px rgba(33, 18, 60, .35); }
.ats-overview .pl-card.is-float.is-gone { opacity: 0; }

/* the export's grab hand replaces the arrow while dragging */
.ats-overview .mi-cursor .mi-hand { display: none; width: 22px; height: 22px; color: #0B0A14; }
.ats-overview .mi-cursor.is-grab > svg:first-child { display: none; } .ats-overview .mi-cursor.is-grab .mi-hand { display: block; }
.ats-overview .pd-ta .ta-frame .mi :is(.mi-pz-av) img { border-radius: 50%; }

/* hero board (Pipeline.svg 450×474) */
.ats-overview .mi-pb { width: min(520px, 100%); border-radius: 18px; overflow: hidden; background: #FBFBFB; }
.ats-overview .mi-pb-head { padding: 22px 22px 0; } .ats-overview .mi-pb-h { display: block; font: 600 21px/1.2 var(--font-body); color: #393940; letter-spacing: -.01em; }
.ats-overview .mi-pb-loc { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: #6B6D80; } .ats-overview .mi-pb-loc svg { width: 13px; height: 13px; }
.ats-overview .mi-pb-tabs { display: flex; gap: 20px; margin: 16px 22px 0; border-bottom: 1px solid #EFEEF3; white-space: nowrap; overflow: hidden; font-size: 12.5px; color: #6B6D80; }
.ats-overview .mi-pb-tabs span { position: relative; padding-bottom: 10px; } .ats-overview .mi-pb-tabs .is-on { color: #9802A0; } .ats-overview .mi-pb-tabs .is-on::after { content: ""; position: absolute; left: -3px; right: -3px; bottom: -1px; height: 2px; background: #9802A0; }
.ats-overview .mi-pb-board { display: flex; gap: 14px; height: 340px; padding: 18px 20px 22px; overflow: hidden; }   /* 4 cards fit in a column */
.ats-overview .mi-pb .pl-col { height: 100%; }
@media (max-width: 600px) { .ats-overview .mi-pb-head { padding: 18px 16px 0; } .ats-overview .mi-pb-h { font-size: 18px; } .ats-overview .mi-pb-tabs { margin: 14px 16px 0; gap: 16px; font-size: 12px; }
  .ats-overview .mi-pb-board { padding: 16px; gap: 12px; height: 324px; } .ats-overview .mi-pb .pl-col { flex-basis: 184px; } }

/* frames: the pipelines panels take the vacancy panels' glass border and phone padding; hero: the vacancies chat's frame */
.ats-overview .pd-stack-visual :is(.mi-pv, .mi-pk, .mi-px) { border-radius: 22px; }
@media (max-width: 600px) {  .ats-overview .pd-stack-visual :is(.mi-pv, .mi-pk, .mi-px) { border-width: 5px; border-radius: 18px; } }

/* ==========================================================================
   Recruitment: Integrations page (tools/product/minis.py integrations_hub … benefit_email). ATS palette; connected / synced states in the exports' mint
   ========================================================================== */
.ats-overview :is(.mi-ih-logo, .mi-sr-src, .mi-sr-av, .mi-iy-logo, .mi-iy-flogo, .mi-ay-logo, .mi-ap-logo, .mi-ap-slogo, .b10-logo, .b10-av, .b11-av, .b11-sav, .b11-g) img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ats-overview .pd-ta .ta-frame .mi :is(.mi-ay-logo, .mi-ap-logo, .mi-ap-slogo) img { border-radius: 50%; }

@keyframes plSpin { to { transform: rotate(1turn); } }

/* step 1 — active automations (Auto-sync.svg 374×197) */

.ats-overview .mi-ay-row:is(.is-run, .is-done) > span:not(.mi-ay-lw) { color: #5E6B85; }

/* frames: stack-card glass border + phone padding for the panels; the dark Indeed panel's frame takes the card image, like the stack visuals */
.ats-overview .pd-stack-visual :is(.mi-vb, .mi-sr) { border-radius: 22px; }
@media (max-width: 600px) {  .ats-overview .pd-stack-visual :is(.mi-vb, .mi-sr) { border-width: 5px; border-radius: 18px; } }
.ats-overview .ats-dark .pd-frame:has(> .mi) { background: #0A0916 url("/assets/images/pages/homepage/ta-card-bg.webp") center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); grid-template-columns: minmax(0, 1fr); }   /* fixed column: one-line text inside can't stretch the panel past the frame on phones */
.ats-overview .ats-dark .pd-frame:has(> .mi)::before { display: none; }
.ats-overview .ats-dark .pd-spot-visual .mi { border: 8px solid rgba(255, 255, 255, .16); background-clip: padding-box; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 40px 70px -30px rgba(0, 0, 0, .6); border-radius: 24px !important; }   /* the glass-bordered panels' 24px (the site-wide .mi rule is 16px !important) */
@media (max-width: 600px) { .ats-overview .ats-dark .pd-spot-visual .mi { border-width: 5px; } }

/* ==========================================================================
   Recruitment: ATS Workflows page (minis.py workflow_journey … applicant_hired) — new graphics, no UI supplied (user, 6 Oct):
   the ATS features style — stage colours, white cards on #FBFBFB, magenta for Sense actions, mint for sent / done
   ========================================================================== */
.ats-overview .pl-swap { display: grid; } .ats-overview .pl-swap > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; transition: opacity .3s; } .ats-overview .pl-swap > .is-on { opacity: 0; } .ats-overview .pl-swap svg { width: 11px; height: 11px; }
.ats-overview :is(.b12-av, .b14-av, .b16-av, .wh-av) img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* hero — one vacancy's journey, a workflow email at each step */

.ats-overview :is(.mi-wj.is-s1 .wj-st:nth-child(-n+1), .mi-wj.is-s2 .wj-st:nth-child(-n+2), .mi-wj.is-s3 .wj-st) { color: #393940; }
.ats-overview :is(.mi-wj.is-s1 .wj-st:nth-child(-n+1), .mi-wj.is-s2 .wj-st:nth-child(-n+2), .mi-wj.is-s3 .wj-st) .wj-dot { background: #1BCAA7; box-shadow: none; color: #fff; }
.ats-overview :is(.mi-wj.is-s2 .wj-st:nth-child(2), .mi-wj.is-s3 .wj-st:nth-child(-n+3))::after { transform: scaleX(1); }
.ats-overview :is(.mi-wj.is-s0 .wj-mail, .mi-wj.is-s1 .wj-mail:nth-child(n+2), .mi-wj.is-s2 .wj-mail:nth-child(n+3)) { opacity: 0; transform: translateY(6px); }

/* Vacancy Request & Approval (b12): each approver approves, then the request is Approved */

  .ats-overview :is(.b12-vs, .b12-st) > .is-on { background: #E3FDF0; color: #007C66; }
.ats-overview :is(.mi-b12.is-done .b12-row, .b12-row.is-ok) .b12-st > .is-off { opacity: 0; }
.ats-overview :is(.mi-b12.is-done .b12-row, .b12-row.is-ok) .b12-st > .is-on { opacity: 1; }
.ats-overview :is(.mi-b12.is-done .b12-row, .b12-row.is-ok) { box-shadow: inset 0 0 0 1px #B8EDD3; }

/* Auto Approve Vacancies (b13): switched on, new vacancies arrive already approved */

 .ats-overview :is(.b13-row.is-off, .b13-row.is-new) .b13-ok { opacity: 0; transform: scale(.7); }

/* ATS Pipeline Notifications (b15): moved to Interview, the email goes out, its merge tags fill in */
@keyframes plStagePop { 45% { transform: scale(1.1); } }

/* ==========================================================================
   Recruitment: Career site page (minis.py benefit_live_updates … review_candidates) — new graphics in the ATS features style
   ========================================================================== */
.ats-overview :is(.rc-av) img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* bento · Your Employer Brand (animated): the brand controls restyle the careers page */

.ats-overview .mi-b18.is-serif :is(.b18-h, .b18-rows b) { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; }

/* ==========================================================================
   Recruitment: Right-to-work page (minis.py rtw_hero … rtw_result) — new graphics in the ATS style: magenta / pinks, mint for passes
   ========================================================================== */
.ats-overview :is(.rh-av, .b22-av, .rg-av, .rr-av) img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* shared: the phone, its screens, the passport and the selfie oval */
.ats-overview .rw-phone { position: relative; z-index: 2; flex-shrink: 0; width: 190px; height: 340px; padding: 8px; border-radius: 32px; background: #1C1B22; box-shadow: 0 30px 50px -24px rgba(30, 10, 40, .55), inset 0 0 0 2px #34333C; }
.ats-overview .rw-scr { position: relative; height: 100%; border-radius: 25px; background: #fff; overflow: hidden; }
.ats-overview .rw-s { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 14px 16px; text-align: center; opacity: 0; transform: translateX(16px); transition: opacity .4s, transform .5s var(--ease-out); }
.ats-overview .rw-s small { font-size: 10px; color: #8A8DA0; } .ats-overview .rw-s b { font: 600 13.5px/1.25 var(--font-body); color: #393940; }
.ats-overview .rw-s.is-end { justify-content: center; } .ats-overview .rw-s.is-end > span:last-child { font-size: 11px; color: #6B6D80; }
.ats-overview :is(.is-s0 [data-s="0"], .is-s1 [data-s="1"], .is-s2 [data-s="2"], .is-s3 [data-s="3"]).rw-s { opacity: 1; transform: none; }
.ats-overview .rw-ok { width: 50px; height: 50px; padding: 13px; border-radius: 50%; background: #E3FDF0; color: #007C66; } .ats-overview .rw-ok svg { width: 100%; height: 100%; }
.ats-overview .rw-doc { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 7px 10px; width: 100%; margin-top: 10px; padding: 10px; border-radius: 10px; text-align: left; overflow: hidden;
  background: linear-gradient(135deg, #FAF1FB, #F2E1F6); box-shadow: inset 0 0 0 1px #EBD3EE; }
.ats-overview .rw-doc-ph { width: 34px; height: 42px; padding: 5px; border-radius: 6px; background: #fff; color: #C9A6CF; } .ats-overview .rw-doc-ph svg { width: 100%; height: 100%; }
.ats-overview .rw-doc-l { display: flex; flex-direction: column; justify-content: center; gap: 6px; } .ats-overview .rw-doc-l i { display: block; width: var(--w); height: 5px; border-radius: 3px; background: #E3C8E8; }
.ats-overview .rw-doc-mrz { grid-column: 1 / -1; font: 600 7.5px/1 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .06em; color: #9A7AA0; white-space: nowrap; overflow: hidden; }
.ats-overview .rw-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #B000BA; box-shadow: 0 0 10px 2px rgba(176, 0, 186, .45); animation: rwScan 1.6s ease-in-out infinite alternate; }
@keyframes rwScan { from { top: 4%; } to { top: 92%; } }
.ats-overview .rw-face { position: relative; width: 92px; height: 112px; margin-top: 10px; color: #B000BA; } .ats-overview .rw-face svg { width: 100%; height: 100%; }
.ats-overview .rw-ring { position: absolute; inset: -6px; border-radius: 50%; border: 3px solid transparent; border-top-color: #1BCAA7; border-right-color: #1BCAA7; animation: plSpin 1.2s linear infinite; }
@media (prefers-reduced-motion: reduce) { .ats-overview .rw-scan, .ats-overview .rw-ring { animation: none; } }

/* hero — the phone's check beside the employee record (no panel of its own: the two pieces float) */
.ats-overview .mi-rh { display: flex; align-items: center; width: min(500px, 100%); background: none !important; box-shadow: none !important; }
.ats-overview .rh-rec { flex: 1; min-width: 0; margin-left: -26px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 10, 20, .05), 0 34px 64px -30px rgba(49, 30, 160, .45); overflow: hidden; }
.ats-overview .rh-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 14px 42px; background: #FAF1FB; border-bottom: 1px solid #F3E2F4; }
.ats-overview .rh-av { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; }
.ats-overview .rh-head > span:last-child { display: flex; flex-direction: column; gap: 2px; } .ats-overview .rh-head b { font: 600 14px/1.2 var(--font-body); color: #393940; } .ats-overview .rh-head > span:last-child > span { font-size: 11.5px; color: #6B6D80; }
.ats-overview .rh-sec { padding: 12px 16px 14px 42px; }
.ats-overview .rh-sh { display: flex; align-items: center; gap: 6px; font: 600 12.5px/1 var(--font-body); color: #9802A0; } .ats-overview .rh-sh svg { width: 14px; height: 14px; }
.ats-overview .rh-rows { list-style: none; margin: 8px 0 0; padding: 0; }
.ats-overview .rh-rows li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid #F3F3F6; font-size: 11.5px; } .ats-overview .rh-rows li:first-child { border-top: 0; }
.ats-overview .rh-rows li > span { color: #6B6D80; } .ats-overview .rh-rows li > b { font-weight: 500; color: #393940; text-align: right; }
.ats-overview .rh-rows .pl-swap > span { justify-content: flex-end; }
.ats-overview .rh-st > span { padding: 3px 8px; border-radius: 5px; } .ats-overview .rh-st > .is-off { background: #FFF7D8; color: #965509; } .ats-overview .rh-st > .is-on { background: #E3FDF0; color: #007C66; }
.ats-overview .rh-ev > .is-on { color: #9802A0; } .ats-overview .rh-ev svg { width: 11px; height: 11px; }
.ats-overview .mi-rh.is-pass :is(.rh-st, .rh-when, .rh-ev) > .is-off { opacity: 0; } .ats-overview .mi-rh.is-pass :is(.rh-st, .rh-when, .rh-ev) > .is-on { opacity: 1; }

/* bento · UKVI-Compatible IDVT (animated): the passport scanned, the three checks pass, accepted */

.ats-overview :is(.b21-c.is-ok, .mi-b21.is-done .b21-c) { box-shadow: inset 0 0 0 1px #B8EDD3; } .ats-overview :is(.b21-c.is-ok, .mi-b21.is-done .b21-c) .b21-ic { background: #1BCAA7; color: #fff; }

/* step 1 · the TrustID guest link, generated through the Service Connector and sent */

.ats-overview .mi-rg:not(.is-link) :is(.rg-link, .rg-send) { opacity: 0; transform: translateY(6px); }

/* step 2 · the check on the candidate's phone, with its three steps alongside */

.ats-overview :is(.mi-rp.is-s1 li:nth-child(1), .mi-rp.is-s2 li:nth-child(-n+2), .mi-rp.is-s3 li) { color: #393940; }
.ats-overview :is(.mi-rp.is-s1 li:nth-child(1), .mi-rp.is-s2 li:nth-child(-n+2), .mi-rp.is-s3 li) i { background: #1BCAA7; box-shadow: none; color: #fff; }
.ats-overview :is(.mi-rp.is-s0 li:nth-child(1), .mi-rp.is-s1 li:nth-child(2), .mi-rp.is-s2 li:nth-child(3)) { color: #9802A0; }
.ats-overview :is(.mi-rp.is-s0 li:nth-child(1), .mi-rp.is-s1 li:nth-child(2), .mi-rp.is-s2 li:nth-child(3)) i { box-shadow: inset 0 0 0 2px #B000BA, 0 0 0 4px rgba(176, 0, 186, .12); }

/* ==========================================================================
   Recruitment: Pre-boarding (tools/product/minis.py) — new graphics in the ATS style; Aisha Malik is the new starter throughout.
   The hero and three feature panels reuse the onboarding page's minis (new_starters, welcome_lounge, ats_to_hr, automate_flow).
   ========================================================================== */
.ats-overview :is(.pe-av, .b26-av, .b27-tav, .b29-tav, .po-av, .pg-tav, .pr-av) img { display: block; width: 100%; height: 100%; object-fit: cover; }
@keyframes pbLive { 50% { box-shadow: 0 0 0 4px rgba(27, 202, 167, .18); } }

/* bento · Contracts & Documents (animated): the Document Agent sends three documents, chases the missing signature, all three signed.
   This happens inside Sense HR, so Sense HR purple (user, 7 Oct) */
.ats-overview .b28-card { width: min(400px, 100%); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px #EFEEF3, 0 24px 44px -26px rgba(60, 20, 80, .45); }
.ats-overview .b28-head { display: flex; align-items: center; gap: 10px; padding: 13px 14px; background: #F5F3FF; border-bottom: 1px solid #E9E5FF; }
.ats-overview .b28-ic { flex-shrink: 0; width: 32px; height: 32px; padding: 8px; border-radius: 9px; background: #634AFC; color: #fff; } .ats-overview .b28-ic svg { width: 100%; height: 100%; }
.ats-overview .b28-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .ats-overview .b28-who b { font: 600 13.5px/1.2 var(--font-body); color: #393940; } .ats-overview .b28-who span { font-size: 11px; color: #6B6D80; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ats-overview .b28-n { padding: 5px 9px; border-radius: 7px; background: #fff; color: #6B6D80; font: 600 11px/1 var(--font-body); font-variant-numeric: tabular-nums; white-space: nowrap; transition: background-color .3s, color .3s; }
.ats-overview .b28-rows { list-style: none; margin: 0; padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 7px; }
.ats-overview .b28-r { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #EFEEF3; transition: opacity .35s, transform .45s var(--ease-out), box-shadow .3s; }
.ats-overview .b28-r:not(.is-in) { opacity: 0; transform: translateY(6px); }
.ats-overview .b28-di { flex-shrink: 0; width: 28px; height: 28px; padding: 7px; border-radius: 8px; background: #F0EFFF; color: #634AFC; } .ats-overview .b28-di svg { width: 100%; height: 100%; }
.ats-overview .b28-dt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .ats-overview .b28-dt b { font: 500 12.5px/1.2 var(--font-body); color: #393940; } .ats-overview .b28-dt span { font-size: 10.5px; color: #8A8DA0; }
.ats-overview .b28-st > span { padding: 5px 9px; border-radius: 7px; font: 600 11px/1 var(--font-body); white-space: nowrap; } .ats-overview .b28-st > .is-off { background: #F0EFFF; color: #4931DC; } .ats-overview .b28-st > .is-on { background: #E3FDF0; color: #007C66; }
.ats-overview .b28-r.is-signed .b28-st > .is-off { opacity: 0; } .ats-overview .b28-r.is-signed .b28-st > .is-on { opacity: 1; animation: plStagePop .5s var(--ease-out); }

/* ATS Expert deep dive (ATS expert.svg): the request types in, the agent replies, 312 new starters messaged, the run's progress fills */
.ats-overview .mi-ax { width: min(480px, 100%); padding: 22px 22px 16px; background: #fff; }
.ats-overview .ax-head { display: flex; align-items: center; gap: 12px; }
.ats-overview .ax-ic { flex-shrink: 0; width: 44px; height: 44px; padding: 9px; border-radius: 11px; background: #0B0A1E; box-shadow: inset 0 0 0 1px #2A2840; } .ats-overview .ax-ic svg { width: 100%; height: 100%; }
.ats-overview .ax-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; } .ats-overview .ax-who b { font: 600 16px/1.2 var(--font-body); color: #393940; } .ats-overview .ax-who span { font-size: 12.5px; color: #6B6D80; }
.ats-overview .ax-live { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px/1 var(--font-body); letter-spacing: .04em; color: #1E9E6A; }
.ats-overview .ax-live i { width: 8px; height: 8px; border-radius: 50%; background: #3CC98A; animation: pbLive 1.6s ease-in-out infinite; }
.ats-overview .ax-me { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; transition: opacity .3s; }
.ats-overview .ax-me p { flex: 1; display: grid; margin: 0; padding: 11px 14px; border-radius: 12px; background: #F2F3F8; box-shadow: inset 0 0 0 1px #E6E8F0; font: 400 13px/1.4 var(--font-body); color: #393940; }
.ats-overview .mi-ax:not(.is-asked) .ax-me { opacity: 0; }
.ats-overview .ax-sm, .ats-overview .ax-r { flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; font: 600 11.5px/1 var(--font-body); }
.ats-overview .ax-sm { background: #2A2551; color: #B9AEFF; } .ats-overview .ax-r { background: #634AFC; color: #fff; }
.ats-overview .ax-me p > span { grid-area: 1 / 1; } .ats-overview .ax-q-full { visibility: hidden; }   /* the full question reserves its lines: typing never changes the window's height (user, 7 Oct) */
.ats-overview .ax-me .mi-caret::after { background: #634AFC; }
.ats-overview .ax-bot { position: relative; display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; }
.ats-overview .ax-bot p { flex: 1; margin: 0; padding: 11px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #ECECF1; font: 400 13px/1.45 var(--font-body); color: #393940; transition: opacity .35s, transform .45s var(--ease-out); }
.ats-overview .mi-ax:not(.is-reply) .ax-bot p { opacity: 0; transform: translateY(6px); }
.ats-overview .mi-ax:not(.is-asked) .ax-r { opacity: 0; } .ats-overview .ax-r { transition: opacity .3s; }
.ats-overview .ax-dots { position: absolute; left: 40px; top: 0; display: flex; gap: 5px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #ECECF1; opacity: 0; transition: opacity .25s; }
.ats-overview .ax-dots i { width: 6px; height: 6px; border-radius: 50%; background: #A3A2B1; animation: miDot 1s ease-in-out infinite; } .ats-overview .ax-dots i:nth-child(2) { animation-delay: .15s; } .ats-overview .ax-dots i:nth-child(3) { animation-delay: .3s; }
.ats-overview .mi-ax.is-typing .ax-dots { opacity: 1; }
.ats-overview .ax-pill { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0 40px; padding: 8px 14px 8px 11px; border-radius: 100px; background: #E3FDF0; box-shadow: inset 0 0 0 1px #B8EDD3; color: #007C66; font: 600 12.5px/1 var(--font-body); font-variant-numeric: tabular-nums; transition: opacity .35s, transform .45s var(--ease-out); }
.ats-overview .ax-pill svg { width: 13px; height: 13px; } .ats-overview .mi-ax:not(.is-done) .ax-pill { opacity: 0; transform: translateY(6px); }
.ats-overview .ax-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #ECECF1; font-size: 12px; color: #6B6D80; }
.ats-overview .ax-prog { display: flex; gap: 5px; } .ats-overview .ax-prog i { width: 18px; height: 4px; border-radius: 2px; background: #ECECF1; transition: background-color .4s; } .ats-overview .ax-prog i.is-on { background: #B3A6FF; } .ats-overview .ax-prog i.is-cur { background: #634AFC; }
@media (max-width: 600px) { .ats-overview .mi-ax { padding: 16px 14px 12px; } .ats-overview .ax-me p, .ats-overview .ax-bot p { font-size: 12px; } .ats-overview .ax-pill { margin-left: 0; font-size: 11.5px; } .ats-overview .ax-foot { font-size: 11px; } .ats-overview .ax-prog i { width: 12px; } }

/* How it works 2 · Self-service login created: the invite, signing in on the app, then the welcome lounge (steps as the right-to-work phone check).
   The phone is the Sense HR app, so Sense HR purple inside it, as the bento phone */

.ats-overview :is(.mi-pg.is-s1 li:nth-child(1), .mi-pg.is-s2 li:nth-child(-n+2), .mi-pg.is-s3 li) { color: #393940; }
.ats-overview :is(.mi-pg.is-s1 li:nth-child(1), .mi-pg.is-s2 li:nth-child(-n+2), .mi-pg.is-s3 li) i { background: #1BCAA7; box-shadow: none; color: #fff; }
.ats-overview :is(.mi-pg.is-s0 li:nth-child(1), .mi-pg.is-s1 li:nth-child(2), .mi-pg.is-s2 li:nth-child(3)) { color: #9802A0; }
.ats-overview :is(.mi-pg.is-s0 li:nth-child(1), .mi-pg.is-s1 li:nth-child(2), .mi-pg.is-s2 li:nth-child(3)) i { box-shadow: inset 0 0 0 2px #B000BA, 0 0 0 4px rgba(176, 0, 186, .12); }

/* pre-boarding on phones: the feature panels' minis (the onboarding page's, and the engaged thread) scale down to read at the narrow frame width
   (this page only); the bento phone drops its third tile; the Document Agent card and the login steps get room */
@media (max-width: 600px) {
  .ats-overview .pd-stack-visual :is(.mi-wl, .mi-ah, .mi-au, .mi-pe) { zoom: .8; }
  .ats-overview .pd-stack-visual .mi-ah { zoom: .7; }

}

/* ==========================================================================
   Recruitment: ATS overview (tools/product/minis.py) — Publish vacancies.svg, ai sceening.svg, and new graphics in the same style.
   Inside-Sense-HR screens in Sense HR purple; the onboarding workflow in Automate green.
   ========================================================================== */
.ats-overview :is(.oc-av, .ol-tav, .ol-mav, .ot-av) img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Publish vacancies.svg — the four cards only (the vacancies board's card styles), floating on the panel */
.ats-overview .mi-vk { width: min(520px, 100%); padding: 0; background: none !important; box-shadow: none !important; }
.ats-overview .mi-vk .mi-vg-cards { margin-top: 0; gap: 14px; }
.ats-overview .pd-stack-visual .mi-vk { border: 0; box-shadow: none !important; }   /* each card has its own glass outline (user, 7 Oct) */
.ats-overview .mi-vk .mi-vg-card { padding: 16px; border: 6px solid rgba(255, 255, 255, .16); background-clip: padding-box; border-radius: 20px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 30px 50px -30px rgba(0, 0, 0, .6); transition: opacity .45s, transform .55s var(--ease-out); transition-delay: calc(var(--k) * 110ms); }
.ats-overview .mi-vk .mi-vg-card > b { margin-top: 12px; font-size: 14.5px; } .ats-overview .mi-vk .mi-vg-loc { font-size: 12.5px; } .ats-overview .mi-vk .mi-vg-meta { font-size: 12px; }
.ats-overview .mi-vk.is-pre .mi-vg-card { opacity: 0; transform: translateY(10px); transition-delay: 0s; }
.ats-overview .mi-vg-badge.is-closed { background: #FFF4D6; color: #9A5B00; }
@media (max-width: 600px) { .ats-overview .mi-vk .mi-vg-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; } .ats-overview .mi-vk .mi-vg-card { padding: 12px 14px; } }   /* phones: two cards stacked (the board's rule hides the other two) */

/* ai sceening.svg — Quizzy's screening list: each applicant screens (dots), then resolves to Qualified / Spam / Rejected */
.ats-overview .mi-qs { width: min(500px, 100%); border-radius: 16px; overflow: hidden; background: #fff; }
.ats-overview .qs-head { padding: 14px 18px; background: #FCEFFA; border-bottom: 1px solid #F3E2F4; font: 600 14px/1.2 var(--font-body); color: #A800B2; }
.ats-overview .qs-list { list-style: none; margin: 0; padding: 2px 16px 6px; }
.ats-overview .qs-r { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 11px 0; transition: opacity .4s, transform .5s var(--ease-out); }
.ats-overview .qs-r + .qs-r { border-top: 1px solid #F3F3F6; }
.ats-overview .qs-r:not(.is-in) { opacity: 0; transform: translateY(6px); }
.ats-overview .qs-av { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #E2E0FF; color: #3B2FC9; font: 500 11.5px/1 var(--font-body); }
.ats-overview .qs-t { min-width: 0; display: flex; flex-direction: column; gap: 3px; } .ats-overview .qs-t b { font: 500 13.5px/1.2 var(--font-body); color: #4A4D5C; }
.ats-overview .qs-t span { font-size: 11.5px; line-height: 1.35; color: #8A93A8; transition: opacity .35s; }
.ats-overview .qs-r.is-spam .qs-t span, .ats-overview .qs-r.is-no .qs-t span { color: #C0151B; }
.ats-overview .qs-r:not(.is-done) .qs-t span { opacity: 0; }
.ats-overview .qs-st > span { padding: 4px 8px; border-radius: 6px; font: 500 11px/1 var(--font-body); white-space: nowrap; }
.ats-overview .qs-st > .is-off { gap: 3px; background: #F3F3F7; } .ats-overview .qs-st > .is-off i { width: 4px; height: 4px; border-radius: 50%; background: #A3A2B1; animation: miDot 1s ease-in-out infinite; } .ats-overview .qs-st > .is-off i:nth-child(2) { animation-delay: .15s; } .ats-overview .qs-st > .is-off i:nth-child(3) { animation-delay: .3s; }
.ats-overview .qs-r.is-ok .qs-st > .is-on { background: #E3FBEF; color: #0B7A5C; } .ats-overview .qs-r.is-spam .qs-st > .is-on { background: #FFEFC9; color: #7A4B00; } .ats-overview .qs-r.is-no .qs-st > .is-on { background: #FFE1DE; color: #9C1C12; }
.ats-overview .qs-r.is-done .qs-st > .is-off { opacity: 0; } .ats-overview .qs-r.is-done .qs-st > .is-on { opacity: 1; animation: plStagePop .5s var(--ease-out); }
@media (max-width: 600px) { .ats-overview .qs-list { padding: 0 12px 4px; } .ats-overview .qs-r { grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 8px; padding: 9px 0; } .ats-overview .qs-av { width: 28px; height: 28px; font-size: 10px; } .ats-overview .qs-t b { font-size: 12px; } .ats-overview .qs-t span { font-size: 10.5px; } }

/* Onboarding Workflows — trigger → the flow picked by role → its steps run (Automate green, as the ATS workflows page) */
.ats-overview .ta-shot .mi-of { border: 0; box-shadow: none !important; }   /* separate cards: no outline container (user, 7 Oct) */
.ats-overview .mi-of { display: flex; flex-direction: column; align-items: stretch; width: min(400px, 100%); padding: 0; background: none !important; box-shadow: none !important; }
.ats-overview .of-card { border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 10, 20, .05), 0 22px 40px -26px rgba(10, 5, 40, .55); transition: box-shadow .4s, opacity .4s, transform .5s var(--ease-out); }
.ats-overview .of-trig { display: flex; align-items: center; gap: 12px; padding: 13px 14px; }
.ats-overview .of-ic { flex-shrink: 0; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #EBFFF7; color: #00A37C; } .ats-overview .of-ic svg { width: 100%; height: 100%; }
.ats-overview .of-tt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .ats-overview .of-tt small { font-size: 10.5px; color: #8A8DA0; } .ats-overview .of-tt b { font: 600 13.5px/1.2 var(--font-body); color: #393940; } .ats-overview .of-tt span { font-size: 11px; color: #6B6D80; }
.ats-overview .of-live { display: inline-flex; align-items: center; gap: 5px; font: 600 10px/1 var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: #007A5C; } .ats-overview .of-live i { width: 7px; height: 7px; border-radius: 50%; background: #00CD9C; }
.ats-overview .mi-of.is-trig .of-trig { box-shadow: 0 0 0 1.5px #00CD9C, 0 22px 40px -26px rgba(0, 120, 90, .55); }
.ats-overview .of-line { align-self: center; width: 2px; height: 18px; background: repeating-linear-gradient(180deg, #7DE3C6 0 4px, transparent 4px 8px); }
.ats-overview .of-pick { padding: 12px 14px; } .ats-overview .of-pick small { display: block; font-size: 10.5px; color: #8A8DA0; }
.ats-overview .of-chips { display: flex; gap: 6px; margin-top: 8px; }
.ats-overview .of-chip { flex: 1; padding: 7px 8px; border-radius: 8px; background: #F6F6F9; color: #6B6D80; font: 500 11.5px/1 var(--font-body); text-align: center; transition: background-color .3s, color .3s, box-shadow .3s; }
.ats-overview .mi-of.is-pick .of-chip.is-match { background: #EBFFF7; color: #007A5C; box-shadow: inset 0 0 0 1.5px #00CD9C; }
.ats-overview .of-steps { list-style: none; margin: 0; padding: 6px 14px; }
.ats-overview .of-steps li { display: flex; align-items: center; gap: 10px; padding: 9px 0; font: 500 12.5px/1.2 var(--font-body); color: #393940; } .ats-overview .of-steps li + li { border-top: 1px solid #F3F3F6; }
.ats-overview .of-si { flex-shrink: 0; width: 26px; height: 26px; padding: 6px; border-radius: 8px; background: #F6F6F9; color: #6B6D80; } .ats-overview .of-si svg { width: 100%; height: 100%; }
.ats-overview .of-ok { margin-left: auto; width: 18px; height: 18px; padding: 4px; border-radius: 50%; background: #00CD9C; color: #fff; transition: opacity .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(.2s + var(--k) * .45s); } .ats-overview .of-ok svg { width: 100%; height: 100%; }
.ats-overview .mi-of:not(.is-run) .of-ok { opacity: 0; transform: scale(.5); transition-delay: 0s; }
.ats-overview .mi-of:not(.is-pick) .of-steps { opacity: .45; }

/* Time & Attendance — day-one clock-ins, one per method (Sense HR purple) */
.ats-overview .mi-oc { width: min(420px, 100%); border-radius: 16px; overflow: hidden; background: #fff; }
.ats-overview .oc-head { display: flex; align-items: center; gap: 10px; padding: 13px 16px; background: #F5F3FF; border-bottom: 1px solid #E9E5FF; }
.ats-overview .oc-hi { flex-shrink: 0; width: 32px; height: 32px; padding: 7px; border-radius: 9px; background: #634AFC; color: #fff; } .ats-overview .oc-hi svg { width: 100%; height: 100%; }
.ats-overview .oc-ht { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .ats-overview .oc-ht b { font: 600 13.5px/1.2 var(--font-body); color: #393940; } .ats-overview .oc-ht span { font-size: 11px; color: #6B6D80; }
.ats-overview .oc-live { display: inline-flex; align-items: center; gap: 5px; font: 600 10px/1 var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: #007C66; } .ats-overview .oc-live i { width: 7px; height: 7px; border-radius: 50%; background: #1BCAA7; animation: pbLive 1.6s ease-in-out infinite; }
.ats-overview .oc-list { list-style: none; margin: 0; padding: 6px 16px; }
.ats-overview .oc-r { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 11px 0; transition: opacity .4s, transform .5s var(--ease-out); } .ats-overview .oc-r + .oc-r { border-top: 1px solid #F3F3F6; }
.ats-overview .oc-r:not(.is-in) { opacity: 0; transform: translateY(6px); }
.ats-overview .oc-av { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; }
.ats-overview .oc-t { min-width: 0; display: flex; flex-direction: column; gap: 3px; } .ats-overview .oc-t b { font: 500 13px/1.2 var(--font-body); color: #393940; } .ats-overview .oc-t span { font-size: 11px; color: #6B6D80; }
.ats-overview .oc-m { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px 5px 7px; border-radius: 100px; background: #F0EFFF; color: #4931DC; font: 600 11px/1 var(--font-body); white-space: nowrap; } .ats-overview .oc-m svg { width: 13px; height: 13px; }
.ats-overview .oc-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 16px 14px; padding: 8px; border-radius: 9px; background: #E3FDF0; color: #007C66; font: 600 11.5px/1 var(--font-body); transition: opacity .35s, transform .45s var(--ease-out); } .ats-overview .oc-all svg { width: 12px; height: 12px; }
.ats-overview .mi-oc:not(.is-all) .oc-all { opacity: 0; transform: translateY(6px); }
@media (max-width: 600px) { .ats-overview .oc-list { padding: 4px 12px; } .ats-overview .oc-r { grid-template-columns: 30px minmax(0, 1fr) auto; column-gap: 8px; } .ats-overview .oc-av { width: 30px; height: 30px; } .ats-overview .oc-m { padding: 4px 7px 4px 5px; font-size: 10px; } }

/* Contracts & Documents — the Document Agent card (.b28-*, Sense HR purple) on its own */
.ats-overview .mi-dc { width: min(420px, 100%); padding: 0; background: none !important; box-shadow: none !important; }
.ats-overview .mi-dc .b28-card { width: 100%; }
.ats-overview .mi-dc.is-done .b28-n { background: #E3FDF0; color: #007C66; animation: plStagePop .5s var(--ease-out); }

/* Prepare for day 1 — the welcome lounge in Sense HR (web snippet, Sense HR purple): tasks tick off, the video plays, the team card lights */
.ats-overview .mi-ol { width: 500px; max-width: none; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(11, 10, 20, .05), 0 30px 50px -30px rgba(60, 20, 80, .45); }
.ats-overview .ol-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #F1F0F4; }
.ats-overview .ol-logo { width: 24px; height: 24px; padding: 5px; border-radius: 7px; background: #634AFC; color: #fff; } .ats-overview .ol-logo svg { width: 100%; height: 100%; }
.ats-overview .ol-top > b { font: 600 12.5px/1 var(--font-body); color: #393940; }
.ats-overview .ol-me { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--font-body); color: #4E4D54; } .ats-overview .ol-av { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; }
.ats-overview .ol-body { display: grid; grid-template-columns: minmax(0, 1fr) 172px; gap: 14px; padding: 14px; background: #FBFBFD; }
.ats-overview .ol-hi { display: flex; flex-direction: column; gap: 3px; } .ats-overview .ol-hi b { font: 600 15px/1.2 var(--font-body); color: #393940; } .ats-overview .ol-hi span { font-size: 11px; color: #6B6D80; }
.ats-overview .ol-prog { display: flex; align-items: center; gap: 8px; margin-top: 10px; } .ats-overview .ol-prog i { flex: 1; height: 6px; border-radius: 3px; background: #E9E5FF; overflow: hidden; }
.ats-overview .ol-prog i b { display: block; height: 100%; border-radius: inherit; background: #634AFC; transform-origin: left; transform: scaleX(var(--p)); transition: transform .5s var(--ease-out); }
.ats-overview .ol-prog em { font: 600 10.5px/1 var(--font-body); font-style: normal; color: #4931DC; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ats-overview .ol-tasks { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ats-overview .ol-k { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #EFEEF3; font: 500 11.5px/1.2 var(--font-body); color: #393940; transition: background-color .3s, box-shadow .3s; }
.ats-overview .ol-ok { flex-shrink: 0; width: 17px; height: 17px; padding: 3.5px; border-radius: 50%; background: #F3F3F7; box-shadow: inset 0 0 0 1.2px #E2E1E6; color: transparent; transition: background-color .3s, box-shadow .3s, color .3s; } .ats-overview .ol-ok svg { width: 100%; height: 100%; }
.ats-overview .ol-k.is-now { background: #F5F3FF; box-shadow: inset 0 0 0 1.5px #B7A9FF; } .ats-overview .ol-k.is-done .ol-ok { background: #1BCAA7; box-shadow: none; color: #fff; }
.ats-overview .ol-side { display: flex; flex-direction: column; gap: 10px; }
.ats-overview .ol-vid, .ats-overview .ol-org { border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #EFEEF3; transition: box-shadow .4s; }
.ats-overview .ol-vid { position: relative; display: flex; align-items: center; gap: 9px; padding: 11px 10px 15px; overflow: hidden; }
.ats-overview .ol-play { flex-shrink: 0; width: 30px; height: 30px; padding: 8px 7px 8px 9px; border-radius: 50%; background: #634AFC; color: #fff; } .ats-overview .ol-play svg { width: 100%; height: 100%; }
.ats-overview .ol-vt { display: flex; flex-direction: column; gap: 2px; } .ats-overview .ol-vt b { font: 600 11.5px/1.2 var(--font-body); color: #393940; } .ats-overview .ol-vt span { font-size: 10px; color: #8A8DA0; }
.ats-overview .ol-vbar { position: absolute; left: 10px; right: 10px; bottom: 7px; height: 3px; border-radius: 2px; background: #E9E5FF; overflow: hidden; }
.ats-overview .ol-vbar b { display: block; width: 100%; height: 100%; background: #634AFC; transform-origin: left; transform: scaleX(0); }
.ats-overview .mi-ol.is-vid .ol-vbar b { transform: scaleX(1); transition: transform 1.4s linear; }
.ats-overview .mi-ol.is-vid .ol-vid { box-shadow: inset 0 0 0 1.5px #B7A9FF; }
.ats-overview .ol-org { flex: 1; padding: 10px; } .ats-overview .ol-org small { display: block; font: 600 9.5px/1 var(--font-body); letter-spacing: .05em; text-transform: uppercase; color: #8A8DA0; }
.ats-overview .ol-mgr { display: flex; align-items: center; gap: 7px; margin-top: 8px; } .ats-overview .ol-mav { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; overflow: hidden; }
.ats-overview .ol-mgr > span:last-child { display: flex; flex-direction: column; gap: 1px; } .ats-overview .ol-mgr b { font: 600 11px/1.2 var(--font-body); color: #393940; } .ats-overview .ol-mgr > span:last-child > span { font-size: 9.5px; color: #6B6D80; }
.ats-overview .ol-team { display: flex; margin-top: 9px; padding-left: 8px; border-left: 1.5px solid #D9D3FF; } .ats-overview .ol-tav { width: 24px; height: 24px; margin-left: -6px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #fff; } .ats-overview .ol-tav:first-child { margin-left: 0; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #634AFC; }
.ats-overview .mi-ol.is-org .ol-org { box-shadow: inset 0 0 0 1.5px #B7A9FF; }
.ats-overview .ol-tn { display: block; margin-top: 7px; font-size: 10px; color: #6B6D80; }

/* Improve retention — the team's wellbeing scores, Ben's slipping; Census flags the attrition risk (Sense HR purple, amber for the risk) */
.ats-overview .mi-ot { width: min(440px, 100%); display: flex; flex-direction: column; gap: 20px; padding: 0; background: none !important; box-shadow: none !important; }
.ats-overview .ot-dash, .ats-overview .ot-alert { border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 10, 20, .05), 0 22px 40px -26px rgba(10, 5, 40, .55); }
.ats-overview .ot-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 13px 16px; border-bottom: 1px solid #F1F0F4; } .ats-overview .ot-head b { font: 600 13.5px/1.2 var(--font-body); color: #393940; } .ats-overview .ot-head span { font-size: 11px; color: #8A8DA0; }
.ats-overview .ot-list { list-style: none; margin: 0; padding: 4px 16px 8px; }
.ats-overview .ot-r { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 14px 0; } .ats-overview .ot-r + .ot-r { border-top: 1px solid #F3F3F6; }
.ats-overview .ot-av { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; }
.ats-overview .ot-t { min-width: 0; display: flex; flex-direction: column; gap: 6px; } .ats-overview .ot-t b { font: 500 12.5px/1.2 var(--font-body); color: #393940; }
.ats-overview .ot-bar { height: 6px; border-radius: 3px; background: #EEEDF3; overflow: hidden; } .ats-overview .ot-bar i { display: block; height: 100%; border-radius: inherit; background: #634AFC; transform-origin: left; transform: scaleX(var(--v)); transition: transform 1s cubic-bezier(.22, 1, .36, 1), background-color .4s; }
.ats-overview .ot-r:nth-child(2) .ot-bar i { transition-delay: .12s; } .ats-overview .ot-r:nth-child(3) .ot-bar i { transition-delay: .24s; }
.ats-overview .mi-ot:not(.is-load) .ot-bar i { transform: scaleX(0); }
.ats-overview .ot-v { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; } .ats-overview .ot-v b { font: 600 12.5px/1 var(--font-body); color: #393940; font-variant-numeric: tabular-nums; }
.ats-overview .ot-v em { display: inline-flex; align-items: center; gap: 2px; font: 600 10px/1 var(--font-body); font-style: normal; } .ats-overview .ot-v em svg { width: 10px; height: 10px; } .ats-overview .ot-v em.is-up { color: #007C66; } .ats-overview .ot-v em.is-down { color: #B4530A; }
.ats-overview .mi-ot.is-flag .ot-r.is-risk { margin-inline: -8px; padding-inline: 8px; border-radius: 10px; background: #FFF7EC; } .ats-overview .mi-ot.is-flag .ot-r.is-risk .ot-bar i { background: #F29A2E; }
.ats-overview .ot-alert { display: flex; gap: 12px; padding: 13px 14px; box-shadow: 0 0 0 1.5px #F7C98C, 0 22px 40px -26px rgba(120, 60, 0, .45); transition: opacity .45s, transform .55s var(--ease-out); }
.ats-overview .mi-ot:not(.is-flag) .ot-alert { opacity: 0; transform: translateY(10px); }
.ats-overview .ot-ic { flex-shrink: 0; width: 32px; height: 32px; padding: 6px; border-radius: 9px; background: #0B0A1E; box-shadow: inset 0 0 0 1px #2A2840; }   /* the ATS Expert tile */ .ats-overview .ot-ic svg { width: 100%; height: 100%; }
.ats-overview .ot-at { display: flex; flex-direction: column; gap: 4px; } .ats-overview .ot-at b { font: 600 12.5px/1.2 var(--font-body); color: #9A4A00; } .ats-overview .ot-at > span:not(.ot-btn) { font-size: 11.5px; line-height: 1.45; color: #4E4D54; }
.ats-overview .ot-btn { align-self: flex-start; margin-top: 4px; padding: 6px 11px; border-radius: 7px; background: #634AFC; color: #fff; font: 600 11px/1 var(--font-body); }

/* css/feature.css */
/* ==========================================================================
   HR feature pages (employee records onwards) — additions on top of product.css.
   Hero: Features.avif background, copy left, visual right. Plus the 3×3 "What's inside" grid and "Explore more" links.
   ========================================================================== */

/* ---------- 02 FEATURES — stacking panels: buttons, placeholders ---------- */
.ats-overview .pd-stack-btn { margin-top: 26px; }
.ats-overview .pd-stack-btn svg { width: 15px; height: 15px; }

/* ---------- 03 WHAT'S INSIDE — 3×3 grid (pay-co feature set) ---------- */
.ats-overview .pd-grid9 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.ats-overview .pd-tile9 { padding: 28px; border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease-out), box-shadow .35s; }
.ats-overview .pd-tile9:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ats-overview .pd-tile9-ic { background: var(--brand-10); color: var(--brand); box-shadow: none; }
.ats-overview .pd-tile9 h3 { margin-top: 24px; font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; }
.ats-overview .pd-tile9 p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
@media (max-width: 1024px) { .ats-overview .pd-grid9 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ats-overview .pd-grid9 { grid-template-columns: 1fr; } }

/* ---------- 07 FAQ — lists inside answers ---------- */
.ats-overview .ami-faq-a ul { margin: 10px 0 0; padding-left: 20px; }
.ats-overview .ami-faq-a li { margin: 4px 0; }
.ats-overview .ami-faq-a p + p, .ats-overview .ami-faq-a ul + p { margin-top: 10px; }
.ats-overview .pd-ta .pd-ta-frame { width: 100%; }

/* hero cards: left / right / left around the record, clear of it (wide screens); a row under it on narrower ones */
@media (max-width: 900px) { .ats-overview .pd-ta { grid-template-columns: minmax(0, 1fr); } }
.ats-overview .pd-ta .ta-shot { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.ats-overview .pd-ta .pd-ta-frame { min-width: 0; }
@media (max-width: 600px) { .ats-overview .pd-ta .ta-frame .mi { width: 100% !important; } }

/* ===== Recruitment (ATS) pages: the export hung these rules on its body class ats-page; here they sit on main.ats-overview ===== */
/* ATS primary colour #9612AE (user, 5 Oct; was #B000BA): the purple stacking panels take it on ATS pages only — HR pages keep #634AFC */
.ats-overview { --ats: #9612AE; }
/* light pink panel in place of the magenta (user, 6 Oct) — the ATS twin of the Automate builder's .is-mint; dusty, not saturated (user, 6 Oct) */
.ats-overview .pd-stack-card.is-blush .pd-stack-inner { background: radial-gradient(90% 70% at 85% 110%, rgba(160, 70, 150, .13), transparent 60%), #F5EBF4; color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(120, 40, 110, .11), 0 -20px 60px -30px rgba(70, 20, 65, .28); }
.ats-overview .pd-stack-card.is-blush p { color: var(--text-2); }
.ats-overview .pd-stack-card.is-blush .pd-bullets svg { background: #fff; color: #9802A0; }

/* "How it works" steps (user, 5 Oct): progress bar and tick tiles in the ATS hue; the eyebrow pill keeps the site purple */
.ats-overview .ta-bar { background: rgba(152, 2, 160, .1); }
.ats-overview .ta-bar-fill { background: #9802A0; }
.ats-overview .ta-ic { background: #FAF1FB; color: #9802A0; }

/* CTA "Meet" card in the dusty pink of the .is-blush panels, in place of the Sense lilac (user, 6 Oct); buttons keep the site purple */
.ats-overview .ami-meet { background: linear-gradient(180deg, #FCF8FB 0%, #F7EEF6 55%, #F0E0EE 100%); box-shadow: inset 0 0 0 1px rgba(120, 40, 110, .1); }
.ats-overview .ami-meet::before { background: repeating-linear-gradient(90deg, rgba(150, 50, 140, .08) 0 72px, transparent 72px 89px) center top; }
.ats-overview .ami-meet::after { background: radial-gradient(38% 60% at 0% 100%, rgba(185, 70, 170, .26), transparent 70%), radial-gradient(38% 60% at 100% 100%, rgba(185, 70, 170, .26), transparent 70%); }
.ats-overview .ami-meet-window { box-shadow: 0 40px 100px -30px rgba(90, 20, 80, .3), inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px rgba(120, 40, 110, .12); }

/* ATS asset placeholders (pipelines onwards: ats_ph() in the generators) — data-asset names the file to drop in; label, file · size, note */
.ats-overview :is(.pd-stack-card.is-dark, .ats-dark) .pd-frame:has(> .ats-ph) { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ats-overview :is(.pd-stack-card.is-dark, .ats-dark) .pd-frame .ats-ph { background: repeating-linear-gradient(135deg, #1D1520 0 14px, #19111C 14px 28px); color: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1.5px rgba(214, 120, 220, .26); }
.ats-overview :is(.pd-stack-card.is-dark, .ats-dark) .pd-frame .ats-ph .pd-ph-ic { background: rgba(214, 120, 220, .14); color: #F0C6F3; box-shadow: none; }
.ats-overview :is(.pd-stack-card.is-dark, .ats-dark) .ats-ph-label { color: #fff; } .ats-overview :is(.pd-stack-card.is-dark, .ats-dark) .ats-ph-file { color: #F0C6F3; } .ats-overview :is(.pd-stack-card.is-dark, .ats-dark) .ats-ph-note { color: rgba(255, 255, 255, .5); }

/* "Feature panel (dark)" (integrations onwards): the HR pages' purple-dust frame (.pd-dark) holding one spotlight row, ticks in ATS pink */
.ats-overview .ats-dark .pd-spot > * { min-width: 0; }
.ats-overview .ats-dark .pd-spot-copy h2 { margin-top: 18px; color: #fff; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.03em; }
.ats-overview .ats-dark .pd-spot-copy p { margin-top: 20px; color: var(--text-inv-2); }
.ats-overview .ats-dark .pd-bullets li { color: #fff; }
.ats-overview .ats-dark .pd-bullets svg { background: rgba(240, 198, 243, .14); color: #F0C6F3; }
@media (max-width: 1024px) { .ats-overview .ats-dark .pd-spot { grid-template-columns: minmax(0, 1fr); } }

/* ===== Recruitment: Vacancies (sense-ats-vacancies.html) ===== */
/* hero: the live page's AMI vacancy chat in the employee-record frame */
@media (max-width: 1439px) { .ats-overview .ft-stage :is(.mi-vc, .mi-pb, .mi-ih, .mi-ns, .mi-wj, .mi-jp, .mi-rh) { grid-row: 1; } }

/* css/ats.css */
/* ==========================================================================
   ATS overview: the export hung these rules on its body class ats-ov; here they sit on main.ats-overview.
   The Automate overview's layout in ATS colours, on top of the ATS page accents above.
   Rule of thumb, as Automate: Sense purple stays on everything you can click (buttons, links); ATS magenta marks the product
   (pill mark, ticks, icons, tints, glows).
   ========================================================================== */
.ats-overview {
  --ats-m: #B000BA;        /* ATS magenta — fills, the mark */
  --ats-d: #9802A0;        /* magenta text / icons on light */
  --ats-soft: #FAF1FB;     /* tinted backgrounds */
  --ats-glow: #F0C6F3;     /* magenta on dark */
  --ats-line: rgba(176, 0, 186, .2);
}

/* ---------- shared accents ---------- */
.ats-overview .eyebrow:not(.on-dark) { background: var(--ats-soft); color: var(--ats-d); box-shadow: inset 0 0 0 1px var(--ats-line); }
.ats-overview .pd-bullets svg { background: var(--ats-soft); color: var(--ats-d); box-shadow: inset 0 0 0 1px var(--ats-line); }
.ats-overview .pd-stack-card.is-dark .pd-bullets svg { background: rgba(240, 198, 243, .14); color: var(--ats-glow); box-shadow: none; }
.ats-overview .pd-stack-card.is-blush .pd-bullets svg { background: #fff; box-shadow: none; }
.ats-overview .pd-stack-card.is-dark .pd-stack-inner { background: radial-gradient(70% 80% at 100% 0%, rgba(176, 0, 186, .32), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(99, 74, 252, .28), transparent 65%), #0B0A14; }
.ats-overview .pd-stack-btn { margin-top: 30px; }

/* ---------- 01 HERO — the Automate pill with the ATS mark; the window holds the vacancies board, cropped by the hero's edge (as the Automate builder) ---------- */
.ats-overview .ats-eyebrow { gap: 8px; padding: 4px 14px 4px 8px; white-space: nowrap; }   /* the mark 8px in from the pill's edge (user, 7 Oct) */
.ats-overview .ats-mark { width: 21px; height: 21px; flex-shrink: 0; display: grid; place-items: center; border-radius: 6px; background: linear-gradient(145deg, #D24BDB, #B000BA 55%, #8A0391); color: #fff; }
.ats-overview .ats-mark svg { width: 62%; height: 62%; }
.ats-overview .ats-hero .hero-copy .lede { margin-top: 28px; }   /* no floating chip under the title here (the Automate one's "(No code needed)") */
.ats-overview .ats-hero .hero-copy .cta-group { margin-top: 36px; }
.ats-overview .chip-check { background: var(--ats-soft); color: var(--ats-d); }
.ats-overview .chip-check.is-star { background: #E5F7EF; color: #00B67A; }   /* TrustPilot green star */

/* ---------- 02 INTRO STATEMENT — the big claim with the ATS tile; the doc's paragraph below in body type ---------- */
.ats-overview .ats-claim-tile { background: linear-gradient(145deg, #E58CEC 0%, #B000BA 48%, #7A0080 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -10px 22px rgba(70, 0, 75, .4), 0 34px 60px -18px rgba(176, 0, 186, .55); color: #fff; }
.ats-overview .ats-claim-tile svg { width: 46%; height: 46%; filter: drop-shadow(0 4px 8px rgba(70, 0, 75, .35)); }
.ats-overview .ats-claim .pd-claim-text { padding-bottom: .2em; }   /* room for the descenders (y, g): the marquee clips at the line box */
.ats-overview .ats-claim .pd-claim-sub { max-width: 820px; font: 400 clamp(17px, 1.45vw, 20px)/1.6 var(--font-body); letter-spacing: 0; color: var(--text-2); }

/* ---------- 04 WHAT'S INSIDE — 11 linked tiles, all the same width: 3 · 3 · 3 · 2, the last row left-aligned (user, 7 Oct) ---------- */
.ats-overview .ats-grid11 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ats-overview .ats-grid11 > * { grid-column: span 2; }

.ats-overview .ats-tile { position: relative; display: block; color: inherit; }
.ats-overview .pd-tile9-ic { background: var(--ats-soft); color: var(--ats-d); }
.ats-overview .ats-tile-go { position: absolute; top: 28px; right: 28px; width: 18px; height: 18px; color: var(--text-3); transition: transform .25s var(--ease-out), color .25s; }
.ats-overview .ats-tile-go svg { width: 100%; height: 100%; }
.ats-overview .ats-tile:hover .ats-tile-go { color: var(--brand); transform: translate(2px, -2px); }
.ats-overview .ats-tile:hover h3 { color: var(--brand-hover); }
@media (max-width: 1024px) { .ats-overview .ats-grid11 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ats-overview .ats-grid11 > * { grid-column: auto; } }
@media (max-width: 600px) { .ats-overview .ats-grid11 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 05 STATS — the home strip, four stats under the doc's heading ---------- */
.ats-overview .ats-stats { padding-block: clamp(72px, 8vw, 120px) 24px; }
.ats-overview .ats-stats .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 56px); }
@media (max-width: 767px) { .ats-overview .ats-stats .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }

/* ---------- 06 AI RECRUITMENT — the integrations dark panel (feature.css .ats-dark), its ten points in two columns below a hairline ---------- */
.ats-overview .ats-spot-btn { margin-top: 30px; }
.ats-overview .ats-ai-points { list-style: none; margin: clamp(48px, 5vw, 72px) 0 0; padding: clamp(32px, 3vw, 44px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 56px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ats-overview .ats-ai-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.55; color: var(--text-inv-2); }
.ats-overview .ats-ai-points li svg { flex-shrink: 0; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: rgba(240, 198, 243, .14); color: var(--ats-glow); }
.ats-overview .ats-ai-points b { font-weight: 600; color: #fff; }
@media (max-width: 900px) { .ats-overview .ats-ai-points { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 07 WORKS WITH THE REST OF SENSE — the steps layout; each item's link sits under its text ---------- */
.ats-overview .pd-ta-more-in .pd-more { margin-top: 12px; }

/* ---------- 08 FEATURE FRAMES — two bento tiles, light pink, the visual below the copy ---------- */
.ats-overview .ats-frames { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ats-overview .ats-frame { background: linear-gradient(180deg, #FCF7FC 0%, #fff 70%); box-shadow: inset 0 0 0 1px rgba(120, 40, 110, .1); }
.ats-overview .ats-frame-vis { position: relative; width: 100%; margin-top: 28px; aspect-ratio: 1000 / 640; display: grid; place-items: center; padding: 20px; border-radius: 20px; overflow: hidden; container-type: inline-size;
  background: radial-gradient(rgba(152, 2, 160, .08) 1px, transparent 1.2px) 0 0 / 16px 16px, radial-gradient(80% 70% at 50% 0%, #F8E9F7, #FBF6FA 70%); box-shadow: inset 0 0 0 1px rgba(120, 40, 110, .08); }   /* the bento's dotted pink stage */
.ats-overview .ats-frame-vis .mi-rh { width: 500px; max-width: none; zoom: .8; }   /* the right-to-work hero (340px tall) fits the tile's landscape stage */
@container (max-width: 560px) { .ats-overview .ats-frame-vis .mi-ol { zoom: .92; } }
@container (max-width: 520px) { .ats-overview .ats-frame-vis .mi-rh { zoom: .68; } .ats-overview .ats-frame-vis .mi-ol { zoom: .82; } }
@container (max-width: 380px) { .ats-overview .ats-frame-vis .mi-ol { zoom: .64; } }
@media (max-width: 600px) { .ats-overview .ats-frame-vis { aspect-ratio: auto; min-height: 260px; padding: 14px; } }
@container (max-width: 330px) { .ats-overview .ats-frame-vis .mi-rh, .ats-overview .ats-frame-vis .mi-ol { zoom: .52; } }   /* phones: both 500px-wide graphics scaled to the stage */
@media (max-width: 1024px) { .ats-overview .ats-frames { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 09 IMPROVE RETENTION — copy + three points left, the visual right (sticky on desktop) ---------- */
.ats-overview .ats-ret-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.ats-overview .ats-ret-copy h2 { margin-top: 18px; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.03em; }
.ats-overview .ats-ret-lede { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.ats-overview .ats-ret-lede a { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 3px; }
.ats-overview .ats-ret-list { list-style: none; margin: 36px 0 0; padding: 0; }
.ats-overview .ats-ret-list li { padding: 24px 0; border-top: 1px solid var(--line); }
.ats-overview .ats-ret-list h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; }
.ats-overview .ats-ret-list p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
.ats-overview .ats-ret-list .pd-more { margin-top: 12px; }
.ats-overview .ats-ret-vis { position: sticky; top: 120px; }
.ats-overview .ats-ret-vis .pd-frame { aspect-ratio: 1.2; display: grid; place-items: center; }
.ats-overview .ats-ret-vis .pd-frame:has(> .mi) { background: #0A0916 url("/assets/images/pages/homepage/ta-card-bg.webp") center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }   /* the stacking panels' card background */
.ats-overview .ats-ret-vis .pd-frame:has(> .mi)::before { display: none; }
@media (max-width: 1024px) { .ats-overview .ats-ret-grid { grid-template-columns: minmax(0, 1fr); } .ats-overview .ats-ret-vis { position: static; } .ats-overview .ats-ret-vis .pd-frame { aspect-ratio: auto; } }   /* the frame grows with the dashboard + alert */

/* ---------- 10 TESTIMONIAL — the quote on a soft pink card ---------- */
.ats-overview .ats-quote { margin: 0; padding: clamp(44px, 6vw, 96px) clamp(24px, 6vw, 120px); border-radius: var(--r-panel); text-align: center;
  background: radial-gradient(60% 80% at 50% 0%, rgba(176, 0, 186, .08), transparent 70%), linear-gradient(180deg, #FCF8FB 0%, #F7EEF6 100%); box-shadow: inset 0 0 0 1px rgba(120, 40, 110, .1); }
.ats-overview .ats-quote blockquote { margin: 0; }
.ats-overview .ats-quote blockquote p { max-width: 940px; margin: 0 auto; font: 500 clamp(24px, 2.7vw, 40px)/1.25 var(--font-display); letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.ats-overview .ats-quote figcaption { margin-top: clamp(24px, 3vw, 36px); font: 600 16px/1.3 var(--font-body); color: var(--ats-d); }
@media (prefers-reduced-motion: reduce) { .ats-overview .ats-claim .pd-claim-text { flex-shrink: 1; } }   /* the claim is a long line: it wraps when the marquee is still */
.ats-overview .ats-claim .pd-claim-track { animation-duration: 66s; }   /* a line twice the Automate one's length: same scroll speed */

/* ---------- 10 TESTIMONIAL — typed out when it comes into view (js/product.js [data-tw]); the full quote underneath keeps the card's height ---------- */
.ats-overview .ats-quote blockquote p { display: grid; } .ats-overview .ats-quote blockquote p > span { grid-area: 1 / 1; } .ats-overview .ats-tw-full { visibility: hidden; }
.ats-overview .ats-tw.is-typing::after { content: ""; display: inline-block; width: 2px; height: .95em; margin-left: 2px; vertical-align: -.1em; background: var(--ats-m); animation: miBlink .8s steps(1) infinite; }

/* ===== KIT OPTIONS (design-port) */
/* Without JS, or when the page script failed to run (the guard after it removes .js), every stepper step shows its paragraph. */
html:not(.js) .ats-overview .pd-ta .pd-ta-more { grid-template-rows: 1fr; }
/* and every step's screen shows, one under another, not only the first. */
html:not(.js) .ats-overview .pd-ta .ta-frame { grid-area: auto; opacity: 1; transform: none; }
html:not(.js) .ats-overview .pd-ta .ta-shot { gap: 24px; }
/* While a stacking card holds keyboard focus it scrolls with the page instead of sticking (WCAG 2.4.11). */
.ats-overview .pd-stack-card:has(:focus-visible) { position: relative; top: auto; }
/* Phones: a zero minimum keeps a stacking card's single column inside the card, however wide its mock-up. */
@media (max-width: 900px) { .ats-overview .pd-stack-inner { grid-template-columns: minmax(0, 1fr); } }
/* a stepper mock-up never runs past its frame */
.ats-overview .pd-ta .mi { max-width: 100%; }

/* Hero video (sheet Q2, Costi 2026-10-11): the play pill on the vacancies board (a copy edit) plays today's ATS video in the window,
   over the screenshot. The hero crops the window at its bottom edge (.hero-visual's clip-path), so the player covers what the window
   shows: inside its glass frame, open at the bottom like the screenshot, and nothing in the hero moves. page-additions.js adds it. */
.ats-overview .ats-player { position: absolute; z-index: 3; inset: 8px 8px 0; overflow: hidden; border-radius: 19px 19px 0 0; background: #0B0A14; }
.ats-overview .ats-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 767px) { .ats-overview .ats-player { inset: 5px 5px 0; border-radius: 12px 12px 0 0; } }
/* while it plays, the floating badges and the pill would sit over the video */
.ats-overview .hero-visual.is-playing .hero-floats, .ats-overview .hero-visual.is-playing .pd-play { display: none; }
/* the pill is a dark pill on the light screenshot: its ring goes inside the pill, so it is always on dark (as Core HR's hero) */
.ats-overview .pd-hero .pd-play:focus-visible { outline-color: #fff; outline-offset: -4px; }

/* Keyboard focus rings (checks run 1; WCAG 2.4.7, 1.4.11), as Core HR's (essential-hr.css). The export's base rule draws a
   brand-purple ring, and its lighter variant for dark surfaces targets .hero, a class this page's hero (.pd-hero) doesn't carry. */
/* hero: the buttons sit on the dark artwork, where brand purple is too dark to see (2.6-3.0:1) */
.ats-overview .pd-hero :focus-visible { outline-color: var(--brand-soft); }
/* stepper: each step's text sits in an overflow-hidden box (a step opens by animating its height), which cut off the ring of its
   "Learn more" link (1.0:1 on the left and bottom). Room either side always; room below only on an open step (and with no JS, when
   every step is open), so a closed step, 0 px tall, still shows nothing. The negative margins keep the layout as it was. */
.ats-overview .pd-ta-more-in { padding-inline: 6px; margin-inline: -6px; }
.ats-overview .pd-ta .ta-list li.is-active .pd-ta-more-in, html:not(.js) .ats-overview .pd-ta .pd-ta-more-in { padding-bottom: 6px; margin-bottom: -6px; }

@supports (zoom: 1) {
  /* Each mock-up's lowest range is open below 300 px (hand edit, kit gap K11: the sweep always emits a min-width; its output is ../zoom-fit.emitted.css). A re-emit undoes this. */
  /* ats */
  @media (max-width: 309px) { .ats-overview .mi[data-mini="rh"] { zoom: 0.35; } }   /* worst -66 px at 300 (DIV.mi.mi-rh.is-s2.is-pass), was 0.52 */
  @media (min-width: 310px) and (max-width: 329px) { .ats-overview .mi[data-mini="rh"] { zoom: 0.4; } }   /* worst -56 px at 310 (DIV.mi.mi-rh.is-s2.is-pass), was 0.52 */
  @media (min-width: 330px) and (max-width: 358px) { .ats-overview .mi[data-mini="rh"] { zoom: 0.45; } }   /* worst -36 px at 330 (DIV.mi.mi-rh.is-s2.is-pass), was 0.52 */
  @media (max-width: 309px) { .ats-overview .mi[data-mini="ol"] { zoom: 0.35; } }   /* worst -66 px at 300 (DIV.mi.mi-ol.is-vid.is-org), was 0.52 */
  @media (min-width: 310px) and (max-width: 329px) { .ats-overview .mi[data-mini="ol"] { zoom: 0.4; } }   /* worst -56 px at 310 (DIV.mi.mi-ol.is-vid.is-org), was 0.52 */
  @media (min-width: 330px) and (max-width: 358px) { .ats-overview .mi[data-mini="ol"] { zoom: 0.45; } }   /* worst -36 px at 330 (DIV.mi.mi-ol.is-vid.is-org), was 0.52 */
  @media (min-width: 500px) and (max-width: 519px) { .ats-overview .mi[data-mini="ol"] { zoom: 0.8; } }   /* worst -8 px at 500 (DIV.mi.mi-ol.is-vid.is-org), was 0.82 */
  @media (min-width: 1040px) and (max-width: 1069px) { .ats-overview .mi[data-mini="ol"] { zoom: 0.8; } }   /* worst -8.4 px at 1040 (DIV.mi.mi-ol.is-vid.is-org), was 0.82 */
  @media (max-width: 309px) { .ats-overview .mi[data-mini="dc"] { zoom: 0.75; } }   /* worst -78 px at 300 (DIV.mi.mi-dc.is-done), was 1 */
  @media (min-width: 310px) and (max-width: 329px) { .ats-overview .mi[data-mini="dc"] { zoom: 0.8; } }   /* worst -68 px at 310 (DIV.mi.mi-dc.is-done), was 1 */
  @media (min-width: 330px) and (max-width: 349px) { .ats-overview .mi[data-mini="dc"] { zoom: 0.85; } }   /* worst -48 px at 330 (DIV.mi.mi-dc.is-done), was 1 */
  @media (min-width: 350px) and (max-width: 358px) { .ats-overview .mi[data-mini="dc"] { zoom: 0.9; } }   /* worst -28 px at 350 (DIV.mi.mi-dc.is-done), was 1 */
  @media (min-width: 359px) and (max-width: 373px) { .ats-overview .mi[data-mini="dc"] { zoom: 0.95; } }   /* worst -11 px at 359 (DIV.mi.mi-dc.is-done), was 1 */
}
