/* Талантилла — landings + mini UI kit.
   Built from design handoff (design-handoff/). Tokens live in tokens.css. */

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); }
a { color: var(--emerald-dark); text-decoration: none; }
a:hover { color: #0d6650; text-decoration: underline; }
*, *::before, *::after { box-sizing: border-box; }
button { font: inherit; }
section[id] { scroll-margin-top: 72px; }

.page {
  container-type: inline-size;
  font-family: var(--font);
  color: var(--graphite);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.wrap { box-sizing: content-box; max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 5cqi, 80px); }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 249, 251, .94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.hdr__in { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--graphite); text-decoration: none; }
.logo:hover { color: var(--graphite); text-decoration: none; }
.logo__bars { display: flex; align-items: flex-end; gap: 2px; height: 18px; }
.logo__bars i { display: block; width: 4px; border-radius: 1px; background: var(--emerald-dark); }
.logo__bars i:nth-child(1) { height: 6px; }
.logo__bars i:nth-child(2) { height: 9px; }
.logo__bars i:nth-child(3) { height: 12px; }
.logo__bars i:nth-child(4) { height: 15px; }
.logo__bars i:nth-child(5) { height: 18px; background: var(--amber); }
.logo__name { font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.logo__sub { font-size: 12px; font-weight: 600; color: var(--slate); padding-left: 10px; border-left: 1px solid var(--border-strong); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a { color: var(--slate); }
.hdr__right { display: flex; align-items: center; gap: 20px; }
.hdr__alt { font-size: 14px; font-weight: 600; color: var(--graphite); }
.hdr__narrow { display: none; align-items: center; gap: 14px; }
.hdr__narrow .hdr__alt { font-size: 13px; }
.burger {
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--border-strong); border-radius: 6px; background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
}
.burger span { width: 16px; height: 2px; background: var(--graphite); }
.page--spec .hdr__narrow { display: none; }
@media (max-width: 819px) {
  .page--spec .nav, .page--spec .hdr__right { display: none; }
  .page--spec .hdr__narrow { display: flex; }
}
@media (max-width: 999px) {
  .page--emp .nav, .page--emp .hdr__right { display: none; }
  .page--emp .hdr__narrow { display: flex; }
}
/* Audience switch (replaces «Я работодатель» / «Я специалист» text links) */
.switch { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--white); }
.switch a { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--slate); white-space: nowrap; }
.switch a:hover { color: var(--graphite); text-decoration: none; }
.switch a.is-on, .switch a.is-on:hover { background: var(--graphite); color: var(--white); }
.switchbar { display: none; border-top: 1px solid var(--border); padding: 8px clamp(20px, 5cqi, 80px); }
.switchbar .switch { display: flex; width: 100%; }
.switchbar .switch a { flex: 1; justify-content: center; height: 34px; }
@media (max-width: 819px) { .page--spec .switchbar { display: block; } }
@media (max-width: 999px) { .page--emp .switchbar { display: block; } }

