/* =========================================================================
   ForceFolks design system
   Original system — premium B2B clarity. Not derived from any third-party
   stylesheet, illustrations, or assets.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Ink / neutrals */
  --ink: #0b1020;
  --ink-2: #1b2436;
  --body: #2b3447;
  --muted: #586277;
  --muted-2: #7b8499;

  /* Surfaces */
  --paper: #ffffff;
  --paper-2: #f4f7fc;
  --paper-3: #e9eef8;
  --line: #e3e8f2;
  --line-2: #d3dbe9;

  /* Brand */
  --brand: #2c49f0;
  --brand-700: #1f33c6;
  --brand-800: #182aa6;
  --brand-tint: #ecf0ff;
  --brand-tint-2: #dbe3ff;

  /* Accent (distinctive warm) */
  --accent: #ff6a3d;
  --accent-700: #e1521f;
  --accent-tint: #ffece4;

  /* Secondary spectrum for diagrams / AI + data */
  --violet: #7b61ff;
  --teal: #14b8c4;

  /* Dark sections */
  --navy: #080c1f;
  --navy-2: #0f1733;
  --navy-card: #16203f;
  --on-dark: #e9edf8;
  --on-dark-muted: #9ba6c4;
  --on-dark-line: #263158;

  /* Geometry */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --gutter: clamp(18px, 4vw, 40px);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(13, 22, 50, .06), 0 2px 6px rgba(13, 22, 50, .05);
  --shadow: 0 6px 18px rgba(13, 22, 50, .08), 0 2px 6px rgba(13, 22, 50, .05);
  --shadow-lg: 0 24px 60px rgba(13, 22, 50, .14), 0 8px 20px rgba(13, 22, 50, .08);
  --shadow-brand: 0 16px 40px rgba(44, 73, 240, .28);

  /* Type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --fs-hero: clamp(2.45rem, 4.2vw + 1rem, 4.15rem);
  --fs-h1: clamp(2.05rem, 2.8vw + 1rem, 3.15rem);
  --fs-h2: clamp(1.6rem, 1.9vw + .75rem, 2.45rem);
  --fs-h3: clamp(1.2rem, .8vw + .7rem, 1.45rem);
  --fs-lede: clamp(1.1rem, .55vw + .95rem, 1.3rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  color: var(--body);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); letter-spacing: -.025em; }
h3 { font-size: var(--fs-h3); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-800); }
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin: .3em 0; }
strong { color: var(--ink-2); font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Skip link & focus ---------- */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0; z-index: 200; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--alt { background: var(--paper-2); }
.section--tint { background: linear-gradient(180deg, var(--brand-tint) 0%, #fff 100%); }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--on-dark-muted); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lede { margin-top: .35em; }

.lede { font-size: var(--fs-lede); color: var(--muted); line-height: 1.55; }
.section--dark .lede { color: var(--on-dark-muted); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section--dark .eyebrow { color: #9db1ff; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 13px; --pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--pad-y) var(--pad-x);
  font-family: inherit; font-size: .98rem; font-weight: 600; letter-spacing: -.01em;
  border-radius: 12px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap; text-align: center;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 14px 34px rgba(255,106,61,.32); }
.btn--accent:hover { background: var(--accent-700); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--ink-2); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-700); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--lg { --pad-y: 16px; --pad-x: 28px; font-size: 1.04rem; border-radius: 13px; }
.btn--block { display: flex; width: 100%; }
.section--dark .btn--ghost { background: transparent; color: #fff; border-color: var(--on-dark-line); }
.section--dark .btn--ghost:hover { border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row--center { justify-content: center; }

.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-700); }
.textlink svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(13,22,50,.06); }
.nav { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; letter-spacing: -.03em; color: var(--ink); font-size: 1.24rem; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 34px; height: 34px; flex: none; border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand__name span { color: var(--brand); }
.nav__spacer { flex: 1; }
.nav__panel { display: flex; align-items: center; gap: 14px; }
.nav__item { position: relative; }
.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  padding: 10px 11px; border-radius: 10px; font-weight: 550; font-size: .94rem; color: var(--ink-2);
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav__link:hover { color: var(--brand-700); background: var(--paper-2); }
.nav__link svg { width: 13px; height: 13px; opacity: .6; transition: transform .2s; }
.nav__item.is-open .nav__link svg { transform: rotate(180deg); }
.nav__cta { margin-left: 8px; }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 18px; width: max-content; max-width: min(640px, calc(100vw - 32px));
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega--wide { max-width: min(720px, calc(100vw - 32px)); }
.mega--xwide { max-width: min(880px, calc(100vw - 32px)); padding: 20px; }
/* left-align the first three dropdowns; right-align the rest so none overflow the viewport */
.nav__links > li:nth-child(n+4) .mega { left: auto; right: 0; }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.mega__grid--1 { grid-template-columns: 1fr; }
.mega__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px; }
.mega__col { min-width: 0; }
.mega__grid--3 .mega__col + .mega__col, .mega__grid .mega__col:nth-child(2) { position: relative; }
.mega__col-title { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); font-weight: 700; padding: 8px 12px 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.mega__link { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); }
.mega__link:hover { background: var(--paper-2); color: var(--brand-700); }
.mega__link b { display: block; font-weight: 650; font-size: .92rem; line-height: 1.3; }
.mega__link span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; margin-top: 1px; }

