/* Funnel C · Kolik Vás web stojí. Only what the shared design system does not have; same tokens, same visual language. */

/* first screen and grid tiles come from shared/components.css (.k-step--hero, .k-options--grid) */

/* ================================================================ gate teaser: the amount, blurred until the e-mail */
.c-teaser {
  position: relative; display: grid; gap: 4px; margin-top: 20px; padding: 16px 76px 16px 18px; overflow: hidden;
  border-radius: var(--r); border: 1px solid rgb(var(--core-rgb) / 0.35);
  background: radial-gradient(120% 140% at 0% 0%, rgb(var(--core-rgb) / 0.22), transparent 60%), var(--bg-2);
}
.c-teaser__l { font-size: 14px; color: var(--ink-2); }
.c-teaser__v {
  overflow: hidden; margin: -10px 0 -10px -14px; padding: 12px 0 12px 14px; font: 800 clamp(22px, 6.4vw, 28px)/1.15 var(--f-display); letter-spacing: -0.03em; color: var(--ink);
  filter: blur(7px); user-select: none; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent);
}
.c-teaser__lock {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  background: var(--core-fill); color: #fff; box-shadow: 0 10px 24px -10px rgb(var(--core-rgb) / 0.9);
}
.c-teaser__lock .k-ic { width: 20px; height: 20px; }

/* the teaser already shows what unlocks: no separate badge, tighter rhythm */
.k-step[data-step="gate"] .k-gate__badge { display: none; }
.k-step[data-step="gate"] .k-preview-list { margin-top: 18px; }
.k-step[data-step="gate"] .k-form { margin-top: 22px; }

/* ================================================================ result */
.c-result { gap: 24px; padding-bottom: 8px; }
.c-result__lead { margin-top: -6px; }

/* money reveal */
.c-money {
  position: relative; container-type: inline-size; overflow: hidden; isolation: isolate;
  padding: 22px 22px 20px; border-radius: var(--r-lg);
  background:
    radial-gradient(90% 120% at 50% -30%, rgb(var(--core-rgb) / 0.36), transparent 62%),
    linear-gradient(180deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.01)), var(--bg-2);
  border: 1px solid rgb(var(--core-rgb) / 0.38);
  box-shadow: 0 30px 70px -40px rgb(var(--core-rgb) / 0.9), var(--shadow-1);
  animation: k-zoom-in 620ms var(--ease-out) both;
}
.c-money::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 34%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.1), transparent);
  transform: skewX(-18deg) translateX(-120%); opacity: 0;
}
.c-money.is-done::after { animation: k-sheen 1.4s var(--ease-out) both; }
.c-money__l { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.c-money__v {
  display: flex; align-items: baseline; flex-wrap: nowrap; gap: 0.18em; margin-top: 10px;
  font: 800 clamp(30px, calc(100cqi / var(--len, 16) * 2.2), 60px)/1 var(--f-display); letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink);
  text-shadow: 0 0 32px rgb(var(--core-rgb) / 0.55);
}
.c-money__v > span[data-count] { display: inline-block; text-align: left; }
.c-money__dash { color: var(--mute); font-weight: 600; }
.c-money__upto { font-size: 0.5em; font-weight: 700; color: var(--ink-2); letter-spacing: -0.01em; margin-right: 0.1em; }
.c-money__cur { font-size: 0.46em; font-weight: 700; color: var(--core-hi); letter-spacing: -0.01em; text-shadow: none; }
.c-money__s { margin-top: 10px; font-size: 15px; color: var(--mute); }
.c-money__s b { color: var(--ink); }
.c-money__year { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--mute); }
.c-money__year b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.c-money--ok { border-color: rgb(var(--ok-rgb) / 0.4); background: radial-gradient(90% 120% at 50% -30%, rgb(var(--ok-rgb) / 0.26), transparent 62%), var(--bg-2); box-shadow: 0 30px 70px -40px rgb(var(--ok-rgb) / 0.7), var(--shadow-1); }
.c-money--ok .c-money__v { text-shadow: 0 0 32px rgb(var(--ok-rgb) / 0.4); }
.c-money--ok .c-money__cur { color: var(--ok); }

