/* JobMigrate marketing site. Light theme only. */

:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --bg-soft: #f8f7f3;
  --line: #ebe8e1;
  --line-2: #dedad1;
  --line-3: #c9c4b8;
  --text: #12161c;
  --text-2: #4a5160;
  --text-3: #6b7280;
  --accent: #ffc72c;
  --accent-hover: #ffbb0f;
  --accent-ink: #1b1400;
  --accent-text: #9a5b00;
  --accent-soft: #fff5d1;
  --accent-line: #f2d27c;
  --accent-edge: #ecc04a;
  --amber: #f5b400;
  --amber-deep: #e0a100;
  --ok: #12844a;
  --ok-soft: #e4f5eb;
  --ok-ink: #107a44; /* text on --ok-soft: 4.8:1 */
  --ok-line: #c4e6d1;
  --focus: #9a5b00;
  --wire: #d6d0c3;
  --hot: #efa600;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(18, 22, 28, 0.05), 0 1px 1px rgba(18, 22, 28, 0.03);
  --shadow-md: 0 14px 34px -16px rgba(18, 22, 28, 0.22), 0 2px 6px -2px rgba(18, 22, 28, 0.06);
  --shadow-lg: 0 40px 90px -36px rgba(18, 22, 28, 0.3), 0 10px 26px -14px rgba(18, 22, 28, 0.12);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1200px;
  --gutter: 24px;
  --header-h: 68px;
  color-scheme: light;
}
@media (max-width: 640px) { :root { --gutter: 16px; --header-h: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.btn:focus-visible { border-radius: 999px; }

.i {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn .i { width: 18px; height: 18px; stroke-width: 2.2; transition: transform 0.2s ease; }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 1px rgba(214, 160, 0, 0.35), 0 10px 24px -10px rgba(214, 150, 0, 0.7); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(214, 160, 0, 0.5), 0 14px 28px -10px rgba(214, 150, 0, 0.8); }
/* Secondary: white with a warm border, used for every "Book a demo" */
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--text); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--accent-edge); background: #fffcf2; transform: translateY(-1px); box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.16), var(--shadow-sm); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color 0.25s ease, border-color 0.25s ease; }
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.025em; }
.brand-mark { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a:not(.btn) { padding: 8px 12px; border-radius: 8px; color: var(--text-2); font-size: 14.5px; font-weight: 500; transition: color 0.15s ease, background-color 0.15s ease; }
.nav-links a:not(.btn):hover { color: var(--text); background: #f3f2ee; }
.nav-menu-demo { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 6px; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff;
  align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.nav-toggle .i-close { display: none; }
.menu-open .nav-toggle .i-open { display: none; }
.menu-open .nav-toggle .i-close { display: block; }
.brand, .brand-mark, .nav-actions, .nav-toggle, .nav-actions .btn { flex: none; }
@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 10px var(--gutter) 18px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .nav-links a:not(.btn) { padding: 12px 10px; font-size: 16px; }
  .menu-open .nav-links { display: flex; }
  .menu-open .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: var(--line); }
  .nav-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .nav { gap: 10px; }
  .nav-demo { display: none; }
  .nav-menu-demo { display: inline-flex; margin-top: 10px; }
  .nav-cta { height: 38px; padding: 0 14px; font-size: 14px; }
}
@media (max-width: 379px) { .nav-cta { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(24px, 2.6vw, 38px)) 0 clamp(48px, 6vw, 84px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(18, 22, 28, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 22, 28, 0.05) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 60% 18%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 55% at 60% 18%, #000 20%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: -2;
  background: linear-gradient(rgba(248, 247, 243, 0), var(--bg-soft));
}
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero-glow-a { width: 900px; height: 900px; right: -260px; top: -420px; background: radial-gradient(closest-side, rgba(255, 199, 44, 0.3), transparent 72%); }
.hero-glow-b { width: 760px; height: 760px; left: -360px; top: 180px; background: radial-gradient(closest-side, rgba(37, 99, 235, 0.07), transparent 72%); }

.hero-head {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 22px; align-items: end;
}
.hero-head .hero-side { max-width: 46rem; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: #fff; box-shadow: var(--shadow-sm);
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em; color: var(--text-2);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; animation: pulse 2.4s ease-out infinite; }
/* The panel's pause button stops this too, so it covers every moving thing on the page. */
body:has(.sb.is-paused) .pulse-dot { animation-play-state: paused; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.6); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(255, 184, 0, 0); }
}
.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.45rem, 1.1rem + 4.05vw, 4.4rem);
  line-height: 1.0; letter-spacing: -0.048em; font-weight: 700;
}
.h1-line { display: block; }
.hero-hl {
  padding: 0 0.06em; margin: 0 -0.04em;
  background: linear-gradient(180deg, transparent 62%, rgba(255, 199, 44, 0.72) 62%, rgba(255, 199, 44, 0.72) 93%, transparent 93%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lede { max-width: 34rem; font-size: clamp(1.02rem, 0.97rem + 0.25vw, 1.13rem); line-height: 1.6; color: var(--text-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Load-in */
.js .hero-title > *, .js .hero-side > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.js .hero-title > :nth-child(2) { animation-delay: 0.06s; }
.js .hero-side > :nth-child(1) { animation-delay: 0.12s; }
.js .hero-side > :nth-child(2) { animation-delay: 0.18s; }
.js .sb { animation: rise 0.9s 0.22s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Switchboard panel ---------- */
.sb {
  --dwell: 6500ms;
  position: relative; margin-top: clamp(28px, 2.6vw, 36px);
  border-radius: 26px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.sb::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3;
  background: linear-gradient(140deg, rgba(255, 199, 44, 0.85), rgba(255, 199, 44, 0) 30%, rgba(37, 99, 235, 0) 70%, rgba(37, 99, 235, 0.28));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* Desktop: FROM column | wires | move card | wires | INTO column.
   The card is the tallest thing in the panel. Rows 2 and 5 are equal spacers, so the two
   platform columns (label + list, rows 3-4) sit centred against it and share one row height. */
.sb-stage {
  --colw: clamp(170px, 14.4vw, 190px);
  --chan: clamp(72px, 6.4vw, 100px); /* room for the wires on each side of the card; keeps the card 572px wide from about 1160px */
  --cardw: 572px;                   /* widest card: every item fits on one line in two columns */
  --node-h: 70px;
  --node-gap: 10px;
  position: relative; isolation: isolate;
  display: grid;
  grid-template-columns: var(--colw) minmax(0, 1fr) var(--colw);
  grid-template-rows: auto 1fr auto auto 1fr;
  padding: 16px clamp(16px, 2vw, 24px) 26px;
}
.sb-stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: 25px;
  background-image: radial-gradient(circle at 1px 1px, rgba(18, 22, 28, 0.085) 1px, transparent 1.4px);
  background-size: 22px 22px; background-position: 10px 10px;
  -webkit-mask-image: radial-gradient(ellipse 66% 74% at 50% 52%, #000 30%, transparent 92%);
  mask-image: radial-gradient(ellipse 66% 74% at 50% 52%, #000 30%, transparent 92%);
}
.sb-col { display: contents; }

.sb-hint {
  grid-column: 2; grid-row: 1; justify-self: center; align-self: start;
  display: inline-flex; align-items: center; gap: 8px; height: 28px; margin-bottom: 14px; padding: 0 12px;
  border-radius: 999px; border: 1px dashed var(--line-2); background: rgba(255, 255, 255, 0.85);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.02em; line-height: 1; color: var(--text-2); white-space: nowrap;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.sb-hint .i { width: 14px; height: 14px; stroke-width: 2; color: var(--accent-text); }
.sb.has-pins .sb-hint { visibility: hidden; opacity: 0; }

.sb-label {
  display: flex; align-items: center; gap: 10px; height: 28px; margin-bottom: 12px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  line-height: 1; color: var(--text-2); white-space: nowrap;
}
.sb-label-k { color: var(--text); font-weight: 600; }
.sb-rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), rgba(222, 218, 209, 0.2)); }
.sb-into .sb-label-k { color: var(--accent-text); }
.sb-into .sb-rule { background: linear-gradient(90deg, var(--accent-line), rgba(242, 210, 124, 0.15)); }
.n-pick { display: none; color: var(--accent-text); font-weight: 600; }
.sb.await-into .sb-into .n-count, .sb.await-from .sb-from .n-count { display: none; }
.sb.await-into .sb-into .n-pick, .sb.await-from .sb-from .n-pick { display: inline; }
.sb-from .sb-label { grid-column: 1; grid-row: 3; }
.sb-into .sb-label { grid-column: 3; grid-row: 3; }

.sb-list { position: relative; z-index: 2; display: grid; }
.sb-from .sb-list { grid-column: 1; grid-row: 4; grid-auto-rows: var(--node-h); gap: var(--node-gap); }
.sb-into .sb-list { grid-column: 3; grid-row: 4; align-self: stretch; grid-auto-rows: minmax(0, 1fr); gap: 12px; }

/* ---------- Platform cards (radio buttons) ---------- */
.sb-node {
  --ls: 1;
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 3px;
  width: 100%; height: 100%; min-height: 0; padding: 0 16px; margin: 0;
  border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
  text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease;
}
.sb-into .sb-node { border-color: #efe3c2; background: linear-gradient(180deg, #fff, #fffdf7); }
.sb-node-logo { display: flex; align-items: center; width: 100%; height: 30px; transition: opacity 0.25s ease; }
.sb-into .sb-node-logo { height: 38px; margin-bottom: 2px; }
.sb-logo { display: flex; align-items: center; gap: 0.28em; max-width: 100%; }
.sb-logo img { height: calc(var(--h) * var(--ls, 1)); width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.sb-logo.is-combo img { flex: none; max-width: 60%; }
.sb-logo.is-combo span {
  font-weight: 600; font-size: calc(var(--h) * var(--ls, 1) * 0.74); letter-spacing: -0.02em; line-height: 1; color: var(--text);
  transform: translateY(-0.04em); white-space: nowrap;
}
.sb-logo-text { font-weight: 700; font-size: 15px; letter-spacing: -0.02em; color: var(--text); white-space: nowrap; }
.sb-node-name { font-size: 12.5px; font-weight: 500; line-height: 15px; color: var(--text-2); white-space: nowrap; transition: color 0.2s ease; }
.sb-into .sb-node-name { color: var(--text); font-weight: 600; font-size: 13px; line-height: 16px; }
.sb-node-kind { font-size: 12px; line-height: 15px; color: var(--text-3); white-space: nowrap; }

.sb-sock {
  position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%;
  background: #fff; border: 1.5px solid #c8c1b1; box-shadow: 0 0 0 3px #fff;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.sb-from .sb-sock { right: -5px; }
.sb-into .sb-sock { left: -5px; }

.sb-land {
  position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); border: 1.5px solid #8fcfa9;
  box-shadow: 0 0 0 3px #fff, 0 6px 14px -4px rgba(18, 132, 74, 0.4);
  opacity: 0; transform: scale(0.4); pointer-events: none;
}
.sb-land svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }

/* Disabled-card tooltip (a same-platform move is impossible) */
.sb-node-tip {
  position: absolute; left: 50%; bottom: calc(100% + 9px); z-index: 6; width: max-content; max-width: 210px;
  padding: 7px 10px; border-radius: 9px; background: #fff; border: 1px solid var(--line-2);
  box-shadow: 0 12px 26px -12px rgba(18, 22, 28, 0.3), 0 2px 6px -2px rgba(18, 22, 28, 0.08);
  font-size: 12.5px; font-weight: 500; line-height: 1.35; color: var(--text-2); text-align: center; white-space: normal;
  opacity: 0; visibility: hidden; transform: translate(-50%, 4px); pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}
.sb-node-tip::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; width: 9px; height: 9px; margin-left: -4.5px;
  background: #fff; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transform: rotate(45deg);
}

/* States: tour highlight, awaiting a pick, dimmed, hover/focus, picked, disabled (in that order) */
.sb-node.is-on { border-color: var(--accent-line); box-shadow: 0 0 0 4px rgba(255, 199, 44, 0.16), var(--shadow-md); }
.sb-node.is-on .sb-sock { background: var(--accent); border-color: #d99c00; }
.sb.await-into .sb-into .sb-node:not([aria-disabled="true"]),
.sb.await-from .sb-from .sb-node:not([aria-disabled="true"]) {
  border-color: var(--accent-line); background: #fffdf5;
  animation: await 2.2s ease-in-out 3;
}
@keyframes await {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 199, 44, 0), var(--shadow-sm); }
  50% { box-shadow: 0 0 0 5px rgba(255, 199, 44, 0.22), var(--shadow-sm); }
}
.sb-node.is-dim { box-shadow: none; background: #fdfcfa; }
.sb-node.is-dim .sb-node-logo { opacity: 0.5; }
.sb-node.is-dim .sb-node-name { color: var(--text-3); }

@media (hover: hover) {
  .sb-node:not([aria-disabled="true"]):hover { transform: translateY(-2px); }
  .sb-node:not([aria-disabled="true"]):not([aria-checked="true"]):hover {
    border-color: var(--accent-edge); background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.14), var(--shadow-md);
  }
  .sb-node:not([aria-disabled="true"]):hover .sb-sock { border-color: #d99c00; }
  .sb-node.is-dim:not([aria-disabled="true"]):hover .sb-node-logo { opacity: 1; }
  .sb-node.is-dim:not([aria-disabled="true"]):hover .sb-node-name { color: var(--text-2); }
  .sb-node[aria-disabled="true"]:hover .sb-node-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 0.15s ease, transform 0.15s ease; }
}
.sb-node:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 14px; transform: translateY(-2px); }
.sb-node:not([aria-checked="true"]):focus-visible { border-color: var(--accent-edge); box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.14), var(--shadow-md); }
.sb-node.is-dim:focus-visible .sb-node-logo { opacity: 1; }
.sb-node.show-tip .sb-node-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 0.15s ease, transform 0.15s ease; }

.sb-node[aria-checked="true"] { border-color: #e5ad12; background: #fffcf0; box-shadow: 0 0 0 4px rgba(255, 199, 44, 0.32), var(--shadow-md); }
.sb-node[aria-checked="true"] .sb-node-name { color: var(--text); font-weight: 600; }
.sb-node[aria-checked="true"] .sb-sock { background: var(--accent); border-color: #d99c00; }

.sb-node[aria-disabled="true"] { cursor: not-allowed; border-style: dashed; border-color: var(--line-2); background: #fbfaf7; box-shadow: none; }
.sb-node[aria-disabled="true"] .sb-node-logo, .sb-node[aria-disabled="true"] .sb-node-name, .sb-node[aria-disabled="true"] .sb-node-kind { opacity: 0.4; }
.sb-node[aria-disabled="true"] .sb-sock { opacity: 0.4; }

/* ---------- Wires ---------- */
.sb-wires { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; pointer-events: none; }
.sb-w {
  fill: none; stroke: var(--wire); stroke-width: 1.5; stroke-linecap: round;
  stroke-dasharray: 1 2; stroke-dashoffset: 1;
  transition: opacity 0.3s ease, stroke 0.2s ease, stroke-width 0.2s ease;
}
.sb.is-ready .sb-w { animation: draw 1.05s cubic-bezier(0.45, 0, 0.2, 1) forwards; animation-delay: var(--d, 0ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }
/* Once drawn, a wire drops the dash trick (a finished dash animation can leave it unpainted). */
.sb.is-ready .sb-w.is-drawn { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
.sb-w.is-ready { stroke: #e8cf8a; }
.sb-w.is-dim { opacity: 0.35; }
.sb-w.is-hover { stroke: #ab9f86; stroke-width: 2; opacity: 1; }
.sb-wh {
  fill: none; stroke: var(--hot); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 1 2; stroke-dashoffset: 1; opacity: 0;
  transition: opacity 0.3s ease, stroke-dashoffset 0s linear 0.3s;
}
.sb-wh.sb-halo { stroke: #ffc72c; stroke-width: 8; }
.sb-wh.is-on { opacity: 1; stroke-dashoffset: 0; transition: opacity 0.2s ease, stroke-dashoffset 0.75s cubic-bezier(0.45, 0, 0.2, 1); }
.sb-wh.sb-halo.is-on { opacity: 0.2; }
.sb-wh.out.is-on { transition-delay: 0.22s, 0.22s; }
.sb-wh.is-on.is-dim { opacity: 0.32; transition-delay: 0s; }
.sb-wh.sb-halo.is-on.is-dim { opacity: 0.06; }

/* Travelling records */
.sb-fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; border-radius: 25px; }
.sb-rec {
  position: absolute; left: 0; top: 0;
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px 0 7px;
  border-radius: 999px; background: #fff; border: 1px solid #e3ddcf;
  box-shadow: 0 6px 14px -6px rgba(18, 22, 28, 0.22), 0 1px 2px rgba(18, 22, 28, 0.06);
  font-size: 11.5px; font-weight: 500; line-height: 1; color: var(--text); white-space: nowrap;
  opacity: 0; will-change: transform, opacity;
}
.sb-rec-ic { position: relative; width: 10px; height: 10px; flex: none; }
.sb-rec-ic::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px rgba(255, 199, 44, 0.28); }
.sb-rec-ic svg { position: absolute; inset: 0; width: 10px; height: 10px; fill: none; stroke: var(--ok); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.sb-rec.is-out { background: #f2fbf5; border-color: #c4e6d1; color: #0c5f34; }
.sb-rec.is-out .sb-rec-ic::before { opacity: 0; }
.sb-rec.is-out .sb-rec-ic svg { opacity: 1; }

/* Stacked layout connectors (hidden on desktop) */
.sb-conn { display: none; }

/* ---------- Move card (from the Route builder) ---------- */
.mv-glow {
  grid-column: 2; grid-row: 2 / 6; align-self: center; justify-self: center; z-index: -1;
  width: 720px; height: 720px; margin: -140px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 199, 44, 0.17), rgba(255, 199, 44, 0.05) 55%, transparent 72%);
}
.mv {
  --px: 20px; --ls: 1;
  container: mv / inline-size;
  grid-column: 2; grid-row: 2 / 6; justify-self: center; align-self: center;
  width: min(var(--cardw), calc(100% - 2 * var(--chan)));
  position: relative; z-index: 3;
  display: flex; flex-direction: column;
  padding: 18px var(--px) 18px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.mv::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 199, 44, 0.9), rgba(255, 199, 44, 0) 34%, rgba(37, 99, 235, 0) 66%, rgba(37, 99, 235, 0.32));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* Sockets where the wires plug into the card: one per platform, lined up with the lists */
.mv-socks { position: absolute; top: var(--sock-top, 45%); z-index: 2; display: flex; flex-direction: column; gap: 15px; pointer-events: none; }
.mv-socks.in { left: -5.5px; }
.mv-socks.out { right: -5.5px; top: var(--sock-top-out, 45%); }
.mv-socks i {
  display: block; width: 9px; height: 9px; border-radius: 50%;
  background: #fff; border: 1.5px solid #c8c1b1; box-shadow: 0 0 0 3px #fff;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.mv-socks i.is-hover { border-color: #ab9f86; }
.mv-socks i.is-on { background: var(--accent); border-color: #d99c00; }
.mv-port { display: none; }

.mv-head { display: flex; align-items: center; gap: 14px; min-height: 30px; }
.mv-k {
  margin: 0; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  line-height: 1.2; color: var(--accent-text); white-space: nowrap;
}
.mv-steps { display: flex; flex: 1; gap: 5px; max-width: 150px; margin-left: auto; }
.mv-steps[hidden] { display: none; }
.mv-steps i { position: relative; flex: 1; height: 3px; border-radius: 3px; overflow: hidden; background: #efece4; }
.mv-steps i::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--amber);
  transform: scaleX(0); transform-origin: left center;
}
.mv-steps i.is-done::after { transform: scaleX(1); }
.mv-steps i.is-active::after { animation: seg var(--dwell) linear forwards; }
@keyframes seg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sb.is-held .mv-steps i.is-active::after, .sb.is-paused .mv-steps i.is-active::after { animation-play-state: paused; }
.mv-pause {
  display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border-radius: 50%; flex: none;
  border: 1px solid var(--line-2); background: #fff; color: var(--text-2); cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.mv-pause:hover { border-color: var(--accent-edge); color: var(--text); background: #fffcf2; box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.16); }
.mv-pause:focus-visible { border-radius: 50%; }
.mv-pause[hidden] { display: none; }
.mv-pause .i { width: 14px; height: 14px; stroke-width: 2.4; }
.mv-pause .i-play { display: none; fill: currentColor; stroke-width: 1.6; }
.mv-pause[aria-pressed="true"] .i-play { display: block; }
.mv-pause[aria-pressed="true"] .i-pause { display: none; }
.mv-reset {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; margin-left: auto; padding: 0 13px 0 10px;
  border-radius: 999px; border: 1px solid var(--line-2); background: #fff; box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 500; color: var(--text); cursor: pointer; white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.mv-reset:hover { border-color: var(--accent-edge); background: #fffcf2; box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.16), var(--shadow-sm); }
.mv-reset:focus-visible { border-radius: 999px; }
.mv-reset[hidden] { display: none; }
.mv-reset .i { width: 13px; height: 13px; stroke-width: 2.2; color: var(--accent-text); }

/* The route: FROM plate, JobMigrate link, TO plate */
.mv-route { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); margin-top: 14px; }
.mv-plate {
  position: relative; min-width: 0; height: 100px; border-radius: 16px; overflow: hidden;
  background: #fbfaf7; border: 1px solid var(--line);
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.mv-plate-to { background: #fffaea; border-color: var(--accent-line); box-shadow: 0 0 0 4px rgba(255, 199, 44, 0.14); }
.mv-plate.is-empty { background: #fff; border: 1.5px dashed var(--line-3); box-shadow: none; }
.mv-plate-cap {
  position: absolute; left: 12px; top: 9px; z-index: 1; pointer-events: none;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2; color: var(--text-3);
}
.mv-plate-to .mv-plate-cap { color: var(--accent-text); }
.mv-plate-stack { position: absolute; inset: 0; display: grid; }
.mv-plate-face {
  grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  padding: 18px 10px 8px; min-width: 0;
  transition: opacity 0.32s ease-out 0.15s, transform 0.48s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s;
}
.mv-plate-face.is-enter { opacity: 0; transform: translateY(14px); }
.mv-plate-face.is-leave { opacity: 0; transform: translateY(-10px); transition: opacity 0.15s ease-in, transform 0.2s ease-in; }
.mv-plate .sb-logo { height: 36px; justify-content: center; }
.mv-plate .sb-logo img { object-position: center; }
.mv-plate-name { max-width: 100%; font-size: 14.5px; font-weight: 650; line-height: 1.2; letter-spacing: -0.015em; text-align: center; }
.mv-plate-pick {
  width: 100%; margin: 0; border: 0; background: transparent; cursor: pointer;
  font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--text-2); text-wrap: balance;
}
.mv-plate-pick:focus-visible { outline-offset: -4px; border-radius: 14px; }
.mv-pick-ic {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none;
  border: 1.5px dashed var(--line-3); color: var(--accent-text); transition: background-color 0.2s ease, border-color 0.2s ease;
}
.mv-pick-ic .i { width: 14px; height: 14px; stroke-width: 2.4; }
.mv-plate-pick:hover { color: var(--text); }
.mv-plate-pick:hover .mv-pick-ic { border-style: solid; border-color: var(--accent-edge); background: var(--accent-soft); }

.mv-link { position: relative; display: flex; align-items: center; justify-content: center; }
.mv-link::before {
  content: ""; position: absolute; left: 4px; right: 8px; top: 50%; height: 2px; margin-top: -1px;
  background: repeating-linear-gradient(90deg, var(--line-3) 0 5px, transparent 5px 10px);
}
.mv-flow { position: absolute; left: 4px; right: 8px; top: 50%; height: 2px; margin-top: -1px; overflow: hidden; }
.mv-flow::after {
  content: ""; position: absolute; top: 0; left: 0; width: 45%; height: 100%;
  background: linear-gradient(90deg, rgba(245, 180, 0, 0), var(--amber), rgba(245, 180, 0, 0));
  transform: translateX(-100%); opacity: 0;
}
.sb.is-flowing .mv-flow::after { opacity: 1; animation: link-flow 1.5s linear infinite; }
.sb.is-paused .mv-flow::after { animation-play-state: paused; }
@keyframes link-flow { from { transform: translateX(-100%); } to { transform: translateX(225%); } }
.mv-arrow { position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; margin-top: -6px; color: var(--amber-deep); stroke-width: 2.6; }
.mv-mark { position: relative; width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 0 0 4px #fff, 0 8px 18px -6px rgba(214, 150, 0, 0.65); }

/* What moves, by group. The slot is held at the height of the tallest pair (set by JS). */
.mv-body { position: relative; flex: 1 0 auto; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.mv-slot { position: relative; }
.mv-probe { position: absolute; left: 0; right: 0; top: 0; visibility: hidden; pointer-events: none; }
.mv-content { transition: opacity 0.16s ease; }
.mv-content.is-out { opacity: 0; }

.mv-grp-head { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; min-height: 26px; flex-wrap: wrap; }
.mv-grp-k { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3; }
.mv-grp-yes .mv-grp-k { color: var(--accent-text); }
.mv-grp-history .mv-grp-k { color: #85621a; }
.mv-grp-no .mv-grp-k { color: var(--text-3); }
.mv-grp-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #f1eee7; }
.mv-grp-row.is-single { grid-template-columns: minmax(0, 1fr); }
.mv-grp-row .mv-grp-head { min-height: 18px; }
.mv-grp-list { display: grid; gap: 7px; margin-top: 9px; }
.mv-grp-row .mv-grp-list { margin-top: 8px; gap: 6px; }
.mv-grp-list.is-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows, 1), auto);
  grid-auto-flow: column; column-gap: 14px;
}
.mv-it { position: relative; display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; line-height: 20px; color: var(--text-2); border-radius: 6px; }
.mv-grp-row .mv-it { font-size: 13px; }
.mv-it-no { color: var(--text-3); }
.mv-it.has-d { cursor: help; }
.mv-it.has-d .mv-it-label { text-decoration: underline dotted #cdc6b5; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color 0.15s ease, text-decoration-color 0.15s ease; }
.mv-it.has-d:hover .mv-it-label, .mv-it.is-tipped .mv-it-label { color: var(--text); text-decoration-color: var(--accent-text); }
.mv-it:focus-visible { outline-offset: 2px; border-radius: 6px; }
.mv-ic { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; }
.mv-ic svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.mv-ic-yes { background: var(--ok-soft); color: var(--ok); }
.mv-ic-yes path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.mv-ic-history { background: #fbf1d6; color: #a06c00; }
.mv-ic-history svg { width: 12px; height: 12px; stroke-width: 2.2; }
.mv-ic-history .fill { fill: currentColor; stroke: none; }
.mv-ic-no { background: #f1efe9; color: #8b919b; }
.mv-ic-no svg { stroke-width: 3; }
.mv-badge {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--ok-soft); color: var(--ok-ink); font-weight: 600; font-size: 12.5px; line-height: 1; white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mv-badge .i { width: 13px; height: 13px; stroke-width: 3; color: var(--ok); }
.mv-note { margin-top: 14px; padding-left: 11px; border-left: 2px solid var(--accent-line); font-size: 13px; line-height: 1.5; color: var(--text-2); }

/* Check sweep and stagger when a new move comes in */
.js .mv-content .mv-it { transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 30ms); }
.js .mv-content.is-enter .mv-it { opacity: 0; transform: translateY(6px); transition: none; }
.js .mv-content .mv-ic-yes { background: #f1efe9; transition: background-color 0.3s ease; transition-delay: calc(var(--i, 0) * 80ms + 180ms); }
.js .mv-content .mv-ic-yes path { stroke-dashoffset: 1; transition: stroke-dashoffset 0.32s ease; transition-delay: calc(var(--i, 0) * 80ms + 230ms); }
.js .mv-content.is-checked .mv-ic-yes { background: var(--ok-soft); }
.js .mv-content.is-checked .mv-ic-yes path { stroke-dashoffset: 0; }
.js .mv-content.no-anim .mv-it, .js .mv-content.no-anim .mv-ic, .js .mv-content.no-anim .mv-ic path { transition: none !important; }
.js .mv-content .mv-badge { opacity: 0; transform: scale(0.92); }
.js .mv-content.is-done .mv-badge { opacity: 1; transform: none; }

/* Waiting for the second pick */
.mv-skel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 20px; margin-top: 10px; }
.mv-skel li { display: flex; align-items: center; gap: 9px; height: 20px; }
.mv-skel li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #f3f1ec; }
.mv-skel li::after { content: ""; height: 9px; width: var(--w, 70%); border-radius: 5px; background: #f3f1ec; }
.is-skel .mv-grp-k { color: var(--text-3); }
.is-skel { margin-top: 16px; }
.mv-await {
  display: flex; align-items: center; gap: 11px; padding: 13px 14px; border-radius: 13px;
  border: 1px dashed var(--accent-line); background: #fffcf1; font-size: 14px; line-height: 1.45; color: var(--text-2);
}
.mv-await strong { color: var(--text); font-weight: 600; }
.mv-await .i { width: 18px; height: 18px; stroke-width: 2.2; color: var(--accent-text); }

/* Item detail tooltip (light) */
.mv-tip {
  position: absolute; left: 0; top: 0; z-index: 8; width: max-content; max-width: min(270px, calc(100% - 16px));
  padding: 8px 11px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2);
  box-shadow: 0 14px 30px -14px rgba(18, 22, 28, 0.32), 0 2px 6px -2px rgba(18, 22, 28, 0.08);
  font-size: 13px; line-height: 1.45; color: var(--text-2);
  opacity: 0; visibility: hidden; transform: translateY(3px); pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}
.mv-tip::after {
  content: ""; position: absolute; left: var(--cx, 20px); bottom: -5px; width: 9px; height: 9px; margin-left: -4.5px;
  background: #fff; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transform: rotate(45deg);
}
.mv-tip.is-below::after { bottom: auto; top: -5px; transform: rotate(225deg); }
.mv-tip.is-measuring { visibility: hidden; transition: none; }
.mv-tip.is-on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity 0.15s ease, transform 0.15s ease; }

/* Trust block: shown with every move */
.mv-trust { margin-top: 16px; border-radius: 14px; border: 1px solid var(--line); background: #fbfaf7; overflow: hidden; }
.mv-trust-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 13px; font-size: 13px; line-height: 1.45; }
.mv-trust-row[hidden] { display: none; }
.mv-trust-row .i { width: 17px; height: 17px; margin-top: 1px; stroke-width: 2; }
.mv-trust-confirm { color: var(--text-2); }
.mv-trust-confirm .i { color: var(--accent-text); }
.mv-trust-guarantee { background: var(--ok-soft); border-top: 1px solid var(--ok-line); color: #0b5a31; font-size: 13.5px; font-weight: 500; }
.mv-trust-guarantee strong { font-weight: 700; color: #08502b; }
.mv-trust-guarantee .i { color: var(--ok); stroke-width: 2.2; }

/* Primary and "Book a demo" share a row when they fit; otherwise each takes a full row. */
.mv-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.mv-cta { flex: 3 1 auto; padding: 0 22px; }
.mv-demo { flex: 1 0 auto; }
.mv-fee { flex: 1 1 100%; margin-top: 1px; text-align: center; font-size: 12.5px; line-height: 1.4; color: var(--text-3); }
.mv-fee span { padding: 0 6px; color: var(--line-3); }

/* Card internals follow the card's own width (sizes below are the card's content box).
   Two columns need about 528px for the longest labels at full size. Just under that the
   lists step down half a pixel; below 512px they go to one column rather than wrap. */
@container mv (min-width: 512px) and (max-width: 527px) {
  .mv-it { font-size: 13px; }
  .mv-grp-row .mv-it { font-size: 12.5px; }
}
@container mv (max-width: 511px) {
  .mv-grp-list.is-cols, .mv-skel { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .mv-grp-row { grid-template-columns: minmax(0, 1fr); }
}
@container mv (max-width: 400px) {
  .mv-route { grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr); }
  .mv-mark { width: 24px; height: 24px; border-radius: 7px; }
  /* Taller plates with slightly smaller logos, so a two-line name never pushes the logo into the caption */
  .mv-plate { --ls: 0.9; height: 106px; border-radius: 14px; }
  .mv-plate-face { padding: 22px 8px 8px; gap: 6px; }
  .mv-plate .sb-logo { height: 30px; }
  .mv-plate-name { font-size: 13px; }
  .mv-plate-pick { font-size: 12.5px; }
  .mv-cta { height: auto; min-height: 50px; padding: 12px 16px; white-space: normal; text-align: center; font-size: 15px; }
  .mv-cta span { text-wrap: balance; }
  .mv-steps { max-width: 104px; }
}

/* Entrance for the panel (JS adds .is-ready after building and measuring) */
.js .sb:not(.is-ready) .sb-node, .js .sb:not(.is-ready) .mv { opacity: 0; }
.sb.is-ready .sb-node { animation: nodeIn 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; animation-delay: calc(var(--i, 0) * 45ms); }
.sb.is-ready .mv { animation: cardIn 0.8s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
@keyframes nodeIn { from { opacity: 0; transform: translateY(6px); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px) scale(0.985); } }
/* Everything holds still while the panel is off-screen or the tab is hidden */
.sb.is-asleep *, .sb.is-asleep *::before, .sb.is-asleep *::after { animation-play-state: paused !important; }

/* The booking popup (HatCal embed) brings a dark scrim and a black shadow; keep it light like the rest of the site. */
body > [role="dialog"][aria-modal="true"]:has(iframe[data-hatcal-frame]) { background: rgba(248, 247, 243, 0.82) !important; }
body > [role="dialog"][aria-modal="true"]:has(iframe[data-hatcal-frame]) > div {
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 90px -30px rgba(18, 22, 28, 0.32), 0 10px 26px -14px rgba(18, 22, 28, 0.12) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-head { grid-template-columns: minmax(0, 1fr); }
  .hero-side { max-width: 40rem; }
}

/* Stacked: FROM grid, connector, card, connector, INTO grid */
@media (max-width: 1139px) {
  .sb-stage {
    grid-template-columns: minmax(0, 780px); grid-template-rows: none; justify-content: center;
    padding: 16px clamp(12px, 3vw, 26px) 24px;
  }
  .sb-stage::before { -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 92%); mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 92%); }
  .sb-wires, .sb-fx, .mv-socks, .sb-sock, .sb-land { display: none; }
  .sb-hint { grid-column: 1; grid-row: 1; margin-bottom: 16px; }
  .sb-from .sb-label { grid-column: 1; grid-row: 2; }
  .sb-from .sb-list { grid-column: 1; grid-row: 3; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 66px; gap: 10px; }
  .sb-conn { display: flex; justify-content: center; grid-column: 1; height: 34px; }
  .conn-in { grid-row: 4; }
  .mv-glow { grid-column: 1; grid-row: 5; width: 560px; height: 560px; margin: -120px; }
  .mv { grid-column: 1; grid-row: 5; width: min(100%, 680px); }
  .conn-out { grid-row: 6; }
  .sb-into .sb-label { grid-column: 1; grid-row: 7; margin-top: 4px; }
  .sb-into .sb-list { grid-column: 1; grid-row: 8; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 92px; gap: 10px; }
  .sb-into .sb-node { --ls: 0.84; padding: 0 12px; }
  .sb-into .sb-node-name { font-size: 12.5px; }
  .sb-into .sb-node-kind { font-size: 11.5px; }
  .mv-port {
    display: block; position: absolute; left: 50%; z-index: 2; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%;
    background: #fff; border: 1.5px solid #c8c1b1; box-shadow: 0 0 0 3px #fff; transition: background-color 0.3s ease, border-color 0.3s ease;
  }
  .mv-port.top { top: -6px; }
  .mv-port.bottom { bottom: -6px; }
  .mv-port.is-on { background: var(--accent); border-color: #d99c00; }
  .sb-conn i {
    position: relative; display: block; width: 2px; height: 100%; overflow: hidden;
    background: repeating-linear-gradient(180deg, var(--line-3) 0 4px, transparent 4px 8px);
    transition: background-color 0.3s ease;
  }
  .sb-conn.is-on i { background: repeating-linear-gradient(180deg, var(--amber) 0 5px, rgba(245, 180, 0, 0.25) 5px 8px); }
  .sb-conn i::after {
    content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 60%; opacity: 0;
    background: linear-gradient(180deg, rgba(245, 180, 0, 0), #d99600, rgba(245, 180, 0, 0));
    transform: translateY(-100%);
  }
  .sb.is-flowing .sb-conn.is-on i::after { opacity: 1; animation: jx-flow 1.3s linear infinite; }
  .sb.is-flowing .conn-out.is-on i::after { animation-delay: 0.65s; }
  .sb.is-paused .sb-conn i::after { animation-play-state: paused; }
  @keyframes jx-flow { from { transform: translateY(-100%); } to { transform: translateY(170%); } }
  .mv-await .i { transform: rotate(90deg); }
}
@media (max-width: 759px) {
  .sb-into .sb-list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 84px; }
  .sb-into .sb-node { --ls: 0.86; }
}
@media (max-width: 599px) {
  .sb { border-radius: 22px; }
  .sb-stage::before, .sb-fx { border-radius: 21px; }
  .sb-stage { padding: 14px 12px 16px; }
  .sb-label { margin-bottom: 10px; font-size: 11px; letter-spacing: 0.1em; }
  .sb-from .sb-list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 64px; gap: 10px; }
  .sb-into .sb-list { grid-auto-rows: 70px; }
  .sb-node, .sb-into .sb-node { padding: 0 11px; border-radius: 13px; gap: 3px; }
  .sb-node { --ls: 0.88; }
  .sb-into .sb-node { --ls: 0.8; }
  .sb-node-logo, .sb-into .sb-node-logo { height: 30px; margin-bottom: 0; }
  .sb-node-name, .sb-into .sb-node-name { font-size: 11.5px; line-height: 15px; }
  .sb-into .sb-node-kind { display: none; }
  .mv { --px: 14px; padding-top: 16px; padding-bottom: 16px; border-radius: 20px; }
  .mv-glow { width: 420px; height: 420px; margin: -100px; }
  .sb-conn { height: 28px; }
  .hint-more { display: none; }
}
@media (max-width: 640px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .pill-extra { display: none; }
}
@media (max-width: 370px) {
  .sb-node, .sb-into .sb-node { padding: 0 8px; }
  .sb-node-name, .sb-into .sb-node-name { font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .sb-w { stroke-dashoffset: 0; }
  .mv-flow, .sb-conn i::after { display: none; }
  .sb-node:hover, .sb-node:focus-visible, .btn:hover { transform: none !important; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(80px, 9vw, 128px); }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); }
.section-head { max-width: 48rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text);
}
.section h2 { margin-top: 14px; font-size: clamp(2.05rem, 1.35rem + 2.5vw, 3.3rem); letter-spacing: -0.035em; }
.section-sub { margin-top: 18px; color: var(--text-2); font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.15rem); line-height: 1.6; }

/* Cards */
.card {
  position: relative; border-radius: var(--radius); padding: 26px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); }
.card h3 { margin-top: 20px; font-size: 18.5px; line-height: 1.25; letter-spacing: -0.02em; }
.card p { margin-top: 8px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.icon-box {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--accent-soft); color: var(--accent-text); border: 1px solid #f6e3a6;
}
.icon-box .i { width: 21px; height: 21px; }

.props { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }

.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.cat { display: flex; flex-direction: column; }
.cat .chips { margin-top: auto; padding-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  padding: 4px 10px; border-radius: 999px; font-size: 12.5px; line-height: 1.5;
  color: var(--text-2); background: #f7f6f2; border: 1px solid var(--line);
}
.cat-wide {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 199, 44, 0.16), transparent 55%),
    #fff;
}
.cat-wide .chips { margin-top: 0; padding-top: 18px; }
.choices { display: grid; gap: 10px; }
.choice {
  display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto auto; column-gap: 14px;
  padding: 14px 16px; border-radius: 13px; border: 1px solid var(--line); background: #fbfaf7;
}
.choice-k { grid-row: 1 / 3; align-self: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.choice strong { font-weight: 600; font-size: 15px; }
.choice span:last-child { color: var(--text-3); font-size: 13.5px; }

.ribbon, .callout {
  display: flex; align-items: flex-start; gap: 14px; margin-top: 16px;
  padding: 18px 22px; border-radius: 16px;
}
.ribbon { border: 1px solid var(--line); background: #fff; color: var(--text-2); box-shadow: var(--shadow-sm); }
.ribbon .i { color: var(--text); margin-top: 2px; }
.ribbon strong { color: var(--text); font-weight: 600; }
.callout {
  border: 1px solid var(--accent-line); color: var(--text-2);
  background: linear-gradient(90deg, #fff4cc, #fffbea);
}
.callout .i { color: var(--accent-text); width: 22px; height: 22px; margin-top: 1px; }
.callout strong { color: var(--text); font-weight: 600; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.step {
  display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
}
.step-num { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; color: var(--accent-text); }
.step-num::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent-line), transparent); }
.step h3 { margin-top: 22px; font-size: 19.5px; letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.step-tag {
  align-self: flex-start; margin-top: auto;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--text-3);
}
.step p + .step-tag { margin-top: 22px; }

/* Proof */
.proof-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.checklist { display: grid; gap: 12px; margin-top: 28px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-2); }
.checklist .i { width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; color: var(--ok); background: var(--ok-soft); stroke-width: 3; }
.report {
  border-radius: 20px; padding: 22px; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-lg);
}
.report-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.report-title { font-weight: 600; font-size: 16px; }
.report-sub { margin-top: 2px; color: var(--text-3); font-size: 13px; }
.report-tag {
  flex: none; padding: 3px 9px; border-radius: 7px; border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
}
.table-wrap { margin-top: 18px; overflow-x: auto; }
.report table { width: 100%; border-collapse: collapse; font-size: 14px; }
.report th {
  padding: 0 10px 10px; text-align: right; font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--line-2);
}
.report th:first-child, .report td:first-child { text-align: left; padding-left: 0; }
.report td {
  padding: 11px 10px; text-align: right; border-bottom: 1px dashed var(--line);
  font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.report td:first-child { font-family: var(--font); font-weight: 600; font-size: 14px; }
.report td:first-child span { margin-left: 6px; font-weight: 400; color: var(--text-3); }
.report td:last-child { width: 28px; padding-right: 0; }
.report .ok { width: 18px; height: 18px; margin-left: auto; color: var(--ok); stroke-width: 2.6; }
.report-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; color: var(--text-2); font-size: 14px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 16px; margin-top: 52px; align-items: stretch; }
.price-card {
  position: relative; padding: clamp(28px, 3.5vw, 40px); border-radius: 22px;
  border: 1px solid var(--accent-line); box-shadow: var(--shadow-md);
  background:
    radial-gradient(100% 80% at 0% 0%, rgba(255, 199, 44, 0.2), transparent 60%),
    #fff;
}
.price-k { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.price-big { margin-top: 10px; font-size: clamp(2.6rem, 1.8rem + 2.6vw, 3.8rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.price-note { margin-top: 16px; color: var(--text-2); max-width: 34rem; }
.price-note strong { color: var(--text); font-weight: 600; }
.price-card .checklist { margin-top: 26px; margin-bottom: 30px; }
.compare { display: grid; gap: 16px; }
.alt { padding: 24px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.alt-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.alt h3 { margin-top: 8px; font-size: 19px; letter-spacing: -0.02em; }
.alt p:last-child { margin-top: 6px; color: var(--text-2); font-size: 15px; }
.alt:not(.alt-us) h3 { color: var(--text-2); }
.alt-us { border-color: var(--accent-line); background: linear-gradient(90deg, #fff4cc, #fffbea); }
.alt-us .alt-k { color: var(--accent-text); }

/* Partners */
.partner-card {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 4.5vw, 56px); border-radius: 26px;
  border: 1px solid var(--accent-line); box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #fff6d6 0%, #fffcf0 45%, #ffffff 100%);
}
.partner-card h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
.partner-copy .btn { margin-top: 30px; }
.partner-points { display: grid; gap: 12px; }
.partner-points li {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.partner-points .icon-box { width: 38px; height: 38px; border-radius: 10px; }
.partner-points .icon-box .i { width: 19px; height: 19px; }
.partner-points strong { display: block; font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; }
.partner-points span { display: block; margin-top: 2px; color: var(--text-2); font-size: 14.5px; line-height: 1.5; }

/* FAQ */
.faq { max-width: 840px; margin: 44px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.plus {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--text-2); background: #fff;
  transition: transform 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.plus .i { width: 15px; height: 15px; stroke-width: 2.2; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-text); }
.answer { padding: 0 4px 24px; color: var(--text-2); max-width: 68ch; }

/* Contact */
.contact { padding-top: clamp(40px, 5vw, 64px); }
.contact-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px);
  padding: clamp(28px, 4.5vw, 56px); border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-md);
  background:
    radial-gradient(80% 90% at 0% 0%, rgba(255, 199, 44, 0.18), transparent 55%),
    radial-gradient(70% 80% at 100% 100%, rgba(37, 99, 235, 0.06), transparent 60%),
    #fff;
}
.contact h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
.direct { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; color: var(--text-2); }
.direct .i { color: var(--text-3); }
.direct a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent-line); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.form { display: grid; gap: 14px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.field em { font-style: normal; color: var(--text-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-2); background: #fff; color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5160' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa0ab; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: #e6a800; box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.3);
}
.field.is-invalid input, .field.is-invalid select { border-color: #dc2626; }
.form .btn { margin-top: 4px; height: 54px; }
.form-note { color: var(--text-3); font-size: 13px; text-align: center; }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { margin-top: 14px; max-width: 26rem; color: var(--text-2); }
.footer-mail { display: inline-block; margin-top: 12px; color: var(--text); font-weight: 600; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; align-content: start; }
.footer-links a { color: var(--text-2); font-size: 15px; }
.footer-links a:hover { color: var(--text); }
.footer-legal { display: grid; gap: 8px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 12.5px; line-height: 1.6; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .props { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-wide { grid-template-columns: 1fr; }
  .proof-grid, .pricing, .contact-card, .partner-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .props, .cats, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .choice { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 2px; }
  .choice-k { grid-row: auto; }
  .faq summary { font-size: 16px; }
  .report { padding: 18px 16px; }
  .report td, .report th { padding-left: 6px; padding-right: 6px; }
  .report td { font-size: 12px; }
  .report td:first-child { font-size: 13px; }
  .report td:first-child span { display: block; margin-left: 0; font-size: 12px; }
  .report-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .report td, .report th { padding-left: 4px; padding-right: 4px; }
  .report td { font-size: 11.5px; }
  .report th { font-size: 9.5px; }
  .report td:last-child { width: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
