/* =============================================================
   Skilly AI - Design Tokens
   Colors and Type vars (base + semantic)
   ============================================================= */

/* Manrope is the primary product/marketing font.
   Loaded from Google Fonts. The Figma also references Barlow
   Condensed (used in /Kilowott---Archive – legacy/marketing
   captions) but the 2026 brand effectively uses Manrope only. */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Barlow+Condensed:wght@400;500;600;700&display=swap");

:root {
  /* ---------- Color · Brand ----------
     Primary brand purple. Used for primary buttons, links,
     selected states, and the “forward” motion accent. */
  --skilly-blue-25:  #FAFAFE;
  --skilly-blue-50:  #F1F1FE;
  --skilly-blue-100: #E8E5FF;
  --skilly-blue-200: #D4CFFF;
  --skilly-blue-300: #A9A0FF;
  --skilly-blue-400: #8276F9;
  --skilly-blue-500: #5848F7; /* primary */
  --skilly-blue-600: #3827D9;
  --skilly-blue-700: #2F1FC1;

  --skilly-grad-1: linear-gradient(90deg, #A9A0FF 0%, #5848F7 100%);
  --skilly-grad-2: linear-gradient(135deg, #5848F7 0%, #2F1FC1 100%);

  /* ---------- Color · Neutral (Greys) ---------- */
  --skilly-white:    #FFFFFF;
  --skilly-grey-25:  #FBFAFB;
  --skilly-grey-50:  #F7F7F8;
  --skilly-grey-75:  #F3F3F4;
  --skilly-grey-100: #E9E9EA;
  --skilly-grey-200: #D2D2D4;
  --skilly-grey-300: #BCBBBE;
  --skilly-grey-400: #9A999D;
  --skilly-grey-500: #77757B;
  --skilly-grey-600: #636168;
  --skilly-grey-700: #4C4951;
  --skilly-grey-800: #36333C;
  --skilly-grey-900: #1F1C26; /* near-black, the second-most used brand color after primary */

  /* ---------- Color · Hero tints ----------
     Soft lavender/blue tints used in marketing hero
     compositions (campus illustration backgrounds). */
  --skilly-tint-lavender:  #DBDEFE; /* hill / foreground silhouette */
  --skilly-tint-sky:       #E7E9FE; /* sky panel */
  --skilly-tint-cloud:     #F7F6FB; /* page bg */
  --skilly-tint-tepper:    #E0F4F4; /* mint accent on certain illustrations */

  /* ---------- Color · Semantic ----------
     We mirror Skilly's tone: monochrome backgrounds, dark text,
     brand purple as the only true accent. Reds/greens are reserved
     for state (error/success). */
  --bg-base:        var(--skilly-white);
  --bg-subtle:      var(--skilly-grey-50);
  --bg-muted:       var(--skilly-grey-75);
  --bg-inverted:    var(--skilly-grey-900);
  --bg-brand-soft:  var(--skilly-blue-50);
  --bg-brand:       var(--skilly-blue-500);

  --fg-default:     var(--skilly-grey-900);
  --fg-muted:       var(--skilly-grey-600);
  --fg-subtle:      var(--skilly-grey-500);
  --fg-disabled:    var(--skilly-grey-400);
  --fg-onbrand:     var(--skilly-white);
  --fg-oninvert:    var(--skilly-white);
  --fg-link:        var(--skilly-blue-500);
  --fg-link-hover:  var(--skilly-blue-700);

  --border-subtle:  var(--skilly-grey-100);
  --border-default: var(--skilly-grey-200);
  --border-strong:  var(--skilly-grey-400);
  --border-brand:   var(--skilly-blue-500);
  --border-focus:   var(--skilly-blue-300);

  /* state */
  --color-success: #1E9E6A;
  --color-warning: #E2A53B;
  --color-error:   #C41230; /* the brand red, found on the LinkedIn graphics + mascot speech bubble */
  --color-info:    var(--skilly-blue-500);

  /* ---------- Shadow / Elevation ----------
     Skilly's UI is mostly flat - shadows are *soft and short*
     (1–2px y, 4–13px blur). They never use a big drop-shadow. */
  --shadow-xs:  0 1px 2px  rgba(10,13,18,.05);
  --shadow-sm:  0 1px 4px  rgba(31,28,38,.06);
  --shadow-md:  0 1px 8px  rgba(31,28,38,.12);
  --shadow-lg:  0 1px 13px rgba(0,0,0,.08);
  --shadow-glow:0 2.3px 43px rgba(183,181,210,.7); /* the “floating chat card” shadow on the hero */

  /* ---------- Radius ----------
     The system has a very specific radius scale.
     - 2  → utility panels & dividers
     - 4  → input fields, file chips
     - 6  → cards
     - 8  → buttons & toolbars
     - 12 → hero illustration containers
     - 16 → mascot avatar tile
     - 48/99 → fully rounded pills, search bar */
  --radius-2:  2px;
  --radius-4:  4px;
  --radius-6:  6px;
  --radius-8:  8px;
  --radius-10: 10px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-pill: 9999px;

  /* ---------- Spacing ----------
     4-pt scale. Don't invent new spacing tokens.   */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* ---------- Type · Family ---------- */
  --font-sans:    "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", ui-sans-serif, system-ui, sans-serif; /* same family, heavier weights */
  --font-cond:    "Barlow Condensed", "Manrope", sans-serif;       /* legacy/captions only */
  --font-mono:    ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* ---------- Type · Weights ---------- */
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-extra:    800;

  /* ---------- Type · Scale (closely matches Figma usage) ----------
     The vast majority of body text in production is 14/16px Manrope.
     Display sizes come from the hero & section heads. */
  --fs-12: 12px;  --lh-12: 1.5;
  --fs-14: 14px;  --lh-14: 1.5;
  --fs-16: 16px;  --lh-16: 1.5;
  --fs-18: 18px;  --lh-18: 1.5;
  --fs-20: 20px;  --lh-20: 1.3;
  --fs-24: 24px;  --lh-24: 1.25;
  --fs-28: 28px;  --lh-28: 1.2;
  --fs-30: 30px;  --lh-30: 1.2;
  --fs-36: 36px;  --lh-36: 1.15;
  --fs-44: 44px;  --lh-44: 1.1;
  --fs-56: 56px;  --lh-56: 1.05;

  --tracking-tight: -0.01em; /* used on the big display lockups */
  --tracking-normal: 0;
}

/* =============================================================
   Semantic type - drop-in classes you can use directly.
   ============================================================= */
.skilly-h1 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-56);
  line-height: var(--lh-56);
  letter-spacing: var(--tracking-tight);
  color: var(--fg-default);
}
.skilly-h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-44);
  line-height: var(--lh-44);
  letter-spacing: var(--tracking-tight);
  color: var(--fg-default);
}
.skilly-h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-36);
  line-height: var(--lh-36);
  letter-spacing: var(--tracking-tight);
  color: var(--fg-default);
}
.skilly-h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-28);
  line-height: var(--lh-28);
  color: var(--fg-default);
}
.skilly-h5 {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-20);
  line-height: var(--lh-20);
  color: var(--fg-default);
}
.skilly-eyebrow {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--skilly-blue-500);
}
.skilly-body-lg {
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--fs-18);
  line-height: var(--lh-18);
  color: var(--fg-muted);
}
.skilly-body {
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  color: var(--fg-default);
}
.skilly-body-sm {
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  color: var(--fg-muted);
}
.skilly-caption {
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  color: var(--fg-subtle);
}
.skilly-mono {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--fg-muted);
}

