/* Homepage (index.html). Converted once on 2026-10-02 from the design export sense-hr-home-share (1).html (tokens, base, sections 01-12 + quick fixes, minis, uk-map); maintained by hand from here on. */

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

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; } }

/* ===== 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).
   ========================================================================== */
.home-page {
  /* 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) {
  .home-page {
    --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
   ========================================================================== */
.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }

.home-page { color: var(--text); font: 400 var(--fs-body)/1.62 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.home-page img, .home-page picture, .home-page svg { display: block; max-width: 100%; }
.home-page img { height: auto; }
.home-page a { color: inherit; text-decoration: none; }
.home-page .section-head p a, .home-page .stack-head p a { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 3px; }
.home-page button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.home-page ul { list-style: none; margin: 0; padding: 0; }
.home-page p { margin: 0; }
.home-page h1, .home-page h2, .home-page h3, .home-page h4, .home-page h5 { margin: 0; text-wrap: balance; font-family: var(--font-display); font-weight: 500; letter-spacing: var(--ls-display); color: inherit; }
.home-page h1 { font-size: var(--fs-h1); line-height: 1.06; }
.home-page h2 { font-size: var(--fs-h2); line-height: 1.12; }
.home-page h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.025em; }
.home-page h4 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -0.015em; }
.home-page h5 { font-size: 15px; line-height: 1.3; letter-spacing: 0; }
.home-page b, .home-page strong { font-weight: 600; }

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


.home-page .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;
}

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

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

/* Eyebrow pill */
.home-page .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;
}
.home-page .eyebrow.on-dark { background: rgba(255, 255, 255, .08); color: #DCD6FF; box-shadow: inset 0 0 0 1px var(--line-inv); }

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

/* ---------- Buttons ---------- */
.home-page .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;
}
.home-page .btn:hover { transform: scale(.97); }            /* standing rule: every button scales to .97 */
.home-page .btn:active { transform: scale(.95); }
.home-page .btn-lg { --btn-h: 52px; padding: 0 26px; font-size: 16px; }
.home-page .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); }
.home-page .btn-primary:hover { background: var(--btn-primary-bg-hover); }
.home-page .btn-secondary { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.home-page .btn-secondary:hover { box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand-hover); }
.home-page .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); }
.home-page .btn-secondary-dark:hover { background: rgba(255, 255, 255, .12); }
.home-page .btn-ghost { background: transparent; padding: 0 6px; gap: 6px; color: inherit; }
.home-page .btn-ghost svg { width: 20px; height: 20px; flex-shrink: 0; }

.home-page .cta-group { display: flex; flex-wrap: wrap; gap: 12px; }

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

/* ---------- Icon tile ---------- */
.home-page .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);
}
.home-page .icon-tile svg { width: 20px; height: 20px; }
.home-page .icon-tile-dark { background: rgba(255, 255, 255, .06); color: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--line-inv); }

/* ---------- Scroll reveal (fade-up, staggered by JS via --i) ---------- */
.js .home-page .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 .home-page .reveal.in { opacity: 1; transform: none; }

/* ---------- Odometer (digits roll; the real text stays in .sr-only) ---------- */
.home-page .odo { display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums; white-space: nowrap; }
.home-page .odo-reels { display: inline-flex; align-items: baseline; }
.home-page .odo-col { display: inline-block; height: 1.1em; line-height: 1.1em; overflow: hidden; vertical-align: bottom; }
.home-page .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); }
.home-page .odo-reel > span { height: 1.1em; }
.home-page .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); }
.js .home-page .odo-fade { opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: .5s; }
.home-page .odo-run .odo-static, .home-page .odo-run .odo-fade, .home-page .odo-run.odo-fade { opacity: 1; transform: none; }

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

/* ==========================================================================
   Sections (in page order)
   ========================================================================== */

/* ---------- shared heads ---------- */
.home-page .stack-head { max-width: 720px; margin-bottom: 56px; }
.home-page .stack-head p { margin-top: 18px; color: var(--text-2); font-size: var(--fs-lede); max-width: 640px; }
@media (max-width: 900px) { .home-page .stack-head { margin-bottom: 40px; } }
.home-page .center-head { max-width: 780px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.home-page .center-head p { color: var(--text-2); font-size: var(--fs-lede); max-width: 640px; margin-top: 20px; }
.home-page .center-cta { display: flex; justify-content: center; margin-top: 40px; }

/* ==========================================================================
   01 HERO — dark inset frame, centred copy, dashboard + floating cards
   ========================================================================== */
.home-page .hero { position: relative; isolation: isolate; padding-top: calc(var(--frame-inset) + 150px); color: var(--text-inv); }
.home-page .hero-frame {
  position: absolute; z-index: -1; top: var(--frame-inset); left: var(--frame-inset); right: var(--frame-inset);
  bottom: clamp(140px, 22vw, 320px);
  border-radius: var(--r-panel); overflow: hidden; background: #000;
}
.home-page .hero-frame > span { position: absolute; pointer-events: none; }
/* blue haze drifting in from the top */
.home-page .hero-haze { inset: 0; background: radial-gradient(48% 52% at 58% 18%, rgba(99, 74, 252, .42) 0%, rgba(99, 74, 252, .12) 55%, transparent 75%), radial-gradient(40% 40% at 10% 90%, rgba(99, 74, 252, .22), transparent 70%); }
/* faint vertical columns (72px, 17px gap), brightening towards the bottom */
.home-page .hero-cols { inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 72px, transparent 72px 89px); background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 100%); }
/* soft glowing panel that the dashboard rises out of */
.home-page .hero-glow { left: 13%; right: 13%; top: 50%; bottom: -12%; border-radius: 70px; background: #5B48F5; filter: blur(55px); opacity: .95; }
.home-page .hero-dots { inset: 0; background: url("/assets/images/agents/hero-dots.svg") center top / cover no-repeat; opacity: .8; animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .45; } }

.home-page .hero-inner { display: flex; flex-direction: column; align-items: center; }
.home-page .hero-copy { max-width: 920px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.home-page .hero-copy h1 { color: #fff; text-wrap: balance; }
.home-page .hero-copy .lede { max-width: 620px; margin-top: 24px; }
.home-page .hero-copy .cta-group { margin-top: 36px; justify-content: center; }
.js .home-page .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; } }
.home-page .word-reveal-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.home-page .word-reveal { display: inline-block; transform: translateY(110%); animation: wordUp .8s var(--ease-out) forwards; }
@keyframes wordUp { to { transform: none; } }

.home-page .hero-visual { position: relative; width: 100%; max-width: 1180px; margin-top: 72px; perspective: 1400px; }
.home-page .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;
}
.home-page .hero-window img { width: 100%; border-radius: 19px; }