/* Mobile menu (open state is not in the design; kept minimal) */
.menu {
  display: none; position: absolute; left: 0; right: 0; top: 64px;
  background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--sh-2);
}
.menu.is-open { display: block; }
.menu__in { padding: 8px clamp(20px, 5cqi, 80px) 20px; display: flex; flex-direction: column; }
.menu__in a { display: flex; align-items: center; min-height: 48px; font-size: 16px; font-weight: 500; color: var(--graphite); border-bottom: 1px solid var(--border); }
.menu__in a:hover { text-decoration: none; color: var(--emerald-dark); }
.menu__in .btn { margin-top: 16px; align-self: flex-start; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 6px;
  background: var(--tv-btn-bg, var(--emerald-dark)); color: var(--tv-btn-ink, var(--white));
  font-family: var(--font); font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s ease, filter .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--tv-btn-hover, #0d6650); color: var(--tv-btn-ink, var(--white)); text-decoration: none; }
.btn--l { height: 52px; padding: 0 28px; font-size: 16px; }
.btn--m { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--s { height: 32px; padding: 0 12px; font-size: 13px; }
.btn--xl { height: 56px; padding: 0 32px; font-size: 17px; }
.btn--secondary { background: transparent; color: var(--tv-ink, var(--graphite)); border: 1px solid var(--tv-line-strong, var(--border-strong)); }
.btn--secondary:hover { background: transparent; color: var(--tv-ink, var(--graphite)); border-color: currentColor; }
.btn--ghost { background: transparent; color: var(--tv-ink-2, var(--slate)); font-weight: 500; padding: 0 12px; }
.btn--ghost:hover { background: rgba(127, 127, 140, .12); color: var(--tv-ink-2, var(--slate)); }
.btn:disabled, .btn.is-disabled { background: var(--tv-inset, var(--cloud)); color: var(--tv-ink-3, var(--mist)); cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7cqi, 104px) 0 clamp(48px, 7cqi, 104px); }
.hero__in { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5cqi, 88px); }
.hero__text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: clamp(20px, 2cqi, 28px); }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
.hero h1 { margin: 0; font-size: clamp(36px, 4.6cqi, 68px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.page--emp .hero h1 { font-size: clamp(34px, 4.3cqi, 64px); line-height: 1.05; }
.lead { margin: 0; font-size: clamp(17px, 1.35cqi, 20px); line-height: 1.5; color: var(--slate); max-width: 560px; text-wrap: pretty; }
.page--emp .lead { max-width: 580px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 4px; }
.hero__more { font-size: 15px; font-weight: 600; color: var(--graphite); }
.hero__note { font-size: 14px; font-weight: 500; color: var(--slate); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 0; font-size: 13px; font-weight: 500; color: var(--slate); padding-top: 8px; border-top: 1px solid var(--border); max-width: 560px; }
.facts span { padding: 8px 16px 0 0; margin-right: 16px; border-right: 1px solid var(--border); }
.facts span:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
.hero__card { flex: 1 1 400px; max-width: 500px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.hero__caption { font-size: 12px; color: var(--slate); padding-left: 4px; }
.ruler {
  height: 12px;
  background-image:
    repeating-linear-gradient(90deg, var(--border-strong) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, var(--graphite) 0 1px, transparent 1px 120px);
  background-size: 100% 6px, 100% 12px; background-repeat: no-repeat; background-position: 0 0, 0 0;
}

/* ---------- Sections ---------- */
.sec { padding: clamp(56px, 7cqi, 104px) 0; }
.sec--white { background: var(--white); }
.sec--dark { background: var(--graphite); color: var(--white); }
.sec__in { display: flex; flex-direction: column; gap: clamp(36px, 4cqi, 56px); }
.sec__head, .row { display: flex; flex-wrap: wrap; gap: 16px 48px; }
.sec__label { flex: 1 1 220px; display: flex; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); padding-top: 10px; }
.sec__label b { color: var(--graphite); font-weight: 600; font-variant-numeric: tabular-nums; }
.sec--dark .sec__label { color: var(--mist); }
.sec--dark .sec__label b { color: var(--white); }
.sec__title { flex: 3 1 600px; margin: 0; font-size: clamp(28px, 3cqi, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
.sec__body { flex: 3 1 600px; display: flex; flex-direction: column; gap: 16px; }
.sec__body .sec__title { flex: none; }
.sec__intro { margin: 0; font-size: 17px; color: var(--slate); max-width: 640px; text-wrap: pretty; }
.sec--dark .sec__intro { color: #d3d6e2; }
.spacer { flex: 1 1 220px; }
.col-main { flex: 3 1 600px; min-width: 0; }

/* Timeline steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 36px 0; }
.steps--5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px 0; }
.step { position: relative; border-top: 1px solid var(--border-strong); padding: 28px 28px 0 0; display: flex; flex-direction: column; gap: 10px; }
.steps--5 .step { padding-right: 24px; }
.step::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--graphite); }
.step__meta { display: flex; align-items: baseline; gap: 10px; }
.step__n { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--mist); }
.step__when { font-size: 12px; font-weight: 600; color: var(--emerald-dark); }
.step__title { font-size: 20px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.steps--5 .step__title { font-size: 19px; }
.step__text { font-size: 15px; color: var(--slate); text-wrap: pretty; }
.callout { flex: 3 1 600px; margin: 0; font-size: clamp(18px, 1.6cqi, 22px); font-weight: 500; line-height: 1.45; padding: 20px 24px; border-radius: 10px; background: var(--tint-amber); color: var(--graphite); }

/* Axes 2x2 */
.axes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.axis { background: var(--white); padding: clamp(24px, 2.4cqi, 36px); display: flex; flex-direction: column; gap: 14px; }
.axis__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.axis__name { font-size: clamp(22px, 2cqi, 28px); font-weight: 700; letter-spacing: -.02em; }
.pips { display: flex; gap: 3px; flex: none; }
.pips i { display: block; width: 14px; height: 6px; border-radius: 1px; background: var(--tv-inset, var(--cloud)); }
.pips i.on { background: var(--tv-fill, var(--emerald)); }
.pips--lg i { width: 18px; height: 8px; }
.axis__text { font-size: 16px; color: var(--slate); line-height: 1.55; text-wrap: pretty; }

/* Task window */
.task { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.task__aside { flex: 1 1 220px; display: flex; flex-direction: column; gap: 20px; order: 2; }
.task__aside-title { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.watch { display: flex; gap: 12px; border-top: 1px solid var(--border); padding-top: 14px; }
.watch__n { font-size: 13px; font-weight: 700; color: var(--mist); font-variant-numeric: tabular-nums; }
.watch__t { font-size: 15px; line-height: 1.45; }
.win { flex: 3 1 600px; min-width: 0; order: 1; border: 1px solid var(--border-strong); border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: var(--sh-2); }
.win__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--border); background: var(--surface); font-size: 12px; font-weight: 600; color: var(--slate); }
.win__timer { font-variant-numeric: tabular-nums; color: var(--graphite); }
.win__body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.win__task { font-size: 15px; line-height: 1.5; }
.code { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.code__head { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--slate); }
.code__ai { width: 18px; height: 18px; border-radius: 4px; background: var(--graphite); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; }
.code__body { overflow-x: auto; padding: 8px 0; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 13px; line-height: 1.7; }
.code__line { display: grid; grid-template-columns: 44px auto; min-width: max-content; }
.code__line.hl { background: var(--tint-red); }
.code__n { text-align: right; padding-right: 14px; color: var(--mist); }
.hl .code__n { color: var(--signal); font-weight: 700; }
.code__t { white-space: pre; padding-right: 16px; color: var(--graphite); }
.answer { display: flex; flex-direction: column; gap: 6px; }
.answer__label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--slate); }
.answer__tag { padding: 2px 8px; border-radius: 999px; background: var(--tint-red); color: var(--signal-dark); }
.answer__field { border: 1px solid var(--emerald-dark); box-shadow: 0 0 0 3px rgba(18, 130, 102, .15); border-radius: 6px; padding: 10px 12px; font-size: 14px; line-height: 1.5; }
.caret { display: inline-block; width: 1px; height: 16px; background: var(--graphite); vertical-align: -3px; margin-left: 1px; }

/* Paths */
.paths { display: flex; flex-direction: column; border-bottom: 1px solid var(--border-strong); }
.path { display: flex; flex-wrap: wrap; gap: 12px 48px; padding: clamp(20px, 2.4cqi, 32px) 0; border-top: 1px solid var(--border-strong); }
.path__tag { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.tag-green { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--tv-good-bg, var(--tint-green)); color: var(--tv-good-ink, var(--emerald-dark)); }
.path__cond { flex: 1.3 1 300px; font-size: clamp(20px, 1.9cqi, 26px); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.path__out { flex: 1.7 1 340px; font-size: 16px; line-height: 1.55; color: var(--slate); text-wrap: pretty; }

/* Story (dark) */
.story { display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 5cqi, 88px); align-items: flex-start; }
.story__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.story__label { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.story__label b { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }
.badge-example { letter-spacing: 0; text-transform: none; padding: 3px 9px; border-radius: 999px; background: rgba(240, 194, 122, .16); color: #f0c27a; }
.story__text .sec__title { flex: none; }
.story__p { margin: 0; font-size: 17px; line-height: 1.6; color: #d3d6e2; max-width: 560px; text-wrap: pretty; }
.story__disclaimer { margin: 0; font-size: 13px; color: var(--mist); }
.story__table { flex: 1 1 400px; max-width: 520px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .18); }
.story__row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.story__k { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); padding-top: 3px; }
.story__v { font-size: 16px; line-height: 1.5; }

/* Rules */
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 32px; }
.rule { border-top: 2px solid var(--graphite); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.rule__n { font-size: 13px; font-weight: 700; color: var(--amber); font-variant-numeric: tabular-nums; }
.rule__t { font-size: clamp(18px, 1.6cqi, 21px); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; text-wrap: pretty; }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.faq__side { flex: 1 1 220px; display: flex; flex-direction: column; gap: 16px; }
.faq__side .sec__label { flex: none; }
.faq__list { flex: 3 1 600px; min-width: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--border-strong); }
.faq__item { border-top: 1px solid var(--border-strong); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; min-height: 44px;
  background: none; border: none; font-family: var(--font); font-size: clamp(17px, 1.5cqi, 20px); font-weight: 600; line-height: normal; color: var(--graphite); text-align: left; cursor: pointer;
}
.faq__sign { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 500; }
.faq__sign::before { content: "+"; }
.faq__item.is-open .faq__sign::before { content: "−"; }
.faq__a { padding: 0 48px 24px 0; font-size: 16px; line-height: 1.6; color: var(--slate); max-width: 680px; }
.faq__item:not(.is-open) .faq__a { display: none; }

/* Final CTA */
.cta { padding: clamp(56px, 7cqi, 112px) 0; background: var(--white); border-top: 1px solid var(--border); }
.cta__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.cta__text { flex: 1 1 560px; display: flex; flex-direction: column; gap: 16px; }
.cta__title { margin: 0; font-size: clamp(32px, 4cqi, 56px); font-weight: 700; letter-spacing: -.035em; line-height: 1.06; text-wrap: balance; }
.cta__sub { margin: 0; font-size: 17px; color: var(--slate); }
.cta--form { background: transparent; border-top: 0; }
.cta--form .cta__in { gap: 40px clamp(40px, 5cqi, 88px); align-items: flex-start; justify-content: flex-start; }
.cta--form .cta__text { flex: 1 1 480px; }

/* Footer */
.ftr { border-top: 1px solid var(--border); padding: 32px 0 40px; }
.ftr__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.ftr__brand { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--slate); }
.ftr__name { font-size: 16px; font-weight: 700; letter-spacing: -.03em; color: var(--graphite); }
.ftr__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; font-weight: 500; }
.ftr__nav a { color: var(--slate); }
.ftr__nav a.strong { color: var(--graphite); font-weight: 600; }

/* ---------- Components (read --tv-* theme vars, fall back to light tokens) ---------- */
.ov11 { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tv-ink-2, var(--slate)); }