/* Brand link */
.skilly-link {
  color: var(--fg-link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.skilly-link:hover { color: var(--fg-link-hover); border-bottom-color: currentColor; }

/* Base reset for documents using these vars */
.skilly-doc {
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  color: var(--fg-default);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* ============================================================
   Compat layer: legacy composite tokens redefined against the
   canonical Skilly AI 2026 design system primitives
   (skilly-blue-*, skilly-grey-*, fs/lh, fw, etc.) from tokens.css.

   This lets the calculator's existing rules stay readable while
   binding every value back to a real design-system token.
   ============================================================ */

:root {
  /* ── Foreground / background semantic aliases ────────────── */
  --fg-primary:      var(--fg-default);
  --fg-secondary:    var(--skilly-grey-700);
  --fg-tertiary:     var(--fg-subtle);
  /* --fg-muted exists natively; preserve the same meaning */
  --fg-on-brand:     var(--fg-onbrand);
  --fg-brand:        var(--skilly-blue-500);
  --fg-brand-strong: var(--skilly-blue-700);

  --bg-page:         var(--bg-base);
  --bg-surface:      var(--bg-base);
  /* --bg-subtle / --bg-muted exist natively */
  --bg-brand-tint:   var(--bg-brand-soft);
  --bg-ink:          var(--bg-inverted);

  /* ── Family ───────────────────────────────────────────────── */
  --font-family-base: var(--font-sans);

  /* ── Composite text tokens (font shorthand) ──────────────── */
  --text-16-rg: var(--fw-regular)  var(--fs-16)/var(--lh-16) var(--font-sans);
  --text-16-md: var(--fw-medium)   var(--fs-16)/var(--lh-16) var(--font-sans);
  --text-16-sb: var(--fw-semibold) var(--fs-16)/var(--lh-16) var(--font-sans);
  --text-16-bd: var(--fw-bold)     var(--fs-16)/var(--lh-16) var(--font-sans);

  --text-15-rg: var(--fw-regular)  15px/1.5 var(--font-sans);
  --text-15-md: var(--fw-medium)   15px/1.5 var(--font-sans);
  --text-15-sb: var(--fw-semibold) 15px/1.5 var(--font-sans);
  --text-15-bd: var(--fw-bold)     15px/1.5 var(--font-sans);

  --text-14-rg: var(--fw-regular)  var(--fs-14)/var(--lh-14) var(--font-sans);
  --text-14-md: var(--fw-medium)   var(--fs-14)/var(--lh-14) var(--font-sans);
  --text-14-sb: var(--fw-semibold) var(--fs-14)/var(--lh-14) var(--font-sans);
  --text-14-bd: var(--fw-bold)     var(--fs-14)/var(--lh-14) var(--font-sans);

  --text-12-rg: var(--fw-regular)  var(--fs-12)/var(--lh-12) var(--font-sans);
  --text-12-md: var(--fw-medium)   var(--fs-12)/var(--lh-12) var(--font-sans);
  --text-12-sb: var(--fw-semibold) var(--fs-12)/var(--lh-12) var(--font-sans);
  --text-12-bd: var(--fw-bold)     var(--fs-12)/var(--lh-12) var(--font-sans);

  --label-16-md: var(--fw-medium)   var(--fs-16)/1.15 var(--font-sans);
  --label-16-sb: var(--fw-semibold) var(--fs-16)/1.15 var(--font-sans);
  --label-16-bd: var(--fw-bold)     var(--fs-16)/1.15 var(--font-sans);

  --label-14-md: var(--fw-medium)   var(--fs-14)/1.15 var(--font-sans);
  --label-14-sb: var(--fw-semibold) var(--fs-14)/1.15 var(--font-sans);
  --label-14-bd: var(--fw-bold)     var(--fs-14)/1.15 var(--font-sans);

  --label-12-md: var(--fw-medium)   var(--fs-12)/1.15 var(--font-sans);
  --label-12-sb: var(--fw-semibold) var(--fs-12)/1.15 var(--font-sans);
  --label-12-bd: var(--fw-bold)     var(--fs-12)/1.15 var(--font-sans);

  --display-56-bd: var(--fw-extra)  var(--fs-56)/var(--lh-56) var(--font-sans);
  --display-40-bd: var(--fw-extra)  var(--fs-44)/var(--lh-44) var(--font-sans);
  --display-32-bd: var(--fw-extra)  var(--fs-30)/var(--lh-30) var(--font-sans);
  --display-22-bd: var(--fw-bold)   var(--fs-20)/var(--lh-20) var(--font-sans);

  /* ── Radius aliases ──────────────────────────────────────── */
  --radius-xs: var(--radius-4);
  --radius-sm: var(--radius-6);
  --radius-md: var(--radius-8);
  --radius-lg: var(--radius-12);
  --radius-xl: var(--radius-16);
  --radius-2xl: 20px;
  --radius-3xl: 24px;
  /* --radius-pill exists natively */

  /* ── Focus halo to replace old --shadow-focus-brand ─────── */
  --shadow-focus-brand: 0 0 0 4px var(--skilly-blue-100);
  --shadow-brand:       0 4px 12px rgba(88, 72, 247, .25);

  /* ── Border aliases ──────────────────────────────────────── */
  /* --border-default / --border-subtle / --border-brand exist natively */

  /* ── Legacy color aliases used by the calculator's chrome ── */
  --color-neutral-white:    var(--skilly-white);
  --color-neutral-gray-25:  var(--skilly-grey-25);
  --color-neutral-gray-50:  var(--skilly-grey-50);
  --color-neutral-gray-75:  var(--skilly-grey-75);
  --color-neutral-gray-100: var(--skilly-grey-100);
  --color-neutral-gray-200: var(--skilly-grey-200);
  --color-neutral-gray-300: var(--skilly-grey-300);
  --color-neutral-gray-400: var(--skilly-grey-400);
  --color-neutral-gray-500: var(--skilly-grey-500);
  --color-neutral-gray-600: var(--skilly-grey-600);
  --color-neutral-gray-700: var(--skilly-grey-700);
  --color-neutral-gray-800: var(--skilly-grey-800);
  --color-neutral-gray-900: var(--skilly-grey-900);

  --color-brand-blue-25:  var(--skilly-blue-25);
  --color-brand-blue-50:  var(--skilly-blue-50);
  --color-brand-blue-100: var(--skilly-blue-100);
  --color-brand-blue-200: var(--skilly-blue-200);
  --color-brand-blue-300: var(--skilly-blue-300);
  --color-brand-blue-400: var(--skilly-blue-400);
  --color-brand-blue-500: var(--skilly-blue-500);
  --color-brand-blue-600: var(--skilly-blue-600);
  --color-brand-blue-700: var(--skilly-blue-700);

  /* Status - Skilly's own scale is thinner; map to its semantic tokens
     and a small set of supporting tints. */
  --color-success-green-50:  #ECFDF3;
  --color-success-green-100: #D1FAE0;
  --color-success-green-200: #B5EFCC;
  --color-success-green-500: var(--color-success);
  --color-success-green-600: #136B45;

  --color-warning-yellow-50:  #FFFAEB;
  --color-warning-yellow-100: #FBF2CB;
  --color-warning-yellow-200: #FDE57E;
  --color-warning-yellow-500: var(--color-warning);
  --color-warning-orange-300: #E97138;

  --color-error-red-50:  #FEF2F2;
  --color-error-red-500: var(--color-error);
}
/* ============================================================
   Recruiter Hours Diverted Calculator
   Executive-grade operational tooling on top of Skilly tokens.
   ============================================================ */

* { box-sizing: border-box; }
html {
  scroll-behavior: auto;
}
html, body { margin: 0; padding: 0; background: var(--bg-page); color: var(--fg-primary); }
body {
  font-family: var(--font-family-base);
  font-feature-settings: 'ss01', 'cv11', 'tnum';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Theme overrides - the calculator is a Skilly operations surface, so it
   uses brand purple as the accent and Skilly's near-black ink. */
:root {
  /* Calculator-scoped semantic helpers, all expressed in design-system tokens */
  --ink:           var(--skilly-grey-900);   /* #1F1C26 - the brand ink */
  --ink-2:         var(--skilly-grey-800);
  --ink-3:         var(--skilly-grey-700);
  --rule:          var(--skilly-grey-100);   /* canonical hairline */
  --rule-strong:   var(--skilly-grey-200);
  --grid:          var(--skilly-grey-50);
  --tab-bar:       var(--skilly-grey-50);
  --accent:        var(--skilly-blue-500);
  --accent-soft:   var(--skilly-blue-50);
  --accent-line:   var(--skilly-blue-200);
  --success:       var(--color-success);
  --success-soft:  var(--color-success-green-50);
  --warn:          #B45309;
  --warn-soft:     var(--color-warning-yellow-50);
  --path-a-red:    #9E1026; /* Path A status-quo column; darker brand red (--color-error) */
  --danger:        var(--color-error);
  --danger-soft:   var(--color-error-red-50);
  --kpi-frame:     var(--skilly-grey-50);
  --topbar-height: calc(var(--space-8) + var(--space-6) + 1px);
}

/* "Ink" accent variant - swaps the brand purple for the brand near-black,
   giving a more austere, document-like read. Brand purple is retained only on
   the headline word + the live-update dot. */
[data-theme="ink"] {
  --accent:      var(--skilly-grey-900);
  --accent-soft: var(--skilly-grey-50);
  --accent-line: var(--skilly-grey-200);
}

/* Layout container */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* ── Top bar ───────────────────────────────────────────── */
.topbar {
  border-bottom: 1px solid var(--rule);
  background: var(--bg-base);
  position: fixed; top: 0; left: 0; right: 0; z-index: 10000;
  width: 100%;
  height: var(--topbar-height);
  box-shadow: 0 1px 8px rgba(31, 28, 38, 0.04);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: flex-start;
  height: 100%;
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}
.topbar-l {
  display: flex; align-items: center; gap: 0;
  flex: 1;
  min-width: 0;
}
.topbar-l .topbar-brand {
  display: inline-flex; align-items: center; line-height: 0;
  margin: 0; padding: 0;
  color: var(--ink);
}
.topbar-l .topbar-brand img {
  display: block; height: var(--space-8); width: auto;
}
.topbar-l .topbar-rule {
  flex-shrink: 0; width: 1px; height: var(--space-8);
  margin-inline: var(--space-4);
  background: var(--rule-strong);
}
.topbar-l .topbar-title {
  color: var(--ink);
  font: var(--fw-semibold) var(--fs-18) / var(--lh-18) var(--font-family-base);
  letter-spacing: var(--tracking-tight);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(1px);
}
.topbar-r { display: flex; align-items: center; gap: var(--space-2); }
.topbar-r .topbar-cta {
  font: 800 16px/1 var(--font-family-base);
}
.topbar-r a {
  text-decoration: none;
}
.topbar-r a:hover,
.topbar-r a:focus,
.topbar-r a:focus-visible,
.topbar-r a:active {
  text-decoration: none;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  /* ── Hero illustration (::after pseudo). Tweak these; ::after reads them via inheritance. ── */
  /* Width: min(vw-driven width, px cap). --hero-art-width-vw is unitless (pairs with calc(* 1vw)). */
  --hero-art-width-vw: 126;
  --hero-art-max-px: 1440px;
  /* `right var(--hero-art-pos-right)`; use 0 for flush viewport edge */
  --hero-art-pos-right: 0;
  --hero-art-pos-bottom: 0;

  padding: 72px 0 56px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  isolation: isolate;
  overflow: visible;
  background-color: #f4f2fd;
  background-image: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/staffing/assets/images/recruiter-hours-diverted-hero.png");
  background-repeat: no-repeat;
  background-position: right var(--hero-art-pos-right) bottom var(--hero-art-pos-bottom);
  background-size: min(calc(var(--hero-art-width-vw) * 1vw), var(--hero-art-max-px)) auto;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 13%,
    rgba(0, 0, 0, 0.92) 22%,
    #000 34%,
    #000 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 13%,
    rgba(0, 0, 0, 0.92) 22%,
    #000 34%,
    #000 100%
  );
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; overflow: hidden;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.02));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.02));
  opacity: 0.38;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: block;
}
.hero-copy {
  min-width: 0;
  max-width: 820px;
  margin: 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: var(--label-12-sb); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px rgba(88,72,247,0.18);
  flex-shrink: 0;
}
.hero .eyebrow,
#calculator .section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: none;
  font: var(--fw-semibold) var(--fs-14) / 1.2 var(--font-family-base);
  padding: 9px 16px;
}
.hero .eyebrow .eyebrow-text,
#calculator .section-head .eyebrow .eyebrow-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero .eyebrow .eyebrow-dot,
#calculator .section-head .eyebrow .eyebrow-dot {
  width: 8px;
  height: 8px;
  margin-right: 4px;
  animation: eyebrow-dot-pulse 3.5s ease-in-out infinite;
}
@keyframes eyebrow-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(88, 72, 247, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(88, 72, 247, 0.06); }
}

.hero h1 {
  font-family: var(--font-family-base);
  font-weight: 800; font-size: 56px; line-height: 1.04; letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 30px;
  max-width: 820px;
}
.hero-title-line {
  display: block;
}
.hero h1 .accent { color: var(--accent); }
.hero .lede {
  font-size: clamp(21px, 2vw, 23px); line-height: 1.5; color: var(--fg-secondary);
  max-width: 52ch; margin: 0 0 32px;
}
.hero .lede strong {
  font-weight: 700;
  color: var(--ink);
}
.btn.hero-cta,
a.btn.hero-cta {
  margin-top: 4px;
  gap: 9px;
  padding: 18px 34px;
  font: 800 clamp(19px, 1.8vw, 21px)/1 var(--font-family-base);
  background: #5848F7;
  color: #fff;
  text-decoration: none;
}
.btn.hero-cta svg,
a.btn.hero-cta svg {
  width: 16px;
  height: 16px;
}
.btn.hero-cta:hover,
.btn.hero-cta:focus,
.btn.hero-cta:focus-visible,
.btn.hero-cta:active,
a.btn.hero-cta:hover,
a.btn.hero-cta:focus,
a.btn.hero-cta:focus-visible,
a.btn.hero-cta:active {
  background: #3827D9;
  text-decoration: none;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--rule); border-radius: var(--radius-lg);
  background: var(--bg-surface);
  overflow: hidden;
}
.hero-stat { padding: 22px 24px; border-right: 1px solid var(--rule); }
.hero-stat:last-child { border-right: 0; }
.hero-stat .label {
  font: var(--label-12-md); color: var(--fg-tertiary);
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}
.hero-stat .value {
  font-family: var(--font-family-base); font-weight: 700;
  font-size: 28px; color: var(--ink); letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.hero-stat .sub { font: var(--text-12-rg); color: var(--fg-tertiary); margin-top: 4px; }

.hero-trust {
  margin-top: 28px;
  display: flex; align-items: center; gap: 16px;
  font: var(--text-12-rg); color: var(--fg-tertiary);
}
.hero-trust .src {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  font-weight: 500;
  color: var(--fg-secondary);
}

@media (max-width: 980px) {
  .hero {
    --hero-art-width-vw: 126;
    --hero-art-max-px: 1440px;

    background-color: #f4f2fd;
    background-image: none;
  }
  .hero-inner {
    display: block;
  }
  .hero h1 { font-size: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: 1px solid var(--rule); }
}

/* ── Section shell ─────────────────────────────────────── */
.section { padding: 80px 0; border-bottom: 1px solid var(--rule); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 32px;
}
.section-head > div {
  width: 100%;
  max-width: none;
}
.section-head .eyebrow { margin-bottom: 14px; }
/* Section intro typography: scoped to .section-head only - #calculator also uses .section
   but field labels/hints must not inherit these rules. */
.section-head h2 {
  font-weight: 800; font-size: 36px; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink); margin: 0 0 10px;
  max-width: none;
}
.section-head .section-sub {
  font-size: 16px; color: var(--fg-secondary); margin: 0;
  max-width: none;
}
#calculator .section-head .section-sub {
  font-size: 13px;
  color: var(--fg-tertiary);
  line-height: 1.6;
  margin-top: 4px;
}