.home-page .float-card { background: #fff; color: var(--text); border-radius: var(--r-md); box-shadow: var(--shadow-float); }
.home-page .hero-floats { position: absolute; inset: 0; pointer-events: none; }
.home-page .feed-card { position: absolute; left: -44px; top: 14%; width: 300px; padding: 10px; }
.home-page .feed-list { display: flex; flex-direction: column; gap: 2px; }
.home-page .feed-item { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 10px; transition: background-color .5s; }
.home-page .feed-item.is-active { background: var(--brand-10); }
.home-page .feed-dot { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--brand-soft); flex-shrink: 0; transition: background-color .5s, box-shadow .5s; }
.home-page .feed-item.is-active .feed-dot { background: var(--brand); box-shadow: 0 0 0 4px rgba(99, 74, 252, .18); }
.home-page .feed-txt { display: flex; flex-direction: column; gap: 1px; }
.home-page .feed-time { font: 500 11px/1.4 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--text-3); }
.home-page .feed-desc { font-size: 13px; line-height: 1.4; color: var(--text-2); }
.home-page .feed-desc b { color: var(--text); }

.home-page .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; }
.home-page .chip-check { width: 24px; height: 24px; border-radius: 50%; background: var(--live-bg); color: var(--live); display: grid; place-items: center; flex-shrink: 0; }
.home-page .chip-check svg { width: 13px; height: 13px; }
.home-page .chip-1 { right: -40px; top: 9%; }
.home-page .chip-2 { right: -64px; top: 42%; animation-delay: -1.5s; }
.home-page .chip-3 { left: 6%; bottom: 8%; animation-delay: -3s; }
.home-page .chip-4 { right: 12%; bottom: -22px; animation-delay: -4.5s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.js .home-page .hero-floats .float-card { opacity: 0; scale: .92; transition: opacity .7s var(--ease-out), scale .7s var(--ease-out); }
.js .home-page .hero-floats.in .float-card { opacity: 1; scale: 1; }
.home-page .hero-floats.in .chip-1 { transition-delay: .15s; } .home-page .hero-floats.in .chip-2 { transition-delay: .3s; }
.home-page .hero-floats.in .chip-3 { transition-delay: .45s; } .home-page .hero-floats.in .chip-4 { transition-delay: .6s; }

@media (max-width: 1280px) {
  .home-page .feed-card { left: -12px; } .home-page .chip-1 { right: -12px; } .home-page .chip-2 { right: -12px; }
}
@media (max-width: 900px) {
  .home-page .hero { padding-top: calc(var(--frame-inset) + 120px); }
  .home-page .hero-visual { margin-top: 48px; }
  .home-page .hero-floats { position: static; pointer-events: auto; display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
  .home-page .feed-card { position: static; width: 100%; }
  .home-page .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; }
  .home-page .hero-chips::-webkit-scrollbar { display: none; }
  .home-page .chip { position: static; scroll-snap-align: start; animation: none; box-shadow: var(--shadow-sm); }
}
@media (max-width: 767px) {
  .home-page .hero-frame { bottom: 38%; }
  .home-page .hero-glow { left: 4%; right: 4%; top: 58%; border-radius: 40px; filter: blur(36px); }
  .home-page .hero-window { padding: 5px; border-radius: 16px; }
  .home-page .hero-window img { border-radius: 12px; }
  .home-page .hero-copy .cta-group { width: 100%; flex-direction: column; }
  .home-page .hero-copy .cta-group .btn { width: 100%; }
}

/* ==========================================================================
   02 STATS STRIP — odometer counters with dashed dividers
   ========================================================================== */
.home-page .trust-bar { padding-block: 100px 24px; }
.home-page .stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 1180px; margin-inline: auto; }
.home-page .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; }
.home-page .stat:first-child { border-left: 0; }
.home-page .stat-top { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.home-page .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); }
.home-page .stat-lbl { font-size: 15px; color: var(--text-2); }
.home-page .stat-rating { display: flex; align-items: center; gap: 8px; }
.home-page .rating-badge img { width: 22px; height: 22px; border-radius: 5px; }
.home-page .rating-stars { display: flex; gap: 2px; }
.home-page .rating-stars svg { width: 15px; height: 15px; }
.home-page .stat-bottom { display: flex; align-items: center; justify-content: center; gap: 10px; }
.home-page .stat-iso-badge { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.home-page .stat-iso-badge svg { width: 16px; height: 20px; }
.home-page .stat-spark svg { width: .62em; height: .62em; }
.home-page .stat-app svg { width: .72em; height: .72em; }
.home-page .odo-emoji { font-size: .55em; vertical-align: .18em; }
@media (max-width: 1100px) {
  .home-page .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .home-page .stat:nth-child(4) { border-left: 0; }
}
@media (max-width: 640px) {
  .home-page .trust-bar { padding-block: 48px 8px; }
  .home-page .stats { grid-template-columns: 1fr 1fr; row-gap: 0; }
  .home-page .stat { min-height: 0; gap: 16px; padding: 22px 8px; border-top: 1px dashed var(--line-dash); }
  .home-page .stat:nth-child(odd) { border-left: 0; }
  .home-page .stat:nth-child(4) { border-left: 1px dashed var(--line-dash); }
  .home-page .stat:nth-child(-n+2) { border-top: 0; }
  .home-page .stat:last-child { grid-column: 1 / -1; }
}

/* ==========================================================================
   04 CORE HR — bento
   ========================================================================== */
.home-page .bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 16px; }
.home-page .bento-shot {
  grid-column: 1 / 3; grid-row: 1 / 4; border-radius: var(--r-card-lg); overflow: hidden; display: block;
  background: radial-gradient(90% 70% at 20% 0%, #FFFFFF 0%, transparent 60%), linear-gradient(160deg, var(--brand-10) 0%, #DCD8FF 100%);
  box-shadow: var(--shadow-sm);
}
.home-page .bento-shot picture, .home-page .bento-shot img { width: 100%; height: 100%; }
.home-page .bento-shot img { object-fit: cover; object-position: left top; }
.home-page .bento-card { background: var(--card); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s var(--ease-out), box-shadow .35s; }
.home-page .bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.home-page .bento-card .icon-tile { background: #EFF1FF; color: #634AFC; box-shadow: none; }
.home-page .bento-card h4 { margin-top: 28px; }
.home-page .bento-card p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
@media (max-width: 1024px) {
  .home-page .bento { grid-template-columns: 1fr 1fr; }
  .home-page .bento-shot { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 600px) { .home-page .bento { grid-template-columns: 1fr; } }
@media (max-width: 1024px) { .home-page .bento-shot { aspect-ratio: 1184 / 1100; } }

/* ==========================================================================
   05 AI AGENTS — integration diagram (AMI hub, curved connectors, nodes on lines)
   ========================================================================== */
.home-page #ai-agents { overflow: hidden; }
.home-page .agents { position: relative; margin-top: 24px; max-width: 1320px; margin-inline: auto; display: flex; flex-direction: column; }
.home-page .agents .center-cta { order: 2; }
.home-page .agents-diagram { position: relative; order: 1; aspect-ratio: 1200 / 560; }
.home-page .agents-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.home-page .agents-bundle path { fill: none; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.home-page .agents-bundle path.is-agent { stroke-width: 1.6; }
.js .home-page .agents-bundle path { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.6s var(--ease-out); transition-delay: calc(var(--k, 0) * 45ms); }
.home-page .agents.in .agents-bundle path { stroke-dashoffset: 0; }
.home-page .agents-pulses circle { fill: #fff; }
.home-page .agents-pulses .pulse-glow { fill: var(--brand); filter: url(#agPulseBlur); }
.home-page .agents-pulses { opacity: 0; transition: opacity .6s 1.4s; }
.home-page .agents.in .agents-pulses { opacity: 1; }

.home-page .agents-hub { position: absolute; left: 50%; top: 71.43%; transform: translate(-50%, -50%); width: 104px; height: 104px; display: grid; place-items: center; }
.home-page .agents-hub-tile { position: relative; z-index: 1; width: 88px; height: 88px; border-radius: 11px; background: url("/assets/images/agents/ami-hub-tile.svg") center / 100% 100% no-repeat;
  box-shadow: 0 24px 50px -12px rgba(99, 74, 252, .75), 0 0 0 1px rgba(255, 255, 255, .06); }
.home-page .agents-hub-label { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 3px; white-space: nowrap; }
.home-page .agents-hub-name { font: 700 20px/1 var(--font-display); letter-spacing: -0.02em; color: var(--text); }
.home-page .agents-hub-sub { font: 600 10px/1 var(--font-body); letter-spacing: .12em; color: var(--brand-hover); }
.home-page .agents-hub-ring { position: absolute; inset: -18px; border-radius: 40px; border: 1px solid rgba(99, 74, 252, .25); animation: hubRing 3s ease-out infinite; }
@keyframes hubRing { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

.home-page .agent-list { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 1200 / 560; z-index: 2; }
.home-page .agent { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; outline: none; z-index: 2; }
.home-page .agent-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: var(--shadow-float); transition: transform .3s var(--ease-out), background-color .3s, color .3s; }
.home-page .agent-ic svg { width: 24px; height: 24px; }
.home-page .agent > b { font: 600 14px/1.2 var(--font-body); color: var(--text); background: rgba(255, 255, 255, .85); padding: 4px 10px; border-radius: 100px; box-shadow: var(--shadow-sm); white-space: nowrap; }
.home-page .agent-p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } /* keeps "Counsel." in the text, hides the period visually on the node */
.home-page .agent-desc { position: absolute; bottom: calc(100% + 12px); left: 50%; width: 230px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-size: 13px; line-height: 1.45; text-align: center;
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s, transform .2s var(--ease-out), visibility 0s .2s; pointer-events: none; }
.home-page .agent-desc::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--ink); }
.home-page .agent:hover .agent-desc, .home-page .agent:focus-visible .agent-desc { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.home-page .agent:hover .agent-ic, .home-page .agent:focus-visible .agent-ic { transform: scale(1.08); background: var(--brand); color: #fff; }
.home-page .agent:focus-visible .agent-ic { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--brand); }
.home-page .agent-more .agent-ic svg { width: 22px; height: 22px; }
.js .home-page .agent { opacity: 0; scale: .7; transition: opacity .5s var(--ease-out), scale .5s var(--ease-out); transition-delay: calc(.9s + var(--k, 0) * 110ms); }
.home-page .agents.in .agent { opacity: 1; scale: 1; }

@media (max-width: 900px) {
  .home-page .agents { margin-top: 32px; }
  .home-page .agent-list { order: 2; aspect-ratio: auto; }
  .home-page .agents .center-cta { order: 3; }
  .home-page .agents-hub { width: 72px; height: 72px; }
  .home-page .agents-hub-tile { width: 60px; height: 60px; border-radius: 8px; }
  .home-page .agents-hub-label { top: calc(100% + 4px); }
  .home-page .agents-hub-name { font-size: 15px; }
  .home-page .agents-hub-sub { font-size: 8px; }
  .home-page .agent-list { position: static; width: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
  .home-page .agent { position: static; transform: none; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; align-items: start; padding: 16px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-sm); scale: 1; }
  .home-page .agent-ic { width: 44px; height: 44px; grid-row: 1 / 3; box-shadow: none; background: var(--brand-10); }
  .home-page .agent-ic svg { width: 20px; height: 20px; }
  .home-page .agent > b { background: none; box-shadow: none; padding: 0; font-size: 15px; }
  .home-page .agent-desc { position: static; width: auto; padding: 0; background: none; color: var(--text-2); text-align: left; opacity: 1; visibility: visible; transform: none; font-size: 14px; pointer-events: auto; }
  .home-page .agent-desc::after { display: none; }
}
@media (max-width: 560px) { .home-page .agent-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   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.
   ========================================================================== */
.home-page .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; }
.home-page .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%); }
.home-page .ta-head { grid-area: head; padding-top: 24px; }
.home-page .ta-head .lede { margin-top: 20px; max-width: 520px; }
.home-page .ta-steps { grid-area: steps; position: relative; margin-top: 56px; padding-left: 64px; }
.home-page .ta-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; border-radius: 30px; background: rgba(99, 74, 252, .1); overflow: hidden; }
.home-page .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); }
.home-page .ta-list { display: flex; flex-direction: column; }
.home-page .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; }
.home-page .ta-list li:first-child { padding-top: 0; }
.home-page .ta-list li.is-active { color: var(--text); }
.home-page .ta-ic { flex-shrink: 0; width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; background: #EFF1FF; color: #634AFC; }
.home-page .ta-ic svg { width: 24px; height: 24px; }
.home-page .ta-cta { grid-area: cta; margin-top: 24px; padding-left: 64px; align-self: start; }
.home-page .ta-shot { grid-area: shot; position: relative; margin: 32px 44px 44px; aspect-ratio: 1 / .86; align-self: start; }
.home-page .ta-frame { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.home-page .ta-frame.is-active { opacity: 1; transform: none; }
.home-page .ta-frame:nth-child(1) img { max-width: 80%; max-height: 80%; }
.home-page .ta-frame:nth-child(2) img { box-shadow: none; border-radius: 0; }
.home-page .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) {
  .home-page .ta { grid-template-columns: 1fr; grid-template-areas: "head" "steps" "cta" "devices" "shot"; grid-template-rows: none; }
  .home-page .ta-card-bg { grid-column: 1; grid-row: 4 / 6; margin-top: 40px; }
  .home-page .ta-head { padding-top: 0; }
  .home-page .ta-steps { margin-top: 40px; padding-left: 40px; }
  .home-page .ta-cta { padding-left: 40px; }
  .home-page .ta-shot { margin: 20px 16px 16px; }
}

/* ==========================================================================
   07 HR AUTOMATION — dark inset panel
   ========================================================================== */
.home-page .automate { padding-top: var(--section-y); }
.home-page .automate-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); grid-template-areas: "copy list" "cta list"; grid-template-rows: auto 1fr; column-gap: 64px; }
.home-page .automate-copy { grid-area: copy; }
.home-page .automate-list { grid-area: list; }
.home-page .automate-cta { grid-area: cta; margin-top: 32px; }
.home-page .automate-copy h2 { color: #fff; }
.home-page .automate-copy .lede { margin-top: 20px; }
.home-page .automate-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.home-page .automate-list li { padding: 28px 0; border-bottom: 1px solid var(--line-inv); color: var(--text-inv-2); font-size: 15px; line-height: 1.55; }
.home-page .automate-list li > b { display: block; margin: 20px 0 6px; color: #fff; font: 500 19px/1.3 var(--font-display); letter-spacing: -0.015em; }
.home-page .automate-list li:last-child { grid-column: 1 / -1; }
.home-page .automate-visual { position: relative; margin-top: 72px; }
.home-page .automate-glow { position: absolute; left: 50%; bottom: -30%; width: 90%; height: 110%; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 60%, rgba(99, 74, 252, .7), rgba(99, 74, 252, .15) 55%, transparent 72%); filter: blur(20px); }
.home-page .automate-shot { position: absolute; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .12); }
.home-page .automate-shot-main img { width: 100%; height: auto; display: block; }
.home-page .automate-shot-main { position: relative; width: min(94%, 1140px); aspect-ratio: 2000 / 715;   /* top 40% of the image visible */ box-shadow: none; border-radius: 0; overflow: hidden; margin: 0 auto; transform: none; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
@media (max-width: 1024px) {
  .home-page .automate-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "list" "cta"; row-gap: 32px; }
  .home-page .automate-cta { margin-top: 0; }
}
@media (max-width: 640px) {
  .home-page .automate-list { grid-template-columns: 1fr; }
  .home-page .automate-visual { height: auto; display: flex; flex-direction: column; gap: 12px; margin-top: 48px; }
  .home-page .automate-shot { position: relative; left: auto; top: auto; bottom: auto; width: 100%; transform: none; }
  .home-page .automate-shot-main { margin-bottom: 0; }
}