/* Seal */
.seal {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 9px; border-radius: 999px;
  background: var(--tv-seal-bg, var(--tint-amber)); border: 1px solid var(--tv-seal-line, #ecd3a8); color: var(--tv-seal-ink, #8a5a12);
  font-family: var(--font); font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap;
}
.seal__pips { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.seal__pips i { display: block; width: 3px; border-radius: 1px; background: currentColor; opacity: .25; }
.seal__pips i:nth-child(1) { height: 4px; }
.seal__pips i:nth-child(2) { height: 6px; }
.seal__pips i:nth-child(3) { height: 8px; }
.seal__pips i:nth-child(4) { height: 10px; }
.seal__pips i:nth-child(5) { height: 12px; }
.seal[data-level="1"] i:nth-child(-n+1),
.seal[data-level="2"] i:nth-child(-n+2),
.seal[data-level="3"] i:nth-child(-n+3),
.seal[data-level="4"] i:nth-child(-n+4),
.seal[data-level="5"] i:nth-child(-n+5) { opacity: 1; }

/* Card base */
.card {
  font-family: var(--font); background: var(--tv-card, var(--white)); color: var(--tv-ink, var(--graphite));
  border: 1px solid var(--tv-line, var(--border)); border-radius: 14px; box-shadow: var(--tv-shadow, var(--sh-3)); overflow: hidden;
}

/* ProfileCard */
.pcard__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--tv-line, var(--border)); }
.pcard__meta { font-size: 12px; color: var(--tv-ink-2, var(--slate)); font-variant-numeric: tabular-nums; }
.pcard__who { padding: 20px 20px 0; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.pcard__id { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pcard__name { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.pcard__role { font-size: 13px; color: var(--tv-ink-2, var(--slate)); }
.pcard__level { flex: none; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--tv-line-strong, var(--border-strong)); }
.pcard__axes { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.pcard__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 36px; gap: 14px; align-items: center; }
.pcard__grid--ticks { align-items: end; }
.ticks { display: grid; grid-template-columns: repeat(5, 1fr); font-size: 10px; font-weight: 600; color: var(--tv-ink-3, var(--mist)); font-variant-numeric: tabular-nums; }
.ticks span { text-align: right; }
.pcard__axis { font-size: 14px; font-weight: 500; line-height: 1.25; }
.bar { position: relative; height: 8px; border-radius: 2px; background: var(--tv-inset, var(--cloud)); overflow: hidden; }
.bar--lg { height: 12px; }
.bar__fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--tv-fill, var(--emerald)); }
.bar__seg { position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, transparent 0 calc(20% - 2px), var(--tv-card, var(--white)) calc(20% - 2px) 20%); }
.bar__norm { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--tv-ink, var(--graphite)); }
.pcard__val { font-size: 16px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.pcard__insight { margin: 0 20px; padding: 12px 14px; border-radius: 10px; background: var(--tv-inset, var(--cloud)); font-size: 13px; line-height: 1.45; }
.pcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px 18px; }
.pcard__foot-label { font-size: 12px; color: var(--tv-ink-2, var(--slate)); }