#calculator .section-head {
  margin-bottom: 48px;
}

/* ── Calculator panel (#calculator isolation boundary) ─── */
#calculator .calc-shell {
  --calc-shell-inner-radius: calc(var(--radius-xl) - 1px);
  --fs-10: 28px;
  --fs-12: 30px;
  --fs-14: 32px;
  --fs-16: 34px;
  --fs-18: 36px;
  --fs-20: 38px;
  --fs-24: 42px;
  --fs-28: 46px;
  --fs-30: 48px;
  --fs-36: 54px;
  --fs-44: 62px;
  --fs-56: 74px;
  position: relative;
  display: grid;
  zoom: 0.73;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 24px 60px -30px rgba(14,19,48,0.18), 0 6px 18px -10px rgba(14,19,48,0.08);
  overflow: visible;
}
@media (max-width: 1080px) {
  #calculator .calc-shell { grid-template-columns: 1fr; }
  #calculator .calc-inputs {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    border-radius: var(--calc-shell-inner-radius) var(--calc-shell-inner-radius) 0 0;
  }
  #calculator .calc-outputs {
    border-radius: 0 0 var(--calc-shell-inner-radius) var(--calc-shell-inner-radius);
  }
}

.calc-inputs {
  border-right: 1px solid var(--rule);
  border-radius: var(--calc-shell-inner-radius) 0 0 var(--calc-shell-inner-radius);
  background: linear-gradient(180deg, var(--skilly-grey-25) 0%, var(--bg-base) 100%);
  padding: 28px;
}
.calc-inputs .panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--rule);
}
.calc-inputs .panel-head h3 {
  font-weight: 700; font-size: 28px; color: var(--ink); margin: 0;
  letter-spacing: -0.01em;
}
.calc-inputs .panel-head .panel-tag {
  font: var(--label-12-md); color: var(--fg-tertiary);
  padding: 4px 10px; background: var(--bg-subtle);
  border-radius: var(--radius-pill);
}
.field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row .field { margin-bottom: 18px; }
.field-row .field {
  gap: 10px;
}
.field-row .field-label {
  font-size: 20px;
}
.field-label {
  font: var(--fw-semibold) 20px / 1.2 var(--font-family-base); color: var(--skilly-grey-600);
  letter-spacing: 0.02em; text-transform: uppercase;
  display: block;
}
.field-label-row {
  display: flex; align-items: flex-start; gap: var(--space-1);
}
.field-label-row .field-label {
  flex: 1;
  min-width: 0;
}
.field-info-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0;
  margin-top: 1px;
  padding: 0;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.field-info-btn:hover,
.field-info-btn:focus-visible {
  color: var(--accent);
  background: var(--accent-soft);
  outline: none;
}
.field-info-btn:focus-visible {
  box-shadow: var(--shadow-focus-brand);
}
.field-info-btn--on-surface {
  color: var(--fg-tertiary);
}
.field-info-btn--on-surface:hover,
.field-info-btn--on-surface:focus-visible {
  color: var(--accent);
}

/* Info tips: must be position:absolute - without this, tip copy flows inline in
   .field-label-row and stacks on top of labels. */
.field-info-tooltip {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.field-info-tip {
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: max-content;
  max-width: min(340px, 78vw);
  padding: 13px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: 0 8px 24px -10px rgba(14, 19, 48, 0.2);
  font: var(--fw-regular) 14px / 1.5 var(--font-family-base);
  color: var(--fg-secondary);
  text-transform: none;
  letter-spacing: normal;
  white-space: normal;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.field-info-tip.is-open {
  visibility: visible;
  opacity: 1;
}
.field-info-tip.info-tip--align-end {
  left: auto;
  right: 0;
  transform: none;
}

select.input, input.input {
  width: 100%;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-md);
  padding: 9px 13px;
  font: 500 20px/1.35 var(--font-family-base);
  color: var(--ink);
  background: var(--bg-surface);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  font-variant-numeric: tabular-nums;
}
select.input { padding-right: 32px; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2377757b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.input:focus { border-color: var(--accent); box-shadow: var(--shadow-focus-brand); }

.calc-select-wrap {
  position: relative;
}

.calc-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-md);
  padding: 9px 13px;
  font: 500 20px/1.35 var(--font-family-base);
  color: var(--ink);
  background: var(--bg-surface);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  text-align: left;
}

.calc-select-trigger:focus,
.calc-select-wrap.is-open .calc-select-trigger {
  border-color: var(--accent);
  box-shadow: var(--shadow-focus-brand);
}

.calc-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calc-select-chevron {
  flex: none;
  transition: transform .2s ease;
}

.calc-select-chevron.is-open {
  transform: rotate(180deg);
}

.calc-select-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  max-height: min(280px, 42vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(31, 28, 38, .12);
}

.calc-select-option {
  width: 100%;
  display: block;
  border: none;
  background: transparent;
  padding: 11px 13px;
  font: 500 16px/1.35 var(--font-family-base);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.calc-select-option:hover,
.calc-select-option.is-active {
  background: #F2F1FE;
}

.slider-wrap {
  --slider-bottom-space: 64px;
  --slider-track-center-y: calc(var(--slider-bottom-space) + 2px);
  position: relative;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-md);
  padding: 18px 18px var(--slider-bottom-space);
  background: var(--bg-surface);
}
.field:has(.slider-wrap) {
  margin-bottom: 28px;
}
.slider-readout {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 46px;
}
.slider-readout .val {
  font-weight: 700; font-size: 46px; color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.slider-readout .unit { font: 500 22px/1.35 var(--font-family-base); color: var(--fg-tertiary); margin-left: 8px; }
.slider-readout .range { font: 400 22px/1.35 var(--font-family-base); color: var(--fg-muted); }

.slider {
  display: block;
  width: 100%; appearance: none; height: 4px;
  margin: 0;
  background: var(--rule-strong); border-radius: 2px; outline: none; cursor: pointer;
}
.slider::-webkit-slider-thumb {
  appearance: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: transparent;
  box-shadow: none;
  cursor: grab;
}
.slider::-moz-range-thumb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: transparent;
  box-shadow: none;
  cursor: grab;
}
.slider-average-marker {
  position: absolute;
  left: calc(26px + (100% - 52px) * var(--slider-average-progress));
  bottom: calc(var(--slider-track-center-y) - 21px);
  z-index: 1;
  width: 3px;
  height: 42px;
  border-radius: 9999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(88, 72, 247, 0.12);
  pointer-events: none;
  transform: translateX(-50%);
}
.slider-average-marker span {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%);
  white-space: nowrap;
  color: var(--accent);
  font: 800 13px / 1 var(--font-family-base);
  letter-spacing: 0.02em;
}
.slider-capture-thumb {
  position: absolute;
  left: calc(26px + (100% - 52px) * var(--slider-progress));
  top: auto;
  bottom: var(--slider-track-center-y);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(88, 72, 247, 0.12);
  background-color: var(--skilly-white);
  background-image: url("/staffing/assets/skilly-mascot-purple.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px auto;
  box-shadow: 0 2px 8px rgba(14, 19, 48, 0.12);
  pointer-events: none;
  transform: translate(-50%, 50%);
}

.copy-card-brand {
  display: none;
}
.is-copying-results .copy-card-brand {
  position: absolute;
  left: 28px;
  bottom: 20px;
  right: auto;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 14px;
  z-index: 3;
  color: var(--skilly-blue-500);
  font: 600 22px / 1 var(--font-family-base);
  letter-spacing: -0.005em;
}
.is-copying-results .copy-card-brand img {
  display: block;
  width: auto;
  height: 32px;
}
.is-copying-results .copy-card-brand span {
  transform: translateY(-8px);
}
.is-copying-results .kpi-headline {
  border-color: var(--skilly-blue-100);
  background: color-mix(in srgb, var(--skilly-blue-25) 5%, var(--bg-surface));
}
.is-copying-results .metric-card--risk {
  border-color: var(--color-error-red-50);
  background: var(--color-error-red-50);
}
.is-copying-results .scenario-share-strip {
  display: none;
}
.is-copying-results .calc-shell {
  padding-bottom: 56px;
}
.is-copying-results .calc-advanced-head {
  align-items: center;
  gap: var(--space-3);
}
.is-copying-results .copy-advanced-toggle {
  position: relative;
  flex: 0 0 auto;
  display: inline-block;
  width: 44px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: var(--accent);
}
.is-copying-results .copy-advanced-toggle > span {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--skilly-white);
  box-shadow: 0 1px 2px rgba(14, 19, 48, 0.12);
}
.is-copying-results .calc-advanced-label {
  line-height: 24px;
}

/* Segmented control for seniority */
.segmented {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  border: 1px solid var(--rule-strong); border-radius: var(--radius-md);
  background: var(--bg-subtle); padding: 6px;
}
.seg-btn {
  border: 0; background: transparent;
  padding: 12px 6px;
  font: var(--fw-semibold) 22px / 1.2 var(--font-family-base); color: var(--skilly-grey-600);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color .15s ease;
  letter-spacing: 0;
}
.seg-btn[data-on="true"] {
  background: var(--skilly-white);
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  opacity: 1;
  mix-blend-mode: normal;
  text-shadow: 0 0 0 var(--ink);
  box-shadow: 0 1px 2px rgba(14, 19, 48, 0.08), 0 0 0 1px var(--rule);
}

.calc-foot {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule);
  font: var(--text-12-rg); color: var(--fg-tertiary);
  display: flex; align-items: flex-start; gap: 10px;
}
.calc-foot svg { flex-shrink: 0; margin-top: 2px; }

/* ── Calc outputs ──────────────────────────────────────── */
.calc-outputs {
  padding: 28px;
  border-radius: 0 var(--calc-shell-inner-radius) var(--calc-shell-inner-radius) 0;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.calc-disclaimer {
  font: 400 14px/1.5 var(--font-sans);
  color: var(--skilly-grey-400);
  margin: var(--space-8) 0 0;
}
.calc-footnote-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.calc-footnote-link:hover,
.calc-footnote-link:focus-visible {
  color: inherit;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(30,125,79,0.15);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(30,125,79,0.15); }
  50% { box-shadow: 0 0 0 6px rgba(30,125,79,0.06); }
}

