/*
Developed by HMD Developments
For Hushlead
www.hmddevs.org
*/

/* Landing page body, between the header and pricing. Section patterns, values
   and breakpoints follow the reference design's homepage (reference clone: .hs frame, hero,
   jobs, hpk, ifaces, hcrm, hsec); how-it-works is a sticky scroll rail
   in plain CSS. Everything is scoped under .kb so the Tailwind build
   that the header and footer still need cannot reach in. Tokens: base.css. */

.kb {
  --line: #ebebeb;
  --pad: var(--kr-gutter);
  --max: var(--content-w);
  --ink: #0c0a09;
  --muted: #6f6666;
  --hl-ink: #c2410c;
  --serif: var(--kr-font-serif);
  --mono: var(--kr-font-mono);
  --ease: cubic-bezier(0, 0, 0.58, 1);
  --grad-text: linear-gradient(270deg, #ffb27a 17.91%, #f8600a 43.12%, #b4532a 68.92%, #2a1710 98.24%);
  --soft: linear-gradient(125deg, #ffc77a5c 0%, #ffad7047 51.65%, #ff7e5e33 100%);
  --card: rgba(0, 0, 0, 0.04) 0 14px 22px, rgba(12, 10, 9, 0.12) 0 0 0 0.9px inset;
  overflow-x: clip;
  color: var(--ink);
  font-family: var(--kr-font-sans);
  font-size: 14px;
  line-height: 20px;
}

.kb *,
.kb *::before,
.kb *::after { box-sizing: border-box; }

/* Undo Tailwind base `* { font-family }` without outranking the h1-h3 serif rule. */
:where(.kb) * { font-family: inherit; }
.kb :where(h1, h2, h3, p, ul, ol, li) { margin: 0; padding: 0; font-size: inherit; line-height: inherit; letter-spacing: inherit; font-weight: inherit; color: inherit; }
.kb :where(ul, ol) { list-style: none; }
.kb :where(span, a, b, em, i, button) { color: inherit; }
.kb :where(img, svg) { display: block; max-width: 100%; }
.kb :where(img) { height: auto; }
.kb a { text-decoration: none; }
.kb button { font: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; text-align: inherit; cursor: pointer; }
.kb :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---- Frame (the reference design .hs): gutter band, bordered column, hairlines, spacer ---- */
.kb .hs { position: relative; padding-inline: var(--pad); }
.kb .hs--title::before,
.kb .hs--row::before,
.kb .hs--spacer::before,
.kb .hs--spacer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  z-index: 2;
  pointer-events: none;
}
.kb .hs--title::before,
.kb .hs--row::before,
.kb .hs--spacer::before { top: 0; }
.kb .hs--spacer::after { bottom: 0; }
.kb .hs--spacer { height: 96px; }
.kb .hs__box {
  position: relative;
  height: 100%;
  max-width: var(--max);
  margin-inline: auto;
  border-inline: 1px solid var(--line);
}
.kb .hs__box--title { padding: 72px 80px; }
.kb .hs__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 716px;
  margin-inline: auto;
  text-align: center;
}
.kb .hs__headline {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.kb .hs__lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  text-wrap: pretty;
}