/* CandidateCard */
.ccard__top { padding: 20px 20px 14px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.ccard__match { display: flex; flex-direction: column; gap: 6px; }
.ccard__ov { display: flex; align-items: center; gap: 8px; }
.ccard__pct { display: flex; align-items: baseline; gap: 2px; color: var(--tv-match, var(--emerald-dark)); font-variant-numeric: tabular-nums; line-height: .95; }
.ccard__pct b { font-size: 68px; font-weight: 700; letter-spacing: -.045em; }
.ccard__pct span { font-size: 30px; font-weight: 700; }
.ccard__sub { font-size: 12px; color: var(--tv-ink-2, var(--slate)); }
.ccard__label { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding-top: 2px; }
.chip-dark { font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--tv-chip, var(--graphite)); color: var(--tv-chip-ink, var(--white)); white-space: nowrap; }
.ccard__who { padding: 0 20px 16px; display: flex; flex-direction: column; gap: 3px; }
.ccard__title { font-size: 17px; font-weight: 600; }
.ccard__role { font-size: 13px; color: var(--tv-ink-2, var(--slate)); }
.ccard__axes-label { display: flex; align-items: center; gap: 8px; padding: 0 20px 10px; }
.ccard__axes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--tv-line, var(--border)); border-top: 1px solid var(--tv-line, var(--border)); border-bottom: 1px solid var(--tv-line, var(--border)); }
.ccard__axis { background: var(--tv-card, var(--white)); padding: 14px 20px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ccard__axis-name { font-size: 12px; color: var(--tv-ink-2, var(--slate)); }
.ccard__axis-val { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ccard__axis-note { font-size: 12px; font-weight: 500; line-height: 1.35; color: var(--tv-ink, var(--graphite)); }
.ccard__proof { padding: 14px 20px; background: var(--tv-inset, var(--cloud)); display: flex; flex-direction: column; gap: 4px; }
.ccard__proof-text { font-size: 13px; line-height: 1.45; }
.ccard__foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 20px; }
.ccard__seal { display: flex; align-items: center; gap: 8px; }
.ccard__right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.ccard__money { display: flex; flex-direction: column; gap: 1px; text-align: right; }
.ccard__money small { font-size: 11px; color: var(--tv-ink-2, var(--slate)); }
.ccard__money b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.marker { width: 20px; height: 20px; border-radius: 50%; background: var(--amber); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; letter-spacing: 0; flex: none; }
.ccard:not(.has-markers) .marker, .ccard:not(.has-markers) .ccard__axes-label { display: none; }

/* Fields */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13px; font-weight: 500; color: var(--tv-ink-2, var(--slate)); }
.input {
  width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--tv-line-strong, var(--border-strong)); border-radius: 6px;
  background: var(--tv-field, var(--white)); color: var(--tv-ink, var(--graphite)); font-family: var(--font); font-size: 15px; outline: none;
}
.input::placeholder { color: var(--tv-ink-3, var(--mist)); }
.input:focus, .input.is-focus { border-color: var(--tv-btn-bg, var(--emerald-dark)); box-shadow: 0 0 0 3px rgba(18, 130, 102, .18); }
.input.is-error, .field.has-error .input { border-color: var(--signal); box-shadow: none; }
.field__error { font-size: 12px; color: var(--tv-error, var(--signal-dark)); }
.field:not(.has-error) .field__error { display: none; }
.input--money { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-variant-numeric: tabular-nums; }
.input--money span:last-child { color: var(--tv-ink-2, var(--slate)); font-weight: 500; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--tv-line-strong, var(--border-strong));
  background: transparent; color: var(--tv-ink, var(--graphite)); font-family: var(--font); font-size: 13px; font-weight: 500; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.chip:hover { border-color: var(--tv-ink, var(--graphite)); }