.kpi-headline {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(247, 247, 247, 1);
  background: var(--skilly-blue-25);
  color: var(--bg-brand-soft);
  padding: 16px 20px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end;
}
.kpi-headline--solo {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0;
}
.kpi-headline .h-label {
  font: 600 20px/1.2 var(--font-family-base); color: var(--fg-tertiary);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px;
}
.kpi-headline .h-value {
  font-family: var(--font-family-base);
  font-weight: 800;
  font-size: 60px; line-height: 1; letter-spacing: -0.03em;
  color: var(--path-a-red);
  font-variant-numeric: tabular-nums;
}
.kpi-headline--growth .h-value {
  color: var(--success);
}
.kpi-headline--growth .formula-result--final {
  color: var(--success);
}
.kpi-headline--roi .h-value {
  color: var(--accent);
}
.roi-value {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-8);
}
.roi-value::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% -45%;
  width: 36%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  pointer-events: none;
  animation: roi-glare 18s ease-in-out infinite;
}
.roi-value img {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  animation: pd-mascot-float 3.9s ease-in-out infinite;
}
.roi-value-label {
  color: var(--fg-secondary);
  font-size: 0.82em;
}
@keyframes roi-glare {
  0%, 72% {
    left: -45%;
    opacity: 0;
  }
  78% {
    opacity: 1;
  }
  94%, 100% {
    left: 115%;
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .roi-value::after,
  .roi-value img {
    animation: none;
  }
}
.guide-roi-panel {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.annual-cost-formula-panel {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.annual-cost-formula {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.formula-row {
  padding: var(--space-3) 0;
  border-top: 1px dashed var(--rule-strong);
}
.formula-row:first-child {
  border-top: 0;
}
.formula-label {
  font: var(--label-12-sb);
  color: var(--fg-tertiary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.formula-expression {
  font: 600 22px/1.5 var(--font-family-base);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.formula-result {
  color: var(--accent);
  font-weight: 800;
}
.formula-result-tail {
  display: inline-block;
  white-space: nowrap;
}
.formula-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.formula-tooltip {
  position: relative;
  display: inline-flex;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  outline: none;
}
.formula-tooltip-tip {
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: calc(100% + 8px);
  width: max-content;
  max-width: min(390px, 82vw);
  padding: 15px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: 0 8px 24px -10px rgba(14, 19, 48, 0.2);
  color: var(--fg-secondary);
  font: var(--fw-regular) 16px / 1.5 var(--font-family-base);
  white-space: normal;
  transform: translateX(-50%);
  pointer-events: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.formula-tooltip-source {
  color: var(--accent);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.formula-tooltip:hover .formula-tooltip-tip,
.formula-tooltip:focus .formula-tooltip-tip {
  visibility: visible;
  opacity: 1;
}
.formula-result--final {
  color: var(--path-a-red);
  font-weight: 800;
}
.guide-roi-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.guide-roi-col {
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}
.guide-roi-col--skilly {
  position: relative;
  padding-right: 58px;
  border-color: var(--skilly-blue-200);
  background: var(--skilly-blue-10);
}
.guide-roi-col--skilly::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  background: url("/staffing/assets/skilly-mascot-purple.svg") center / contain no-repeat;
}
.guide-roi-label {
  display: block;
  font: var(--label-12-sb);
  color: var(--fg-tertiary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.guide-roi-value {
  display: block;
  font-family: var(--font-family-base);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.guide-roi-col--skilly .guide-roi-value,
.guide-roi-multiple {
  color: var(--accent);
}
.guide-roi-inline-result {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.guide-roi-multiple {
  font-family: var(--font-family-base);
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.guide-roi-unit {
  font-family: var(--font-family-base);
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg-tertiary);
}
.kpi-headline .h-sub {
  font: var(--text-14-rg); color: var(--fg-secondary); margin-top: 10px;
}
.kpi-headline .h-meta {
  display: flex; flex-direction: column; gap: 10px;
}
.h-meta-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0;
  border-top: 1px dashed var(--rule-strong);
}
.h-meta-row:first-child { border-top: 0; }
.h-meta-row .l { font: var(--text-12-md); color: var(--fg-secondary); }
.h-meta-row .v { font: var(--text-14-sb); color: var(--ink); font-variant-numeric: tabular-nums; }

.calc-output-chip {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.calc-output-chip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.calc-output-chip-label {
  font: var(--label-12-md);
  color: var(--fg-tertiary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.calc-output-chip-label.metric-label,
.metric-label {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--skilly-grey-600);
  margin-bottom: 4px;
}
.metric-descriptor {
  font: 500 17px/1.4 var(--font-sans);
  color: var(--skilly-grey-500);
  margin-top: 3px;
}
.calc-output-chip-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.calc-output-chip-value {
  font-family: var(--font-family-base);
  font-weight: 700;
  font-size: 32px;
  color: var(--ink);
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.calc-output-chip-note {
  margin: 0;
  font: var(--text-12-rg);
  color: var(--fg-secondary);
  font-variant-numeric: tabular-nums;
}
.metric-card--risk {
  border-color: color-mix(in srgb, var(--color-error) 18%, transparent);
  background: color-mix(in srgb, var(--color-error) 3%, transparent);
}
.metric-card--risk .metric-value {
  color: var(--ink);
}

/* ── Advanced trio card ────────────────────────────────── */
.calc-output-trio {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 16px;
  background: var(--bg-surface);
}
.calc-output-trio-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 10px;
}
.calc-output-trio-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
}
.calc-output-trio-col--risk {
  background: color-mix(in srgb, var(--color-error) 3%, transparent);
  border-color: color-mix(in srgb, var(--color-error) 15%, transparent);
}
.calc-output-trio-col--compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg-surface);
  padding: 12px;
}
.calc-output-trio-col--recoverable {
  padding: 10px 12px;
  background: var(--bg-subtle);
  border-color: var(--rule);
}
.trio-compare-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
}
.trio-compare-side:last-child {
  border-color: var(--skilly-blue-200);
  background: var(--skilly-blue-50);
}
.trio-value {
  font-family: var(--font-family-base);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.trio-value--risk { color: var(--color-error); }
.trio-value--skilly { color: var(--skilly-blue-500); }
.trio-badge {
  display: inline-flex;
  align-items: center;
  font: 600 16px/1 var(--font-sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--skilly-blue-600);
  background: var(--skilly-blue-100);
  border: 1px solid var(--skilly-blue-200);
  border-radius: var(--radius-pill);
  padding: 3px 8px;
  margin-top: 4px;
  width: fit-content;
}
@media (max-width: 860px) {
  .calc-output-trio-grid { grid-template-columns: 1fr; }
  .calc-output-trio-col--compare { grid-template-columns: 1fr 1fr; }
}

.scenario-share-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px 0 2px;
  border-top: 1px solid var(--skilly-grey-100);
  margin-top: 16px;
  flex-wrap: nowrap;
}

.btn.scenario-copy-btn,
a.btn.scenario-pilot-link {
  font-size: 25px;
  font-weight: 600;
  color: var(--skilly-grey-600);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 13px 22px;
  border-radius: 12px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.btn.scenario-copy-btn:hover,
a.btn.scenario-pilot-link:hover {
  color: var(--skilly-blue-500);
}
.btn.scenario-copy-btn svg,
a.btn.scenario-pilot-link svg {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  stroke-width: 2.1;
  transform: translateY(-0.5px);
}
.btn.scenario-copy-btn svg {
  color: var(--skilly-grey-600);
}

a.btn.scenario-pilot-link {
  margin-left: 0;
  min-width: 205px;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}
a.btn.scenario-pilot-link:hover,
a.btn.scenario-pilot-link:focus-visible {
  color: #fff;
}
.calc-afterhours-line {
  margin: 0;
  font: var(--text-12-rg);
  color: var(--accent);
  padding: 2px 0 0 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
}
.calc-afterhours-line-text {
  flex: 1;
  min-width: 0;
}

.calc-advanced-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.calc-advanced-label {
  font: var(--fw-semibold) 20px / 1.2 var(--font-family-base);
  color: var(--fg-secondary);
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  top: 3px;
}

.calc-advanced {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
}
.calc-advanced-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.calc-advanced-body > .field,
.calc-advanced-body > .field:has(.slider-wrap) {
  margin-bottom: 0;
}
.calc-advanced summary {
  font: var(--label-12-sb);
  color: var(--fg-secondary);
  cursor: pointer;
  letter-spacing: 0.02em;
  list-style: none;
}
.calc-advanced summary::-webkit-details-marker { display: none; }
.calc-advanced-note {
  margin: 8px 0 0;
  font: var(--text-12-rg);
  color: var(--fg-tertiary);
}

.afterhours-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}
.afterhours-inline-status {
  font: var(--text-12-md);
  color: var(--fg-secondary);
}

.toggle.toggle--compact {
  position: relative;
  flex-shrink: 0;
  width: 58px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.toggle.toggle--compact:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus-brand);
}
.toggle.toggle--compact::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-surface);
  box-shadow: 0 1px 2px rgba(14, 19, 48, 0.12);
  transition: transform 0.15s ease;
}
.toggle.toggle--compact[data-on="true"] {
  background: var(--accent);
  border-color: var(--accent);
}
.toggle.toggle--compact[data-on="true"]::after {
  transform: translateX(26px);
}

/* ── "What this means" insights ───────────────────────── */
.insights {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 8px;
}
@media (max-width: 980px) { .insights { grid-template-columns: 1fr; } }
.insight {
  border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--bg-surface);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.insight .ins-num {
  position: absolute; top: 22px; right: 22px;
  font: var(--label-12-bd); color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.insight .ins-eyebrow {
  font: var(--label-12-sb); color: var(--accent);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.insight .ins-headline {
  font-weight: 700; font-size: 18px; line-height: 1.3;
  color: var(--ink); letter-spacing: -0.01em;
}
.insight .ins-headline .strong-num {
  color: var(--accent);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.insight .ins-body {
  font: var(--text-14-rg); color: var(--fg-secondary);
}

/* ── Headcount vs Infrastructure comparison ───────────── */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--rule-strong); border-radius: var(--radius-xl);
  overflow: hidden; background: var(--bg-surface);
}
@media (min-width: 981px) {
  .compare {
    grid-template-rows: auto auto auto 1fr auto;
  }
}
@media (max-width: 980px) { .compare { grid-template-columns: 1fr; } }
.compare-col {
  padding: 28px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column;
}
@media (min-width: 981px) {
  .compare-col {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: 1 / -1;
  }
}
.compare-col:last-child { border-right: 0; }
.compare-col.path-status {
  background: linear-gradient(180deg, var(--skilly-grey-50) 0%, var(--bg-base) 100%);
}
.compare-col.path-headcount {
  background: var(--bg-surface);
}
.compare-col.path-infra {
  background: linear-gradient(180deg, var(--skilly-blue-50) 0%, var(--bg-base) 100%);
  border-left: 2px solid var(--accent);
}
.compare-col .path-label {
  font: var(--label-12-sb); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-tertiary); margin-bottom: 6px;
}
.compare-col.path-status .path-label { color: var(--path-a-red); }
.compare-col.path-infra .path-label { color: var(--accent); }
.compare-col .path-title {
  font-weight: 700; font-size: 22px; color: var(--ink);
  letter-spacing: -0.01em; margin-bottom: 12px;
}
.compare-col .path-blurb {
  font: var(--text-14-rg); color: var(--fg-secondary);
  margin-bottom: 22px; min-height: 42px;
}
@media (min-width: 981px) {
  .compare-col .path-blurb { min-height: 0; }
  .compare-attrs { flex: none; }
}
.compare-attrs {
  display: flex; flex-direction: column; gap: 12px; flex: 1;
  border-top: 1px solid var(--rule); padding-top: 18px;
}
.attr-row {
  display: flex; align-items: flex-start; gap: 10px;
  font: var(--text-14-rg);
}
.attr-row .icon {
  flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.attr-row.pos .icon { background: var(--success-soft); color: var(--success); }
.attr-row.neg .icon { background: var(--danger-soft); color: var(--danger); }
.attr-row.neu .icon { background: var(--bg-subtle); color: var(--fg-tertiary); }
.attr-row .t { font: var(--text-14-rg); color: var(--fg-secondary); }
.attr-row .t b { color: var(--ink); font-weight: 600; }

.path-cost-bar-wrap {
  height: 6px;
  background: var(--skilly-grey-100);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 8px;
}

.path-cost-bar {
  height: 100%;
  border-radius: var(--radius-pill);
}

.path-cost-bar--full {
  background: var(--color-error);
  opacity: 0.65;
}

.path-cost-bar--mid {
  background: var(--skilly-grey-400);
  opacity: 0.7;
}

.path-cost-bar--low {
  background: var(--skilly-blue-500);
}

.path-cost-caption {
  font: 500 11px/1 var(--font-sans);
  color: var(--skilly-blue-500);
  margin-top: -2px;
  margin-bottom: 10px;
}

.path-cost {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.path-cost .pc-label {
  font: var(--label-12-md); color: var(--fg-tertiary);
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px;
}
.path-cost .pc-value {
  font-weight: 800; font-size: 28px; color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.compare-col.path-infra .path-cost .pc-value { color: var(--accent); }
.compare-col.path-status .path-cost .pc-value { color: var(--path-a-red); }
.compare-col.path-infra .path-cost .pc-label { margin-bottom: 16px; }

/* Bar chart 3yr */
.three-yr {
  margin-top: 36px;
  border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: 28px; background: var(--bg-surface);
}
.three-yr-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.three-yr h4 {
  font-weight: 700; font-size: 16px; color: var(--ink); margin: 0;
  letter-spacing: -0.005em;
}
.three-yr .three-yr-sub { font: var(--text-12-rg); color: var(--fg-tertiary); }
.bars {
  display: flex; align-items: flex-end; gap: 36px; height: 220px;
  padding: 0 14px; border-bottom: 1px solid var(--rule); padding-bottom: 0;
}
.bar-group {
  flex: 1; display: flex; align-items: flex-end;
  justify-content: center; gap: 8px; height: 100%; position: relative;
}
.bar {
  flex: 1; max-width: 56px;
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height .35s ease;
}
.bar.bar-status { background: linear-gradient(180deg, var(--skilly-grey-500) 0%, var(--skilly-grey-700) 100%); }
.bar.bar-headcount { background: linear-gradient(180deg, var(--skilly-grey-700) 0%, var(--skilly-grey-900) 100%); }
.bar.bar-infra { background: linear-gradient(180deg, var(--skilly-blue-400) 0%, var(--skilly-blue-500) 100%); }
.bar .bar-val {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  font: var(--label-12-sb); color: var(--ink);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.bar-group .bar-label {
  position: absolute; bottom: -32px; left: 0; right: 0; text-align: center;
  font: var(--label-12-md); color: var(--fg-tertiary);
}
.bars-legend {
  display: flex; gap: 24px; margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--rule);
  font: var(--text-12-rg); color: var(--fg-secondary);
}
.bars-legend .dot { width: 10px; height: 10px; border-radius: 2px; display: inline-block; vertical-align: middle; margin-right: 6px; }

/* ── After hours ──────────────────────────────────────── */
.afterhours {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px;
}
@media (max-width: 980px) { .afterhours { grid-template-columns: 1fr; } }

.timeline-card {
  border: 1px solid var(--rule); border-radius: var(--radius-xl);
  padding: 28px; background: var(--bg-surface);
}
.timeline-card h4 {
  font-weight: 700; font-size: 16px; color: var(--ink); margin: 0 0 18px;
}
.timeline { position: relative; padding: 24px 0 0; }
.tl-axis {
  position: relative; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg,
    #f0f1f5 0% 33%,
    var(--accent-soft) 33% 75%,
    var(--ink) 75% 100%);
  margin-bottom: 8px;
}
.tl-ticks { display: flex; justify-content: space-between; font: var(--label-12-md); color: var(--fg-tertiary); }
.tl-bands { display: grid; grid-template-columns: 1fr 1.27fr 0.78fr; margin-top: 18px; gap: 10px; }
.tl-band {
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 12px 14px; background: var(--bg-surface);
}
.tl-band.b1 { background: var(--bg-subtle); }
.tl-band.b2 { background: var(--accent-soft); border-color: var(--accent-line); }
.tl-band.b3 { background: var(--skilly-grey-50); border-color: var(--skilly-grey-200); }
.tl-band .h {
  font: var(--label-12-sb); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--fg-tertiary); margin-bottom: 4px;
}
.tl-band.b2 .h { color: var(--accent); }
.tl-band.b3 .h { color: var(--skilly-grey-700); }
.tl-band .v {
  font-weight: 700; font-size: 18px; color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.tl-band .sub { font: var(--text-12-rg); color: var(--fg-tertiary); margin-top: 2px; }

.nine-pm {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--accent-line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
}
.nine-pm .ts {
  display: inline-flex; align-items: center; gap: 6px;
  font: var(--label-12-bd); color: var(--accent);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 8px;
}
.nine-pm .q {
  font: var(--text-15-md); color: var(--ink);
  font-style: italic; line-height: 1.5;
}
.nine-pm .note {
  font: var(--text-12-rg); color: var(--fg-secondary); margin-top: 10px;
}

.leakage-card {
  border: 1px solid var(--rule); border-radius: var(--radius-xl);
  padding: 28px; background: var(--bg-surface);
  display: flex; flex-direction: column; gap: 18px;
}
.leakage-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px dashed var(--rule);
}
.leakage-row:last-of-type { border-bottom: 0; }
.leakage-row .l { font: var(--text-14-rg); color: var(--fg-secondary); }
.leakage-row .v { font-weight: 700; font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.leakage-summary {
  padding: 18px; border-radius: var(--radius-md);
  background: var(--ink); color: #fff;
}
.leakage-summary .ls-l {
  font: var(--label-12-sb); letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.62); margin-bottom: 6px;
}
.leakage-summary .ls-v {
  font-weight: 800; font-size: 32px; color: #fff;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.leakage-summary .ls-sub {
  font: var(--text-12-rg); color: rgba(255,255,255,0.68); margin-top: 6px;
}

/* ── CTA ──────────────────────────────────────────────── */
.cta-single { width: 100%; max-width: none; }
.cta-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px;
}
.cta-card {
  border: 1px solid var(--rule); border-radius: var(--radius-xl);
  padding: 28px; background: var(--bg-surface);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  cursor: pointer;
  position: relative;
}
.cta-card:hover {
  border-color: var(--accent-line);
  box-shadow: 0 12px 36px -16px rgba(14,19,48,0.16);
  transform: translateY(-2px);
}
.cta-card.primary {
  background: var(--ink); color: #fff;
  border-color: var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 36px;
  row-gap: 0;
  align-items: start;
  padding: 40px 36px;
  overflow: hidden;
}
.cta-card.primary:hover { border-color: var(--accent); }
.cta-card.primary .cta-card-main,
.cta-card.primary .cta-card-aside {
  position: relative;
  z-index: 1;
}
.cta-circuit-art {
  position: absolute;
  right: -10%;
  bottom: 0%;
  z-index: 0;
  width: auto;
  height: 88%;
  max-width: 68%;
  object-fit: contain;
  object-position: 100% 75%;
  transform: scale(1.05) translate(12%, 4%);
  transform-origin: 100% 100%;
  opacity: 0.52;
  mix-blend-mode: screen;
  pointer-events: none;
}
.cta-card-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.cta-card-main .cta-eyebrow,
.cta-card-main .cta-title,
.cta-card-main .cta-blurb {
  display: block;
  width: 100%;
}
.cta-card-aside { min-height: 1px; }
.cta-card .cta-eyebrow {
  font: var(--label-12-sb); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
}
.cta-card.primary .cta-card-main .cta-eyebrow {
  font: var(--label-14-sb);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--skilly-blue-300);
}
.cta-card .cta-title {
  font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--ink);
  letter-spacing: -0.01em;
}
.cta-card.primary .cta-card-main .cta-title {
  font-weight: 700;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
}
.cta-card .cta-blurb {
  font: var(--text-14-rg); color: var(--fg-secondary); flex: 1;
}
.cta-card.primary .cta-card-main .cta-blurb {
  font: var(--text-15-rg);
  flex: unset;
  color: rgba(255,255,255,0.7);
}

.pilot-checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pilot-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font: 500 14px/1.45 var(--font-sans);
  color: rgba(255, 255, 255, 0.78);
}

.pilot-check-mark {
  font: 700 14px/1 var(--font-sans);
  color: #6EE89A;
  flex-shrink: 0;
  margin-top: 2px;
}

.cta-positioning {
  font: 400 14px/1.6 var(--font-sans);
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  max-width: 52ch;
}

.cta-email-capture {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.cta-email-offer {
  font: 500 14px/1.5 var(--font-sans);
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.cta-email-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cta-email-input {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-8);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: 500 14px/1 var(--font-sans);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cta-email-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.cta-email-input:focus {
  border-color: var(--skilly-blue-300);
  background: rgba(255, 255, 255, 0.12);
}

.cta-email-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.cta-email-note {
  font: 400 11px/1.4 var(--font-sans);
  color: rgba(255, 255, 255, 0.38);
  margin: 0;
}

@media (max-width: 980px) {
  .cta-grid { grid-template-columns: 1fr; }
  .cta-card.primary {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta-card-aside {
    display: none;
  }
}

.cta-card .cta-link {
  display: inline-flex; align-items: center; gap: 6px;
  font: var(--label-14-sb); color: var(--accent);
  margin-top: auto;
}
.cta-card.primary .cta-link { color: var(--skilly-blue-300); }

/* ── Footer ───────────────────────────────────────────── */
.footer {
  background: var(--ink); color: rgba(255,255,255,0.72);
  padding: 56px 0 36px;
}
.page-footnote {
  padding: 16px 0 18px;
  border-top: 1px solid var(--skilly-blue-200);
  background: var(--skilly-blue-100);
}
.page-footnote .container {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.page-footnote-summary {
  font: var(--fw-regular) 11px / 1.45 var(--font-family-base);
  color: var(--fg-tertiary);
  margin: 0;
  flex: 0 0 auto;
}
.page-footnote-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
  min-width: 0;
}
.page-footnote-links a {
  font: var(--fw-medium) 11px / 1.45 var(--font-family-base);
  color: var(--fg-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-footnote-links a:hover { color: var(--accent); }

.footer .footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(0, 1fr)) auto;
  gap: 32px 28px;
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 340px;
}
.footer-logo {
  display: inline-flex;
  align-self: flex-start;
  line-height: 0;
}
.footer-logo:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
  border-radius: 4px;
}
.footer-logo img {
  height: 28px;
  width: auto;
  display: block;
}
.footer-tagline {
  font: var(--text-14-rg);
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
  line-height: 1.55;
  max-width: 38ch;
}
.footer-col-title {
  font: var(--label-12-sb);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  font: var(--text-14-md);
  text-decoration: none;
}
.footer-col a:hover,
.footer-col a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-soc-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}
.footer-soc {
  display: block;
  line-height: 0;
  opacity: 0.92;
  transition: opacity 0.15s ease;
}
.footer-soc:hover,
.footer-soc:focus-visible {
  opacity: 1;
}
.footer-soc:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
  border-radius: 4px;
}
.footer-soc img {
  height: 72px;
  width: auto;
  display: block;
}
.footer-divider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 28px 0 22px;
}
.footer-bot {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font: var(--text-12-rg);
  color: rgba(255, 255, 255, 0.5);
}
.footer-copyright {
  margin: 0;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1080px) {
  .footer .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
  .footer-soc-wrap {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .footer .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Buttons ──────────────────────────────────────────── */
/* Anchor pills: reset UA link underline (a { text-decoration: underline }). */
.btn,
a.btn,
.btn-cta-team,
a.btn-cta-team,
.cta-card a.btn,
.cta-card a.btn-cta-team,
.compare-col a.btn,
.compare-col a.btn-cta-team,
.topbar-r a.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  font: var(--label-14-sb);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
  text-decoration-line: none;
}
.btn:hover,
.btn:focus,
.btn:focus-visible,
.btn:active,
a.btn:hover,
a.btn:focus,
a.btn:focus-visible,
a.btn:active,
.btn-cta-team:hover,
.btn-cta-team:focus,
.btn-cta-team:focus-visible,
.btn-cta-team:active,
a.btn-cta-team:hover,
a.btn-cta-team:focus,
a.btn-cta-team:focus-visible,
a.btn-cta-team:active,
.cta-card a.btn:hover,
.cta-card a.btn:focus,
.cta-card a.btn:focus-visible,
.cta-card a.btn:active,
.cta-card a.btn-cta-team:hover,
.cta-card a.btn-cta-team:focus,
.cta-card a.btn-cta-team:focus-visible,
.cta-card a.btn-cta-team:active,
.compare-col a.btn:hover,
.compare-col a.btn:focus,
.compare-col a.btn:focus-visible,
.compare-col a.btn:active,
.compare-col a.btn-cta-team:hover,
.compare-col a.btn-cta-team:focus,
.compare-col a.btn-cta-team:focus-visible,
.compare-col a.btn-cta-team:active,
.topbar-r a.btn:hover,
.topbar-r a.btn:focus,
.topbar-r a.btn:focus-visible,
.topbar-r a.btn:active {
  text-decoration: none;
  text-decoration-line: none;
}
.btn *,
a.btn *,
.btn-cta-team *,
a.btn-cta-team * {
  text-decoration: none;
  text-decoration-line: none;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--fg-secondary); border-color: var(--rule-strong); }
.btn-ghost:hover { background: var(--bg-subtle); color: var(--ink); }
.btn-brand { background: var(--accent); color: #fff; }
.btn-brand:hover { background: var(--color-brand-blue-700); }
.scenario-copy-btn,
a.scenario-pilot-link {
  border-radius: var(--radius-md);
}
.btn-cta-team {
  align-self: flex-start;
  background: var(--skilly-blue-300);
  color: var(--ink);
}
.btn-cta-team:hover { filter: brightness(0.94); }

/* misc */
.section-divider { height: 1px; background: var(--rule); margin: 20px 0; }
.muted { color: var(--fg-tertiary); }
.hidden { display: none; }

/* Density variants */
[data-density="compact"] .calc-inputs { padding: 22px; }
[data-density="compact"] .calc-outputs { padding: 22px; }
[data-density="compact"] .calc-output-chip { padding: 14px 16px; }
[data-density="compact"] .calc-afterhours-line { padding-left: 16px; }
[data-density="compact"] .calc-output-chip-value { font-size: 27px; }
[data-density="compact"] .field { margin-bottom: 14px; }
[data-density="compact"] .section { padding: 64px 0; }

/* Print-friendliness */
@media print {
  .topbar, .footer, .cta-grid { display: none; }
  .section { padding: 24px 0; border-bottom: 0; }
}

/* What is Skilly */
.wis-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #F7F6FB;
  background-image: url("/staffing/assets/images/skilly-guide-new-bg.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  border-bottom: 1px solid #E9E9EA;
  padding: 88px 0;
}

.wis-section-bg {
  display: none;
}

.wis-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.wis-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 48px;
  align-items: stretch;
}

.wis-copy {
  max-width: 690px;
}

.wis-lockup-logo {
  display: block;
  width: clamp(112px, 14vw, 152px);
  height: auto;
  margin: 0 0 var(--space-6);
}

.wis-eyebrow {
  margin-bottom: 18px;
  background: #E8E5FF;
  border-color: #D4CFFF;
  color: #5848F7;
}

.wis-title {
  margin: 0;
  max-width: 780px;
  font: 800 clamp(34px, 4vw, 52px) / 1.06 var(--font-family-base);
  letter-spacing: -0.03em;
  color: #1F1C26;
}

.wis-subhead {
  margin: 32px 0 0;
  max-width: 680px;
  font: 400 17px / 1.65 var(--font-family-base);
  color: #636168;
}

.wis-chat-shell {
  min-width: 0;
  display: flex;
  align-items: stretch;
}

.wis-placeholder-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 390px;
  padding: 26px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-12);
  background:
    radial-gradient(circle at 82% 18%, rgba(88, 72, 247, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(250, 250, 254, 0.92), rgba(255, 255, 255, 0.96));
  box-shadow: var(--shadow-sm);
}

.wis-placeholder-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(233, 233, 234, 0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 233, 234, 0.7) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.42), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.42), transparent 72%);
  pointer-events: none;
}