/* ==========================================================================
   08 ATS — checklist head + 6-step pipeline with progress line
   ========================================================================== */
.home-page .ats-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: start; }
.home-page .ats-head .lede { margin-top: 20px; max-width: 540px; }
.home-page .check-list { display: flex; flex-direction: column; }
.home-page .check-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px dashed var(--line-dash); font-size: 16px; }
.home-page .check-list li:first-child { padding-top: 4px; }
.home-page .check-ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; flex-shrink: 0; }
.home-page .check-ic svg { width: 13px; height: 13px; }
.home-page .ats-cta { grid-column: 1; grid-row: 2; }
.home-page .pipeline { position: relative; margin-top: 64px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding-top: 36px; }
.home-page .pipe-track { position: absolute; top: 12px; left: calc(100% / 12); right: calc(100% / 12); height: 2px; background: var(--line-strong); border-radius: 2px; }
.home-page .pipe-fill { position: absolute; inset: 0 auto 0 0; width: var(--pipe, 40%); background: var(--brand); border-radius: 2px; transition: width .8s var(--ease-out); }
.home-page .pipe-step { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 22px 18px 20px; border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow-sm); transition: box-shadow .4s, transform .4s var(--ease-out); }
.home-page .pipe-node { position: absolute; top: -36px; left: 50%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; display: grid; place-items: center; background: var(--page); box-shadow: inset 0 0 0 2px var(--line-strong); color: var(--brand); transition: background-color .4s, box-shadow .4s, color .4s; }
.home-page .pipe-node svg { width: 14px; height: 14px; display: none; }
.home-page .pipe-step.done .pipe-node { background: var(--brand); box-shadow: none; color: #fff; }
.home-page .pipe-step.done .pipe-check-done { display: block; }
.home-page .pipe-step.current .pipe-node { background: #fff; box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 6px rgba(99, 74, 252, .15); }
.home-page .pipe-step.current .pipe-check-current { display: none; }
.home-page .pipe-step.current .pipe-node::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(99, 74, 252, .22); border-top-color: var(--brand); animation: pipeSpin .8s linear infinite; }
@keyframes pipeSpin { to { transform: rotate(360deg); } }
.home-page .pipe-step.current { background: #FDFCFF; box-shadow: 0 0 0 1.5px var(--brand), var(--shadow-md); transform: translateY(-4px); }
.home-page .pipe-num { font: 500 30px/1 var(--font-display); letter-spacing: -0.03em; color: var(--text-3); transition: color .4s; }
.home-page .pipe-step.done .pipe-num, .home-page .pipe-step.current .pipe-num { color: var(--brand); }
.home-page .pipe-txt { display: flex; flex-direction: column; gap: 4px; }
.home-page .pipe-txt b { font: 600 15px/1.3 var(--font-body); }
.home-page .pipe-txt span { font-size: 13px; line-height: 1.4; color: var(--text-2); }
@media (max-width: 1024px) {
  .home-page .ats-head { grid-template-columns: 1fr; }
  .home-page .ats-cta { grid-row: auto; }
  .home-page .pipeline { grid-template-columns: 1fr; gap: 10px; padding-top: 0; padding-left: 40px; }
  .home-page .pipe-track { top: 26px; bottom: 26px; left: 12px; right: auto; width: 2px; height: auto; }
  .home-page .pipe-fill { inset: 0 0 auto 0; width: 100%; height: var(--pipe, 40%); transition-property: height; }
  .home-page .pipe-step { flex-direction: row; align-items: center; gap: 16px; padding: 16px 18px; }
  .home-page .pipe-node { top: 50%; left: -41px; margin: -13px 0 0; }
  .home-page .pipe-num { font-size: 22px; min-width: 34px; }
  .home-page .pipe-step.current { transform: translateX(4px); }
}

/* ==========================================================================
   09 PRICING — rail-labelled card (home-three "security" layout, light)
   ========================================================================== */
.home-page .pricing-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) auto; gap: 48px; align-items: center; padding: 20px 48px 20px 20px; border-radius: var(--r-card-lg); background: var(--card); box-shadow: var(--shadow-lg); overflow: hidden; }
.home-page .pricing-shot { border-radius: var(--r-card); overflow: hidden; background: linear-gradient(180deg, #fff, var(--brand-10)); }
.home-page .pricing-copy h2 { font-size: clamp(28px, 2.8vw, 38px); }
.home-page .pricing-copy p { margin-top: 16px; color: var(--text-2); max-width: 480px; }
@media (max-width: 1024px) {
  .home-page .pricing-card { grid-template-columns: 1fr; padding: 12px 12px 32px; gap: 28px; }
  .home-page .pricing-copy, .home-page .pricing-action { padding-inline: 16px; }
}

/* ==========================================================================
   10 DISCOVER — sticky head + numbered expandable list
   ========================================================================== */
.home-page .platform { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.home-page .platform-head { position: sticky; top: 120px; }
.home-page .platform-head p { margin-top: 20px; color: var(--text-2); font-size: var(--fs-lede); max-width: 460px; }
.home-page .acc { border-top: 1px solid var(--line-strong); }
.home-page .acc-item { border-bottom: 1px solid var(--line-strong); }
.home-page .acc-row { display: flex; align-items: center; gap: 24px; }
.home-page .acc-h { flex: 1; font-size: inherit; letter-spacing: inherit; }
.home-page .acc-btn { width: 100%; display: flex; align-items: center; gap: 24px; padding: 26px 4px 26px 0; text-align: left; border-radius: 0; }
.home-page .acc-idx { padding-left: 4px; }
.home-page .acc-idx { font: 500 18px/1 var(--font-display); color: var(--text-3); min-width: 32px; transition: color .3s; }
.home-page .acc-title { flex: 1; font: 500 clamp(20px, 2vw, 26px)/1.25 var(--font-display); letter-spacing: -0.025em; color: var(--text); transition: color .3s; }
.home-page .acc-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-10); color: var(--brand); flex-shrink: 0; transition: background-color .3s, color .3s, transform .4s var(--ease-out); }
.home-page .acc-ic svg { width: 16px; height: 16px; }
.home-page .acc-btn:hover .acc-title { color: var(--brand-hover); }
.home-page .acc-item.is-open .acc-idx { color: var(--brand); }
.home-page .acc-item.is-open .acc-ic { background: var(--brand); color: #fff; transform: rotate(90deg); }
.home-page .acc-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease-out); }
.js .home-page .acc-item:not(.is-open) .acc-panel { grid-template-rows: 0fr; }
.home-page .acc-inner { overflow: hidden; padding-left: 60px; }
.home-page .acc-inner p { color: var(--text-2); max-width: 520px; }
.home-page .acc-inner .link { margin: 16px 0 28px; }
.js .home-page .acc-item:not(.is-open) .acc-inner { visibility: hidden; transition: visibility 0s .45s; }
@media (max-width: 900px) {
  .home-page .platform { grid-template-columns: 1fr; gap: 32px; }
  .home-page .platform-head { position: static; }
  .home-page .acc-row { gap: 14px; }
  .home-page .acc-btn { gap: 14px; padding: 20px 0; }
  .home-page .acc-inner { padding-left: 46px; }
}