.chip.is-on { border-color: var(--tv-chip, var(--graphite)); background: var(--tv-chip, var(--graphite)); color: var(--tv-chip-ink, var(--white)); font-weight: 600; }
.chip--m { height: 40px; padding: 0 16px; font-size: 14px; background: var(--tv-field, var(--white)); }
.badge { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.badge--neutral { background: var(--tv-inset, var(--cloud)); color: var(--tv-ink-2, var(--slate)); }
.badge--outline { border: 1px solid var(--tv-line-strong, var(--border-strong)); color: var(--tv-ink-2, var(--slate)); }
.badge-slate { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--tint-slate); color: var(--slate); }
.num-chip { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; padding: 3px 8px; border-radius: 6px; background: var(--tv-inset, var(--cloud)); }

/* ---------- Employers page ---------- */
.funnel { display: flex; flex-direction: column; }
.funnel__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; padding: 18px 0; border-top: 1px solid var(--border); }
.funnel__n { flex: 0 0 140px; font-size: clamp(36px, 4cqi, 56px); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.funnel__label { flex: 1 1 220px; font-size: 16px; font-weight: 500; color: var(--slate); }
.funnel__track { flex: 3 1 420px; height: 20px; position: relative; background-image: repeating-linear-gradient(90deg, var(--border) 0 1px, transparent 1px 10%); }
.funnel__bar { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--graphite); }
.funnel__bar--last { background: var(--emerald-dark); }
.funnel__note { border-top: 1px solid var(--border); padding-top: 16px; font-size: 15px; color: var(--slate); }