.wis-screenshot-card {
  min-height: 0;
  padding: 0;
}

.wis-screenshot-card::before {
  content: none;
}

.wis-screenshot-image {
  display: block;
  width: calc(100% + 8px);
  max-width: none;
  height: auto;
  transform: translateX(-4px);
}

.wis-browser {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid #E9E9EA;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(31,28,38,.06);
}

.wis-browser-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid #E9E9EA;
  background: #FFFFFF;
}

.wis-browser-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wis-browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #D2D2D4;
}

.wis-browser-logo {
  height: 22px;
  width: auto;
}

.wis-job-board {
  padding: 24px;
  min-height: 430px;
  background: #FAFAFE;
}

.wis-job-board-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid #E9E9EA;
  border-radius: 6px;
  background: #FFFFFF;
}

.wis-job-board-kicker {
  display: block;
  margin-bottom: 6px;
  font: 700 11px / 1 var(--font-family-base);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5848F7;
}

.wis-job-board h3 {
  margin: 0;
  font: 800 20px / 1.2 var(--font-family-base);
  letter-spacing: -0.02em;
  color: #1F1C26;
}

.wis-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 7px 10px;
  border: 1px solid #D4CFFF;
  border-radius: 9999px;
  background: #E8E5FF;
  font: 700 11px / 1 var(--font-family-base);
  color: #5848F7;
}