/* Mobile nav */
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: #fff; border-radius: 11px; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
body.menu-open { overflow: hidden; }
body.menu-open .menu-toggle .icon-open { display: none; }
body.menu-open .menu-toggle .icon-close { display: block; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  /* backdrop-filter creates a containing block for fixed children, trapping the
     full-screen mobile panel inside the header — remove it on mobile. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav__panel {
    position: fixed; inset: 72px 0 0; background: #fff; overflow-y: auto;
    padding: 18px var(--gutter) 48px; display: block; box-shadow: none;
    opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
    transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
  }
  body.menu-open .nav__panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { width: 100%; justify-content: space-between; font-size: 1.05rem; padding: 14px 12px; }
  .mega, .mega--wide, .mega--xwide { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 8px 6px; max-width: none; width: auto; display: none; }
  .nav__item.is-open .mega { display: block; }
  .mega__grid, .mega__grid--1, .mega__grid--3 { grid-template-columns: 1fr; gap: 0; }
  .mega__col-title { border-bottom: 0; padding: 12px 12px 4px; }
  .mega__link { padding: 11px 12px; }
  .mega__link span { display: none; }
  .nav__cta { margin: 16px 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7f9ff 0%, #fff 62%); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 88% 8%, rgba(123,97,255,.12), transparent 70%),
    radial-gradient(50% 45% at 8% 0%, rgba(44,73,240,.1), transparent 70%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: clamp(48px, 6vw, 92px); }
.hero__copy { max-width: 620px; }
.hero h1 { font-size: var(--fs-hero); letter-spacing: -.035em; margin-bottom: .35em; }
.hero__answer { font-size: var(--fs-lede); color: var(--ink-2); }
.hero .btn-row { margin-top: 28px; }
.hero__visual { min-width: 0; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 520px; }
}

/* Trust strip */
.trust { border-top: 1px solid var(--line); }
.trust__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); font-weight: 700; margin-bottom: 16px; }
.trust__row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Cloud chips */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }
.chip--accent .chip__dot { background: var(--accent); }
.chip--violet .chip__dot { background: var(--violet); }
.chip--teal .chip__dot { background: var(--teal); }
.section--dark .chip { background: var(--navy-card); border-color: var(--on-dark-line); color: var(--on-dark); }