/* bars: today vs. a well made web */
.c-bars { display: grid; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.c-bars__h { font: 700 16px/1.3 var(--f-display); letter-spacing: -0.012em; }
.c-bar { display: grid; gap: 8px; }
.c-bar__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; color: var(--ink-2); }
.c-bar__top b { font: 800 18px/1 var(--f-display); letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.c-bar--pot .c-bar__top b { color: var(--core-hi); }
.c-bar__track { position: relative; height: 12px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.c-bar__track i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform 1100ms var(--ease-out); }
.c-bars.is-in .c-bar__track i { transform: scaleX(1); }
.c-bar__now { background: linear-gradient(90deg, #6f6a63, #a39d94); }
.c-bar__hi { background: repeating-linear-gradient(135deg, rgb(var(--core-rgb) / 0.42) 0 6px, rgb(var(--core-rgb) / 0.22) 6px 12px); transition-delay: 380ms !important; }
.c-bar__lo { background: linear-gradient(90deg, var(--core), var(--core-hi)); box-shadow: 0 0 14px rgb(var(--core-rgb) / 0.7); transition-delay: 260ms !important; }
.c-bars__note { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--mute); }
.c-bars__note .k-ic { width: 16px; height: 16px; margin-top: 2px; flex: none; }

/* "Jak jsme to spočítali" */
.c-how > summary { min-height: 60px; }
.c-how__s { display: inline-flex; align-items: center; gap: 12px; }
.c-how__s .k-ic { width: 20px; height: 20px; color: var(--core-hi); transform: none !important; }
.c-formula {
  padding: 12px 14px; border-radius: var(--r-sm); background: rgb(var(--core-rgb) / 0.08); border: 1px dashed rgb(var(--core-rgb) / 0.35);
  font-size: 14.5px; line-height: 1.5; color: var(--ink); font-variant-numeric: tabular-nums; word-spacing: 0.04em;
}
.c-rows { display: grid; gap: 0; counter-reset: c-row; }
.c-row { position: relative; display: grid; gap: 6px; padding: 12px 0 12px 34px; border-top: 1px solid var(--line); counter-increment: c-row; }
.c-row::before {
  content: counter(c-row); position: absolute; left: 0; top: 13px; width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 7px; background: var(--surface-2); font-size: 12px; font-weight: 700; color: var(--mute); font-variant-numeric: tabular-nums;
}
.c-row--sum::before { content: "="; background: rgb(var(--core-rgb) / 0.16); color: var(--core-hi); }
.c-row__main { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.c-row__l { font-size: 15px; line-height: 1.4; color: var(--ink); }
.c-row__v { flex: none; max-width: 52%; text-align: right; font-weight: 700; font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.c-row__sub { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.c-row__n { font-size: 13.5px; line-height: 1.45; color: var(--mute); }
.c-row--result { margin-top: 6px; padding: 14px 14px 14px 46px; border: 1px solid rgb(var(--core-rgb) / 0.4); border-radius: var(--r-sm); background: rgb(var(--core-rgb) / 0.1); }
.c-row--result::before { left: 12px; top: 15px; background: var(--core); color: #fff; }
.c-row--result .c-row__main { flex-direction: column; align-items: flex-start; gap: 4px; }
.c-row--result .c-row__v { max-width: none; text-align: left; color: var(--core-hi); font: 800 20px/1.25 var(--f-display); letter-spacing: -0.02em; }
.c-tag { display: inline-flex; align-items: center; min-height: 20px; padding: 0 7px; border-radius: 6px; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; }
.c-tag.is-answer { background: var(--surface-2); color: var(--ink-2); }
.c-tag.is-assume { background: rgb(var(--warn-rgb) / 0.14); color: var(--warn); }
.c-tag.is-calc { background: rgb(var(--core-rgb) / 0.14); color: var(--core-hi); }
.c-tag.is-result { background: var(--core); color: #fff; }
.c-how__foot { font-size: 13.5px; line-height: 1.55; color: var(--mute); }
.c-assumed { display: flex; gap: 10px; align-items: flex-start; margin-top: -10px; font-size: 14px; line-height: 1.45; color: var(--mute); }
.c-assumed .k-ic { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--warn); }

/* recommended path */
.c-path {
  display: grid; gap: 16px; padding: 20px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.035), rgb(255 255 255 / 0.01)), var(--bg-2);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-1);
}
.c-path__head { display: flex; gap: 14px; align-items: center; }
.c-path__ic {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 16px; color: #fff;
  background: radial-gradient(120% 120% at 25% 15%, rgb(255 255 255 / 0.26), transparent 45%), var(--core-fill);
  box-shadow: 0 14px 30px -14px rgb(var(--core-rgb) / 0.9), inset 0 0 0 1px rgb(160 190 255 / 0.4);
}
.c-path__ic .k-ic { width: 26px; height: 26px; }
.c-path__t { font: 800 20px/1.2 var(--f-display); letter-spacing: -0.02em; }
.c-path__meta { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 5px; font-size: 15px; color: var(--ink-2); }
.c-path__meta b { color: var(--ink); font-weight: 700; }
.c-path__meta span[aria-hidden] { color: var(--faint); }
.c-path__why { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.c-path__list { display: grid; gap: 10px; }
.c-path__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--ink); }
.c-path__list .k-ic { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--ok); stroke-width: 2.4; }
.c-path__note { font-size: 13.5px; line-height: 1.5; color: var(--mute); }
.c-vs { container-type: inline-size; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border-radius: var(--r); background: var(--line-2); border: 1px solid var(--line-2); }
.c-vs__col { display: grid; gap: 4px; align-content: start; padding: 14px; background: var(--bg-2); }
.c-vs__l { font-size: 13px; line-height: 1.35; color: var(--mute); }
.c-vs__v { white-space: nowrap; font: 800 clamp(16px, 5.6cqi, 20px)/1.15 var(--f-display); letter-spacing: -0.025em; font-variant-numeric: tabular-nums; color: var(--ink); }
.c-vs__col--loss .c-vs__v { color: var(--bad); }
.c-vs__s { font-size: 13px; color: var(--mute); }

/* alternatives */
.c-alts { display: grid; gap: 12px; }
.c-alts ul { display: grid; gap: 8px; }
.c-alt { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.c-alt__ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); }
.c-alt__ic .k-ic { width: 20px; height: 20px; }
.c-alt__t { font-weight: 650; font-size: 15.5px; line-height: 1.3; }
.c-alt__f { margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: var(--mute); }
.c-alt__p { display: grid; justify-items: end; gap: 2px; text-align: right; }
.c-alt__p b { font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.c-alt__p span { font-size: 12.5px; color: var(--mute); white-space: nowrap; }

/* booking CTA */
.c-cta { display: grid; gap: 14px; padding: 24px 20px 20px; }
.c-cta__ic {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: #fff;
  background: radial-gradient(120% 120% at 25% 15%, rgb(255 255 255 / 0.26), transparent 45%), var(--core-fill);
  box-shadow: 0 14px 30px -14px rgb(var(--core-rgb) / 0.9), inset 0 0 0 1px rgb(160 190 255 / 0.4);
}
.c-cta__ic .k-ic { width: 24px; height: 24px; }
.c-cta .k-btn { margin-top: 4px; }
.c-sent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.c-sent .k-ic { width: 19px; height: 19px; flex: none; margin-top: 1px; color: var(--ok); }
.c-sent b { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.c-again { justify-self: center; }
.c-dock { transition: opacity var(--d) var(--ease), transform var(--d) var(--ease); }
.c-dock.is-away { opacity: 0; transform: translateY(16px); pointer-events: none; }
/* desktop: the booking CTA stays reachable too (the shared dock turns static there) */
@media (min-width: 760px) {
  .c-dock { position: sticky; bottom: 0; padding: 28px var(--pad) 24px; background: linear-gradient(to top, var(--bg) 58%, rgb(var(--bg-rgb) / 0)); }
}

/* ================================================================ booking */
.c-booking .k-q-sub { max-width: 30em; }
.c-cal { display: grid; gap: 18px; margin-top: 26px; }
.c-days { margin: 0 calc(-1 * var(--pad)); padding: 4px var(--pad) 8px; scroll-padding-left: var(--pad); }
.c-day { position: relative; }
.c-day.k-day { width: 62px; min-height: 76px; }
.c-day[aria-pressed="true"] .k-day__d { color: #fff; }
.c-day__skel, .c-day--skel { flex: none; width: 62px; height: 76px; border: 0; border-radius: 14px; }
.c-day[disabled] .k-day__m { font-weight: 600; }
.c-times { min-height: 150px; }
.c-times.is-in { animation: k-rise 360ms var(--ease-out) both; }
.c-times__day { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; font: 700 17px/1.3 var(--f-display); letter-spacing: -0.012em; }
.c-times__day span { font: 400 13.5px/1.3 var(--f-text); color: var(--mute); letter-spacing: 0; }
.c-times__g + .c-times__g { margin-top: 14px; }
.c-times__h { margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--mute); }
.c-times__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.c-time { width: 100%; padding: 0 6px; }
.c-time--skel { height: 46px; border-radius: var(--r-sm); }
.c-times__empty { display: flex; gap: 8px; align-items: center; color: var(--mute); font-size: 15px; }
.c-times__empty .k-ic { width: 18px; height: 18px; transform: rotate(90deg); }
.c-tz { display: flex; gap: 8px; align-items: center; }
.c-tz .k-ic { width: 16px; height: 16px; }
.c-bookform { margin-top: 26px; }
.c-bookdock { padding-top: 30px; background: linear-gradient(to top, var(--bg) 72%, rgb(var(--bg-rgb) / 0)); }
.c-bookform .k-legal { margin-top: 2px; }
@media (min-width: 560px) {
  .c-times__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  /* wide screens: all ten working days at once, two rows of five, no sideways scrolling with a mouse */
  .c-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; overflow: visible; margin: 0; padding: 0; }
  .c-day.k-day, .c-day--skel { width: auto; min-height: 72px; }
}

/* ================================================================ confirmation */
.c-done { display: grid; gap: 22px; padding-bottom: 28px; }
.c-done__badge {
  position: relative; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: radial-gradient(120% 120% at 25% 15%, rgb(255 255 255 / 0.3), transparent 45%), linear-gradient(160deg, #4fe0a0, #22a96b);
  box-shadow: 0 22px 50px -14px rgb(var(--ok-rgb) / 0.7), inset 0 0 0 1px rgb(180 255 220 / 0.35);
  animation: k-pop 620ms var(--spring) both;
}
.c-done__badge .k-ic { width: 38px; height: 38px; stroke-width: 2.6; stroke-dasharray: 24; animation: c-draw 600ms var(--ease-out) 260ms both; }
.c-done__badge::before, .c-done__badge::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1.5px solid rgb(var(--ok-rgb) / 0.6); animation: k-ring 1600ms var(--ease-out) 260ms both; }
.c-done__badge::after { animation-delay: 620ms; }
@keyframes c-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
.c-done .k-lead b { color: var(--ink); font-weight: 600; }
.c-ticket {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); overflow: hidden; border-radius: var(--r-lg);
  background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: var(--shadow-2);
  animation: k-rise 560ms var(--ease-out) 160ms both;
}
.c-ticket__date {
  display: grid; justify-items: center; align-content: center; gap: 2px; padding: 16px 8px; text-align: center; color: #fff;
  background: radial-gradient(120% 120% at 25% 15%, rgb(255 255 255 / 0.22), transparent 50%), var(--core-fill);
}
.c-ticket__w { font-size: 13px; font-weight: 600; text-transform: lowercase; opacity: 0.88; }
.c-ticket__d { font: 800 40px/1 var(--f-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.c-ticket__m { font-size: 13px; font-weight: 600; opacity: 0.88; }
.c-ticket__info { display: grid; align-content: center; gap: 8px; padding: 16px 18px; border-left: 1px dashed var(--line-2); }
.c-ticket__time { font: 800 30px/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.c-ticket__time span { font-size: 0.6em; color: var(--mute); font-weight: 700; }
.c-ticket__info > span { display: flex; gap: 8px; align-items: center; font-size: 14.5px; color: var(--ink-2); }
.c-ticket__info > span .k-ic { width: 17px; height: 17px; color: var(--mute); }
.c-done__actions { display: grid; gap: 10px; }
.c-done__actions .k-btn--primary .k-ic { width: 20px; height: 20px; }
.c-prep { gap: 4px; }
.c-done__change { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 4px; font-size: 15px; color: var(--mute); }
.c-done__change .k-btn--text { padding: 0 4px; }
.c-done__back { justify-self: center; margin-top: -14px; }

@media (min-width: 760px) {
  .c-money { padding: 26px 28px 24px; }
  .c-cta { padding: 28px 26px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .c-bar__track i { transform: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------- funnel D additions */
.d-ex .c-alt { grid-template-columns: 40px minmax(0, 1fr); align-items: start; }
.d-ex .c-alt__ic { color: var(--core, #1a5cff); }
.d-nofit .c-cta__ic { background: var(--surface-2); box-shadow: none; color: var(--ink-2); }

/* loss framing: the yearly cost in red, everyday equivalents, then the win */
.d-loss {
  border-color: rgb(var(--bad-rgb) / 0.45);
  background: radial-gradient(90% 120% at 50% -30%, rgb(var(--bad-rgb) / 0.30), transparent 62%), linear-gradient(180deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.01)), var(--bg-2);
  box-shadow: 0 30px 70px -40px rgb(var(--bad-rgb) / 0.85), var(--shadow-1);
}
.d-loss .c-money__v { color: #ffe9e5; text-shadow: 0 0 36px rgb(var(--bad-rgb) / 0.6); }
.d-loss .c-money__cur { color: var(--bad); }
.d-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.d-fact { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: rgb(var(--bad-rgb) / 0.10); border: 1px solid rgb(var(--bad-rgb) / 0.22); }
.d-fact b { font: 800 20px/1.15 var(--f-display); letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.d-fact span { font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.d-win { display: flex; gap: 12px; align-items: center; margin-top: 12px; padding: 14px; border-radius: 14px; background: rgb(var(--ok-rgb) / 0.12); border: 1px solid rgb(var(--ok-rgb) / 0.3); }
.d-win > .k-ic { width: 24px; height: 24px; flex: none; color: var(--ok); }
.d-win span { display: block; font-size: 13px; color: var(--ink-2); }
.d-win b { display: block; margin-top: 2px; font: 800 18px/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--ok); }

/* gate: the amount is shown in full as the hook */
.d-teaser { border-color: rgb(var(--bad-rgb) / 0.45); background: radial-gradient(120% 140% at 0% 0%, rgb(var(--bad-rgb) / 0.22), transparent 60%), var(--bg-2); }
.d-teaser .c-teaser__v { filter: none; -webkit-mask-image: none; mask-image: none; user-select: auto; color: #ffe9e5; font-size: clamp(26px, 8vw, 34px); }
.d-teaser__s { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.d-teaser .c-teaser__lock { top: 18px; transform: none; background: var(--bad); box-shadow: 0 10px 24px -10px rgb(var(--bad-rgb) / 0.9); }

/* slider calculator */
.d-calc { display: grid; gap: 18px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); }
.d-calc__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.d-calc__reset { font-size: 13.5px; white-space: nowrap; }
.d-sl { display: grid; gap: 8px; }
.d-sl__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; color: var(--ink-2); }
.d-sl__top b { font: 800 18px/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.d-sl__track { position: relative; height: 28px; display: flex; align-items: center; }
.d-sl__def { position: absolute; left: calc(13px + (100% - 26px) * var(--def)); top: 50%; width: 3px; height: 18px; margin: -9px 0 0 -1.5px; border-radius: 2px; background: var(--core-hi); opacity: 0.85; pointer-events: none; }
.d-sl input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 0; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--core) 0 var(--fill, 50%), var(--surface-2) var(--fill, 50%) 100%);
}
.d-sl input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; position: relative; z-index: 1;
  background: #f2f1ee; border: 4px solid var(--core); box-shadow: 0 6px 16px -6px rgb(var(--core-rgb) / 0.9);
}
.d-sl input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #f2f1ee; border: 4px solid var(--core); }
.d-sl input[type=range]:focus-visible { box-shadow: 0 0 0 3px rgb(var(--core-rgb) / 0.35); }
.d-sl__tag { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--mute); }
.d-sl__dot { width: 3px; height: 12px; border-radius: 2px; background: var(--core-hi); }
.d-calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.d-calc__out > div { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.d-calc__out span { font-size: 13px; color: var(--ink-2); }
.d-calc__out b { font: 800 20px/1.15 var(--f-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.d-calc__bad { color: var(--bad); }
.d-calc__ok { color: var(--ok); }

/* slider cards: each value is its own solid dark box */
.d-calc { gap: 12px; padding: 0; background: none; border: 0; }
.d-calc__head { padding: 0 2px 4px; }
.d-sl {
  gap: 12px; padding: 18px 18px 16px; border-radius: 20px;
  background: linear-gradient(180deg, #0f0e0d, #0a0908);
  border: 1px solid rgb(255 255 255 / 0.08);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 18px 40px -24px rgb(0 0 0 / 0.9);
}
.d-sl__top { font-size: 14px; font-weight: 600; letter-spacing: 0.01em; color: var(--ink-2); }
.d-sl__top b { font-size: 26px; letter-spacing: -0.03em; color: #fff; text-shadow: 0 0 24px rgb(var(--core-rgb) / 0.45); }
.d-sl input[type=range] { height: 10px; background: linear-gradient(90deg, var(--core-hi), var(--core) var(--fill, 50%), #23201d var(--fill, 50%) 100%); box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.6); }
.d-sl__tag { padding-top: 10px; border-top: 1px solid rgb(255 255 255 / 0.06); }
.d-calc__out { margin-top: 0; }
.d-calc__out > div { padding: 16px; border-radius: 20px; background: linear-gradient(180deg, #0f0e0d, #0a0908); border: 1px solid rgb(255 255 255 / 0.08); }
.d-calc__out > div:first-child { border-color: rgb(var(--bad-rgb) / 0.35); box-shadow: inset 0 0 40px -20px rgb(var(--bad-rgb) / 0.6); }
.d-calc__out > div:last-child { border-color: rgb(var(--ok-rgb) / 0.35); box-shadow: inset 0 0 40px -20px rgb(var(--ok-rgb) / 0.6); }
.d-calc__out b { font-size: 22px; }

/* ------------------------------------------------------------------ v2 (21. 10. 2026) */
/* first screen: longer headline, the audience line wraps instead of running off the screen */
.k-step--hero .k-q-title { font-size: clamp(28px, 7.2vw, 40px); }
.k-step--hero .k-q-title .k-hl { white-space: normal; }
.k-step--hero .k-meta > span { white-space: normal; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.k-step--hero .k-meta .k-ic { margin-top: 1px; flex: none; }
/* no 1, 2, 3 keyboard hints on the options */
.k-opt__key { display: none !important; }
/* question 3: second, quieter line under the subtitle */
.k-q-sub .d-sub2 { display: block; margin-top: 6px; font-size: 14.5px; color: var(--mute); }
/* gate: one line under the number instead of the two bullets */
.d-gate-lead { display: block; margin-top: 16px; font-size: 16px; line-height: 1.5; color: var(--ink); font-weight: 500; text-wrap: pretty; }
/* first question on phones: 9 fields in two columns; a single tap moves on, so the round mark gives way to the label */
@media (max-width: 440px) {
  .k-step--hero .k-options--grid .k-opt { padding-right: 10px; gap: 9px; }
  .k-step--hero .k-options--grid .k-opt__ic { width: 34px; height: 34px; }
  .k-step--hero .k-options--grid .k-opt__mark { display: none; }
}
/* the longer gate CTA stays on one line on phones */
@media (max-width: 420px) { .k-gate .k-dock .k-btn--primary { font-size: 15.5px; letter-spacing: -0.01em; padding-left: 16px; padding-right: 16px; } }