.wis-live-pill i,
.wis-live-pill svg {
  width: 8px;
  height: 8px;
  fill: currentColor;
  stroke-width: 0;
}

.wis-role-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.wis-role-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #E9E9EA;
  border-radius: 6px;
  background: #FFFFFF;
  color: #1F1C26;
  box-shadow: 0 1px 4px rgba(31,28,38,.06);
}

.wis-role-card span {
  font: 700 14px / 1.3 var(--font-family-base);
}

.wis-role-card strong {
  font: 800 13px / 1 var(--font-family-base);
  color: #5848F7;
}

.wis-role-card--muted {
  opacity: 0.62;
}

.wis-chat-widget {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: min(330px, calc(100% - 48px));
  overflow: hidden;
  border: 1px solid #E9E9EA;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 1px 13px rgba(0,0,0,.08);
}

.wis-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #E9E9EA;
  background: #FFFFFF;
}

.wis-chat-header strong,
.wis-chat-header span {
  display: block;
}

.wis-chat-header strong {
  font: 800 13px / 1.2 var(--font-family-base);
  color: #1F1C26;
}

.wis-chat-header span {
  margin-top: 2px;
  font: 600 11px / 1.2 var(--font-family-base);
  color: #636168;
}

.wis-chat-avatar,
.wis-mini-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: #5848F7;
}

.wis-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.wis-chat-avatar img {
  width: 22px;
  height: 22px;
}

.wis-mini-avatar {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  margin-top: 2px;
}

.wis-mini-avatar img {
  width: 16px;
  height: 16px;
}

.wis-chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: #F7F6FB;
}

.wis-bubble {
  max-width: 245px;
  padding: 10px 12px;
  font: 600 12.5px / 1.45 var(--font-family-base);
  box-shadow: 0 1px 4px rgba(31,28,38,.06);
}

.wis-bubble--candidate {
  align-self: flex-end;
  border-radius: 12px 12px 4px 12px;
  background: #5848F7;
  color: #FFFFFF;
}

.wis-assistant-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.wis-bubble--skilly {
  border: 1px solid #E9E9EA;
  border-radius: 4px 12px 12px 12px;
  background: #FFFFFF;
  color: #1F1C26;
}

.wis-chat-button {
  align-self: flex-start;
  border: 0;
  border-radius: 8px;
  background: #5848F7;
  color: #FFFFFF;
  cursor: pointer;
  padding: 9px 12px;
  font: 800 12px / 1 var(--font-family-base);
  box-shadow: 0 1px 4px rgba(31,28,38,.06);
}

.wis-bottom {
  display: grid;
  gap: calc(var(--space-6) * 3);
  margin-top: 24px;
  padding-top: 0;
}

.wis-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.wis-cta-button {
  border-radius: 8px;
  justify-content: center;
  min-height: 64px;
  padding: 18px 24px;
  font: 800 20px / 1 var(--font-family-base);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.wis-cta-label--secondary {
  font-size: 21px;
  font-weight: inherit;
  line-height: inherit;
  white-space: nowrap;
}

.wis-cta-mascot {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.wis-cta-arrow {
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-1px);
}

.wis-cta-button.btn-brand {
  background: var(--skilly-blue-500);
  color: #fff;
  font-size: 21px;
  gap: 8px;
}

.wis-cta-button.btn-brand .wis-cta-mascot {
  width: 28px;
  height: 28px;
}

.wis-cta-button.btn-brand .wis-cta-arrow {
  font-size: 24px;
}

.wis-cta-button.btn-brand:hover,
.wis-cta-button.btn-brand:focus-visible {
  background: var(--skilly-blue-700);
  color: #fff;
}

.wis-cta-button--secondary {
  border-color: #D2D2D4;
  background: #FFFFFF;
  color: #1F1C26;
  gap: 8px;
}

.wis-cta-button--secondary:hover,
.wis-cta-button--secondary:focus-visible {
  border-color: #BCBBBE;
  background: #F7F7F8;
  color: #1F1C26;
}

.wis-stat-bar {
  display: flex;
  position: relative;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 0;
  border-radius: var(--radius-10);
  background: rgba(255, 255, 255, 0.1);
  color: #1F1C26;
  overflow: hidden;
  animation: wis-stat-glow 18s ease-in-out infinite;
}

.wis-stat-bar::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -45%;
  width: 36%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  pointer-events: none;
  animation: roi-glare 18s ease-in-out infinite;
}

