/* ============ Tokens ============ */
:root {
  --paper: #FAFAFC;
  --surface: #FFFFFF;
  --ink: #141630;
  --ink-2: #464962;
  --ink-3: #6B6E86;
  --line: #E6E6EF;
  --line-2: #F0F0F5;

  /* BARBEN – page frame (from the BARBEN logo) */
  --b-blue: #1F4FF0;
  --b-sky: #7C9BFF;
  --b-pink: #F28DB0;
  --b-soft: #EEF2FF;
  --b-grad: linear-gradient(100deg, #1F4FF0 0%, #5B7CFF 52%, #F28DB0 100%);

  /* Kindix – inside the product preview (from kindix.co.il) */
  --k-violet: #6133FF;
  --k-violet-soft: #F1EDFF;
  --k-teal: #2FA58C;
  --k-coral: #F27A63;
  --k-ink: #1E1A4D;
  --k-ink-2: #5A5C78;

  --sans: "Heebo", system-ui, sans-serif;
  --k-sans: "Rubik", "Heebo", sans-serif;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--b-blue); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 80px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 32px; }
.sep { color: var(--line); margin-inline: .5em; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; font-size: 15px;
  position: relative; overflow: hidden; isolation: isolate; transition: transform .2s, box-shadow .2s;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--b-grad); opacity: 0; transition: opacity .3s; z-index: -1; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(31,79,240,.6); }
.btn:hover::before { opacity: 1; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost::before { display: none; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--b-blue); color: var(--b-blue); }