/* ---------- Direct answer block (AEO) — premium ---------- */
.answer {
  position: relative; overflow: hidden; max-width: 768px;
  background: linear-gradient(135deg, #eff3ff 0%, #f7f5ff 55%, #fdfdff 100%);
  border: 1px solid var(--brand-tint-2); border-radius: 18px;
  padding: clamp(20px, 2.6vw, 28px) clamp(22px, 2.8vw, 32px);
  box-shadow: 0 16px 44px rgba(44, 73, 240, .09);
}
.answer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--brand), var(--violet)); }
.answer::after { content: ""; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 97, 255, .14), transparent 62%); pointer-events: none; }
.answer__head { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.answer__badge { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--violet)); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(44, 73, 240, .32); flex: none; }
.answer__badge svg { width: 17px; height: 17px; }
.answer__tag { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-700); }
.answer__text { font-size: clamp(1.05rem, .5vw + .98rem, 1.2rem); color: var(--ink-2); line-height: 1.58; margin: 0; }
.section--dark .answer { background: linear-gradient(135deg, rgba(44, 73, 240, .2), rgba(123, 97, 255, .12)); border-color: var(--on-dark-line); box-shadow: none; }
.section--dark .answer__text { color: var(--on-dark); }
.section--dark .answer__tag { color: #9db1ff; }
@media (prefers-reduced-motion: no-preference) {
  .answer { animation: answerIn .6s var(--ease) both; }
  @keyframes answerIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* ---------- Interior page hero ---------- */
.page-hero { background: linear-gradient(180deg, var(--brand-tint) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-block: clamp(28px, 4vw, 52px) clamp(34px, 5vw, 64px); }
.page-hero h1 { max-width: 18ch; }
.page-hero__lead { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
/* gap between the answer block and the CTAs — applies with or without a hero visual */
.page-hero__copy .answer { margin-bottom: 28px; }
.page-hero__copy .btn-row { margin-top: 0; }
@media (max-width: 820px) { .page-hero__lead { grid-template-columns: 1fr; } }

/* Authorship / review byline (E-E-A-T + freshness signal) */
.byline { font-size: .85rem; color: var(--muted); margin: -2px 0 18px; display: inline-flex; align-items: center; gap: 8px; }
.byline::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* Breadcrumbs */
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li::after { content: "/"; margin-left: 6px; color: var(--line-2); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb [aria-current] { color: var(--ink-2); font-weight: 600; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.2vw, 28px); transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  display: flex; flex-direction: column;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-tint-2); }
.card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-tint); display: grid; place-items: center; margin-bottom: 16px; color: var(--brand-700); }
.card__icon svg { width: 24px; height: 24px; }
.card__icon--accent { background: var(--accent-tint); color: var(--accent-700); }
.card__title { font-size: 1.16rem; margin-bottom: 8px; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--brand-700); }
.card__desc { color: var(--muted); font-size: .97rem; margin-bottom: 14px; }
.card__list { list-style: none; padding: 0; margin: 0 0 16px; }
.card__list li { position: relative; padding-left: 24px; font-size: .92rem; color: var(--body); margin: 7px 0; }
.card__list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 11px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.card__foot { margin-top: auto; }
.card .textlink { font-size: .95rem; }
.section--dark .card { background: var(--navy-card); border-color: var(--on-dark-line); }
.section--dark .card__title, .section--dark .card__title a { color: #fff; }
.section--dark .card__desc { color: var(--on-dark-muted); }
.section--dark .card__list li { color: var(--on-dark); }

.card__tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); background: var(--brand-tint); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }

/* Feature list (checklist columns) */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks--2 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 28px; }
@media (max-width: 640px) { .checks--2 { grid-template-columns: 1fr; } }
.checks li { position: relative; padding-left: 32px; color: var(--body); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 6px; background: var(--brand-tint); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 8px; height: 4.5px; border-left: 2px solid var(--brand-700); border-bottom: 2px solid var(--brand-700); transform: rotate(-45deg); }
.checks strong { color: var(--ink-2); }
.section--dark .checks li { color: var(--on-dark); }
.section--dark .checks li::before { background: rgba(123,135,255,.16); }
.section--dark .checks li::after { border-color: #9db1ff; }

/* Prose blocks */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.qa { margin-bottom: 2.2em; }
.qa > h2, .qa > h3 { margin-bottom: .5em; }

/* Two-col split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.split--text-first { }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
.steps--num { }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px 22px 70px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 22px; top: 22px; font-variant-numeric: tabular-nums;
  font-weight: 750; color: var(--brand); font-size: 1.05rem; letter-spacing: -.02em;
}
.step h3 { font-size: 1.1rem; margin-bottom: 5px; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (min-width: 720px) { .steps--2col { grid-template-columns: 1fr 1fr; gap: 18px 22px; } }

/* ---------- Process flow (vertical timeline infographic) ---------- */
.proc { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.proc__step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 0 0 26px; margin: 0; }
.proc__step:last-child { padding-bottom: 0; }
.proc__step::before { content: ""; position: absolute; left: 23px; top: 46px; bottom: -2px; width: 2px; background: var(--line-2); }
.proc__step:last-child::before { display: none; }
.proc__node { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--violet)); color: #fff; font-weight: 750; font-size: 1.06rem; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(44, 73, 240, .28); font-variant-numeric: tabular-nums; }
.proc__content { padding-top: 6px; min-width: 0; }
.proc__title { font-size: 1.12rem; margin: 0 0 4px; }
.proc__desc { margin: 0; color: var(--muted); font-size: .96rem; }
.section--dark .proc__step::before { background: var(--on-dark-line); }
.section--dark .proc__title { color: #fff; }
.section--dark .proc__desc { color: var(--on-dark-muted); }

/* ---------- Comparison cards ---------- */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.compare__card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.compare__card--us { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.compare__card--us .compare__name { color: #fff; }
.compare__card--us .compare__name b { color: #fff; }
.compare__card--us .compare__list li { color: #eaeefb; }
.compare__name { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); font-weight: 700; margin-bottom: 4px; }
.compare__name b { display: block; font-size: 1.12rem; letter-spacing: -.01em; text-transform: none; color: var(--ink); margin-top: 3px; }
.compare__list { list-style: none; padding: 0; margin: 14px 0 0; }
.compare__list li { position: relative; padding-left: 26px; font-size: .95rem; line-height: 1.5; margin: 11px 0; color: var(--body); }
.compare__list li::before { content: "–"; position: absolute; left: 4px; color: var(--muted-2); }
.compare__card--us .compare__list li { font-weight: 450; }
.compare__card--us .compare__list li::before { content: ""; left: 2px; top: .45em; width: 11px; height: 6px; border-left: 2.2px solid #9db1ff; border-bottom: 2.2px solid #9db1ff; transform: rotate(-45deg); position: absolute; }
.compare__badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 3px 9px; border-radius: 999px; margin-bottom: 10px; }

/* ---------- Fit blocks ---------- */
.fit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .fit { grid-template-columns: 1fr; } }
.fit__card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: #fff; }
.fit__card h3 { font-size: 1.08rem; display: flex; align-items: center; gap: 10px; }
.fit__card ul { list-style: none; padding: 0; margin: 14px 0 0; }
.fit__card li { position: relative; padding-left: 26px; margin: 9px 0; font-size: .95rem; color: var(--body); }
.fit__icon { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.fit--who .fit__icon { background: var(--brand-tint); color: var(--brand-700); }
.fit--yes { border-color: #bfe5cb; background: #f3fbf5; }
.fit--yes .fit__icon { background: #d6f2de; color: #1c8a45; }
.fit--yes li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 11px; height: 6px; border-left: 2.4px solid #1c8a45; border-bottom: 2.4px solid #1c8a45; transform: rotate(-45deg); }
.fit--no { border-color: #f0d9cf; background: #fdf6f2; }
.fit--no .fit__icon { background: var(--accent-tint); color: var(--accent-700); }
.fit--no li::before { content: "×"; position: absolute; left: 6px; top: -.05em; color: var(--accent-700); font-weight: 700; font-size: 1.1em; }
.fit--who li::before { content: ""; position: absolute; left: 6px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq__item[open] { border-color: var(--brand-tint-2); box-shadow: var(--shadow-sm); }
.faq__q { cursor: pointer; list-style: none; padding: 19px 56px 19px 22px; position: relative; font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-65%) rotate(45deg); transition: transform .22s var(--ease); }
.faq__item[open] .faq__q::after { transform: translateY(-35%) rotate(-135deg); }
.faq__a { padding: 0 22px 20px; color: var(--muted); }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--brand-800) 0%, var(--brand) 52%, #5566ff 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px); }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 60%); pointer-events: none; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 56ch; font-size: var(--fs-lede); }
.cta-band .btn-row { margin-top: 26px; }
.cta-band .btn--ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); color: #fff; }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.cta-band .btn--primary { background: #fff; color: var(--brand-800); box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.cta-band .btn--primary:hover { background: #f3f5ff; color: var(--brand-800); }

/* ---------- Stats / metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 18px; }
.metric { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; }
.metric b { display: block; font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem); color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.metric span { color: var(--muted); font-size: .92rem; }

/* ---------- Role matrix ---------- */
.matrix { display: grid; gap: 16px; }
.matrix__row { display: grid; grid-template-columns: 1.1fr 1.1fr 1.4fr auto; gap: 20px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.matrix__row:hover { border-color: var(--brand-tint-2); box-shadow: var(--shadow-sm); }
.matrix__role { font-weight: 700; color: var(--ink); }
.matrix__role span { display: block; font-weight: 500; font-size: .85rem; color: var(--muted); }
.matrix__cell h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin: 0 0 4px; font-weight: 700; }
.matrix__cell p { margin: 0; font-size: .92rem; color: var(--body); }
@media (max-width: 860px) { .matrix__row { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Use cases / dept grid ---------- */
.usecase { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; }
.usecase h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.usecase__pill { font-size: .72rem; font-weight: 700; color: var(--brand-700); background: var(--brand-tint); padding: 3px 8px; border-radius: 6px; }
.usecase p { margin: 0; font-size: .94rem; color: var(--muted); }

/* ---------- Related links ---------- */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 14px; }
.related__card { display: block; border: 1px solid var(--line); border-radius: 13px; padding: 18px 20px; background: #fff; }
.related__card:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-2px); transition: .2s var(--ease); }
.related__card b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 3px; }
.related__card span { font-size: .88rem; color: var(--muted); }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.field .req { color: var(--accent-700); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink-2); padding: 13px 15px;
  border: 1.5px solid var(--line-2); border-radius: 11px; background: #fff; width: 100%; transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.field__hint { font-size: .82rem; color: var(--muted-2); }
.form__note { font-size: .85rem; color: var(--muted); }
.form-success { display: none; padding: 22px 24px; border-radius: 14px; background: #f3fbf5; border: 1px solid #bfe5cb; color: #1c6b39; }
.form-success.is-visible { display: block; }
.form-success strong { display: block; font-size: 1.1rem; color: #155e34; margin-bottom: 5px; }
.form-success span { display: block; font-weight: 500; line-height: 1.55; }
.form-success a { color: var(--brand-700); font-weight: 600; }
.field--error input, .field--error select, .field--error textarea { border-color: #d6453a; background: #fef6f5; }
.field--error input:focus, .field--error select:focus, .field--error textarea:focus { border-color: #d6453a; box-shadow: 0 0 0 4px rgba(214,69,58,.14); }
.field__error { font-size: .82rem; color: #c0392b; font-weight: 600; }

/* ---------- Key takeaways (AI-extractable summary) ---------- */
.takeaways { background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; padding: 18px 22px; margin: 0 0 24px; max-width: 840px; }
.takeaways__h { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-700); margin: 0 0 10px; }
.takeaways ul { margin: 0; padding-left: 20px; }
.takeaways li { margin: 7px 0; color: var(--ink-2); line-height: 1.55; }
.takeaways li strong { color: var(--ink); }

/* ---------- Bar chart infographic ---------- */
.bc { display: grid; gap: 12px; }
.bc__row { display: grid; grid-template-columns: minmax(118px, 1.05fr) 3fr minmax(92px, auto); gap: 14px; align-items: center; }
.bc__label { font-weight: 650; font-size: .92rem; color: var(--ink-2); }
.bc__track { position: relative; height: 16px; background: var(--paper-3); border-radius: 999px; overflow: hidden; }
.bc__bar { position: absolute; top: 0; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--violet)); }
.bc__val { font-size: .9rem; font-weight: 650; color: var(--ink); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bc__note { grid-column: 1 / -1; font-size: .82rem; color: var(--muted-2); margin: 2px 0 0; }
@media (max-width: 560px) { .bc__row { grid-template-columns: 1fr auto; } .bc__track { grid-column: 1 / -1; order: 3; } }

/* ---------- Positioning spectrum (comparison infographic) ---------- */
.spectrum { margin: 0; }
.spectrum__track { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--brand) 52%, var(--violet)); }
.spectrum__dot { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; transform: translateY(-50%); box-shadow: var(--shadow-sm); }
.spectrum__dot--l { left: 0; border: 3px solid var(--accent); }
.spectrum__dot--r { right: 0; border: 3px solid var(--violet); }
.spectrum__ends { display: flex; justify-content: space-between; gap: 18px; margin-top: 15px; }
.spectrum__end { flex: 1 1 0; min-width: 0; }
.spectrum__end--r { text-align: right; }
.spectrum__end b { display: block; color: var(--ink); font-size: 1.02rem; }
.spectrum__end span { color: var(--muted); font-size: .92rem; }
.spectrum__cap { margin-top: 14px; font-size: .85rem; color: var(--muted-2); text-align: center; }
@media (max-width: 520px) { .spectrum__end b { font-size: .95rem; } .spectrum__end span { font-size: .84rem; } }

/* ---------- Donut infographic ---------- */
.donut { width: 100%; max-width: 168px; height: auto; }
.infographic { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px); align-items: center; }
.infographic__fig { flex: none; display: grid; place-items: center; }
.infographic__body { flex: 1 1 260px; min-width: 0; }

/* Contact aside */
.contact-aside { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-aside h3 { font-size: 1.05rem; }
.contact-aside ul { list-style: none; padding: 0; margin: 0; }
.contact-aside li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.contact-aside li:last-child { border-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-muted); padding-block: clamp(48px, 6vw, 76px) 28px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: #fff; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px 24px; }
.foot-brand { max-width: 280px; }
.foot-brand .brand { color: #fff; margin-bottom: 14px; }
.foot-brand .brand__name span { color: #8aa0ff; }
.foot-brand p { font-size: .92rem; color: var(--on-dark-muted); }
.foot-addr { font-style: normal; font-size: .9rem; line-height: 1.65; color: var(--on-dark-muted); margin-top: 14px; }
.foot-addr a { color: var(--on-dark-muted); }
.foot-addr a:hover { color: #fff; }
.foot-col h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin: 9px 0; font-size: .92rem; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--on-dark-line); font-size: .85rem; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-disclaimer { font-size: .8rem; color: #6b769a; margin-top: 14px; max-width: 70ch; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; } }

/* ---------- Visual / diagram helpers ---------- */
.figure { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 2.5vw, 30px); box-shadow: var(--shadow); }
.figure--plain { background: none; border: 0; box-shadow: none; padding: 0; }
.figcaption { text-align: center; font-size: .85rem; color: var(--muted-2); margin-top: 14px; }
.diagram { width: 100%; height: auto; display: block; }

/* ---------- Trust layer ---------- */
.trust-band { background: var(--paper-2); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 30px; }
@media (max-width: 800px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-700); display: grid; place-items: center; flex: none; }
.trust-item__ic svg { width: 22px; height: 22px; }
.trust-item b { display: block; color: var(--ink); font-size: 1.02rem; letter-spacing: -.01em; }
.trust-item span { color: var(--muted); font-size: .92rem; }
.hero__proof { margin-top: 18px; font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.hero__proof b { color: var(--ink-2); font-weight: 650; }
.hero__proof .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }

/* Trusted-by client wall (named clients as a text wordmark wall — no image assets) */
.trusted-by { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff 0%, var(--brand-tint) 165%); }
.logo-wall { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 40px; }
.logo-wall__item { font-weight: 750; font-size: clamp(1rem, .55vw + .95rem, 1.32rem); letter-spacing: -.02em; color: var(--ink-2); opacity: .68; transition: opacity .2s var(--ease); white-space: nowrap; }
.logo-wall__item:hover { opacity: 1; }
@media (max-width: 520px) { .logo-wall { gap: 12px 24px; } }

/* Reveal on scroll — only hidden when JS is active (.js set by inline script) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: calc(var(--i, 0) * 65ms); will-change: opacity, transform; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* Premium hero-diagram motion (subtle, reduced-motion safe) */
@media (prefers-reduced-motion: no-preference) {
  .hero__visual .diagram line { stroke-dasharray: 4 7; animation: dashFlow 3.2s linear infinite; }
  @keyframes dashFlow { to { stroke-dashoffset: -44; } }
  .hero__visual .diagram circle[fill="var(--accent)"] { animation: pulseDot 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  @keyframes pulseDot { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
  .force-diagram .force-node { animation: floatNode 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .force-diagram .force-node:nth-child(odd) { animation-delay: -2.5s; }
  @keyframes floatNode { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
}

/* Utilities */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead-narrow { max-width: 60ch; }
.stack > * + * { margin-top: 1rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.tag-pill { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-700); background: var(--accent-tint); padding: 5px 12px; border-radius: 999px; }
.note-box { border: 1px dashed var(--line-2); border-radius: 12px; padding: 16px 18px; background: var(--paper-2); font-size: .9rem; color: var(--muted); }
.anchor-offset { scroll-margin-top: 90px; }

/* ---------- Credential pills (proof) ---------- */
.cred-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 6px auto 0; }
.cred-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.cred-pill svg { width: 15px; height: 15px; color: var(--brand-700); }
.cred-pill b { color: var(--ink); font-weight: 750; }

/* ---------- ForceFolks entity-association callout ---------- */
.ff-callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--brand-tint), #fff 78%); border: 1px solid var(--brand-tint-2); }
.ff-callout__main { flex: 1 1 440px; min-width: 0; }
.ff-callout__statement { font-size: var(--fs-lede); color: var(--ink-2); line-height: 1.5; margin: 0 0 14px; }
.ff-callout__statement strong { color: var(--ink); }
.ff-callout__proof { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.ff-callout .btn { flex: none; }

/* ---------- Sticky lead CTA dock ---------- */
.cta-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 0 16px 16px; pointer-events: none; }
.cta-dock[hidden] { display: none; }
.cta-dock__inner {
  pointer-events: auto; max-width: 600px; margin-inline: auto;
  background: var(--navy); color: var(--on-dark); border: 1px solid var(--on-dark-line); border-radius: 16px;
  box-shadow: 0 18px 50px rgba(8, 12, 31, .4); padding: 15px 16px 15px 20px;
  display: flex; align-items: center; gap: 16px;
  transform: translateY(120%); transition: transform .35s var(--ease);
}
.cta-dock.is-in .cta-dock__inner { transform: none; }
.cta-dock__txt { margin: 0; font-size: .88rem; line-height: 1.45; flex: 1; }
.cta-dock__txt strong { color: #fff; }
.cta-dock__inner .btn { white-space: nowrap; padding: 11px 18px; }
.cta-dock__close { background: transparent; border: 0; color: var(--on-dark-muted); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 2px 8px; border-radius: 8px; flex: none; }
.cta-dock__close:hover { color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 600px) { .cta-dock__inner { flex-wrap: wrap; padding: 14px; } .cta-dock__txt { flex: 1 1 100%; } .cta-dock__inner .btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .cta-dock__inner { transition: none; transform: none; } }

/* ---------- E-E-A-T trust band (per-page) ---------- */
.eeat { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 22px; padding: 22px 26px; border: 1px solid var(--brand-tint-2); border-radius: 16px; background: linear-gradient(120deg, var(--brand-tint), #fff 75%); }
.eeat__txt { max-width: 52ch; font-size: .98rem; color: var(--ink-2); margin: 0; }
.eeat__txt strong { color: var(--ink); }
.eeat__pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.eeat__pills .textlink { margin-left: 4px; }

/* ---------- Glossary ---------- */
.gloss { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 26px; }
@media (max-width: 680px) { .gloss { grid-template-columns: 1fr; } }
.gloss__item { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: #fff; }
.gloss__item:target { border-color: var(--brand); box-shadow: var(--shadow-sm); scroll-margin-top: 96px; }
.gloss__term { font-weight: 700; color: var(--ink); font-size: 1.04rem; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gloss__tag { font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); background: #f1ecff; padding: 2px 7px; border-radius: 6px; }
.gloss__def { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.gloss__def a { font-weight: 600; }
.gloss-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.gloss-nav a { font-size: .8rem; font-weight: 700; color: var(--muted); padding: 4px 8px; border-radius: 7px; }
.gloss-nav a:hover { background: var(--brand-tint); color: var(--brand-700); }

/* ---------- Data tables (salary / reference) ---------- */
.data-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.data-table th, .data-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.data-table thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); font-weight: 700; border-bottom: 2px solid var(--line-2); white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--paper-2); }
.data-table td:first-child { font-weight: 650; color: var(--ink); }
.data-table td b { color: var(--brand-700); }
.data-note { font-size: .82rem; color: var(--muted-2); margin-top: 14px; }
.data-note a { font-weight: 600; }
/* Canonical fact table (key → value, for extraction) */
.fact-table { min-width: 0; }
.fact-table caption { caption-side: top; text-align: left; font-weight: 700; color: var(--ink); font-size: .95rem; padding: 14px 16px 12px; }
.fact-table tbody th { text-align: left; font-weight: 650; color: var(--ink); white-space: normal; vertical-align: top; width: 32%; min-width: 150px; border-bottom: 1px solid var(--line); }

/* ---------- Stat cards (statistics page) ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 880px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-grid { grid-template-columns: 1fr; } }
.stat { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; }
.stat b { display: block; font-size: clamp(1.6rem, 1.4vw + 1rem, 2.2rem); color: var(--ink); letter-spacing: -.03em; line-height: 1.05; }
.stat span { display: block; color: var(--muted); font-size: .92rem; margin: 7px 0 10px; }
.stat cite { font-style: normal; font-size: .75rem; }
.stat cite a { color: var(--muted-2); }
.stat cite a:hover { color: var(--brand-700); }

/* ---------- Cost calculator ---------- */
.calc__num label { display: block; font-weight: 650; font-size: .92rem; color: var(--ink-2); margin-bottom: 8px; }
.calc__num input[type="number"] { width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink-2); padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; }
.calc__num input[type="number"]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.calc { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(24px, 3vw, 40px); align-items: start; }
@media (max-width: 800px) { .calc { grid-template-columns: 1fr; } }
.calc__panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 2.4vw, 28px); }
.calc__field { margin-bottom: 20px; }
.calc__field > label { display: block; font-weight: 700; font-size: .95rem; color: var(--ink-2); margin-bottom: 9px; }
.calc__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.calc__opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.calc__opt span { display: inline-block; padding: 9px 15px; border: 1.5px solid var(--line-2); border-radius: 10px; font-size: .9rem; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.calc__opt input:checked + span { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-700); }
.calc__opt input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.calc__result { position: sticky; top: 92px; background: var(--ink); color: #fff; border-radius: 18px; padding: clamp(24px, 2.6vw, 30px); box-shadow: var(--shadow-lg); }
.calc__result .eyebrow { color: #9db1ff; }
.calc__result .eyebrow::before { background: #6f86ff; }
.calc__range { font-size: clamp(1.9rem, 2.4vw + 1rem, 2.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.04; margin: 4px 0; color: #fff; }
.calc__sub { color: var(--on-dark-muted); font-size: .92rem; margin: 0; }
.calc__bars { margin: 18px 0 0; display: grid; gap: 8px; }
.calc__bar { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 10px; font-size: .8rem; color: var(--on-dark-muted); }
.calc__bar .track { height: 8px; border-radius: 5px; background: var(--navy-card); overflow: hidden; }
.calc__bar i { display: block; height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, #5b8def, var(--violet)); transition: width .35s var(--ease); }
.calc__note { color: var(--on-dark-muted); font-size: .8rem; margin-top: 16px; border-top: 1px solid var(--on-dark-line); padding-top: 14px; }
.calc__result .btn { margin-top: 18px; }