.wis-stat-bar p {
  position: relative;
  z-index: 1;
  margin: 0;
  font: 600 16px / 1.45 var(--font-family-base);
}

.wis-stat-line,
.wis-stat-impact-line {
  display: block;
}

.wis-stat-bar strong,
.wis-stat-impact {
  font-weight: 800;
}

.wis-stat-bar strong {
  color: #1F1C26;
}

.wis-stat-bar .wis-stat-impact {
  color: var(--skilly-blue-500);
}

@keyframes wis-stat-glow {
  0%, 72%, 100% {
    box-shadow: 0 0 0 rgba(88, 72, 247, 0), 0 0 0 rgba(88, 72, 247, 0);
  }
  82% {
    box-shadow: 0 0 0 1px rgba(88, 72, 247, 0.18), 0 18px 42px -24px rgba(88, 72, 247, 0.58);
  }
  90% {
    box-shadow: 0 0 0 1px rgba(88, 72, 247, 0.1), 0 12px 32px -22px rgba(88, 72, 247, 0.32);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wis-stat-bar,
  .wis-stat-bar::after {
    animation: none;
  }
}

@media (min-width: 1081px) {
  .wis-stat-bar {
    width: fit-content;
    max-width: 100%;
  }
}

@media (min-width: 769px) {
  .revenue-calculator-page #headcount.wis-section {
    padding: 88px 0;
    background-color: #F7F6FB;
    background-image: url("/staffing/assets/images/skilly-guide-new-bg.svg");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
  }

  .revenue-calculator-page #headcount .wis-section-bg {
    display: none !important;
  }

  .revenue-calculator-page #headcount .wis-main {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
    gap: 48px;
    align-items: stretch;
  }

  .revenue-calculator-page #headcount .wis-copy {
    max-width: 690px;
  }

  .revenue-calculator-page #headcount .wis-subhead {
    font-size: 20px;
  }

  .revenue-calculator-page #headcount .wis-chat-shell {
    max-width: none;
  }

  .revenue-calculator-page #headcount .wis-bottom {
    gap: calc(var(--space-6) * 3);
    margin-top: 24px;
  }

  .revenue-calculator-page #headcount .wis-stat-bar {
    display: flex;
  }

  .revenue-calculator-page #headcount .wis-stat-bar p {
    font-size: 21px;
  }

  .revenue-calculator-page #headcount .wis-cta-row {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: auto;
  }

  .revenue-calculator-page #headcount .wis-cta-button {
    flex: 0 0 250px;
    width: 250px;
    height: 64px;
    min-height: 64px;
    max-height: none;
    padding: 18px 24px;
    font-size: 20px;
    line-height: 1;
  }

  .revenue-calculator-page #headcount .wis-cta-button.btn-brand {
    font-size: 21px;
    gap: 8px;
  }

  .revenue-calculator-page #headcount .wis-cta-button.btn-brand .wis-cta-mascot {
    width: 28px;
    height: 28px;
  }

  .revenue-calculator-page #headcount .wis-cta-button.btn-brand .wis-cta-arrow {
    font-size: 24px;
  }

  .revenue-calculator-page #headcount .wis-cta-label--secondary {
    font-size: 21px;
  }
}

@media (min-width: 769px) {
  .wis-cta-button {
    flex: 0 0 250px;
    width: 250px;
    height: 64px;
  }
}

@media (max-width: 1080px) {
  .wis-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wis-copy {
    max-width: 820px;
  }

  .wis-chat-shell {
    max-width: 620px;
  }

  .wis-placeholder-card {
    min-height: 340px;
  }
}

@media (max-width: 820px) {
  .wis-section:not(#headcount) {
    background-position: center top !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat;
    padding: 64px 0;
  }
}

@media (max-width: 768px) {
  .wis-bottom {
    gap: 24px;
    margin-top: 20px;
  }

  .wis-cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .wis-cta-button {
    flex: 0 0 auto;
    flex-basis: auto;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 12px 18px;
    font-size: 16px;
    line-height: 1.2;
  }

  .wis-cta-button.btn-brand {
    font-size: 16px;
    gap: 6px;
  }

  .wis-cta-button.btn-brand .wis-cta-mascot {
    width: 20px;
    height: 20px;
  }

  .wis-cta-button.btn-brand .wis-cta-arrow {
    font-size: 18px;
  }

  .wis-cta-label--secondary {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .wis-title {
    font-size: 34px;
  }

  .wis-subhead {
    font-size: 16px;
  }

  .wis-browser {
    min-height: 0;
  }

  .wis-browser-top,
  .wis-job-board-head {
    align-items: flex-start;
  }

  .wis-job-board {
    min-height: 0;
    padding: 16px;
  }

  .wis-job-board-head {
    flex-direction: column;
  }

  .wis-role-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .wis-chat-widget {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .wis-stat-bar {
    align-items: flex-start;
  }

  .wis-placeholder-card {
    min-height: 300px;
    padding: 20px;
  }

}

/* Product demo */
.pd-section {
  position: relative;
  overflow-x: hidden;
  background: linear-gradient(180deg, #F6F5FF 0%, #FAF9FF 58%, #FDFCFF 100%);
  border-bottom: 1px solid #F0EFFF;
  padding: 88px 0;
}

.pd-section::before,
.pd-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(260px, 30vw, 460px);
  background: url("/staffing/assets/marketing/skilly-side-dots.svg") center / cover no-repeat;
  opacity: 0.36;
  pointer-events: none;
  z-index: 0;
  filter: saturate(1.1) brightness(1.05);
}

.pd-section::before {
  right: -80px;
}

.pd-section::after {
  left: -80px;
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .pd-section::before,
  .pd-section::after {
    display: none;
  }
}

.pd-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 52px;
  align-items: stretch;
}

.pd-copy {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.pd-eyebrow {
  margin-bottom: 18px;
  background: #E8E5FF;
  border-color: #D4CFFF;
  color: #5848F7;
}

.pd-title {
  margin: 0 auto;
  max-width: 1120px;
  font: 800 clamp(38px, 4.8vw, 56px) / 1.04 var(--font-family-base);
  letter-spacing: -0.03em;
  color: #1F1C26;
}

.pd-proof-list {
  display: grid;
  gap: 14px;
  width: fit-content;
  margin: 50px auto 0;
  justify-items: start;
  text-align: left;
}

.pd-proof-mascot-wrap {
  display: block;
  width: 56px;
  margin: 38px auto 0;
  position: relative;
}

.pd-proof-mascot-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 42px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(31, 28, 38, 0.28);
  transform: translateX(-50%);
  animation: pd-mascot-shadow 2.6s ease-in-out infinite;
}

.pd-proof-mascot {
  display: block;
  width: 56px;
  height: auto;
  animation: pd-mascot-float 2.6s ease-in-out infinite;
}

.pd-proof-cta {
  margin-top: 24px;
}

@keyframes pd-mascot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pd-mascot-shadow {
  0%, 100% {
    opacity: 0.24;
    transform: translateX(-50%) scaleX(1);
  }
  50% {
    opacity: 0.14;
    transform: translateX(-50%) scaleX(0.76);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-proof-mascot,
  .pd-proof-mascot-wrap::after {
    animation: none;
  }
}

.pd-proof-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #1F1C26;
  font: 700 17px / 1.45 var(--font-family-base);
}

@media (min-width: 769px) {
  .pd-proof-list {
    margin-top: 72px;
  }

  .pd-proof-item {
    align-items: center;
    gap: 16px;
    font-size: 22px;
  }
}

.pd-proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 0;
  border-radius: 9999px;
  background: #E8E5FF;
  color: #5848F7;
}

.pd-proof-icon i,
.pd-proof-icon svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.pd-demo-comparison {
  /* Equal-height layout: both cards share a fixed height. */
  --pd-card-height: clamp(420px, 56vw, 620px);
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 48px 72px;
  width: 100%;
  margin-top: 56px;
  text-align: left;
}

.pd-slot-wrap {
  display: flex;
  flex: 1 1 380px;
  max-width: 520px;
  min-width: min(100%, 300px);
  height: var(--pd-card-height);
  border-radius: 16px;
  overflow: hidden;
}

.pd-slot-wrap--skilly {
  overflow: visible;
  box-shadow:
    0 0 28px 9px rgba(88, 72, 247, 0.28),
    0 0 52px 18px rgba(88, 72, 247, 0.14);
}

.pd-json-slot.pd-json-slot--image {
  --pd-image-radius: 8px;
  --pd-image-edge-crop: 3px;
  --pd-image-aspect-ratio: 826 / 1024;
  position: relative;
  min-height: 0;
  height: 100%;
  width: auto;
  aspect-ratio: var(--pd-image-aspect-ratio);
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  overflow: hidden;
  overflow: clip;
  border-style: solid;
  border-radius: var(--pd-image-radius);
  background: #FFFFFF;
  clip-path: inset(0 round var(--pd-image-radius));
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.pd-json-slot.pd-json-slot--skilly.pd-json-slot--image {
  --pd-image-aspect-ratio: 851 / 1024;
}

.pd-json-screenshot {
  display: block;
  position: absolute;
  inset: calc(var(--pd-image-edge-crop) * -1);
  width: calc(100% + (var(--pd-image-edge-crop) * 2));
  max-width: none;
  height: calc(100% + (var(--pd-image-edge-crop) * 2));
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--pd-image-radius) + var(--pd-image-edge-crop));
  background: #FFFFFF;
}

.pd-json-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 9999px;
  background: #E8E5FF;
  color: #5848F7;
}

.pd-json-slot--generic .pd-json-icon {
  background: #FFFFFF;
  color: #77757B;
  border: 1px solid #E9E9EA;
}

.pd-json-icon i,
.pd-json-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.pd-json-mascot {
  width: 34px;
  height: 34px;
  display: block;
}

.pd-demo-mark {
  width: 48px;
  height: 48px;
  display: block;
  margin-bottom: 16px;
}

.pd-demo-title {
  margin: 0;
  color: #636168;
  font: 800 16px / 1.35 var(--font-family-base);
}

.pd-demo-subtitle {
  margin: 6px 0 0;
  color: #77757B;
  font: 500 13px / 1.45 var(--font-family-base);
}

@media (min-width: 981px) {
  .pd-demo-comparison {
    max-width: 1094px;
    margin-right: auto;
    margin-left: auto;
    column-gap: 65px;
  }
}

@media (max-width: 980px) {
  .pd-copy {
    max-width: 760px;
  }

  .pd-demo-comparison {
    --pd-card-height: min(72vh, 620px);
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .pd-slot-wrap {
    flex: 1 1 auto;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    height: var(--pd-card-height);
  }
}

@media (max-width: 768px) {
  .pd-slot-wrap--generic {
    height: auto;
    min-height: 0;
  }

  .pd-demo-comparison {
    gap: 44px;
    margin-bottom: 12px;
  }

  .pd-slot-wrap--skilly {
    box-shadow:
      0 0 10px 3px rgba(88, 72, 247, 0.1),
      0 0 22px 7px rgba(88, 72, 247, 0.05);
  }

  .pd-proof-list {
    width: min(100%, 360px);
    margin-top: 108px;
    gap: 16px;
    padding: 0 8px;
  }

  .pd-proof-item {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    gap: 12px;
  }

  .pd-proof-icon {
    width: 20px;
    height: 20px;
    margin-top: 3px;
  }

  .pd-proof-icon svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 640px) {
  .pd-section {
    padding: 64px 0;
  }

  .pd-title {
    font-size: 36px;
  }

  .pd-demo-comparison {
    --pd-card-height: min(68vh, 580px);
  }
}

/* Final CTA */
.cta2-section {
  background:
    #060044
    url("/staffing/assets/images/final-cta-gradient-bg.png")
    center / cover
    no-repeat;
  border-bottom: 0;
  padding: 88px 0;
}

.cta2-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cta2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 20px;
  align-items: stretch;
}