/* ============ Top bar ============ */
.topbar {
  position: sticky; top: 0; z-index: 20; background: rgba(250,250,252,.82);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.topbar__nav { display: flex; gap: 26px; font-size: 14px; }
.topbar__nav a { color: var(--ink-2); text-decoration: none; padding-block: 4px; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.topbar__nav a:hover { color: var(--ink); border-color: var(--b-blue); }
.lockup { display: flex; align-items: center; gap: 14px; }
.lockup__x { color: var(--ink-3); font-size: 15px; font-weight: 300; }
.logo-barben { display: block; height: 26px; width: auto; mix-blend-mode: multiply; }
.logo-kindix { display: inline-flex; align-items: center; gap: 7px; font-family: var(--k-sans); font-weight: 600; font-size: 16px; color: var(--k-ink); direction: ltr; }
.logo-kindix img { display: block; width: 22px; height: 22px; }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; }
.hero__waves { position: absolute; inset: auto 0 -120px 0; width: 100%; height: 520px; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%); mask-image: linear-gradient(to bottom, transparent, #000 45%); }
.hero__waves path { fill: none; stroke: url(#bwave); stroke-width: 1.4; opacity: .55; }
.hero__waves path:nth-child(2) { opacity: .38; } .hero__waves path:nth-child(3) { opacity: .24; } .hero__waves path:nth-child(4) { opacity: .14; }
.waves__drift { animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(30px); } }

.hero__inner { position: relative; padding-top: 52px; padding-bottom: 60px; }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.eyebrow .x { color: var(--b-blue); margin-inline: .2em; }
.hero__title { font-weight: 800; font-size: clamp(34px, 5vw, 56px); line-height: 1.12; letter-spacing: -.025em; margin-top: 14px; text-wrap: balance; }
.grad { background: var(--b-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero__lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--ink-2); max-width: 34em; margin-top: 18px; font-weight: 400; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

  border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 24px 50px -32px rgba(31,79,240,.35); }

/* ============ Sections ============ */
.section { padding-block: 56px; }
.section__head { margin-bottom: 22px; max-width: 44em; }
.section__num { display: block; font-size: 13px; font-weight: 600; color: var(--b-blue); letter-spacing: .04em; margin-bottom: 8px; }
.section__head h2 { font-weight: 800; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.section__head p { color: var(--ink-2); margin-top: 6px; }

/* Organic connector between areas */
.flow { display: block; width: 100%; height: 70px; margin-block: -24px -16px; }
.flow path { fill: none; stroke: url(#bwave); stroke-width: 1.4; opacity: .7; }
.flow .flow__faint { opacity: .3; }

/* ============ Solution ============ */
.scope { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.scope__item { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .2s, transform .2s; }
.scope__item:hover { border-color: #C9D3FF; transform: translateY(-2px); }
.scope__icon { width: 34px; height: 34px; border-radius: 10px; background: var(--b-soft); display: grid; place-items: center; margin-bottom: 10px; }
.scope__icon svg { width: 18px; height: 18px; fill: none; stroke: var(--b-blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scope__item h3 { font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.scope__item p { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin-top: 4px; }

/* ============ Preview ============ */
.section--preview { background: var(--surface); border-block: 1px solid var(--line-2); }
.browser { border-radius: 16px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(20,22,48,.04), 0 30px 70px -34px rgba(60,40,140,.32); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 16px; height: 38px; padding-inline: 16px; background: #F6F5F9; border-bottom: 1px solid var(--line); direction: ltr; }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #DDDAE6; }
.browser__url { flex: 1; max-width: 340px; margin-inline: auto; text-align: center; font-size: 12px; color: var(--ink-3); background: #fff; border-radius: 6px; padding: 2px 12px; direction: rtl; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caption { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 14px; }

.kit { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 500px; font-family: var(--k-sans); color: var(--k-ink); }
.kit__nav { background: #FAF9FE; border-inline-end: 1px solid var(--line); padding: 20px 14px; }
.kit__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.kit__progress { height: 4px; background: var(--line); border-radius: 4px; margin: 16px 4px 12px; overflow: hidden; }
.kit__progress span { display: block; height: 100%; width: 20%; background: var(--k-violet); border-radius: 4px; transition: width .5s ease; }
.kit__chapters { list-style: none; padding: 0; }
.kit__chapters button { width: 100%; text-align: start; background: none; border: 0; border-radius: 10px; padding: 9px 10px; font-size: 14px; color: #55577A; display: flex; align-items: center; gap: 10px; transition: background .2s, color .2s; }
.kit__chapters b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; border: 1.5px solid #D7D4E6; color: #8A88A6; transition: all .2s; }
.kit__chapters button:hover { background: #F1EEFB; }
.kit__chapters button.is-active { background: #fff; color: var(--k-ink); font-weight: 500; box-shadow: 0 1px 3px rgba(60,40,140,.1); }
.kit__chapters button.is-active b { background: var(--k-violet); border-color: var(--k-violet); color: #fff; }
.kit__chapters button.is-done b { background: var(--k-violet-soft); border-color: var(--k-violet-soft); color: var(--k-violet); }

.kit__body { padding: 28px 36px; min-width: 0; }
.ch { display: none; }
.ch.is-active { display: block; }
.ch.is-active > * { animation: rise .55s cubic-bezier(.2,.7,.2,1) both; }
.ch.is-active > *:nth-child(2) { animation-delay: .05s; }
.ch.is-active > *:nth-child(3) { animation-delay: .1s; }
.ch.is-active > *:nth-child(4) { animation-delay: .16s; }
.ch.is-active > *:nth-child(n+5) { animation-delay: .22s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.swap { animation: rise .4s cubic-bezier(.2,.7,.2,1) both; }

.ch__kicker { font-size: 12px; font-weight: 600; color: var(--k-violet); letter-spacing: .05em; }
.ch__title { font-size: 24px; font-weight: 600; margin-top: 2px; line-height: 1.3; }
.ch__text { color: var(--k-ink-2); font-size: 15px; margin-top: 6px; }
.ch__note { font-size: 12px; color: #8A88A6; margin-top: 12px; }

/* Chapter 1 – app tabs */
.apps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.app { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; color: #3A3C5C; transition: all .2s; }
.app__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.app:hover { border-color: var(--c); }
.app.is-active { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 6px 14px -8px var(--c); }
.app.is-active .app__dot { background: #fff; }

.appview { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 22px; align-items: start; }
.appview.swap > *:last-child { animation: rise .45s .06s cubic-bezier(.2,.7,.2,1) both; }
.appview__code { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--c); }
.appview h4 { margin: 2px 0 0; font-size: 18px; font-weight: 600; }
.appview__rows { margin-top: 10px; display: grid; gap: 10px; }
.appview__rows dt { font-size: 12px; font-weight: 600; color: var(--c); }
.appview__rows dd { margin: 1px 0 0; font-size: 14px; line-height: 1.5; color: #3A3C5C; }
.appview__rows > div:last-child dd { color: var(--k-ink); font-weight: 500; }

/* Simulated app window */
.win { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; font-size: 12px;
  box-shadow: 0 1px 2px rgba(30,26,77,.05), 0 22px 40px -22px rgba(60,40,140,.4); }
.win__bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-bottom: 1px solid var(--line-2); background: #FBFAFF; }
.win__brand { display: inline-flex; align-items: center; gap: 6px; }
.win__brand img { width: 16px; height: 16px; }
.win__brand b { font-size: 11px; letter-spacing: .05em; color: var(--c); }
.win__search { flex: 1; height: 16px; border-radius: 999px; background: #F1EFF7; }
.win__avatar { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--c), #F27A63); }
.win__body { display: grid; grid-template-columns: 30px minmax(0, 1fr); min-height: 176px; }
.win__side { background: #FAF9FE; border-inline-end: 1px solid var(--line-2); display: flex; flex-direction: column; align-items: center; gap: 9px; padding-top: 12px; }
.win__side i { width: 12px; height: 12px; border-radius: 4px; background: #E6E3F0; }
.win__side i.on { background: var(--c); }
.win__main { padding: 12px; min-width: 0; }
.win__foot { padding: 8px 12px; border-top: 1px solid var(--line-2); background: #FDFDFF; display: flex; justify-content: flex-start; }
.win__act { border: 1px solid var(--c); background: var(--c); color: #fff; border-radius: 8px; padding: 6px 12px; font-size: 12.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; transition: transform .15s, background .2s; }
.win__act:hover { transform: translateY(-1px); }
.win__act.is-reset { background: #fff; color: var(--c); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.8); } 70% { box-shadow: 0 0 0 6px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* Mini UI contents */
.m-head { display: flex; justify-content: space-between; gap: 8px; color: #6A6C88; font-size: 11px; margin-bottom: 8px; }
.m-head b { color: var(--k-ink); font-weight: 600; } .m-head b.down { color: #C2365A; }
.m-search { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; color: #8A88A6; }
.m-search svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.m-search.is-typed { border-color: var(--c); color: var(--k-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 14%, transparent); }
.caret { display: inline-block; width: 1px; height: 12px; background: var(--k-ink); vertical-align: -2px; margin-inline-start: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.m-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.m-kpis span { background: color-mix(in srgb, var(--c) 8%, #fff); border-radius: 8px; padding: 7px 4px; font-size: 10.5px; color: #6A6C88; text-align: center; }
.m-kpis b { display: block; font-size: 17px; color: var(--c); font-weight: 600; line-height: 1.2; }
.m-rows { margin-top: 8px; display: grid; gap: 5px; }
.m-rows i { font-style: normal; font-size: 11px; padding: 5px 8px; border-radius: 6px; background: #F6F5FA; color: #3A3C5C; }
.m-card { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 9px; border-radius: 10px; border: 1px solid var(--line); animation: rise .35s ease both; }
.m-card b { display: block; font-size: 13px; } .m-card small { color: #6A6C88; font-size: 11px; }
.m-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 11px; font-weight: 600; flex: none; }
.m-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.m-chips span { font-size: 10.5px; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); animation: rise .35s .1s ease both; }
.m-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.m-grid i { font-style: normal; font-size: 10.5px; text-align: center; padding: 6px 2px; border-radius: 6px; background: color-mix(in srgb, var(--c) 10%, #fff); color: #3A3C5C; white-space: nowrap; overflow: hidden; }
.m-grid i.is-clash { background: #FCE3E8; color: #B42A4A; box-shadow: inset 0 0 0 1.5px #E5486A; }
.m-grid i.is-free { background: #fff; color: var(--k-teal); box-shadow: inset 0 0 0 1.5px var(--k-teal); border-radius: 6px; outline: 1px dashed transparent; }
.m-grid i.is-moved { background: #E5F6F1; color: #1C7A66; box-shadow: inset 0 0 0 1.5px var(--k-teal); animation: rise .4s ease both; }
.m-note { margin-top: 10px; font-size: 10.5px; color: #6A6C88; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.dot--clash { background: #E5486A; } .dot--free, .dot--ok { background: var(--k-teal); }
.m-att { display: grid; gap: 4px; }
.m-att span { display: flex; align-items: center; gap: 7px; font-size: 11.5px; padding: 3px 6px; border-radius: 6px; animation: rise .3s ease both; }
.m-att span:nth-child(odd) { background: #FAF9FD; }
.m-att span i { width: 8px; height: 8px; border-radius: 50%; background: var(--k-teal); }
.m-att span.is-empty i { background: #D9D6E6; }
.m-att em { margin-inline-start: auto; font-style: normal; color: #6A6C88; }
.m-att .is-late i { background: #F2A541; } .m-att .is-miss i { background: #E5486A; } .m-att .is-miss em { color: #C2365A; }
.m-weights { display: grid; gap: 6px; }
.m-weights span { position: relative; display: flex; justify-content: space-between; font-size: 11px; padding: 5px 8px; border-radius: 6px; background: #F6F5FA; overflow: hidden; z-index: 0; }
.m-weights span::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w); background: color-mix(in srgb, var(--c) 22%, #fff); z-index: -1; animation: fill .7s ease both; }
@keyframes fill { from { width: 0; } }
.m-score { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: #6A6C88; border-top: 1px dashed var(--line); padding-top: 8px; }
.m-score b { font-size: 22px; color: var(--c); line-height: 1; }
.m-badge { margin-top: 6px; font-size: 11px; color: #1C7A66; background: #E5F6F1; border-radius: 6px; padding: 4px 8px; display: inline-block; animation: rise .35s ease both; }
.m-line { width: 100%; height: 60px; display: block; }
.m-line polyline { fill: none; stroke: var(--c); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 300; animation: draw 1s ease both; }
@keyframes draw { from { stroke-dashoffset: 300; } to { stroke-dashoffset: 0; } }
.m-alert { margin-top: 8px; font-size: 11px; color: #B42A4A; background: #FDEFF2; border-radius: 6px; padding: 6px 8px; }
.m-bars { display: grid; gap: 6px; }
.m-bars span { display: grid; grid-template-columns: 28px 1fr 34px; align-items: center; gap: 6px; font-size: 11px; }
.m-bars em { font-style: normal; color: #6A6C88; }
.m-bars i { height: 9px; border-radius: 5px; background: #ECEAF4; position: relative; overflow: hidden; }
.m-bars i::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--v); background: #B8B2D8; border-radius: 5px; animation: fill .7s ease both; animation-delay: inherit; }
.m-bars .is-low i::after { background: var(--c); }
.m-bars .is-low b { color: #C2365A; }

/* Chapter 2 – timetable */
.seg { display: inline-flex; background: #F3F1FA; border-radius: 999px; padding: 4px; margin-top: 14px; }
.seg button { border: 0; background: none; padding: 7px 16px; border-radius: 999px; font-size: 14px; color: #55577A; transition: all .2s; }
.seg button.is-active { background: #fff; color: var(--k-violet); font-weight: 500; box-shadow: 0 1px 3px rgba(60,40,140,.14); }
.tt { margin-top: 16px; display: grid; grid-template-columns: 52px repeat(5, minmax(0, 1fr)); gap: 6px; font-size: 12px; }
.tt .h { color: #8A88A6; text-align: center; }
.tt .t { color: #8A88A6; align-self: center; }
.tt .c { border-radius: 8px; padding: 8px 4px; text-align: center; background: color-mix(in srgb, var(--c) 14%, #fff); border-inline-start: 3px solid var(--c); animation: rise .35s ease both; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Chapter 3 – journey */
.journey { --p: 0%; list-style: none; padding: 0; margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.journey::before, .journey::after { content: ""; position: absolute; top: 19px; height: 2px; inset-inline-start: 12.5%; border-radius: 2px; }
.journey::before { inset-inline-end: 12.5%; background: #E6E3F0; }
.journey::after { width: calc(75% * var(--p) / 100%); background: linear-gradient(to left, var(--k-violet), var(--k-coral)); transition: width .5s ease; }
.journey li { position: relative; z-index: 1; }
.journey button { width: 100%; background: none; border: 0; display: grid; justify-items: center; gap: 8px; font-size: 13.5px; color: #55577A; padding: 0 4px; }
.journey button span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #D7D4E6; color: #8A88A6; font-weight: 600; transition: all .25s; }
.journey button:hover span { border-color: var(--k-violet); }
.journey button.is-past span { border-color: var(--k-violet); color: var(--k-violet); }
.journey button.is-active { color: var(--k-ink); font-weight: 500; }
.journey button.is-active span { background: var(--k-violet); border-color: var(--k-violet); color: #fff; box-shadow: 0 0 0 5px var(--k-violet-soft); }
.journey__detail { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: #FAF9FE; border: 1px solid var(--line); min-height: 76px; }
.journey__detail b { font-size: 14px; font-weight: 600; } .journey__detail p { font-size: 14px; color: #3A3C5C; margin-top: 3px; }

/* Chapter 4 – FAQ */
.faq { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-top: 10px; background: #fff; transition: border-color .2s; }
.faq[open] { border-color: #D6CCFF; background: #FCFBFF; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--k-violet); font-size: 20px; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--k-ink-2); font-size: 14px; margin-top: 6px; }

/* Chapter 5 – simulation */
.sim__steps { list-style: none; padding: 0; display: flex; gap: 6px; margin-top: 12px; counter-reset: s; }
.sim__steps li { counter-increment: s; font-size: 12px; color: #8A88A6; display: flex; align-items: center; gap: 6px; }
.sim__steps li::before { content: counter(s); width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; background: #EEECF5; color: #8A88A6; transition: all .25s; }
.sim__steps li + li { padding-inline-start: 14px; position: relative; }
.sim__steps li + li::after { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 8px; height: 1px; background: #D7D4E6; }
.sim__steps li.is-on { color: var(--k-ink); }
.sim__steps li.is-on::before { background: var(--k-violet); color: #fff; }
.sim { margin-top: 14px; }
.sim__brief { border-radius: 14px; padding: 18px; background: linear-gradient(135deg, #F6F3FF, #FFF6F4); border: 1px solid #ECE6FF; max-width: 560px; }
.sim__time { font-size: 12px; font-weight: 600; color: var(--k-violet); }
.sim__brief p { font-size: 16px; margin-top: 4px; }
.sim__brief .sim__before { font-size: 13px; color: #8A88A6; margin-top: 8px; }
.sim__btn { margin-top: 14px; border: 0; background: var(--k-violet); color: #fff; border-radius: 10px; padding: 9px 16px; font-size: 14px; font-weight: 500; box-shadow: 0 8px 18px -10px var(--k-violet); transition: transform .15s; }
.sim__btn:hover { transform: translateY(-1px); }
.sim__dash { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: #FCFBFF; box-shadow: 0 16px 34px -24px rgba(60,40,140,.4); }
.sim__hello { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 14px; }
.sim__hello small { font-weight: 400; color: #8A88A6; font-size: 11.5px; }
.sim__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.tile { text-align: start; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 11px; display: grid; gap: 1px; position: relative; transition: all .2s; }
.tile:hover { border-color: var(--k-violet); transform: translateY(-1px); }
.tile small { font-size: 11.5px; color: #6A6C88; }
.tile b { font-size: 22px; font-weight: 600; line-height: 1.25; }
.tile em { font-style: normal; font-size: 11px; color: #C2365A; }
.tile i { position: absolute; top: 9px; inset-inline-end: 9px; font-style: normal; font-size: 9px; letter-spacing: .05em; color: var(--k-violet); background: var(--k-violet-soft); border-radius: 999px; padding: 0 6px; }
.tile--alert::before { content: ""; position: absolute; top: 12px; inset-inline-end: 54px; width: 7px; height: 7px; border-radius: 50%; background: #E5486A; animation: pulseRed 1.8s infinite; }
@keyframes pulseRed { 0% { box-shadow: 0 0 0 0 rgba(229,72,106,.6); } 70% { box-shadow: 0 0 0 7px rgba(229,72,106,0); } 100% { box-shadow: 0 0 0 0 rgba(229,72,106,0); } }
.tile.is-sel { border-color: var(--k-violet); box-shadow: 0 0 0 3px var(--k-violet-soft); }
.sim__hint { font-size: 13px; color: #6A6C88; margin-top: 10px; }
.sim__drill { margin-top: 10px; border-inline-start: 3px solid var(--k-violet); background: #F8F6FF; border-radius: 10px; padding: 12px 14px; animation: rise .4s ease both; }
.sim__drill p { font-size: 14px; color: #3A3C5C; }
.sim__src { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 12px !important; color: #6A6C88 !important; margin-top: 8px; }
.sim__src span, .sim__flow small { direction: ltr; }
.sim__src span { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--k-violet); background: #fff; border: 1px solid #DCD5FF; border-radius: 999px; padding: 0 8px; }
.sim__drill .sim__btn { margin-top: 10px; }
.sim__result { border-radius: 14px; padding: 18px; background: #EEF9F6; border: 1px solid #CDEDE4; }
.sim__result > b { font-size: 16px; color: #1C7A66; }
.sim__result > p { font-size: 15px; margin-top: 4px; }
.sim__flow { list-style: none; padding: 0; margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.sim__flow li { background: #fff; border-radius: 10px; padding: 8px 10px; font-size: 12.5px; line-height: 1.4; animation: rise .35s ease both; }
.sim__flow li:nth-child(2) { animation-delay: .06s; } .sim__flow li:nth-child(3) { animation-delay: .12s; } .sim__flow li:nth-child(4) { animation-delay: .18s; background: #1C7A66; color: #fff; }
.sim__flow small { display: block; font-size: 10.5px; color: #6A6C88; }
.sim__flow li:nth-child(4) small { color: #CDEDE4; }
.sim__again { display: flex; gap: 16px; margin-top: 12px; }
.sim__link { background: none; border: 0; padding: 0; font-size: 13px; color: var(--k-violet); text-decoration: underline; text-underline-offset: 3px; }

/* ============ Investment ============ */
.price { border-top: 2px solid var(--ink); }
.price__row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price__idx { font-size: 13px; font-weight: 600; color: var(--b-blue); white-space: nowrap; }
.price__desc h3 { font-size: 17.5px; font-weight: 700; line-height: 1.4; }
.price__desc p { color: var(--ink-2); font-size: 15px; margin-top: 2px; max-width: 40em; }
.price__amt { font-size: 19px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price__total { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 2px solid var(--ink); }
.price__total-label { display: block; font-size: 22px; font-weight: 800; }
.price__note { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 2px; max-width: 46em; }
.price__total-amt { font-size: clamp(34px, 4.4vw, 44px); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums;
  background: var(--b-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.terms { margin: 16px 0 0; display: grid; gap: 6px; font-size: 14.5px; }
.terms > div { display: grid; grid-template-columns: 78px 1fr; gap: 12px; }
.terms dt { font-weight: 600; color: var(--ink); }
.terms dd { margin: 0; color: var(--ink-2); }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 22px; font-size: 14px; color: var(--ink-2); }
.footer__brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer__brand .logo-barben { height: 22px; }
.footer a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); direction: ltr; unicode-bidi: isolate; transition: border-color .2s; }
.footer a:hover { border-color: var(--b-blue); }

/* ============ Reveal ============ */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .scope { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .kit { grid-template-columns: minmax(0, 1fr); }
  .kit__nav { border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 14px 14px 10px; min-width: 0; }
  .kit__progress { margin: 12px 0 10px; }
  .kit__chapters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .kit__chapters::-webkit-scrollbar { display: none; }
  .kit__chapters button { white-space: nowrap; padding: 8px 12px 8px 14px; }
  .kit__body { padding: 22px 20px; }
  .appview { grid-template-columns: minmax(0, 1fr); }
  .topbar__nav { gap: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .topbar__nav { display: none; }
  .lockup { gap: 10px; } .logo-barben { height: 22px; } .logo-kindix { font-size: 15px; } .logo-kindix img { width: 20px; height: 20px; }
  .hero__inner { padding-top: 32px; padding-bottom: 40px; }
  .hero__actions .btn { flex: 1; justify-content: center; }
  .section { padding-block: 44px; }
  .flow { height: 46px; margin-block: -18px -10px; }
  .scope { grid-template-columns: 1fr; gap: 8px; }
  .scope__item { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 12px 14px; }
  .scope__icon { grid-row: span 2; margin: 0; }
  .kit { min-height: 0; }
  .tt { grid-template-columns: 38px repeat(5, minmax(0, 1fr)); gap: 4px; font-size: 10.5px; }
  .tt .c { padding: 6px 1px; border-inline-start-width: 2px; font-size: 9.5px; letter-spacing: -.02em; text-overflow: clip; }
  .journey button { font-size: 11.5px; }
  .journey button span { width: 34px; height: 34px; }
  .journey::before, .journey::after { top: 16px; }
  .sim__tiles { gap: 6px; }
  .tile { padding: 8px; } .tile b { font-size: 18px; } .tile small, .tile em { font-size: 10px; }
  .tile i { position: static; justify-self: start; margin-top: 4px; }
  .tile--alert::before { inset-inline-end: 10px; top: auto; bottom: 12px; }
  .sim__flow { grid-template-columns: 1fr 1fr; }
  .price__row { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; }
  .price__amt { font-size: 17px; }
  .price__total { flex-direction: column; align-items: flex-start; gap: 4px; }
  .price__total-amt { order: -1; }
  .price__total > div { display: contents; }
  .price__total-label { order: -2; font-size: 18px; }
  .terms > div { grid-template-columns: 1fr; gap: 0; }
}

/* ============ Print / PDF ============ */
@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff; font-size: 12pt; }
  .topbar { position: static; backdrop-filter: none; background: #fff; }
  .topbar__nav, .hero__actions, .hero__waves, .flow { display: none; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .section { padding-block: 24px; }
  .section--preview { background: #fff; }
  .browser, .price, .terms, .scope__item,   .browser { box-shadow: none; }
}