/* The reference design .gradient-strong, with the founder's accent in the ramp */
.kb .hs__headline strong,
.kb .hiw__h2 em {
  font-weight: inherit;
  color: var(--hl-ink);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .kb .hs__headline strong,
  .kb .hiw__h2 em {
    background-image: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.kb .link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  color: var(--hl-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
}
.kb .link-arrow svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.kb .link-arrow:hover { text-decoration: underline; }
.kb .link-arrow:hover svg { transform: translateX(2px); }
.kb .link-arrow::after { content: ""; position: absolute; inset: -12px -4px; }

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

/* ---- Hero (the reference design .hero) ---- */
.kb .hero__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 61px 24px 0;
  text-align: center;
}
.kb .hero__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(12, 10, 9, 0.08), 0 8px 18px -6px rgba(248, 96, 10, 0.45);
}
.kb .hero__mark svg { width: 28px; height: 28px; }
.kb .hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 8px 15px 8px 13px;
  border: 1px solid rgba(248, 96, 10, 0.32);
  border-radius: 100px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(248, 96, 10, 0.08);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.kb .hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(248, 96, 10, 0.16);
}
.kb .hero__badge-sep { width: 1px; height: 14px; margin-inline: 2px; background: rgba(248, 96, 10, 0.32); }
.kb .hero__badge-dim { color: #6b6b6b; }
.kb .hero__title {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 72px;
  line-height: 76px;
  letter-spacing: -0.02em;
}
.kb .hero__accent { color: var(--primary); }
.kb .hero__lede {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.4;
  text-wrap: pretty;
}
.kb .hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.kb .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 180px;
  height: 56px;
  padding-inline: 20px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.02em;
  transition: box-shadow 0.25s ease, background-color 0.2s ease;
}
.kb .btn svg { width: 16px; height: 16px; opacity: 0.7; }
.kb .btn--primary {
  color: rgba(10, 9, 8, 0.88);
  background:
    radial-gradient(60% 120% at 20% 20%, rgba(255, 213, 145, 0.85), transparent 60%),
    radial-gradient(50% 120% at 85% 80%, rgba(255, 154, 92, 0.9), transparent 65%),
    linear-gradient(160.48deg, #f8600a 0%, #ffd591 100%);
  background-size: 180% 180%, 160% 160%, 100% 100%;
  animation: kb-shader 9s ease-in-out infinite alternate;
}
.kb .btn--primary:hover { box-shadow: 0 0 13px 2px rgba(248, 96, 10, 0.45), 0 12px 30px -6px rgba(255, 213, 145, 0.62); }
.kb .btn--ghost {
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px #e7e5e4, 0 1px 2px rgba(12, 10, 9, 0.04);
}
.kb .btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(12, 10, 9, 0.2), 0 1px 2px rgba(12, 10, 9, 0.04); }
@keyframes kb-shader {
  0% { background-position: 0% 0%, 100% 100%, 0 0; }
  100% { background-position: 100% 60%, 0% 20%, 0 0; }
}