.cta2-card-stack {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.cta2-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 32px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(31,28,38,.06);
}

.cta2-card--primary {
  border: 1px solid #5848F7;
  background: #5848F7;
  color: #FFFFFF;
}

.cta2-card--secondary {
  border: 1px solid #E9E9EA;
  background: #FFFFFF;
  color: #1F1C26;
}

.cta2-card--form {
  border: 1px solid #D4CFFF;
  background:
    radial-gradient(circle at 82% 10%, rgba(88, 72, 247, 0.11), transparent 28%),
    linear-gradient(180deg, #FFFFFF 0%, #FAFAFE 100%);
  color: #1F1C26;
  box-shadow: 0 1px 13px rgba(0,0,0,.08);
}

.cta2-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 16px;
  color: #5848F7;
  font: 800 12px / 1 var(--font-family-base);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta2-eyebrow--light {
  color: rgba(255, 255, 255, 0.7);
}

.cta2-card h2 {
  margin: 0;
  max-width: 560px;
  font: 800 clamp(28px, 3vw, 38px) / 1.12 var(--font-family-base);
  letter-spacing: -0.03em;
}

.cta2-card--primary h2,
.cta2-card--primary .cta2-body {
  color: #FFFFFF;
}

.cta2-card--secondary h2 {
  color: #1F1C26;
}

.cta2-body {
  margin: 16px 0 0;
  color: #636168;
  font: 500 15px / 1.65 var(--font-family-base);
}

.cta2-checklist {
  display: grid;
  gap: 11px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.cta2-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #FFFFFF;
  font: 700 14px / 1.45 var(--font-family-base);
}

.cta2-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: #FFFFFF;
}

.cta2-check-icon i,
.cta2-check-icon svg,
.cta2-arrow-icon i,
.cta2-arrow-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.cta2-lead-form {
  display: grid;
  gap: 18px;
  margin-top: 0;
}

.cta2-field-grid {
  display: grid;
  gap: 14px;
}

.cta2-field {
  display: grid;
  gap: 8px;
}

.cta2-field span {
  color: #636168;
  font: 700 13px / 1 var(--font-family-base);
  letter-spacing: 0;
  text-transform: none;
}

.cta2-name-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cta2-input {
  min-width: 0;
  width: 100%;
  border: 1px solid #D2D2D4;
  border-radius: 4px;
  background: #FFFFFF;
  color: #1F1C26;
  outline: none;
  padding: 13px 14px;
  font: 600 15px / 1.25 var(--font-family-base);
}

.cta2-input::placeholder {
  color: #77757B;
}

.cta2-input:focus {
  border-color: #5848F7;
  box-shadow: 0 0 0 3px rgba(88,72,247,.14);
}

.cta2-field .cta2-error {
  color: #C41230;
  font: 700 12px / 1.3 var(--font-family-base);
}

.cta2-checkbox-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  color: #1F1C26;
  font: 700 14px / 1.35 var(--font-family-base);
  cursor: pointer;
}

.cta2-checkbox-field span {
  color: inherit;
}

.cta2-checkbox-input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: #5848F7;
  cursor: pointer;
}

.cta2-checkbox-input:focus-visible {
  outline: 3px solid rgba(88,72,247,.18);
  outline-offset: 2px;
}

.cta2-submit,
.cta2-secondary-button,
.cta2-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  font: 800 14px / 1 var(--font-family-base);
}

.cta2-submit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  border: 1px solid #5848F7;
  background: #5848F7;
  color: #FFFFFF;
  gap: 12px;
  min-height: 56px;
  padding: 0 22px;
  font: 800 clamp(20px, 2vw, 24px) / 1 var(--font-family-base);
}

.cta2-submit::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -45%;
  z-index: 0;
  width: 36%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  pointer-events: none;
  animation: roi-glare 18s ease-in-out infinite;
}

.cta2-submit-mascot {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.cta2-submit-mascot,
.cta2-submit-label,
.cta2-submit-arrow,
.cta2-submit-spinner {
  position: relative;
  z-index: 1;
}

.cta2-submit-label {
  white-space: nowrap;
}

.cta2-submit-arrow {
  line-height: 1;
  transform: translateY(-1px);
}

.cta2-submit.is-submitting {
  cursor: wait;
}

.cta2-submit.is-submitting .cta2-submit-mascot,
.cta2-submit.is-submitting .cta2-submit-label,
.cta2-submit.is-submitting .cta2-submit-arrow {
  opacity: 0;
}

.cta2-submit-spinner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.32);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: cta2-spin 0.75s linear infinite;
}

@keyframes cta2-spin {
  to {
    transform: rotate(360deg);
  }
}

.cta2-submit:hover,
.cta2-submit:focus-visible {
  background: #3827D9;
  border-color: #3827D9;
}

@media (prefers-reduced-motion: reduce) {
  .cta2-submit::after,
  .cta2-submit-spinner {
    animation: none;
  }
}

.cta2-primary-button {
  align-self: flex-start;
  margin-top: auto;
  border: 1px solid #FFFFFF;
  background: #FFFFFF;
  color: #5848F7;
  padding: 0 18px;
}

.cta2-primary-button:hover,
.cta2-primary-button:focus-visible {
  background: #E8E5FF;
}

.cta2-fineprint {
  margin: 14px 0 0;
  color: #636168;
  font: 500 12px / 1.45 var(--font-family-base);
}

.cta2-fineprint--light {
  color: rgba(255, 255, 255, 0.76);
}

.cta2-resource-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
}

.cta2-list-label {
  display: block;
  margin-bottom: 2px;
  color: #1F1C26;
  font: 800 13px / 1 var(--font-family-base);
}

.cta2-resource-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #1F1C26;
  font: 700 14px / 1.45 var(--font-family-base);
}

.cta2-arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: #5848F7;
}

.cta2-secondary-button {
  align-self: flex-start;
  margin-top: auto;
  border: 1.5px solid #5848F7;
  background: #FFFFFF;
  color: #5848F7;
  padding: 0 18px;
}

.cta2-secondary-button:hover,
.cta2-secondary-button:focus-visible {
  background: #E8E5FF;
}

@media (max-width: 980px) {
  .cta2-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cta2-section {
    padding: 64px 0;
  }

  .cta2-card {
    padding: 24px;
  }

  .cta2-card h2 {
    font-size: 28px;
  }

  .cta2-submit,
  .cta2-secondary-button,
  .cta2-primary-button {
    width: 100%;
  }

  .cta2-submit {
    gap: 10px;
    min-height: 54px;
    padding: 0 16px;
    font-size: 20px;
  }

  .cta2-submit-mascot {
    width: 26px;
    height: 26px;
  }

  .cta2-name-grid {
    grid-template-columns: 1fr;
  }
}

/* Frontend integration overrides */
.revenue-calculator-page #calculator.section {
  padding-top: 48px;
}

/* Match main staffing page buttons: rectangular with 8px corners */
.revenue-calculator-page .btn,
.revenue-calculator-page a.btn,
.revenue-calculator-page button.btn,
.revenue-calculator-page .btn-cta-team,
.revenue-calculator-page a.btn-cta-team {
  border-radius: 8px;
}

.revenue-calculator-page select.input,
.revenue-calculator-page input.input {
  border-radius: 8px;
}

.revenue-calculator-page .hero-cta-label--mobile {
  display: none;
}

@media (max-width: 768px) {
  .revenue-calculator-page .hero {
    padding: 40px 20px 32px;
    background: #F4F2FF url('/staffing/assets/Rectangle.png') center/cover no-repeat;
    border-bottom: 1px solid #E9E9EA;
  }

  .revenue-calculator-page .hero::after,
  .revenue-calculator-page .hero::before {
    display: none;
  }

  .revenue-calculator-page .hero .container {
    padding: 0;
  }

  .revenue-calculator-page .hero h1 {
    font-size: clamp(32px, 8vw, 36px);
    line-height: 1.1;
    text-align: left;
    margin-bottom: 16px;
  }

  .revenue-calculator-page .hero .lede {
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 24px;
  }

  .revenue-calculator-page .hero-copy {
    max-width: none;
  }

  .revenue-calculator-page .hero-cta-label--mobile {
    display: inline;
  }

  .revenue-calculator-page .hero-cta-label--desktop {
    display: none;
  }

  .revenue-calculator-page .scenario-share-strip {
    gap: 10px;
  }

  .revenue-calculator-page .btn.scenario-copy-btn {
    flex: 0 0 auto;
    justify-content: center;
    padding: 16px;
    min-width: 56px;
    gap: 0;
  }

  .revenue-calculator-page .btn.scenario-copy-btn .scenario-copy-label {
    display: none;
  }

  .revenue-calculator-page .btn.scenario-copy-btn svg {
    margin: 0;
    width: 24px;
    height: 24px;
  }

  .revenue-calculator-page a.btn.scenario-pilot-link {
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 17px;
    padding: 16px 18px;
    justify-content: center;
  }

  .revenue-calculator-page .calc-disclaimer {
    font-size: 12px;
    line-height: 1.45;
    margin-top: 16px;
  }

  .revenue-calculator-page #calculator.section {
    padding-top: 32px;
    padding-bottom: 20px;
  }

  .revenue-calculator-page #headcount.wis-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: 32px;
    padding-bottom: 40px;
    background-color: #F7F6FB;
    background-image: none !important;
  }

  .revenue-calculator-page #headcount .wis-section-bg {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .revenue-calculator-page #headcount .wis-section-bg img {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 100%;
    min-width: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
  }

  .revenue-calculator-page #headcount .wis-container {
    position: relative;
    z-index: 1;
  }

  .revenue-calculator-page #headcount .wis-stat-bar {
    display: flex;
    width: 100%;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.72);
  }

  .revenue-calculator-page #headcount .wis-stat-line,
  .revenue-calculator-page #headcount .wis-stat-impact-line {
    display: inline;
  }

  .revenue-calculator-page #headcount .wis-bottom {
    gap: 20px;
    margin-top: 20px;
  }

  .revenue-calculator-page #headcount .wis-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .revenue-calculator-page #headcount .wis-cta-button {
    flex: 0 0 auto;
    flex-basis: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 12px 18px;
    font-size: 16px;
  }

  .revenue-calculator-page #methodology.page-footnote,
  .revenue-calculator-page .page-footnote {
    background: #1F1C26;
    border: none;
    border-top: none !important;
    box-shadow: none;
  }

  .revenue-calculator-page #cta {
    border-bottom: none;
  }

  .revenue-calculator-page .page-footnote-summary {
    color: #fff;
  }

  .revenue-calculator-page .page-footnote-links a {
    color: #fff;
  }

  .revenue-calculator-page .page-footnote-links a:hover {
    color: #fff;
  }
}
