/* ProTrade product teasers (src/kit.py). Finished components at a fixed design size, scaled to their slot.
   Soft off-white cards, big light figures with the decimal greyed, pill tabs, charts in the ProTrade blues. */

.k-fit { position: relative; width: 100%; aspect-ratio: var(--kw) / var(--kh); }
.k-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(var(--k, .5714));
  box-sizing: border-box; padding: 44px 40px 40px; border-radius: 36px; overflow: hidden;
  font-family: var(--sans); color: #0A0915; -webkit-font-smoothing: antialiased; text-align: left;
  background: radial-gradient(120% 80% at 80% 0%, #EEF1FF 0%, rgba(238,241,255,0) 60%), linear-gradient(180deg, #F7F8FB, #F1F2F7);
  box-shadow: 0 0 0 1px rgba(10,9,21,.05), 0 30px 60px -30px rgba(0,2,47,.35); }
.k-fit--card { aspect-ratio: auto; }
.k-fit--card .k-stage { padding: 28px; border-radius: 30px; background: transparent; box-shadow: none; overflow: visible; }
.k-stage p { margin: 0; }

/* type */
.k-num { display: block; font-size: 64px; line-height: 1; font-weight: 400; letter-spacing: -.035em; color: #0A0915; font-variant-numeric: tabular-nums; }
.k-num em { font-style: normal; color: #A9ADC2; }
.k-lbl { font-size: 20px; line-height: 1.25; font-weight: 400; color: #23263A; letter-spacing: -.01em; }
.k-lbl--s { font-size: 16px; color: #555a74; }
.k-sub { margin-top: 4px !important; font-size: 15px; line-height: 1.3; color: #6E7290; }
.k-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

/* header, avatar, tabs */
.k-head { display: flex; justify-content: space-between; align-items: center; padding: 0 8px 20px 16px; border-bottom: 1px solid #E6E8F0; }
.k-head__t { font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.k-head__s { margin-top: 4px !important; font-size: 18px; color: #6E7290; }
.k-me { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #ECEEF5; color: #3A3E57; }
.k-me span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #0C2AC1; color: #fff; font-size: 20px; font-weight: 500; }
.k-me svg, .k-menu b svg, .k-mini svg { width: 14px; height: 14px; }
.k-tabs { display: flex; gap: 14px; margin: 22px 0 22px 16px; }
.k-tabs span { padding: 13px 30px; border-radius: 999px; background: #E9EBF2; color: #9498B0; font-size: 20px; line-height: 1; }
.k-tabs .is-on { background: #0A0915; color: #fff; }

/* chips and menus */
.k-chip { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 9px 16px 9px 10px; border-radius: 999px; background: #EEF0F6; font-size: 15px; color: #3A3E57; white-space: nowrap; }
.k-chip__i { display: inline-flex; width: 20px; height: 20px; color: #0C2AC1; }
.k-chip__i svg { width: 100%; height: 100%; }
.k-chip--quiet { background: #F2F3F8; color: #555a74; }
.k-chip--dark { background: #0A0915; color: #fff; }
.k-chip--dark .k-chip__i { color: #A4ADF5; }
.k-menu { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 8px 14px 8px 8px; border-radius: 999px; background: #EEF0F6; font-size: 15px; color: #3A3E57; white-space: nowrap; }
.k-menu i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #E0E3EE; color: #555a74; }
.k-menu i svg { width: 14px; height: 14px; }
.k-menu b { display: inline-flex; color: #6E7290; }
.k-mini { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: #EEF0F6; font-size: 15px; color: #3A3E57; }
.k-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: #6E7290; }
.k-legend span { display: inline-flex; align-items: center; gap: 8px; }
.k-legend i { width: 12px; height: 12px; border-radius: 3px; }
.k-tag { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; background: #EEF0F6; font-size: 15px; color: #3A3E57; white-space: nowrap; }
.k-tag--add { background: transparent; border: 1px dashed #C9CDE0; color: #6E7290; }
.k-trend { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px !important; padding: 4px 10px 4px 6px; border-radius: 6px; background: #E8ECFF; font-size: 15px; color: #0C2AC1; }
.k-trend svg { width: 14px; height: 14px; }
.k-trend span { color: #6E7290; margin-left: 4px; }
.k-btn { display: flex; align-items: center; justify-content: center; height: 54px; border-radius: 14px; background: #0A0915; color: #fff; font-size: 17px; font-weight: 500; }

/* cards and tiles */
.k-card { position: relative; box-sizing: border-box; padding: 26px 26px 24px; border-radius: 26px; background: rgba(255,255,255,.92);
  box-shadow: 0 0 0 1px rgba(10,9,21,.05), 0 1px 2px rgba(0,2,47,.04), 0 18px 36px -24px rgba(0,2,47,.28); }
.k-tile { padding: 18px 20px; border-radius: 18px; background: #F3F4F8; }
.k-tile .k-num { font-size: 44px; margin-top: 14px; }
.k-tile--line { display: flex; justify-content: space-between; align-items: center; font-size: 16px; color: #555a74; }
.k-tile--line b { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: #0A0915; }
.k-tile--line b svg { width: 18px; height: 18px; color: #0C2AC1; }

/* bento layouts */
.k-bento { display: grid; gap: 16px; }
.k-bento--home { grid-template-columns: 330px 390px 1fr; grid-template-rows: 384px 250px; }
.k-cover .k-cover__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.k-cover .k-num { font-size: 60px; }
.k-cover__list { margin: 30px 0 0; padding: 0; list-style: none; }
.k-cover__list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #EEF0F5; font-size: 17px; }
.k-cover__list li svg { width: 20px; height: 20px; color: #0C2AC1; flex: none; }
.k-cover__list b { margin-left: auto; font-weight: 400; color: #6E7290; }
.k-cover__bar i { flex: 1; border-radius: 10px; }
.k-cover__bar i:first-child { border-radius: 14px 10px 10px 14px; }
.k-cover__bar i:last-child { border-radius: 10px 14px 14px 10px; }
.k-cover .k-legend { font-size: 14px; }

.k-hours .k-num { margin: 12px 0 20px; }
.k-hours .k-tile { padding: 14px 18px 16px; }
.k-hours .k-tile .k-num { font-size: 38px; margin: 8px 0 0; }
.k-hours .k-tile + .k-tile { margin-top: 10px; }
.k-crew { display: flex; flex-direction: column; padding-bottom: 20px; overflow: hidden; }
.k-crew .k-gauge { display: block; width: calc(100% + 52px); margin: 18px -26px 0; height: auto; }
.k-crew__num { margin-top: -96px; padding-left: 34px; }
.k-crew__num .k-num { font-size: 56px; }
.k-crew .k-legend { margin: auto -26px 0; padding: 16px 26px 0; border-top: 1px solid #ECEDF3; font-size: 14px; gap: 6px 16px; }
.k-eor { color: #fff; overflow: hidden; background: radial-gradient(90% 70% at 100% 0%, rgba(12,42,193,.55), rgba(12,42,193,0) 70%), #0A0915;
  box-shadow: 0 0 0 1px rgba(10,9,21,.6), 0 24px 44px -26px rgba(0,2,47,.7); }
.k-eor .k-lbl { color: #fff; }
.k-eor .k-sub { color: #9DA2C4; }
.k-eor .k-num { font-size: 56px; color: #fff; }
.k-eor .k-num em { color: #5D6290; }
.k-eor__by { padding: 6px 12px; border-radius: 999px; background: rgba(164,173,245,.16); color: #C9CEFF; font-size: 14px; }
.k-eor__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.k-eor__nums > div + div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.1); }
.k-eor__list { margin: 22px 0 0; padding: 0; list-style: none; }
.k-eor__list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.09); font-size: 16px; color: #E6E8F5; }
.k-eor__list li svg { width: 18px; height: 18px; color: #6F86FF; flex: none; }
.k-sheets .k-num { margin-top: 12px; }
.k-sheets .k-tile--line { margin-top: 16px; padding: 14px 18px; }
.k-days { grid-column: 2 / 4; display: flex; flex-direction: column; }
.k-steps { display: block; width: 100%; height: auto; margin-top: auto; overflow: visible; }
.k-steps text { font: 400 13px var(--sans); fill: #A2A6BC; text-anchor: middle; }
.k-step { stroke: #0C2AC1; stroke-width: 3; stroke-linecap: round; fill: none; }
.k-step.is-ot { stroke: #6F86FF; }
.k-base { stroke: #C9CEEA; stroke-width: 1; stroke-dasharray: 3 5; }
.k-base__t { font: 400 13px var(--sans) !important; fill: #8A8FB0 !important; text-anchor: end !important; }

/* request */
.k-req { width: 504px; }
.k-seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 10px; }
.k-seg span { padding: 10px 18px; border-radius: 999px; background: #EEF0F6; color: #6E7290; font-size: 16px; }
.k-seg .is-on { background: #0A0915; color: #fff; }
.k-step-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #EEF0F5; font-size: 17px; }
.k-stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: #F3F4F8; }
.k-stepper i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; font-style: normal; color: #3A3E57; box-shadow: 0 1px 2px rgba(0,2,47,.12); }
.k-stepper b { min-width: 30px; text-align: center; font-weight: 500; }
.k-req__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.k-req__meta b { display: block; margin-top: 6px; font-size: 18px; font-weight: 500; }
.k-req__cards { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 20px; }
.k-req__cards .k-lbl--s { margin-right: 4px; }

/* crew tree */
.k-tree { position: relative; width: 504px; padding: 0 0 0 36px; }
.k-tree::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 58px; width: 2px; background: #0A0915; border-radius: 2px; }
.k-tree__root { margin: 0 0 18px -36px; }
.k-person { position: relative; margin-top: 16px; padding: 6px; border-radius: 30px; border: 2px solid #E3E5EE; background: #F6F7FA; }
.k-person::before { content: ""; position: absolute; left: -24px; top: 50%; width: 22px; height: 2px; background: #0A0915; }
.k-person.is-open { border-color: #0A0915; }
.k-person__in { display: grid; grid-template-columns: 72px 1fr; column-gap: 16px; padding: 18px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(10,9,21,.05); }
.k-av { grid-row: span 2; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #0C2AC1; color: #fff; font-size: 22px; font-weight: 500; }
.k-av--2 { background: #3E57E6; }
.k-av--3 { background: #00022F; }
.k-person__n { display: flex; justify-content: space-between; font-size: 19px; font-weight: 500; }
.k-person__n span { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 400; color: #555a74; }
.k-person__n svg { width: 18px; height: 18px; }
.k-person__row { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; }
.k-person .k-btn { grid-column: 1 / -1; margin-top: 16px; }
.k-person:not(.is-open) .k-person__in { grid-template-columns: 56px 1fr; padding: 14px 16px; }
.k-person:not(.is-open) .k-av { width: 56px; height: 56px; font-size: 18px; }

/* hours and invoices */
.k-inv { width: 504px; }
.k-inv__chart { position: relative; margin: 18px 0 14px; }
.k-bars { display: block; width: 100%; height: auto; overflow: visible; }
.k-bars text { font: 400 12px var(--sans); fill: #A2A6BC; text-anchor: middle; }
.k-bar__track { fill: #F0F1F6; }
.k-bar__reg { fill: #0C2AC1; }
.k-bar__ot { fill: #A4ADF5; }
.k-bar.is-dim .k-bar__reg { fill: #8C9BF0; }
.k-bar.is-dim .k-bar__ot { fill: #D3D8FA; }
.k-tip { position: absolute; left: 44%; top: -4px; width: 212px; padding: 14px 16px; border-radius: 14px; background: rgba(28,29,40,.94); color: #fff; font-size: 14px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); }
.k-tip__t { font-size: 16px; margin-bottom: 8px !important; }
.k-tip p:not(.k-tip__t) { display: flex; align-items: center; gap: 8px; padding: 3px 0; color: rgba(255,255,255,.86); }
.k-tip p i { width: 10px; height: 10px; border-radius: 3px; }
.k-tip b { margin-left: auto; font-weight: 400; color: #fff; }
.k-tip b em { font-style: normal; color: rgba(255,255,255,.5); }

/* tradespeople */
.k-stack2 { display: grid; gap: 16px; width: 504px; }
.k-shift .k-num { margin-top: 18px; font-size: 56px; }
.k-shift .k-tile--line, .k-pay .k-tile--line { margin-top: 18px; }
.k-pay__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }

/* slots */
.k-home { width: 704px; }
.k-media { width: 100%; max-width: 560px; }
.plat-row__media:has(.k-media) { padding: 40px 32px 28px; }

@media (max-width: 1360px) { .k-home { width: 100%; } }
@media (max-width: 760px) { .k-home { order: -1; } }

/* Our Story: the "What we are building" row grows to fit its teaser card */
.lzz3 .ph:has(.k-media) { height: auto; padding: 24px; }
.lzz3 .k-media { width: 400px; }
.k-stack2 .k-crew { height: 420px; }

/* Platform hero: three cards in a row on the dark hero, the middle one raised */
.k-hero { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: center; }
.k-hero .k-card { background: #fff; box-shadow: 0 0 0 1px rgba(10,9,21,.05), 0 30px 60px -28px rgba(0,2,47,.55); }
.k-hero .k-crew { height: 440px; }
.k-hero .k-cover, .k-hero .k-hours { margin-top: 40px; }
.k-hero .k-cover .k-cover__list li:nth-child(n+4) { display: none; }
.k-herow-sm { display: none; }
@media (max-width: 760px) { .k-herow { display: none; } .k-herow-sm { display: block; margin: 0 auto; } }
.k-herow-sm .k-card { background: #fff; }