.kb .hero__graphic {
  position: relative;
  container-type: inline-size;
  margin-top: 48px;
  overflow: hidden;
  background:
    radial-gradient(55% 70% at 18% 28%, rgba(255, 213, 145, 0.9), transparent 70%),
    radial-gradient(60% 70% at 88% 82%, rgba(248, 96, 10, 0.5), transparent 70%),
    radial-gradient(45% 55% at 62% 8%, rgba(255, 173, 112, 0.65), transparent 70%),
    linear-gradient(132.71deg, #ffe7c9 0%, #ffcf9f 50%, #ffb08a 100%);
}
.kb .hero__graphic::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(118deg, transparent 38%, rgba(255, 255, 255, 0.34) 46%, transparent 54%),
    linear-gradient(118deg, transparent 58%, rgba(255, 255, 255, 0.22) 64%, transparent 70%),
    radial-gradient(35% 40% at 30% 75%, rgba(255, 120, 80, 0.35), transparent 70%);
  animation: kb-drift 16s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.kb .hero__graphic.is-inview::before { animation-play-state: running; }
.kb .hero__graphic::after {
  content: "";
  position: absolute;
  top: 0;
  left: -4000px;
  right: -4000px;
  height: 1px;
  background: var(--line);
  z-index: 2;
}
/* The hero scene (hero-demo/, built from the Stageshow kit) sizes itself from
   the slot's width; the slot reserves that exact box before the script runs,
   so nothing shifts when it mounts. 1100x563 wide, 358x440 compact (<640). */
.kb .hero__demo { position: relative; z-index: 1; aspect-ratio: 1100 / 563; }
@container (width < 640px) { .kb .hero__demo { aspect-ratio: 358 / 440; } }
.kb .hero__demo .ss-fit { animation: kb-fade 0.5s ease both; }
@keyframes kb-fade { from { opacity: 0; } }
@keyframes kb-drift {
  0% { transform: translate3d(-4%, -2%, 0) rotate(0deg); }
  100% { transform: translate3d(4%, 3%, 0) rotate(2deg); }
}

.kb .ring { position: relative; flex: none; width: 36px; height: 36px; }
.kb .ring svg { width: 36px; height: 36px; transform: rotate(-90deg); }
.kb .ring circle { fill: none; stroke-width: 3.5; }
.kb .ring circle:first-child { stroke: #dcf5ea; }
.kb .ring circle:last-child {
  stroke: #10b981;
  stroke-linecap: round;
  stroke-dasharray: 94.25;
  stroke-dashoffset: calc(94.25 - var(--v) * 0.9425);
  transition: stroke-dashoffset 1.1s var(--ease) 0.4s;
}
.kb .anim-ready:not(.is-revealed) .ring circle:last-child { stroke-dashoffset: 94.25; }
.kb .ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; font-weight: 600; }

/* ---- Use cases (the reference design .jobs) ---- */
.kb .jobs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kb .job { display: flex; flex-direction: column; gap: 24px; min-width: 0; padding: 16px 16px 32px; }
.kb .job:nth-child(odd) { box-shadow: inset -1px 0 0 var(--line); }
.kb .job:nth-child(n + 3) { box-shadow: inset 0 1px 0 var(--line); }
.kb .job:nth-child(3) { box-shadow: inset 0 1px 0 var(--line), inset -1px 0 0 var(--line); }
.kb .job__art { aspect-ratio: 2 / 1; overflow: hidden; background-image: var(--soft); }
.kb .job__art img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.kb .job__text { display: flex; flex-direction: column; gap: 8px; padding-inline: 4px; }
.kb .job__title,
.kb .iface__title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.kb .job__toggle,
.kb .iface__toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  cursor: default;
  pointer-events: none;
}
.kb .acc__chev { display: none; width: 16px; height: 16px; flex: none; color: #a8a29e; transition: transform 0.25s ease; }
.kb .job__desc { max-width: 520px; font-size: 16px; line-height: 1.5; color: var(--muted); }

/* ---- How it works ---- */
.kb .hiw .hs--row { background: #fff; }
.kb .hiw__box { padding: 96px 24px; }
.kb .hiw__intro { display: grid; gap: 24px 48px; margin-bottom: 64px; }
.kb .hiw__h2 {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.kb .hiw__h2 em { font-style: italic; padding-right: 0.06em; }
.kb .hiw__lead { color: var(--muted); font-size: 18px; line-height: 1.625; text-wrap: pretty; }
.kb .hiw__pin { display: none; }
.kb .hiw__panel { position: relative; aspect-ratio: 4 / 3; width: 100%; }
.kb .hiw__layer { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease-out; }
.kb .hiw__layer.is-active { opacity: 1; }
.kb .hiw__media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(12, 10, 9, 0.05);
}
.kb .hiw__plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kb .hiw__shot {
  position: relative;
  width: auto;
  max-width: 80%;
  max-height: 82%;
  border-radius: 12px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}
.kb .hiw__steps { position: relative; display: flex; flex-direction: column; gap: 40px; max-width: 768px; }
.kb .hiw__steps::before,
.kb .hiw__steps::after {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 20px;
  width: 1px;
  background: #e7e5e4;
}
.kb .hiw__steps::after { background: var(--primary); transform: scaleY(var(--fill, 0)); transform-origin: top; }
.kb .hiw__step { position: relative; }
.kb .hiw__row { display: flex; flex-direction: column; gap: 24px; }
.kb .hiw__text { display: flex; align-items: flex-start; gap: 12px; }
.kb .hiw__dot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; }
.kb .hiw__dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 8px #fff; }
.kb .hiw__n {
  flex: none;
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: rgba(127, 116, 116, 0.25);
}
.kb .hiw__copy { min-width: 0; padding-top: 4px; }
.kb .hiw__copy h3 { font-family: var(--serif); font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.kb .hiw__copy p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.625; }
.kb .hiw__cta { display: flex; justify-content: center; margin-top: 64px; }
.kb .hiw__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding-inline: 32px;
  border-radius: 999px;
  background: var(--primary);
  color: #1c0f07;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}
.kb .hiw__btn svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.kb .hiw__btn:hover { background: #ff7424; }
.kb .hiw__btn:hover svg { transform: translateX(4px); }

/* Reveal: opacity 0 -> 1, y 30 -> 0, 0.6s, once, staggered by --d */
.kb [data-reveal] { transition: opacity 0.6s var(--ease) var(--d, 0s), transform 0.6s var(--ease) var(--d, 0s); }
.kb [data-reveal].is-pending { opacity: 0; transform: translateY(30px); }

/* ---- Intents (the reference design .hpk) ---- */
.kb .hpk__content { display: flex; align-items: stretch; }
.kb .hpk__text {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
  padding: 56px 42px 56px 48px;
}
.kb .hpk__h3 { font-family: var(--serif); font-size: 40px; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.kb .hpk__p { max-width: 451px; font-size: 16px; line-height: 1.4; }
.kb .hpk__tabs { align-self: stretch; margin-top: 8px; border-top: 1px solid var(--line); }
.kb .hpk__tab {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  width: 100%;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  color: rgba(12, 10, 9, 0.5);
  transition: color 0.2s ease;
}
.kb .hpk__tab:hover,
.kb .hpk__tab[aria-selected="true"] { color: var(--ink); }
.kb .hpk__tab-n,
.kb .hpk__tab-count { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: #a8a29e; }
.kb .hpk__tab[aria-selected="true"] .hpk__tab-n { color: var(--hl-ink); }
.kb .hpk__tab-name { font-family: var(--serif); font-size: 19px; line-height: 1.4; letter-spacing: -0.01em; }
.kb .hpk__media {
  display: flex;
  flex: 0 0 50%;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  padding: 48px;
  background: var(--soft);
}
.kb .intents {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 440px;
}
.kb .intents li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 33px -8px rgba(0, 0, 0, 0.06);
  animation: kb-row-in 0.45s var(--ease) both;
}
.kb .intents li:nth-child(2) { animation-delay: 0.06s; }
.kb .intents li:nth-child(3) { animation-delay: 0.12s; }
.kb .intents li:nth-child(4) { animation-delay: 0.18s; }
.kb .hpk__media[data-group="buying"] li:not([data-group="buying"]),
.kb .hpk__media[data-group="competitors"] li:not([data-group="competitors"]),
.kb .hpk__media[data-group="brand"] li:not([data-group="brand"]),
.kb .hpk__media[data-group="product"] li:not([data-group="product"]),
.kb .hpk__media[data-group="noise"] li:not([data-group="noise"]) { display: none; }
@keyframes kb-row-in { from { opacity: 0; transform: translateX(16px); } }
.kb .intents__name,
.kb .hcrm__chip {
  align-self: flex-start;
  padding: 4px 6px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(248, 96, 10, 0.9) 0%, rgba(248, 96, 10, 0.45) 100%);
  color: #1c0f07;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.kb .intents__desc { font-size: 15px; line-height: 1.4; }

/* ---- Features (the reference design .ifaces) ---- */
.kb .ifaces__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kb .iface { display: flex; flex-direction: column; min-width: 0; padding: 15px 16px 16px; }
.kb .iface:not(:nth-child(3n)) { box-shadow: inset -1px 0 0 var(--line); }
.kb .iface:nth-child(n + 4) { border-top: 1px solid var(--line); }
.kb .iface__title { font-size: 18px; line-height: 1.5; }
.kb .iface__desc { margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 20px; }
.kb .iface__art { margin-top: 20px; aspect-ratio: 2 / 1; overflow: hidden; background-image: var(--soft); }
.kb .iface__art img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Agents (the reference design .hcrm) ---- */
.kb .hcrm__scene {
  position: relative;
  aspect-ratio: 1200 / 546;
  overflow: hidden;
  container-type: inline-size;
  background:
    radial-gradient(60% 80% at 88% 88%, rgba(248, 110, 70, 0.55), transparent 70%),
    radial-gradient(55% 70% at 10% 15%, rgba(255, 246, 232, 0.95), transparent 70%),
    radial-gradient(45% 60% at 70% 10%, rgba(255, 199, 122, 0.5), transparent 70%),
    linear-gradient(135deg, #fff3e4 0%, #ffdcb8 55%, #ffb995 100%);
}
.kb .hcrm__text { position: absolute; top: 50%; left: 42px; z-index: 1; translate: 0 -50%; }
.kb .hcrm__h2 { width: 393px; color: #331713; font-family: var(--serif); font-size: 40px; line-height: 48px; letter-spacing: -0.01em; }
.kb .hcrm__lede { width: 380px; margin: 24px 0; color: rgba(12, 10, 9, 0.72); font-size: 16px; line-height: 1.4; }
.kb .hcrm__art { position: absolute; inset: 0; }
.kb .hcrm__call { position: absolute; top: 50%; left: 51.5cqw; width: 36cqw; max-width: 380px; translate: 0 -50%; }
.kb .hcrm__call-label { margin: 0 0 10px; color: rgba(12, 10, 9, 0.6); font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; }
.kb .hcrm__call-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16.5px 33px -8px rgba(0, 0, 0, 0.08);
}
.kb .hcrm__call-fn { margin: 0; color: #0c0a09; font-family: var(--mono); font-size: 13px; }
.kb .hcrm__call-fields { display: flex; flex-direction: column; gap: 2px; margin: 6px 0 0; }
.kb .hcrm__call-fields div { display: flex; gap: 6px; font-size: 12px; }
.kb .hcrm__call-fields dt { margin: 0; color: rgba(12, 10, 9, 0.5); }
.kb .hcrm__call-fields dd { margin: 0; color: #0c0a09; font-weight: 500; }
.kb .hcrm__call-targets { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.kb .hcrm__logo {
  padding: 6px 10px;
  border-radius: 6px;
  background: #0c0a09;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.kb .hcrm__rows { position: absolute; top: 50%; left: calc(100% - 301px); display: flex; flex-direction: column; gap: 5px; translate: 0 -50%; }
.kb .hcrm__row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  height: 39px;
  padding-inline: 9px;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 16.5px 33px -8px rgba(0, 0, 0, 0.05);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.kb .hcrm__row:nth-child(2) { transition-delay: 0.08s; }
.kb .hcrm__row:nth-child(3) { transition-delay: 0.16s; }
.kb .hcrm__row:nth-child(4) { transition-delay: 0.24s; }
.kb .hcrm__row:nth-child(5) { transition-delay: 0.32s; }
.kb .hcrm__row img { width: 24px; height: 24px; padding: 5px; flex: none; border-radius: 50%; background: #f5f5f4; }
.kb .hcrm__info {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(12, 10, 9, 0.8);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.kb .hcrm__chip { min-width: 44px; padding: 3px 5px; font-size: 9px; }
.kb .anim-ready:not(.is-revealed) .hcrm__row { opacity: 0; transform: translateX(24px); }
.kb .hcrm__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.kb .hcrm__card { padding: 32px; }
.kb .hcrm__card + .hcrm__card { border-left: 1px solid var(--line); }
.kb .hcrm__kicker { color: var(--hl-ink); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.kb .hcrm__title { margin-top: 12px; font-size: 18px; font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; }
.kb .hcrm__p { margin-top: 8px; font-size: 16px; line-height: 1.4; }

/* ---- Platforms (the reference design .hsec + floating chips) ---- */
.kb .hsec__title { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.kb .chips { position: absolute; inset: 0; display: none; pointer-events: none; }
.kb .chip {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(2, 6, 23, 0.06);
  animation: kb-float 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.kb .chip--sm { width: 44px; height: 44px; }
.kb .chip--md { width: 48px; height: 48px; }
.kb .chip--lg { width: 56px; height: 56px; }
.kb .chip img { width: 50%; height: 50%; object-fit: contain; }
.kb .chip.is-soon img,
.kb .plat.is-soon img { opacity: 0.45; filter: grayscale(1); }
@keyframes kb-float { 50% { transform: translateY(-9px); } }
.kb .plats { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); }
.kb .plat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  grid-column: span 4;
  height: 136px;
  padding: 16px;
}
.kb .plat.is-soon { grid-column: span 5; border-top: 1px solid var(--line); }
.kb .plat:not(:nth-child(5)):not(:last-child) { box-shadow: inset -1px 0 0 var(--line); }
.kb .plat img { width: 28px; height: 28px; }
.kb .plat__name { font-family: var(--serif); font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
.kb .plat__when { color: var(--hl-ink); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.kb .plat.is-soon .plat__name { color: #78716c; }
.kb .plat.is-soon .plat__when { color: var(--muted); }

/* ---- Breakpoints (the reference design's 1440 / 1199 / 809) ---- */
@media (min-width: 640px) {
  .kb .hiw__box { padding-block: 112px; }
  .kb .hiw__h2 { font-size: 48px; }
  .kb .hiw__steps { gap: 48px; }
  .kb .hiw__row { flex-direction: row; align-items: center; gap: 32px; }
  .kb .hiw__text { gap: 20px; }
  .kb .hiw__n { font-size: 48px; }
  .kb .hiw__copy { max-width: 28rem; }
  .kb .hiw__copy h3 { font-size: 24px; }
  .kb .hiw__copy p { font-size: 16px; }
  .kb .hiw__inline { width: 18rem; height: auto; flex: none; }
}
@media (min-width: 768px) {
  .kb .hiw__h2 { font-size: 60px; }
}
@media (min-width: 1024px) {
  .kb .hiw__intro { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: end; }
  .kb .hiw__lead { padding-bottom: 6px; }
  .kb .hiw__grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: 64px; }
  .kb .hiw__pin {
    display: block;
    position: sticky;
    top: calc(50dvh - (var(--max) - 114px) * 0.19643);
  }
  .kb .hiw__steps { gap: 56px; }
  .kb .hiw__row { min-height: 32rem; }
  .kb .hiw__n { font-size: 72px; }
  .kb .hiw__inline { display: none; }
  .kb .chips { display: block; }
  .kb .hsec__title { min-height: 480px; }
}
@media (max-width: 1199px) {
  .kb .hs__box--title { padding: 42px; }
  .kb .hs__headline { font-size: 48px; }
  .kb .hero__head { padding-top: 78px; }
  .kb .hero__title { font-size: 56px; line-height: 62px; }
  .kb .jobs__grid { grid-template-columns: minmax(0, 1fr); }
  .kb .job,
  .kb .job:nth-child(n) { box-shadow: none; padding: 16px; }
  .kb .job + .job { box-shadow: inset 0 1px 0 var(--line); }
  .kb .job:not(.is-open) { padding-block: 20px; }
  .kb .job:not(.is-open) .job__art,
  .kb .job:not(.is-open) .job__desc { display: none; }
  .kb .job__art { aspect-ratio: 16 / 9; }
  .kb .job__toggle { cursor: pointer; pointer-events: auto; }
  .kb .job .acc__chev { display: block; }
  .kb .job.is-open .acc__chev { transform: rotate(180deg); }
  .kb .hpk__text { padding: 42px 32px; }
  .kb .hpk__h3 { font-size: 33px; }
  .kb .hcrm__h2 { width: 280px; font-size: 33px; line-height: 1.2; }
  .kb .hcrm__lede { width: 280px; }
  .kb .hcrm__call { left: 50.55cqw; width: 42cqw; }
  .kb .hcrm__rows { left: calc(100% - 256px); }
  .kb .hcrm__card { padding: 24px; }
}
@media (max-width: 809px) {
  .kb .hs--spacer { height: 40px; }
  .kb .hs__box--title { padding: 32px 16px; }
  .kb .hs__headline { font-size: 32px; }
  .kb .hs__lead { font-size: 15px; }
  .kb .hero__head { padding: 72px 12px 0; }
  .kb .hero__title { font-size: 40px; line-height: 44px; }
  .kb .hero__cta { flex-direction: column; align-self: stretch; }
  .kb .btn { width: 100%; }
  .kb .hero__graphic { margin-top: 40px; }
  .kb .hiw__box { padding-inline: 16px; }
  .kb .hpk__content { flex-direction: column; }
  .kb .hpk__text { gap: 16px; padding: 24px 16px; }
  .kb .hpk__h3 { font-size: 26px; }
  .kb .hpk__media { min-height: 360px; padding: 32px 16px; }
  .kb .ifaces__grid { grid-template-columns: minmax(0, 1fr); }
  .kb .iface:nth-child(n) { box-shadow: none; border-top: 0; padding: 16px; }
  .kb .iface + .iface { border-top: 1px solid var(--line); }
  .kb .iface:not(.is-open) .iface__desc,
  .kb .iface:not(.is-open) .iface__art { display: none; }
  .kb .iface__toggle { cursor: pointer; pointer-events: auto; }
  .kb .iface .acc__chev { display: block; }
  .kb .iface.is-open .acc__chev { transform: rotate(180deg); }
  .kb .hcrm__scene { display: flex; flex-direction: column; aspect-ratio: auto; padding-block: 28px 24px; }
  .kb .hcrm__text { position: relative; top: auto; left: auto; padding-inline: 20px; translate: none; }
  .kb .hcrm__h2 { width: auto; font-size: 31px; }
  .kb .hcrm__lede { width: auto; margin: 12px 0 16px; }
  .kb .hcrm__art { position: relative; inset: auto; display: flex; flex-direction: column; align-items: center; gap: 48px; margin-top: 52px; }
  .kb .hcrm__call { position: relative; top: auto; left: auto; width: 100%; max-width: 320px; padding-inline: 16px; translate: none; }
  .kb .hcrm__rows { position: static; align-self: stretch; padding-inline: 16px; translate: none; }
  .kb .hcrm__row { width: auto; overflow: hidden; }
  .kb .hcrm__cards { grid-template-columns: minmax(0, 1fr); }
  .kb .hcrm__card { padding: 20px 16px; }
  .kb .hcrm__card + .hcrm__card { border-left: 0; border-top: 1px solid var(--line); }
  .kb .plats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kb .plat,
  .kb .plat.is-soon { grid-column: auto; height: 104px; padding: 12px 6px; border-top: 0; box-shadow: none; }
  .kb .plat:not(:nth-child(3n)) { box-shadow: inset -1px 0 0 var(--line); }
  .kb .plat:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .kb .plat__name { font-size: 15px; text-align: center; }
  .kb .plat__when { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .kb *,
  .kb *::before,
  .kb *::after { animation: none !important; transition: none !important; }
  .kb .hiw__steps::after { transform: none; }
}