/* ==========================================================================
   11 GET STARTED — pinned section: marquee headline behind product image,
   copy + buttons reveal on scroll (progress in --p, set by JS)
   ========================================================================== */
.home-page .cta-pin { position: relative; height: 260vh; }
.home-page .cta-sticky { position: sticky; top: 0; height: 100vh; min-height: 640px; display: flex; align-items: center; padding-top: 72px; overflow: hidden; }
.home-page .cta-stage { position: relative; width: calc(100% - var(--frame-inset) * 2); height: calc(100% - 24px); margin-inline: auto; border-radius: var(--r-panel); background: radial-gradient(60% 60% at 50% 45%, #fff 0%, #F7F6FF 60%, #EEECFF 100%); box-shadow: var(--shadow-sm); overflow: hidden; display: grid; place-items: center; }
.home-page .cta-marquee { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; transform: translateY(calc(var(--p, 0) * -8vh)); }
.home-page .cta-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.home-page .cta-word { flex-shrink: 0; padding-right: .5em; font: 500 clamp(80px, 14vw, 230px)/1 var(--font-display); letter-spacing: -0.05em; color: var(--text); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
.home-page .cta-image {
  position: relative; z-index: 2; width: clamp(280px, 34vw, 500px);
  filter: drop-shadow(0 40px 60px rgba(33, 18, 140, .28));
  transform: translateY(calc(var(--p, 0) * -6vh)) scale(calc(.92 + var(--p, 0) * .08));
}
.home-page .cta-image img { width: 100%; }
.home-page .cta-copy {
  position: absolute; z-index: 3; left: 50%; bottom: 40px; width: min(720px, calc(100% - 32px));
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
  padding: 26px 30px; border-radius: var(--r-card); background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow-lg);
  opacity: var(--reveal, 1); transform: translate(-50%, calc((1 - var(--reveal, 1)) * 60px));
}
.home-page .cta-copy:focus-within { opacity: 1; transform: translate(-50%, 0); }
.home-page .cta-lede { font-size: var(--fs-lede); color: var(--text-2); max-width: 600px; }
.home-page .cta-copy .cta-group { justify-content: center; }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .home-page .cta-pin { height: auto; padding-block: calc(var(--section-y) * .5); }
  .home-page .cta-sticky { position: relative; height: auto; min-height: 0; }
  .home-page .cta-stage { height: auto; padding: 72px 16px 24px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
  .home-page .cta-marquee { top: 40px; bottom: auto; transform: none; }
  .home-page .cta-image { transform: none; width: min(300px, 78%); }
  .home-page .cta-copy { position: relative; left: auto; bottom: auto; transform: none; opacity: 1; width: 100%; padding: 22px 18px; }
}
@media (max-width: 767px) { .home-page .cta-copy .cta-group { flex-direction: column; width: 100%; } .home-page .cta-copy .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .home-page .cta-track { animation: none; transform: none; justify-content: center; width: 100%; }
  .home-page .cta-word[data-dup] { display: none; }
  .home-page .cta-word { font-size: clamp(44px, 8vw, 120px); white-space: normal; text-align: center; padding: 0 16px; }
}

/* ==========================================================================
   12 FAQ — category rail + native <details> accordions
   ========================================================================== */
.home-page .faq { margin-top: 64px; display: flex; flex-direction: column; gap: 16px; }
.home-page .faq-category { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 32px; padding: 28px; border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow-sm); }
.home-page .faq-category-title { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; letter-spacing: -0.02em; position: sticky; top: 104px; align-self: start; padding-top: 14px; }
.home-page .faq-list { display: flex; flex-direction: column; }
.home-page .faq-item { border-bottom: 1px solid var(--line); }
.home-page .faq-item:last-child { border-bottom: 0; }
.home-page .faq-q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 4px; cursor: pointer; font: 500 16px/1.45 var(--font-body); color: var(--text); border-radius: 8px; }
.home-page .faq-q::-webkit-details-marker { display: none; }
.home-page .faq-q:hover { color: var(--brand-hover); }
.home-page .faq-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--page); color: var(--text-2); flex-shrink: 0; transition: transform .35s var(--ease-out), background-color .3s, color .3s; }
.home-page .faq-ic svg { width: 14px; height: 14px; }
.home-page .faq-item[open] .faq-ic { transform: rotate(180deg); background: var(--brand); color: #fff; }
.home-page .faq-a { padding: 0 52px 20px 4px; color: var(--text-2); font-size: 15px; line-height: 1.65; }
@supports (interpolate-size: allow-keywords) {
  .home-page .faq { interpolate-size: allow-keywords; }
  .home-page .faq-item::details-content { height: 0; overflow: hidden; transition: height .4s var(--ease-out), content-visibility .4s allow-discrete; }
  .home-page .faq-item[open]::details-content { height: auto; }
}
@media (max-width: 900px) {
  .home-page .faq { margin-top: 40px; }
  .home-page .faq-category { grid-template-columns: 1fr; gap: 4px; padding: 20px 18px 8px; }
  .home-page .faq-category-title { position: static; padding-top: 0; }
  .home-page .faq-a { padding-right: 8px; }
}

/* ==========================================================================
   Home quick fixes (30 Sep)
   ========================================================================== */
/* hero: softer screen shadow; agent feed lowered so it clears "Hi Stephany!" */
.home-page .hero .hero-window { box-shadow: 0 30px 70px -34px rgba(33, 18, 140, .38), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.home-page .hero .feed-card { top: 34%; }
/* time & attendance: animated minis on the product-page card background */
.home-page #time-attendance .ta-card-bg { background: #0A0916 url("/assets/images/pages/homepage/ta-card-bg.webp") center / cover no-repeat; }
.home-page #time-attendance .ta-frame { display: grid; place-items: center; }
/* automate: Workflow Hub leans back and settles flat as it scrolls in (same tilt as the hero screen; --tilt from motion.js) */
.home-page .automate-visual { perspective: 1400px; }
.home-page .automate-shot-main[data-tilt] { aspect-ratio: 2000 / 820; transform-origin: 50% 0; will-change: transform;
  transform: rotateX(calc(var(--tilt, 1) * 14deg)) scale(calc(1 - var(--tilt, 1) * .04)); border-radius: 18px 18px 0 0; }
/* platform: the big image follows the hovered card */
.home-page .bento-shot { position: relative; }
.home-page .bento-pic { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease-out); }
.home-page .bento-pic.is-on { opacity: 1; }
.home-page .bento-pic img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.home-page .bento-card[data-shot-for].is-shown { box-shadow: 0 0 0 1.5px var(--brand), var(--shadow-md); }
@media (prefers-reduced-motion: reduce) { .home-page .automate-shot-main[data-tilt] { transform: none; } .home-page .bento-pic { transition: none; } }
/* T&A minis: frames stack in one grid cell so the area sizes to the tallest widget (no fixed-ratio overflow) */
.home-page #time-attendance .ta-shot { display: grid; aspect-ratio: auto; align-content: center; }
.home-page #time-attendance .ta-frame { position: relative; inset: auto; grid-area: 1 / 1; }
@media (max-width: 900px) { .home-page #time-attendance .ta-shot { margin: 24px 16px 20px; } }
/* T&A: device strip removed — the widget is centred in the whole card, a touch bigger */
.home-page #time-attendance .ta { grid-template-areas: "head shot" "steps shot" "cta shot"; }
.home-page #time-attendance .ta-card-bg { grid-row: 1 / 4; }
.home-page #time-attendance .ta-shot { align-self: stretch; margin: 40px; place-items: center; }
@media (min-width: 1101px) { .home-page #time-attendance .ta-shot .mi { zoom: 1.14; } }
@media (max-width: 900px) {
  .home-page #time-attendance .ta { grid-template-areas: "head" "steps" "cta" "shot"; }
  .home-page #time-attendance .ta-card-bg { grid-row: 4; margin-top: 40px; }
  .home-page #time-attendance .ta-shot { grid-row: 4; margin: 64px 16px 24px; }
}
/* Workflow Hub: translucent glass outline, as the hero screen */
.home-page .automate-shot-main[data-tilt] { overflow: visible; padding: 8px 8px 0; border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .08)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.home-page .automate-shot-main[data-tilt] picture { display: block; height: 100%; overflow: hidden; border-radius: 19px 19px 0 0; }
.home-page .automate-shot-main[data-tilt] img { width: 100%; height: auto; }
/* Workflow Hub sits on purple dust */
.home-page .automate-visual::before { content: ""; position: absolute; left: 50%; top: -18%; z-index: 0; width: 120%; height: 150%; transform: translateX(-50%); pointer-events: none;
  background: url("/assets/images/agents/ami-intro.svg") center top / 100% auto no-repeat; opacity: .9; }
.home-page .automate-visual > .automate-shot-main { z-index: 1; }

/* 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.
   ========================================================================== */
.home-page .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); }
.home-page .mi svg { display: block; }

/* ---------- Payroll — clock in → verified → payroll (Payroll.svg 394×497) ---------- */
.home-page .mi-py { width: min(380px, 100%); padding: 14px; border-radius: 18px; display: flex; flex-direction: column; align-items: stretch; background: #FBFBFD; }
.home-page .mi-py-step { padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #EEF0F6; transition: box-shadow .4s, opacity .4s, transform .45s var(--ease-out); }
.home-page .mi-py-top { display: flex; align-items: center; gap: 10px; }
.home-page .mi-py-top b { flex: 1; font: 500 14.5px/1 var(--font-body); color: #3F4147; }
.home-page .mi-py-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 500 13px/1 var(--font-body); }
.home-page .mi-py-step.is-green .mi-py-n { background: #E8F7E4; color: #2E7D32; } .home-page .mi-py-step.is-purple .mi-py-n { background: #ECE8FF; color: #4931DC; } .home-page .mi-py-step.is-blue .mi-py-n { background: #E7F0FF; color: #2463D1; }
.home-page .mi-py-auto { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border-radius: 6px; background: #E5FDF0; color: #007C66; font: 500 11px/1 var(--font-body); }
.home-page .mi-py-auto svg { width: 11px; height: 11px; }
.home-page .mi-py-sub { display: flex; gap: 16px; margin-top: 9px; padding-left: 38px; font-size: 11.5px; color: #5F6C87; }
.home-page .mi-py-sub span { display: inline-flex; align-items: center; gap: 5px; }
.home-page .mi-py-sub svg { width: 13px; height: 13px; }
.home-page .mi-py-step.is-green .mi-py-sub svg { color: #0A8F6A; } .home-page .mi-py-step.is-purple .mi-py-sub svg { color: #7358F8; } .home-page .mi-py-step.is-blue .mi-py-sub svg { color: #2F80ED; }
.home-page .mi-py-arrow { align-self: center; width: 16px; height: 16px; margin: 5px 0; color: #8A8FA3; transition: color .3s, transform .4s; }
.home-page .mi-py-save { padding: 12px 14px; border-radius: 12px; background: #E9F9D8; box-shadow: inset 0 0 0 1px #D2F0B8; text-align: center; transition: opacity .45s, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.home-page .mi-py-save b { display: inline-flex; align-items: center; gap: 7px; font: 500 13.5px/1.2 var(--font-body); color: #22361A; }
.home-page .mi-py-save b svg { width: 16px; height: 16px; }
.home-page .mi-py-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 9px; }
.home-page .mi-py-stats span { display: flex; flex-direction: column; gap: 3px; font-size: 10.5px; color: #3E5A30; }
.home-page .mi-py-stats span + span { border-left: 1px solid #C9E6B0; }
.home-page .mi-py-stats em { font: 500 14px/1 var(--font-body); font-style: normal; color: #22361A; }
/* sequence states (js/minis.js) */
.home-page .mi-py.is-seq .mi-py-step { opacity: .45; transform: scale(.98); }
.home-page .mi-py.is-seq .mi-py-step.is-lit { opacity: 1; transform: none; box-shadow: 0 12px 26px -14px rgba(49, 30, 160, .45), 0 0 0 1.5px #B8ADFF; }
.home-page .mi-py.is-seq .mi-py-step.is-past { opacity: 1; transform: none; }
.home-page .mi-py.is-seq .mi-py-arrow.is-lit { color: #634AFC; transform: translateY(2px); }
.home-page .mi-py.is-seq .mi-py-save { opacity: 0; transform: translateY(10px) scale(.96); }
.home-page .mi-py.is-seq .mi-py-save.is-on { opacity: 1; transform: none; }

/* ---------- Home T&A: attendance (track working.svg 230×254) ---------- */
.home-page .mi-at { width: min(330px, 100%); padding: 18px 20px 16px; border-radius: 16px; }
.home-page .mi-at-head { display: flex; align-items: center; gap: 10px; }
.home-page .mi-at-logo { width: 18px; height: 18px; color: #634AFC; }
.home-page .mi-at-head b { font: 500 17px/1 var(--font-body); color: #2C2853; }
.home-page .mi-at-tools { margin-left: auto; display: flex; gap: 12px; color: #A3A2B1; }
.home-page .mi-at-tools svg { width: 16px; height: 16px; }
.home-page .mi-at-meta { margin: 12px 0 0 28px; font-size: 12.5px; line-height: 1.55; color: #2C2853; }
.home-page .mi-at-flag { display: inline-flex; align-items: center; gap: 7px; margin: 10px 0 0 28px; padding: 6px 10px 6px 7px; border-radius: 7px; background: #FFF1E6; color: #C4480A; font-size: 11.5px;
  transition: opacity .35s, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.home-page .mi-at-flag > span { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: #F26A1B; color: #fff; font: 700 10px/1 var(--font-body); }
.home-page .mi-at.is-pre-flag .mi-at-flag { opacity: 0; transform: scale(.85); }
.home-page .mi-at-who { display: flex; align-items: center; gap: 10px; margin: 14px 0 6px 28px; font: 500 13px/1 var(--font-body); color: #2C2853; }
.home-page .mi-at-av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; }
.home-page .mi-at-av img { width: 100%; height: 100%; object-fit: cover; }
.home-page .mi-at-list { list-style: none; margin: 0 0 0 28px; padding: 0; }
.home-page .mi-at-p { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 12.5px; color: #2C2853; transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.home-page .mi-at-p i { width: 6px; height: 6px; border-radius: 50%; }
.home-page .mi-at-p.is-in i { background: #1BCAA7; } .home-page .mi-at-p.is-out i { background: #F26A1B; }
.home-page .mi-at-loc { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; color: #634AFC; }
.home-page .mi-at-loc svg { width: 13px; height: 13px; }
.home-page .mi-at .mi-at-p.is-pre { opacity: 0; transform: translateX(-8px); }

/* ---------- Home T&A: timesheet verification (scan timesheets.svg 453×250) ---------- */
.home-page .mi-vf { width: min(440px, 100%); padding: 0 0 14px; border-radius: 16px; background: #F4F3FF; }
.home-page .mi-vf-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 16px 16px 0 0; background: #EEEDFD; }
.home-page .mi-vf-head b { font: 600 14px/1 var(--font-body); color: #4931DC; white-space: nowrap; }
.home-page .mi-vf-key { display: flex; gap: 10px; font-size: 10.5px; color: #495066; white-space: nowrap; }
.home-page .mi-vf-key span { display: inline-flex; align-items: center; gap: 4px; }
.home-page .mi-vf-key i { width: 8px; height: 8px; border-radius: 2px; }
.home-page .z-w { background: #3CC98A; } .home-page .z-b { background: #FFAA4C; } .home-page .z-o { background: #FF6B6B; }
.home-page .mi-vf-card { margin: 14px 14px 0; padding: 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #EEF0F6; transition: background-color .4s, box-shadow .4s; }
.home-page .mi-vf-card.is-flag.is-lit { background: #FFF5F5; box-shadow: 0 0 0 1px #FBC6C6; }
.home-page .mi-vf-top { display: flex; align-items: center; gap: 12px; }
.home-page .mi-vf-av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.home-page .mi-vf-av img { width: 100%; height: 100%; object-fit: cover; }
.home-page .mi-vf-txt { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.home-page .mi-vf-txt b { font: 500 14.5px/1.2 var(--font-body); color: #3F4147; }
.home-page .mi-vf-txt span { font-size: 11.5px; line-height: 1.35; color: #6C7597; }
.home-page .mi-vf-card.is-flag .mi-vf-txt span { color: #6C7597; transition: color .4s; }
.home-page .mi-vf-card.is-flag.is-lit .mi-vf-txt span { color: #C9111C; }
.home-page .mi-vf-tag { padding: 5px 8px; border-radius: 7px; background: #E5FDF0; color: #007C66; font: 500 11.5px/1 var(--font-body); transition: opacity .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.home-page .mi-vf-card:not(.is-done) .mi-vf-tag { opacity: 0; transform: scale(.7); }
.home-page .mi-vf-bar { display: flex; height: 7px; margin-top: 12px; border-radius: 4px; background: #E3E5EA; overflow: hidden; }
.home-page .mi-vf-bar i { width: var(--w); height: 100%; transition: width .9s var(--ease-out); }
.home-page .mi-vf-card:not(.is-scanned) .mi-vf-bar i { width: 0; }
.home-page .mi-vf-bar i + i { transition-delay: .35s; } .home-page .mi-vf-bar i + i + i { transition-delay: .7s; }

/* ---------- inside the home T&A frames: undo the screenshot rules, centre, glass border ---------- */
.home-page .ta-frame:has(> .mi) { display: grid; place-items: center; }
.home-page .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; }
.home-page .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); }
.home-page .ta-shot .mi-at, .home-page .ta-shot .mi-vf, .home-page .ta-shot .mi-py { border-radius: 24px; }
.home-page .ta-shot .mi-vf-head { border-radius: 16px 16px 0 0; }
.home-page .ta-shot .mi { max-width: 100%; }
@media (max-width: 520px) {
  .home-page .mi-vf-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .home-page .mi-vf-key { gap: 8px; flex-wrap: wrap; }
}
/* attendance: the flag takes no space until it appears, then eases the name + punches down */
.home-page .mi-at-flag-wrap { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s var(--ease-out); }
.home-page .mi-at-flag-wrap > div { overflow: hidden; min-height: 0; }
.home-page .mi-at.is-pre-flag .mi-at-flag-wrap { grid-template-rows: 0fr; }

/* css/uk-map.css */
/* ==========================================================================
   03 World of Sense — interactive UK map.
   Class names + JS are unchanged from live (js/uk-map.js); only styling differs:
   white rounded shell, dark stage card (reference "dark card" language),
   KPI tiles in the stats-strip style with odometer numbers.
   ========================================================================== */
.home-page #world-of-sense { padding-block: calc(var(--section-y) * .75) var(--section-y); }
.home-page #world-of-sense .wos-panel { border-radius: var(--r-card-lg); background: var(--card); box-shadow: var(--shadow-lg); padding: 14px; }
.home-page #world-of-sense .wos { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding-left: 48px; }
.home-page #world-of-sense .section-head h2 { max-width: 480px; }
.home-page #world-of-sense .section-head p { margin-top: 20px; color: var(--text-2); font-size: var(--fs-lede); max-width: 480px; }
.home-page #world-of-sense .section-head p b { color: var(--text); font-weight: 600; }
.home-page #world-of-sense .wos-kpis { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; max-width: 480px; }
.home-page #world-of-sense .wos-kpi { display: flex; flex-direction: column; gap: 16px; padding: 4px 24px; border-left: 1px dashed var(--line-dash); }
.home-page #world-of-sense .wos-kpi:first-child { border-left: 0; padding-left: 0; }
.home-page #world-of-sense .wos-kpi-icon { width: 44px; height: 44px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--brand-10); }
.home-page #world-of-sense .wos-kpi-icon svg { width: 22px; height: 22px; }
.home-page #world-of-sense .wos-kpi-text { display: flex; flex-direction: column; gap: 6px; }
.home-page #world-of-sense .wos-kpi-text b { font: 500 clamp(30px, 3vw, 42px)/1.1 var(--font-display); letter-spacing: -0.035em; color: var(--text); }
.home-page #world-of-sense .wos-kpi-text > span { font-size: 14px; color: var(--text-2); }

.home-page .wos-stage { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--r-card); background: radial-gradient(80% 70% at 60% 30%, #2A2476 0%, #120F33 55%, var(--ink) 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.home-page .wos-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 35% at 50% 100%, rgba(99, 74, 252, .45), transparent 70%); }
.home-page .wos-hint { position: absolute; left: 16px; top: 16px; z-index: 4; font: 500 12px/1 var(--font-body); color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px var(--line-inv); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 100px; padding: 8px 12px; transition: opacity .3s; }
.home-page .wos-world { position: absolute; inset: 0; transition: transform 1s cubic-bezier(.6, 0, .2, 1), opacity .5s; }
.home-page .wos-map { position: absolute; left: 50%; top: -20.6%; height: 114.6%; aspect-ratio: 400 / 560; transform: translateX(-50%); }
.home-page .wos-map svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.home-page .wos-map svg.wos-source { opacity: 0; pointer-events: none; }
.home-page .wos-grid-dot { fill: #5A4BC9; }
.home-page .wos-grid-dot.hl { fill: #B8ADFF; }
.home-page .wos-pin { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; z-index: 2; }
.home-page .wos-pin::before { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 2px rgba(255, 255, 255, .55); transition: transform .2s, box-shadow .2s; animation: wostwinkle 2.4s ease-in-out infinite; animation-delay: var(--pulse-delay, 0s); }
@keyframes wostwinkle { 0%, 100% { box-shadow: 0 0 6px 2px rgba(255, 255, 255, .45); opacity: .8; } 50% { box-shadow: 0 0 15px 6px rgba(255, 255, 255, .95); opacity: 1; } }
.home-page .wos-pin:hover::before, .home-page .wos-pin:focus-visible::before { animation: none; opacity: 1; transform: scale(1.6); box-shadow: 0 0 12px 5px rgba(255, 255, 255, .8); }
.home-page .wos-pin:focus-visible { outline: 2px solid var(--brand-soft); outline-offset: 2px; border-radius: 50%; }
.home-page .wos-pin.on::before { animation: none; opacity: 1; box-shadow: 0 0 16px 7px rgba(255, 255, 255, .85); }
.home-page .wos-card { position: absolute; width: 236px; background: #fff; border: 0; border-radius: var(--r-md); padding: 16px 16px 14px; box-shadow: var(--shadow-float); font: 13px/1.35 var(--font-body); transition: opacity .5s, transform .5s; z-index: 3; cursor: pointer; text-align: left; color: var(--text); }
.home-page .wos-card .co { font-size: 12px; color: var(--text-2); }
.home-page .wos-card .ev { font: 500 15px/1.3 var(--font-display); letter-spacing: -0.01em; color: var(--text); margin: 10px 0; }
.home-page .wos-card .roi { display: inline-block; background: var(--live-bg); color: #096931; font-weight: 500; font-size: 12.5px; border-radius: 8px; padding: 5px 10px; }
.home-page .wos-card .more { display: block; font-size: 13px; font-weight: 600; color: var(--brand-hover); margin-top: 14px; }
.home-page .wos-card.out { opacity: 0; transform: translateY(8px); pointer-events: none; }
.home-page .wos-close { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .45s; z-index: 5; background-color: #F6F5FF; background-image: radial-gradient(rgba(99, 74, 252, .16) 1.2px, transparent 0); background-size: 18px 18px; }
.home-page .wos-close.on { opacity: 1; pointer-events: auto; }
.home-page .wos-close header { position: absolute; left: 16px; right: 16px; top: 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; z-index: 2; }
.home-page .wos-close .co { display: flex; align-items: baseline; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.home-page .wos-close .co b { font: 500 19px var(--font-display); letter-spacing: -0.02em; color: var(--text); white-space: nowrap; }
.home-page .wos-close .co span { font-size: 12.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; margin-left: 6px; }
.home-page .wos-close .co span::before { content: "· "; }
.home-page .wos-back { font: 600 13px var(--font-body); color: var(--brand-hover); background: #fff; border: 0; box-shadow: inset 0 0 0 1px var(--brand); border-radius: var(--btn-radius); padding: 8px 12px; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease-out), background-color .2s; }
.home-page .wos-back:hover { background: var(--brand-10); transform: scale(.97); }
.home-page .wos-links, .home-page .wos-nodes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; max-width: none; }
.home-page .wos-lk { stroke: var(--brand); stroke-opacity: .25; stroke-width: 1.5; fill: none; }
.home-page .wos-lk.live { stroke-opacity: 1; stroke-dasharray: 6 8; animation: wosflow 1s linear infinite; }
@keyframes wosflow { to { stroke-dashoffset: -28; } }
.home-page .wos-node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 5px; }
.home-page .wos-node .ic { width: 42px; height: 42px; border-radius: 13px; background: #fff; display: grid; place-items: center; color: var(--brand); box-shadow: var(--shadow-float); }
.home-page .wos-node .ic svg { width: 20px; height: 20px; }
.home-page .wos-node.hub .ic { background: var(--brand); color: #fff; }
.home-page .wos-node .nm { font-size: 11px; font-weight: 600; color: var(--ink); background: #fff; border-radius: 100px; padding: 1px 8px; white-space: nowrap; }
.home-page .wos-evs { position: absolute; left: 16px; right: 16px; top: 57%; display: flex; flex-direction: column; gap: 8px; }
.home-page .wos-e { background: #fff; border-radius: var(--r-sm); padding: 14px 12px; font-size: 13px; transition: opacity .4s, transform .4s; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: var(--shadow-sm); }
.home-page .wos-e b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex-shrink: 1; }
.home-page .wos-e span { color: var(--text-2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; min-width: 0; flex-shrink: 2; }
.home-page .wos-e.in { opacity: 0; transform: translateY(8px); }
.home-page .wos-e.al b { color: #C4372B; }
.home-page .wos-roi { position: absolute; left: 16px; right: 16px; bottom: 16px; background: var(--live-bg); color: #096931; border-radius: var(--r-sm); padding: 16px 14px; font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
.home-page .wos-roi small { font-weight: 500; font-size: 11.5px; opacity: .85; }

@media (max-width: 900px) {
  .home-page #world-of-sense .wos-panel { padding: 10px; }
  .home-page #world-of-sense .wos { grid-template-columns: 1fr; gap: 32px; padding: 20px 10px 0; }
  .home-page #world-of-sense .wos-kpis { margin-top: 28px; }
  .home-page #world-of-sense .wos-kpi { padding: 0 16px; }
  .home-page .wos-card { display: none; }
  .home-page .wos-nodes, .home-page .wos-links { transform: translateY(5%); }
  .home-page .wos-evs { top: 59%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .wos-world, .home-page .wos-close, .home-page .wos-e, .home-page .wos-card { transition: none; }
  .home-page .wos-lk.live, .home-page .wos-pin::before { animation: none; }
}

/* ---- Added for the live site (not in the design export) ---- */