.cardsec { display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 5cqi, 88px); align-items: flex-start; }
.cardsec__card { flex: 1 1 400px; max-width: 500px; min-width: 0; }
.legend { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; }
.legend__row { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--border-strong); }
.legend__n { width: 24px; height: 24px; border-radius: 50%; background: var(--amber); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.legend__body { display: flex; flex-direction: column; gap: 6px; }
.legend__t { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.legend__d { font-size: 15px; line-height: 1.55; color: var(--slate); text-wrap: pretty; }
.legend__seals { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 0 44px; }

.cross { display: flex; flex-direction: column; border-bottom: 1px solid var(--border-strong); }
.cross__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; padding: 24px 0; border-top: 1px solid var(--border-strong); }
.cross__pair { flex: 2 1 380px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.cross__from { font-size: clamp(18px, 1.7cqi, 22px); font-weight: 500; color: var(--slate); }
.cross__arrow { font-size: 20px; color: var(--mist); }
.cross__to { font-size: clamp(20px, 1.9cqi, 26px); font-weight: 700; letter-spacing: -.02em; }
.cross__why { flex: 1 1 220px; font-size: 15px; color: var(--slate); }
.cross__tag { flex: 1 1 260px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cross__entry { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }

.loop { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--slate); }
.loop__icon { font-size: 18px; color: var(--amber); }

.price { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.price__body { flex: 3 1 600px; display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.price__fee { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; }
.price__num { display: flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; color: var(--emerald-dark); }
.price__num b { font-size: clamp(64px, 7cqi, 104px); font-weight: 700; letter-spacing: -.05em; line-height: .9; }
.price__num span { font-size: clamp(32px, 3.4cqi, 48px); font-weight: 700; }
.price__of { font-size: 16px; font-weight: 600; }
.terms { flex: 1.4 1 320px; display: flex; flex-direction: column; border-bottom: 1px solid var(--border); }
.term { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-top: 1px solid var(--border); }
.term__n { font-size: 13px; font-weight: 700; color: var(--mist); }
.term__t { font-size: 17px; line-height: 1.45; }

.team { overflow-x: auto; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: var(--graphite-90); }
.team__in { min-width: 720px; }
.team__row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr) 110px 110px 110px minmax(0, 1.3fr); gap: 16px; align-items: center; padding: 14px 24px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 15px; }
.team__row--head { border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); align-items: normal; }
.team__name { font-weight: 600; }
.team__role { color: #d3d6e2; }
.team__num { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.team__num--ai { font-weight: 700; color: var(--emerald-light); }
.team__act { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); white-space: nowrap; }

.form { flex: 1 1 400px; max-width: 520px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: clamp(20px, 2.2cqi, 32px); display: flex; flex-direction: column; gap: 18px; }
.form .btn { width: 100%; }

/* ---------- UI kit page ---------- */
.kit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr)); align-items: start; font-family: var(--font); }
.kit__light { border-right: 1px solid var(--border); }
.kit__dark {
  --tv-bg: #262e40; --tv-card: #333b4e; --tv-inset: #2b3346; --tv-field: #2b3346;
  --tv-line: rgba(255, 255, 255, .1); --tv-line-strong: rgba(255, 255, 255, .22);
  --tv-ink: #ffffff; --tv-ink-2: #b9bccd; --tv-ink-3: #7d8199;
  --tv-fill: #3fd3ac; --tv-match: #3fd3ac; --tv-btn-bg: #3fd3ac; --tv-btn-ink: #262e40; --tv-btn-hover: #36c09c;
  --tv-chip: #ffffff; --tv-chip-ink: #262e40;
  --tv-seal-bg: rgba(240, 194, 122, .14); --tv-seal-ink: #f0c27a; --tv-seal-line: rgba(240, 194, 122, .35);
  --tv-good-bg: rgba(63, 211, 172, .14); --tv-good-ink: #3fd3ac; --tv-error: #ff8a73; --tv-shadow: none;
  background: #262e40; min-height: 100%;
}
.panel { color: var(--tv-ink, var(--graphite)); background: var(--tv-bg, var(--surface)); padding: 40px; display: flex; flex-direction: column; gap: 44px; line-height: 1.5; }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--tv-line-strong, var(--border-strong)); padding-bottom: 16px; }
.panel__title { font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.panel__ver { font-size: 12px; color: var(--tv-ink-2, var(--slate)); }
.panel__sec { display: flex; flex-direction: column; gap: 16px; }
.seal-list { display: flex; flex-direction: column; border-top: 1px solid var(--tv-line, var(--border)); }
.seal-list__row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--tv-line, var(--border)); }
.seal-list__d { font-size: 13px; color: var(--tv-ink-2, var(--slate)); }
.scale { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 14px; background: var(--tv-card, var(--white)); border: 1px solid var(--tv-line, var(--border)); }
.scale__head { display: flex; justify-content: space-between; align-items: baseline; }
.scale__name { font-size: 14px; font-weight: 500; }
.scale__val { font-size: 28px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.scale__labels { display: grid; grid-template-columns: repeat(5, 1fr); font-size: 11px; color: var(--tv-ink-2, var(--slate)); }
.scale__norm { font-size: 12px; color: var(--tv-ink-2, var(--slate)); display: flex; align-items: center; gap: 8px; }
.scale__norm i { width: 2px; height: 12px; background: var(--tv-ink, var(--graphite)); }
.kit-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.kit-row--wide { gap: 20px; }
.kit-note { font-size: 12px; color: var(--tv-ink-2, var(--slate)); }
.kit-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
@media (max-width: 479px) { .kit-fields { grid-template-columns: 1fr; } .panel { padding: 24px 20px; } }
