/* ==========================================================================
   Landing page /nabor · Test AI dovedností pro kandidáty
   ========================================================================== */

.nowrap { white-space: nowrap; }
.hint-touch { display: none; }
@media (hover: none) { .hint-desk { display: none; } .hint-touch { display: inline; } }

/* ---------- HERO (společné) ---------- */
.hero { position: relative; padding: clamp(118px, 11vw, 164px) 0 clamp(56px, 6vw, 104px); overflow: clip; }
.hero[hidden] { display: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(36px, 5vw, 84px); align-items: center; }
.hero-copy .d1 { font-size: clamp(46px, 1.4rem + 4.2vw, 92px); margin: 20px 0 24px; }
.hero-copy .lead { max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 26px; }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- HERO A · lentikulární karta ---------- */
.hero-a { background:
  radial-gradient(1200px 520px at 50% 100%, rgb(241 236 255 / .9), transparent 70%),
  var(--paper); }
.hero-a .hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: clamp(28px, 3.4vw, 52px); }
.hero-a .hero-copy { display: grid; justify-items: center; }
.hero-a .hero-copy .d1 { font-size: clamp(48px, 1.2rem + 5.2vw, 112px); margin: 16px 0 20px; }
.hero-a .lead { margin-inline: auto; max-width: 42rem; }
.hero-a .hero-act { display: grid; justify-items: center; }
.hero-a .cta-row, .hero-a .ticks { justify-content: center; }
.hero-a .cta-row { margin: 4px 0 18px; }
.hero-a { padding-top: clamp(104px, 9vw, 132px); }
.hero-a .hero-copy .lead { max-width: 46rem; }
/* fráze ze životopisu jako první řádek nadpisu: stejné písmo, menší stupeň, limetkové zvýraznění jako na kartách */
.h-q { display: block; margin: 0 0 .34em; font-size: .56em; line-height: 1; letter-spacing: -.02em; }
.h-q span { background: linear-gradient(transparent 62%, var(--lime) 62%); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.lenti { margin: 0; width: min(1000px, 100%); display: grid; justify-items: center; gap: 18px; }
.lenti-stage {
  position: relative; width: 100%; aspect-ratio: 16 / 7.6; perspective: 1500px;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.lenti-card {
  position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 22px;
  transform-style: preserve-3d; will-change: transform;
  box-shadow: 0 0 0 1px rgb(27 27 27 / .07);
}
.lenti-shadow {
  position: absolute; left: 6%; right: 6%; bottom: -5%; height: 26%; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(32 21 71 / .38), transparent);
  filter: blur(14px); will-change: transform; pointer-events: none;
}
.lenti-tilt {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--ink-inv); font-size: 14px; font-weight: 600;
}
.lenti-tilt svg { width: 18px; height: 18px; }
.lenti-scale { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.lenti-scale button {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500; color: var(--ink-2); background: rgb(255 255 255 / .6);
  box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s var(--ease), color .3s, box-shadow .3s;
}
.lenti-scale button:hover { background: var(--card); color: var(--ink); }
.lenti-scale button[aria-pressed="true"] { background: var(--ink); color: var(--ink-inv); box-shadow: none; }
.lenti-scale button.is-cv { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.lenti-cap { font-size: 15px; color: var(--ink-3); max-width: 38rem; text-align: center; }
@media (max-width: 720px) {
  .lenti-stage { aspect-ratio: 4 / 3.7; }
  .lenti-scale button { height: 34px; padding: 0 10px; font-size: 13px; }
}

/* ---------- HERO C · lupa ---------- */
.hero-c { background:
  radial-gradient(900px 520px at 80% 40%, rgb(219 211 244 / .75), transparent 70%),
  var(--paper); }
.hero-c .d1-c { font-size: clamp(40px, 1.2rem + 3.5vw, 76px); }
.desk-wrap { display: grid; gap: 14px; justify-items: center; }
.desk { position: relative; width: min(640px, 100%); aspect-ratio: 620 / 520; cursor: none; touch-action: pan-y; }
@media (hover: none) { .desk { cursor: default; } }
.layer { position: absolute; inset: 0; }
.layer.base { z-index: 1; }
.layer.reveal { z-index: 2; }
/* vějíř tří životopisů: prostřední leží nahoře, z krajních je vidět vnější polovina a text je právě v ní */
.cv {
  /* pevná šířka i výška v % plochy (620 × 520, karta 3 : 4): papír i odhalení mají v každém prohlížeči stejný box */
  position: absolute; width: 50%; height: 79.5%; box-sizing: border-box; padding: 6% 5.5%; border-radius: 10px;
  background: #fff; box-shadow: 0 0 0 1px rgb(27 27 27 / .08), 0 24px 40px -24px rgb(27 27 27 / .4);
  font-size: clamp(10px, 1.9vw, 13.5px); line-height: 1.3; overflow: hidden;
}
.cv-1 { left: -1%; top: 10%; transform: rotate(-6deg); }
.cv-2 { left: 25%; top: 2%;  transform: rotate(1.5deg); z-index: 2; }
.cv-3 { left: 51%; top: 12%; transform: rotate(6deg); }
.base .cv:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
.cv-name { font-family: var(--display); font-weight: 600; font-size: 1.45em; line-height: 1.1; margin: 0 0 3px; }
.cv-role { color: var(--ink-3); margin: 0 0 1em; }
.cv-lines { display: grid; gap: .6em; border-top: 1px solid var(--line); padding-top: .9em; }
.cv-lines li { display: grid; gap: .1em; }
.cv-lines span { font-family: var(--mono); font-size: .74em; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.cv-lines .ai { font-weight: 600; }
.cv-lines .ai::after { content: ""; display: block; height: .5em; margin-top: -.55em; background: rgb(230 255 58 / .9); position: relative; z-index: -1; }
.base .cv-1 > *, .base .cv-1 .cv-bars { margin-right: 58%; }
.base .cv-3 { text-align: right; }
.base .cv-3 > * { margin-left: 56%; }
.cv-bars { position: absolute; left: 10%; right: 10%; bottom: 8%; height: 20%; opacity: .5;
  background: repeating-linear-gradient(180deg, var(--paper-3) 0 7px, transparent 7px 16px); border-radius: 3px; }
.base .cv-1 .cv-bars { right: 58%; margin: 0; }
.base .cv-3 .cv-bars { left: 58%; margin: 0; }
/* pod lupou: stejná karta, výsledek testu leží přesně ve viditelné části */
.work { color: #fff; box-shadow: none; }
.work.lvl-0 { color: var(--ink); background: linear-gradient(160deg, #E7DEFF, var(--l0)); }
.work.lvl-1 { color: var(--ink); background: linear-gradient(160deg, #C9B7FB, var(--l1)); }
.work.lvl-2 { background: linear-gradient(160deg, #6E4BD0, var(--l2)); }
.cw { position: absolute; left: 8%; right: 8%; top: 50%; transform: translateY(-50%); display: grid; gap: .5em; }
.work.cv-1 .cw { right: 58%; }
.work.cv-3 { text-align: right; }
.work.cv-3 .cw { left: 58%; justify-items: end; }
.cw-l { display: flex; align-items: center; gap: .5em; font-family: var(--mono); font-size: .86em; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.cw-l .lvl-dot { background: var(--lime); box-shadow: 0 0 0 1px rgb(27 27 27 / .2); }
.cw-s { margin: .3em 0 .1em; font-family: var(--mono); font-size: .8em; opacity: .85; display: grid; }
.cw-s b { font-family: var(--display); font-size: 3.4em; line-height: 1; letter-spacing: -.02em; }
.cw-t { font-size: 1.1em; line-height: 1.35; margin: 0; font-weight: 500; }
.reveal { clip-path: circle(0px at 50% 50%); pointer-events: none; }
.lens {
  position: absolute; left: 0; top: 0; width: 204px; height: 204px; margin: -102px 0 0 -102px; border-radius: 50%;
  pointer-events: none; opacity: 0; z-index: 3; transform: translate3d(var(--lx, 50%), var(--ly, 50%), 0) scale(.7);
  box-shadow: 0 0 0 3px var(--lime), 0 0 0 4px rgb(27 27 27 / .35), 0 18px 40px -8px rgb(32 21 71 / .5);
  transition: opacity .35s var(--ease), transform .45s var(--out);
}
.lens span { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); white-space: nowrap; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--lime); padding: 4px 8px; border-radius: 6px; }
.desk.on .lens { opacity: 1; transform: translate3d(var(--lx, 50%), var(--ly, 50%), 0) scale(1); transition: opacity .35s var(--ease), transform 0s; }
.desk-note { font-size: 13.5px; color: var(--ink-3); margin: 0; text-align: center; max-width: 34rem; }
/* mobil: životopisy pod sebou, další karta překryje jen spodní ozdobné řádky předchozí */
@media (max-width: 640px) {
  .desk { aspect-ratio: 343 / 815; }
  .cv { width: 66%; height: 33.3%; font-size: 11px; }
  .cv-1 { left: 0;   top: 0;     transform: rotate(-2.5deg); }
  .cv-2 { left: 34%; top: 32.6%; transform: rotate(2deg); }
  .cv-3 { left: 3%;  top: 65.2%; transform: rotate(-2deg); z-index: 3; }
  .base .cv-1 > *, .base .cv-3 > * { margin-left: 0; margin-right: 0; }
  .base .cv-3 { text-align: left; }
  .base .cv-1 .cv-bars, .base .cv-3 .cv-bars { left: 10%; right: 10%; }
  .cv-bars { height: 14%; }
  .work.cv-1 .cw, .work.cv-3 .cw { left: 8%; right: 8%; }
  .work.cv-3 { text-align: left; }
  .work.cv-3 .cw { justify-items: start; }
}

/* ---------- 1 · problém ---------- */
.s-wide { padding-top: clamp(64px, 6vw, 110px); }
.wide-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.wide-grid .d2 { margin-top: 18px; max-width: 16ch; }
.wide-copy .lead { margin: 0; }
.dots-fig { grid-column: 1 / -1; margin: clamp(32px, 4vw, 56px) 0 0; }
.dots { position: relative; height: 64px; }
.dots i {
  position: absolute; left: 0; top: 0; width: var(--ds); height: var(--ds); border-radius: 50%;
  background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line-2);
  transform: translate3d(var(--x), var(--y), 0);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), transform 1s var(--out);
}
.dots i.c { box-shadow: none; }
.dots i.l0 { box-shadow: inset 0 0 0 1px rgb(89 56 183 / .25); }
.dots-legend { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 22px 0 10px; font-size: 15px; color: var(--ink-2); }
.dots-legend span { display: inline-flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(6px); transition: opacity .6s var(--out), transform .6s var(--out); }
.dots-fig.done .dots-legend span { opacity: 1; transform: none; }
.dots-fig.done .dots-legend span:nth-child(2) { transition-delay: .08s; }
.dots-fig.done .dots-legend span:nth-child(3) { transition-delay: .16s; }
.dots-legend b { font-family: var(--display); font-size: 18px; color: var(--ink); }
.dots-fig figcaption { font-size: 15px; color: var(--ink-2); max-width: 52rem; }
.dots-k { font-weight: 600; color: var(--ink); }
.dots-fig .src { display: block; margin-top: 6px; }
@media (max-width: 860px) { .wide-grid { grid-template-columns: 1fr; } .dots { height: 132px; } }

/* ---------- 2 · jak to funguje: tři kroky a kam odkaz vložit ---------- */
.s-how { background: var(--paper); }
.s-card { background: var(--paper-2); }
.how-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.how-head .d2 { margin-top: 18px; max-width: 17ch; }
.how-head .lead { margin: 0; }
.steps { margin-top: clamp(44px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 1px; background: var(--line-2); }
.steps li { position: relative; }
.steps .n { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 500; }
.steps li:last-child .n { background: var(--lime); }
.steps h3 { font-family: var(--display); font-size: 21px; margin: 18px 0 6px; }
.steps p { font-size: 15px; color: var(--ink-2); margin: 0; }

/* kam odkaz vložit: tři zprávy výběrového řízení, tečky jsou lidé, kteří zprávu dostanou */
.place {
  margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  grid-template-areas: "head head" "funnel copy" "key copy" "out copy"; column-gap: clamp(24px, 3.4vw, 52px);
  padding: clamp(22px, 3vw, 44px); border-radius: var(--r-xl); background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--sh-2);
}
.place-head { grid-area: head; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; padding-bottom: clamp(20px, 2.4vw, 30px); margin-bottom: 58px; border-bottom: 1px solid var(--line); }
.place-head p { margin: 0; max-width: 36rem; color: var(--ink-2); font-size: 15.5px; }
.funnel { grid-area: funnel; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fs {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-height: 292px; padding: 16px 16px 18px;
  border-radius: var(--r-lg); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .6s var(--out), box-shadow .35s var(--out);
}
.fs:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.fs.t { background: var(--lilac); box-shadow: inset 0 0 0 1px rgb(89 56 183 / .16); }
.fs[aria-checked="true"], .fs[aria-checked="true"]:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.fs-k { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.15; }
.fs-n { font-size: 13.5px; line-height: 1.35; color: var(--ink-3); margin-top: 4px; }
.fs-n b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.fs-dots { --ds: 12px; --dg: 7px; margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap-reverse; gap: var(--dg); width: calc(8 * var(--ds) + 7 * var(--dg)); max-width: 100%; }
.fs-dots i {
  width: var(--ds); height: var(--ds); border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); background: transparent;
  transition: background-color .5s var(--out), box-shadow .5s var(--out), transform .6s var(--out); transition-delay: var(--dl, 0s);
}
.fs.t .fs-dots i { background: var(--c); box-shadow: inset 0 0 0 0 transparent; }
.pin {
  position: absolute; left: 0; top: -46px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px;
  border-radius: var(--r-pill); background: var(--lime); color: var(--ink); font-size: 13.5px; font-weight: 600;
  box-shadow: 0 0 0 1px rgb(27 27 27 / .16), 0 8px 18px -10px rgb(90 110 0 / .7);
  transform: translateX(var(--px, 0px)); transition: transform .7s var(--out), opacity .4s var(--out);
}
.pin::after { content: ""; position: absolute; left: 18px; bottom: -6px; width: 10px; height: 10px; background: var(--lime); transform: rotate(45deg); box-shadow: 1px 1px 0 rgb(27 27 27 / .16); }
.pin svg { width: 15px; height: 15px; }
.place:not(.ready) .pin { opacity: 0; }
.funnel-key { grid-area: key; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; color: var(--ink-3); }
.funnel-key span { display: inline-flex; align-items: center; gap: 7px; }
.funnel-key i { width: 10px; height: 10px; border-radius: 50%; }
.k-cv { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.k-t { background: linear-gradient(90deg, var(--l0) 50%, var(--l2) 50%); }
.funnel-key .muted { margin-left: auto; }
.place-out { grid-area: out; margin-top: 26px; }
.po { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1.5px solid var(--ink); }
.po div { padding: 14px 16px 0 0; }
.po div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.po dt { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.po dd { margin: 0; font-size: 16px; line-height: 1.35; font-weight: 500; }
.po dd b { display: block; font-family: var(--display); font-size: 36px; line-height: 1; font-weight: 600; margin-bottom: 4px; }
.po dd span { font-size: 13px; color: var(--ink-3); font-weight: 400; }
.po-fit { margin: 18px 0 0; font-size: 15px; color: var(--ink-2); }
.po-fit b { color: var(--ink); }
.place [data-o] { transition: opacity .22s var(--ease); }
.place.swap [data-o] { opacity: 0; }
.place-copy { grid-area: copy; display: flex; flex-direction: column; align-self: start; padding: 22px; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.pc-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; }
.pc-t { margin: 0 0 12px; }
.pc-link { margin: 0 0 18px; }
.pc-link span { display: inline-block; font-family: var(--mono); font-size: 13px; color: var(--ink); padding: 4px 8px; border-radius: 6px; background: var(--lime); }
.copy { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--violet); padding: 6px 0; border-bottom: 1.5px solid currentColor; }
.copy:hover { color: var(--ink); }
.pc-note { margin: 10px 0 0; }
@media (max-width: 1080px) {
  .place { grid-template-columns: 1fr; grid-template-areas: "head" "funnel" "key" "out" "copy"; }
  .place-copy { margin-top: 26px; }
}
@media (max-width: 860px) {
  .how-head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps::before { display: none; }
}
@media (max-width: 640px) {
  .place { padding: 18px 14px 20px; border-radius: var(--r-lg); }
  .place-head { margin-bottom: 52px; }
  .funnel { gap: 6px; }
  .fs { min-height: 236px; padding: 12px 10px 12px; border-radius: 14px; }
  .fs-k { font-size: 15px; }
  .fs-n { font-size: 12px; }
  .fs-dots { --ds: 7px; --dg: 4px; }
  .pin { font-size: 12.5px; height: 30px; }
  .funnel-key .muted { margin-left: 0; }
  .po { grid-template-columns: 1fr; border-top-width: 1px; }
  .po div, .po div + div { display: grid; grid-template-columns: 8.5em 1fr; gap: 10px; padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .po dt { margin: 3px 0 0; }
  .po dd b { font-size: 28px; }
}

/* ---------- 3 · karta kandidáta ---------- */
.card-head { display: grid; justify-items: center; text-align: center; }
.card-head .d2 { margin: 18px 0 20px; max-width: 18ch; }
.card-head .lead { margin: 0 auto 28px; }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: var(--r-pill); background: var(--paper-3); }
.seg button { position: relative; z-index: 1; height: 44px; padding: 0 22px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: color .35s var(--ease); }
.seg button[aria-checked="true"] { color: var(--ink-inv); }
.seg-pill { position: absolute; left: 5px; top: 5px; bottom: 5px; width: calc(50% - 5px); border-radius: var(--r-pill); background: var(--ink); transition: transform .55s var(--out); }
.seg.r .seg-pill { transform: translateX(100%); }
.pair { margin-top: clamp(36px, 4vw, 60px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .82fr); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.flip { perspective: 1600px; min-height: 452px; }
.flip-in { position: relative; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--out); }
.pair.res .flip-in { transform: rotateY(180deg); }
.pair.res .flip:nth-child(2) .flip-in { transition-delay: .09s; }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r-xl); padding: 26px; }
.front { background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--sh-2); display: flex; flex-direction: column; }
.f-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 20px; }
.f-cv { display: grid; gap: 0; margin-top: auto; }
.f-cv li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.f-cv li span { color: var(--ink-3); }
.f-cv .ai b { font-family: var(--display); font-size: clamp(24px, 2.2vw, 30px); line-height: 1; background: linear-gradient(transparent 60%, var(--lime) 60%); }
.back { transform: rotateY(180deg); background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--sh-2); display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.back::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--lv); }
.r-top { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; }
.r-top .f-k { margin: 0; grid-column: 1 / -1; }
.r-lvl { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 26px; font-weight: 600; margin: 0; }
.r-lvl .lvl-dot { width: 14px; height: 14px; background: var(--lv); }
.r-score { margin: 0; text-align: right; display: grid; }
.r-score b { font-family: var(--display); font-size: 40px; line-height: 1; }
.r-score span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.r-dl { display: grid; gap: 10px; margin: 0; }
.r-dl div { display: grid; grid-template-columns: 7.2em 1fr; gap: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.r-dl dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.r-dl dd { margin: 0; font-size: 14px; line-height: 1.45; }
.r-q { margin: auto 0 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--lilac); font-size: 14.5px; line-height: 1.45; font-weight: 500; }
.r-q span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); margin-bottom: 4px; font-weight: 500; }
.sees { padding: 26px; border-radius: var(--r-xl); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.sees h3 { font-family: var(--display); font-size: 19px; margin: 0 0 12px; }
.sees ul { display: grid; gap: 8px; margin-bottom: 22px; font-size: 15px; }
.sees li { display: flex; gap: 10px; align-items: baseline; }
.sees .yes li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); transform: translateY(-1px); }
.sees .no li { color: var(--ink-3); }
.sees .no li::before { content: "×"; font-family: var(--mono); color: var(--ink-3); }
.pair-note { margin-top: 18px; text-align: center; }
.inline-cta { margin: clamp(36px, 4vw, 56px) auto 0; max-width: 860px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  padding: 18px 18px 18px 26px; border-radius: var(--r-xl); background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--sh-1); }
.inline-cta p { margin: 0; font-size: 16px; color: var(--ink-2); max-width: 34rem; }
.inline-cta b { color: var(--ink); }
@media (max-width: 1080px) { .pair { grid-template-columns: 1fr 1fr; } .sees { grid-column: 1 / -1; } }
@media (max-width: 680px) { .pair { grid-template-columns: 1fr; } .flip { min-height: 470px; } }

/* ---------- 4 · metodika: pět oblastí jako škála od začátku po pokročilou práci ---------- */
.s-method { background: var(--lilac); }
.h-soft { color: var(--ink-3); }
.s-method .h-soft { color: rgb(27 27 27 / .5); }
.method-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.method-h { margin: 18px 0 0; max-width: 20ch; font-size: clamp(32px, 1.4rem + 2.2vw, 62px); }
.method-head .lead { margin: 0; }
.dims-t { display: grid; grid-template-columns: minmax(160px, 1.05fr) minmax(0, 1.25fr) minmax(0, 2.3fr) minmax(0, 1.5fr); border-top: 1.5px solid var(--ink); }
.dt-head, .dt-row { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; border-bottom: 1px solid rgb(27 27 27 / .12); }
.dt-head { padding: 14px 0 12px; align-items: end; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.dt-axis { display: flex; justify-content: space-between; font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.dt-axis span { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; width: 0; white-space: nowrap; }
.dt-axis span:first-child { align-items: flex-start; } .dt-axis span:last-child { align-items: flex-end; }
.dt-axis i { width: 10px; height: 10px; border-radius: 50%; background: var(--lv); }
.dt-row { padding: 18px 0; }
.dt-n { display: flex; align-items: baseline; gap: 12px; font-family: var(--display); font-size: 22px; font-weight: 600; }
.dt-n i { font-style: normal; font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--violet); }
.dt-head .dt-l, .dt-row .dt-l { text-align: right; padding-right: 20px; }
.dt-head .dt-r, .dt-row .dt-r { padding-left: 20px; }
.dt-row .dt-l { font-size: 15px; color: var(--ink-3); }
.dt-row .dt-r { font-size: 15px; font-weight: 500; color: var(--ink); }
.dt-bar { position: relative; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--l0), var(--l1) 36%, var(--l2) 68%, var(--l3)); transform-origin: left; }
.dt-bar::after { content: ""; position: absolute; right: -2px; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--l3); box-shadow: 0 0 0 3px var(--lilac); transform: translate(0, -50%); }
@media (prefers-reduced-motion: no-preference) {
  .dims-t .dt-bar { transform: scaleX(0); transition: transform 1.2s var(--out); }
  .dims-t.in .dt-bar { transform: none; }
  .dims-t.in .dt-row:nth-child(3) .dt-bar { transition-delay: .08s; }
  .dims-t.in .dt-row:nth-child(4) .dt-bar { transition-delay: .16s; }
  .dims-t.in .dt-row:nth-child(5) .dt-bar { transition-delay: .24s; }
  .dims-t.in .dt-row:nth-child(6) .dt-bar { transition-delay: .32s; }
}
.method-foot { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.notm h3 { font-family: var(--display); font-size: 20px; margin: 0 0 12px; }
.notm ul { display: grid; gap: 8px; font-size: 16px; color: var(--ink-2); }
.notm s { text-decoration-thickness: 1.5px; text-decoration-color: var(--violet); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.facts p { font-size: 15px; color: var(--ink-2); padding-top: 12px; border-top: 1px solid rgb(27 27 27 / .14); margin: 0; }
.facts b { display: block; color: var(--ink); }
.facts a { color: var(--violet); font-family: var(--mono); font-size: 12.5px; overflow-wrap: anywhere; }
@media (max-width: 960px) {
  .method-head { grid-template-columns: 1fr; }
  .method-foot { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .dims-t { grid-template-columns: 1fr 1fr; }
  .dt-head { grid-template-columns: 1fr 1fr; padding: 14px 0; }
  .dt-head > [role="columnheader"]:not(.dt-l):not(.dt-r) { display: none; }
  .dt-head .dt-l { order: 2; text-align: left; padding: 10px 0 0; } .dt-head .dt-r { order: 3; text-align: right; padding: 10px 0 0; }
  .dt-axis { grid-column: 1 / -1; order: 1; font-size: 12.5px; }
  .dt-row { grid-template-columns: 1fr 1fr; grid-template-areas: "n n" "bar bar" "l r"; row-gap: 10px; padding: 16px 0; }
  .dt-n { grid-area: n; font-size: 20px; }
  .dt-bar { grid-area: bar; }
  .dt-row .dt-l { grid-area: l; text-align: left; padding: 0 10px 0 0; font-size: 14px; }
  .dt-row .dt-r { grid-area: r; text-align: right; padding: 0 0 0 10px; font-size: 14px; }
  .facts { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- 5 · kandidát: čtyři kroky vlevo řídí obrazovky telefonu ---------- */
.cand-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 90px); align-items: center; }
.cand-copy .d2 { margin: 18px 0 clamp(26px, 3vw, 38px); max-width: 19ch; font-size: clamp(32px, 1.4rem + 2.2vw, 62px); }
.cj { display: grid; gap: 4px; margin: 0 0 28px; }
.cj button { position: relative; width: 100%; display: grid; grid-template-columns: 30px 1fr; gap: 14px; text-align: left; padding: 14px 18px 16px 12px; border-radius: var(--r-lg); overflow: hidden; transition: background-color .45s var(--out), box-shadow .45s var(--out); }
.cj button:hover { background: rgb(27 27 27 / .035); }
.cj button[aria-pressed="true"] { background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--sh-1); }
.cj-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color .45s var(--out), color .45s, box-shadow .45s; }
.cj [aria-pressed="true"] .cj-n { background: var(--ink); color: var(--ink-inv); box-shadow: none; }
.cj-t b { display: block; font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.2; color: var(--ink-2); padding-top: 3px; transition: color .45s; }
.cj [aria-pressed="true"] .cj-t b { color: var(--ink); }
.cj-t > span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); transition: color .45s; }
.cj [aria-pressed="true"] .cj-t > span { color: var(--ink-2); }
.cj-bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; border-radius: 2px; background: var(--violet); transform: scaleX(0); transform-origin: left; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .s-cand.inview .cj [aria-pressed="true"] .cj-bar { opacity: 1; animation: cjfill 5.2s linear forwards; }
}
@keyframes cjfill { to { transform: scaleX(1); } }
.tools { margin: 0 0 26px; }
.tool-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.tool-row li { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 10px; border-radius: var(--r-pill); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; }
.tool-row img { width: 20px; height: 20px; }
.tools p { margin: 0; }
.gain { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0 0 28px; }
.gain div { display: grid; grid-template-rows: subgrid; grid-row: span 2; gap: 6px; }
.gain dt { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.gain dd { margin: 0; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.gain dd b { display: block; color: var(--ink); }

.phone { justify-self: center; width: min(320px, 100%); aspect-ratio: 320 / 640; border-radius: 48px; padding: 12px; background: #16131F; box-shadow: var(--sh-3), inset 0 0 0 2px #2d2838; }
.phone-in { position: relative; height: 100%; border-radius: 38px; background: var(--paper); overflow: hidden; }
.phone-in::before { content: ""; position: absolute; z-index: 3; top: 12px; left: 50%; width: 96px; height: 26px; border-radius: 16px; background: #16131F; transform: translateX(-50%); }
.scr { position: absolute; inset: 0; padding: 56px 20px 22px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateX(16px); pointer-events: none; transition: opacity .45s var(--out), transform .7s var(--out); }
.scr.was { transform: translateX(-16px); }
.scr.on { opacity: 1; transform: none; }
.ph-top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); margin: 0; }
.ph-top img { width: 18px; height: 18px; }
.ph-h { font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.02; letter-spacing: -.02em; margin: 6px 0 0; }
.ph-h-s { font-size: 23px; margin: 0; }
.ph-p { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); margin: 0; }
.ph-k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 2px; }
.ph-k-top { color: var(--violet); margin: 0; }
.ph-field { margin-top: 8px; display: grid; gap: 3px; padding: 10px 12px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--violet); font-size: 13px; }
.ph-field span { font-size: 11px; color: var(--ink-3); }
.ph-field b { font-weight: 500; }
.ph-box { border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); padding: 12px 14px; font-size: 12.5px; line-height: 1.4; }
.ph-box p { margin: 0 0 9px; }
.ph-box p:last-child { margin: 0; }
.ph-box .ph-k { margin: 0 0 2px; }
.ph-check { display: flex; align-items: center; gap: 10px; font-size: 12.5px; margin: 2px 0 0; }
.ph-check span { position: relative; flex: none; width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--line-2); background: var(--card); transition: background-color .3s var(--out), box-shadow .3s; }
.ph-check span::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .35s var(--out); }
.ph-btn { margin: auto 0 0; height: 46px; border-radius: var(--r-pill); background: var(--violet); color: #fff; display: grid; place-items: center; font-size: 14.5px; font-weight: 600; transition: opacity .3s; }
.ph-fine { margin: -4px 0 0; text-align: center; font-size: 11.5px; color: var(--ink-3); }
.ph-facts { display: grid; gap: 0; margin: 4px 0 0; border-top: 1px solid var(--line); font-size: 12.5px; }
.ph-facts li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.ph-facts span { color: var(--ink-3); }
.ph-facts b { font-weight: 500; text-align: right; }
.scr[data-i="1"] .ph-btn { opacity: .4; }
.scr[data-i="1"].on .ph-check span { background: var(--violet); box-shadow: none; transition-delay: 1.5s; }
.scr[data-i="1"].on .ph-check span::after { transform: rotate(45deg) scale(1); transition-delay: 1.55s; }
.scr[data-i="1"].on .ph-btn { opacity: 1; transition-delay: 1.7s; }
.ph-app { display: flex; align-items: center; gap: 8px; margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 13px; }
.ph-app img { width: 18px; height: 18px; }
.ph-app span { margin-left: auto; font-family: var(--mono); font-size: 9.5px; letter-spacing: .03em; color: var(--ink-3); }
.chat { display: flex; flex-direction: column; gap: 8px; }
.chat p { margin: 0; max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 12.5px; line-height: 1.42; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--out), transform .55s var(--out); }
.chat .me { align-self: flex-end; background: var(--ink); color: var(--ink-inv); border-bottom-right-radius: 5px; }
.chat .ai { align-self: flex-start; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 5px; }
.scr.on .chat p { opacity: 1; transform: none; }
.scr.on .chat p:nth-child(2) { transition-delay: .5s; }
.scr.on .chat p:nth-child(3) { transition-delay: 1.4s; }
.scr.on .chat p:nth-child(4) { transition-delay: 2.3s; }
.scr.on .chat p:nth-child(5) { transition-delay: 3s; }
.chat .typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.chat .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: typing 1.2s var(--inout) infinite; }
.chat .typing i:nth-child(2) { animation-delay: .15s; } .chat .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.ph-lvl { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-family: var(--display); font-size: 27px; font-weight: 600; line-height: 1; }
.ph-lvl .lvl-dot { width: 14px; height: 14px; background: var(--l1); }
.ph-score { margin: 0; font-size: 12px; color: var(--ink-3); }
.ph-score b { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--ink); margin-right: 2px; }
.ph-cert { position: relative; padding: 14px 16px 16px; border-radius: 16px; background: var(--deep); color: var(--ink-inv); box-shadow: 0 14px 30px -16px rgb(32 21 71 / .8); }
.ph-cert p { margin: 0; }
.pc-brand { font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin-bottom: 12px !important; }
.pc-lv { font-size: 11.5px; line-height: 1.3; color: var(--inv-2); margin-bottom: 14px !important; }
.pc-lv b { font-family: var(--display); font-size: 22px; font-weight: 600; color: #fff; }
.pc-id { font-family: var(--mono); font-size: 8.5px; color: var(--inv-3); }
.pc-qr { position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; }
.ph-list { display: grid; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.ph-list li { display: flex; gap: 8px; align-items: center; }
.ph-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.scr-res .ph-cert { opacity: 0; transform: translateY(14px) rotate(-2deg); transition: opacity .5s var(--out), transform .8s var(--out); }
.scr-res.on .ph-cert { opacity: 1; transform: none; transition-delay: .35s; }
@media (max-width: 960px) {
  .cand-grid { grid-template-columns: 1fr; }
  .phone { width: min(300px, 100%); }
}
@media (max-width: 560px) { .gain { grid-template-columns: 1fr; gap: 14px; } .gain div { grid-row: auto; grid-template-rows: none; } .gain div:nth-child(2) dt { display: none; } }

/* ---------- 6 · proč teď ---------- */
.s-now { background: var(--paper-2); }
.now-h { margin: 18px 0 clamp(36px, 5vw, 64px); max-width: 17ch; }
/* tři dlaždice se stejnou anatomií: štítek · číslo · význam · graf na společné základně · zdroj */
.now-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); column-gap: clamp(14px, 1.6vw, 24px); row-gap: 0; }
/* subgrid: štítky, čísla, věty, grafy i zdroje leží ve všech třech dlaždicích na stejných linkách */
.now { margin: 0; display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; padding: clamp(22px, 2.2vw, 30px); border-radius: var(--r-xl); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.now-k { margin: 0 0 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.now-v { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(56px, 2.4rem + 2.6vw, 92px); line-height: .9; letter-spacing: -.035em; color: var(--ink); }
.now-t { margin: 12px 0 28px; font-size: 16px; line-height: 1.45; color: var(--ink-2); max-width: 22em; }
.now-viz { height: 118px; position: relative; }
/* sloupce: hodnota nad sloupcem, rok pod základnou */
.bars { display: flex; align-items: flex-end; gap: 10px; padding-bottom: 22px; border-bottom: 0; }
.bars::after { content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 1px; background: var(--ink); opacity: .75; }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.bar i { display: block; height: 0; border-radius: 4px 4px 0 0; background: var(--lav); transition: height 1.1s var(--out); }
.bar.hot i { background: var(--violet); }
.bar b { position: absolute; left: 0; right: 0; bottom: calc(var(--h) + 6px); text-align: center; font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--ink-2); opacity: 0; transition: opacity .4s var(--ease) .7s; }
.bar.hot b { color: var(--violet); }
.bar span { position: absolute; left: 0; right: 0; bottom: -22px; text-align: center; font-family: var(--mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.now.in .bar i { height: var(--h); }
.now.in .bar b { opacity: 1; }
.now.in .bar:nth-child(2) i { transition-delay: .1s; } .now.in .bar:nth-child(3) i { transition-delay: .2s; }
/* sto dílků: každý dílek je jedno procento, vyplněné dílky tvoří podíl */
.units { display: grid; grid-template-rows: 1fr 22px; }
.units .u { display: flex; gap: 3px; align-items: stretch; border-bottom: 1px solid rgb(27 27 27 / .75); }
.units .u i { flex: 1; border-radius: 2px 2px 0 0; background: var(--lav); transition: background-color .35s var(--ease); transition-delay: calc(var(--i) * 14ms); }
.now.in .units .u i.on { background: var(--violet); }
.units .ax { position: relative; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.units .ax span { position: absolute; top: 5px; }
.units .ax .v { transform: translateX(-50%); color: var(--violet); font-weight: 500; }
.units .ax .e { right: 0; }
.now-src { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; line-height: 1.55; color: var(--ink-3); }
.now-src a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .25em; transition: color .2s, text-decoration-color .2s; }
.now-src a:hover { color: var(--violet); text-decoration-color: currentColor; }
.now-src .ext { display: inline-block; width: 9px; height: 9px; margin-left: 4px; vertical-align: baseline; }
@media (max-width: 960px) { .now-grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 14px; } .now { grid-row: auto; grid-template-rows: auto; } }

/* ---------- 7 · cena ---------- */
.price-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.price-head .d2 { margin-top: 18px; max-width: 14ch; }
.price-head .lead { margin: 0; }
.tiers { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.tier { padding: 22px 22px 26px 0; border-right: 1px solid var(--line); }
.tier + .tier { padding-left: 22px; }
.tier:last-child { border-right: 0; }
.t-k { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 18px; }
.t-p { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; }
.t-p b { font-family: var(--display); font-weight: 600; font-size: clamp(64px, 2.6rem + 3vw, 104px); line-height: .9; letter-spacing: -.035em; }
.t-p span { font-size: 15px; color: var(--ink-3); }
.tier-hi .t-p b { color: var(--violet); }
.t-e { font-size: 15px; color: var(--ink-2); margin: 0; }
.price-notes { margin-top: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; font-size: 15.5px; color: var(--ink-2); }
.price-notes > p { padding: 18px 20px; border-radius: var(--r-md); background: var(--lilac); margin: 0; }
.price-notes ul { display: grid; gap: 8px; }
.price-notes li { display: flex; gap: 10px; align-items: baseline; }
.price-notes li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); transform: translateY(-2px); }
@media (max-width: 860px) {
  .price-head, .price-notes { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier, .tier + .tier { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- 8 · příručka ---------- */
.s-book { background: var(--paper-2); }
.book-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.book-grid .d2 { margin: 18px 0 20px; }
.cover {
  --tilt: -4deg; justify-self: center; position: relative; width: min(340px, 80%); aspect-ratio: 148 / 210; padding: 22px 22px 20px;
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border-radius: 4px; background: var(--paper);
  box-shadow: 0 50px 80px -34px rgb(32 21 71 / .55), 0 10px 22px -12px rgb(27 27 27 / .35), 0 0 0 1px rgb(27 27 27 / .04);
  transform: rotate(var(--tilt)); transition: transform .8s var(--out), box-shadow .8s var(--out);
}
.cover::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; border-radius: 4px 0 0 4px; background: linear-gradient(90deg, rgb(32 21 71 / .1), transparent); }
.cover:hover { --tilt: -1deg; transform: rotate(var(--tilt)) translateY(-6px); }
.cv-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.cv-top img { width: 56px; height: auto; }
.cv-lent { display: block; width: 82%; height: auto; margin: 16% 0 0 -3px; overflow: visible; }
.cv-t { margin-top: auto; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 2.6vw, 38px); line-height: .92; letter-spacing: -.035em; }
.cv-f { margin: 8px 0 0; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); max-width: 15em; }
.cv-m { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--line-2); font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.book-copy .lead { margin-bottom: 26px; }
.book-f { display: grid; gap: 12px; max-width: 34rem; }
.bf-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 18px 40px -26px rgb(32 21 71 / .5); transition: box-shadow .25s; }
.bf-row:focus-within { box-shadow: 0 0 0 2px var(--violet), 0 18px 40px -26px rgb(32 21 71 / .5); }
.bf-row.bad { box-shadow: 0 0 0 2px #B03A2E; }
.bf-mail { flex: 1; min-width: 0; display: flex; }
.bf-mail input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px 0 18px; font-size: 16px; outline: none; }
.bf-row .btn { min-height: 48px; }
.bf-err { margin: 0; color: #B03A2E; }
.bf-chk { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--ink-2); cursor: pointer; }
.bf-chk input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--violet); }
.bf-fine { margin: 0; color: var(--ink-3); }
.bf-fine a { color: var(--ink-2); }
.book-done { display: grid; gap: 14px; max-width: 34rem; padding: 22px 24px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -26px rgb(32 21 71 / .5); }
.bd-h { margin: 0; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.2; }
.bd-h b { color: var(--violet); overflow-wrap: anywhere; }
.bd-row { display: flex; flex-wrap: wrap; gap: 10px; }
.book-done .small { margin: 0; }
@media (max-width: 520px) { .bf-row { flex-direction: column; border-radius: 18px; } .bf-mail input { height: 48px; } .bf-row .btn { justify-content: center; } }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; } }

/* ---------- 9 · hovor: rezervace ve třech krocích, pak termín ---------- */
.s-call { background: var(--deep); color: var(--ink-inv); overflow: clip; }
.s-call::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 90%; background: radial-gradient(closest-side, rgb(89 56 183 / .55), transparent); pointer-events: none; }
.s-call .eyebrow { color: var(--inv-3); }
.call-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 88px); align-items: start; }
.call-copy .d2 { margin: 18px 0 20px; }
.call-copy .lead { color: var(--inv-2); }
.agenda { display: grid; gap: 0; margin: 28px 0 28px; border-top: 1px solid rgb(250 244 238 / .16); }
.agenda li { display: grid; grid-template-columns: 8.5em 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgb(250 244 238 / .16); font-size: 15.5px; }
.agenda b { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); padding-top: 3px; }
.agenda span { color: var(--ink-inv); }
.call-addr { color: var(--inv-3); margin: 0; }
.call-addr a { color: var(--ink-inv); font-weight: 500; }

.book {
  position: relative; display: flex; flex-direction: column; min-height: 560px; padding: clamp(22px, 3vw, 40px);
  border-radius: var(--r-xl); background: #FFFDF8; color: var(--ink);
  box-shadow: 0 50px 90px -40px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 255 255 / .06);
}
.bk-top { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; margin-bottom: clamp(26px, 3vw, 38px); min-height: 36px; }
.bk-back { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .25s; }
.bk-back:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.bk-back svg { width: 16px; height: 16px; }
.bk-step { grid-column: 2; margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.bk-back[hidden] + .bk-step { grid-column: 1 / -1; }
.bk-prog { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bk-prog li { position: relative; height: 4px; border-radius: 4px; background: var(--paper-3); overflow: hidden; }
.bk-prog li::after { content: ""; position: absolute; inset: 0; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--out); }
.bk-prog li.on::after { transform: scaleX(1); }
.bk-panes { flex: 1; display: grid; }
.bk-pane { grid-area: 1 / 1; min-width: 0; margin: 0; padding: 0; border: 0; }
.bk-pane > * + * { margin-top: 14px; }
@media (prefers-reduced-motion: no-preference) { .bk-pane:not([hidden]) { animation: paneIn .6s var(--out); } }
@keyframes paneIn { from { opacity: 0; transform: translateY(12px); } }
.bk-q { float: left; width: 100%; padding: 0; margin: 0 0 22px; font-family: var(--display); font-weight: 600; font-size: clamp(25px, 1rem + 1.3vw, 34px); line-height: 1.08; letter-spacing: -.016em; }
.bk-q + * { clear: both; margin-top: 0; }
.bk-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bk-chips button {
  min-height: 54px; padding: 0 22px; border-radius: 16px; background: var(--card); font-size: 16px; font-weight: 500;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .25s var(--ease), box-shadow .25s var(--ease), color .25s, transform .4s var(--out);
}
.bk-chips button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.bk-chips button:active { transform: scale(.98); }
.bk-chips button[aria-checked="true"] { background: var(--violet); color: #fff; box-shadow: none; }
.bk-chips.col { flex-direction: column; }
.bk-chips.col button { min-height: 0; padding: 15px 18px; text-align: left; line-height: 1.35; }
.bk-chips.sm button { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.bk-hint { margin: 0; font-size: 14px; color: var(--ink-3); }
.bk-pane > .bk-hint { margin-top: 18px; }
.bk-hint-top { margin-top: -10px !important; }
.bk-field { display: grid; gap: 6px; }
.bk-field > span { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.bk-field i { font-style: normal; font-weight: 400; color: var(--ink-3); }
.bk-field input {
  width: 100%; height: 52px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--card); font-size: 16px; outline: none;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .25s var(--ease);
}
.bk-field input:hover { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.bk-field input:focus { box-shadow: inset 0 0 0 2px var(--violet); }
.bk-field input::placeholder { color: var(--ink-3); opacity: .7; }
.bk-field.bad input { box-shadow: inset 0 0 0 2px #C0392B; }
.bk-chips.bad button { box-shadow: inset 0 0 0 1.5px #C0392B; }
.bk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-err { margin-bottom: 0; color: #B42318; font-weight: 500; }
.bk-wish { display: inline-grid; grid-template-columns: auto auto; padding: 4px; border-radius: 14px; background: var(--paper-3); }
.bk-wish button { height: 40px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-3); transition: background-color .3s var(--ease), color .3s, box-shadow .3s; }
.bk-wish button[aria-checked="true"] { background: var(--card); color: var(--ink); box-shadow: var(--sh-1); }
.bk-pane > .bk-next { display: flex; width: max-content; margin-top: 22px; }
.btn[disabled] { opacity: .4; pointer-events: none; box-shadow: none; }
.bk-fine { margin-top: 12px !important; color: var(--ink-3); }
.bk-fine a { color: inherit; }
.bk-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.bk-days button { display: grid; gap: 4px; padding: 12px 4px; border-radius: 14px; background: var(--card); text-align: center; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .25s, box-shadow .25s, color .25s; }
.bk-days button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.bk-days span { font-size: 12.5px; color: var(--ink-3); }
.bk-days b { font-family: var(--display); font-size: 21px; line-height: 1; font-weight: 600; }
.bk-days button[aria-checked="true"] { background: var(--ink); color: var(--ink-inv); box-shadow: none; }
.bk-days button[aria-checked="true"] span { color: var(--inv-3); }
.bk-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bk-slots button { height: 48px; border-radius: 12px; background: var(--card); font-family: var(--mono); font-size: 14.5px; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .25s, box-shadow .25s, color .25s; }
.bk-slots button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.bk-slots button[aria-checked="true"] { background: var(--violet); color: #fff; box-shadow: none; }
.bk-skip { display: block; margin-top: 14px !important; text-align: left; color: var(--ink-3); text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--line-2); }
.bk-skip:hover { color: var(--ink); }
.bk-done:focus { outline: none; }
.bd-mark { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--lime); margin-bottom: 24px; }
.bd-mark svg { width: 28px; height: 28px; }
.bk-done .bk-q { float: none; margin-bottom: 0; }
.bd-p { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 32rem; }
.bd-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px !important; }
.bd-fine { margin-top: 18px !important; }
.bk-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.bk-foot li { display: inline-flex; align-items: center; gap: 7px; }
.bk-foot li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.book.is-done .bk-foot { display: none; }
@media (max-width: 960px) { .call-grid { grid-template-columns: 1fr; } .book { min-height: 0; } }
@media (max-width: 560px) {
  .book { padding: 20px 16px 22px; border-radius: var(--r-lg); }
  .bk-two { grid-template-columns: 1fr; }
  .bk-chips button { flex: 1 1 auto; padding: 0 16px; }
  .bk-chips.col button, .bk-chips.sm button { flex: none; }
  .bk-days { gap: 5px; } .bk-days b { font-size: 18px; } .bk-days span { font-size: 11.5px; }
  .bk-wish { display: grid; width: 100%; } .bk-wish button { padding: 0 8px; font-size: 13.5px; }
  .agenda li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- 10 · FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); }
.faq-grid .d2 { margin: 18px 0 16px; }
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 14px; height: 14px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .45s var(--out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details::details-content { height: 0; overflow: clip; transition: height .5s var(--out), content-visibility .5s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq details > div { padding: 0 0 22px; max-width: 46rem; color: var(--ink-2); }
.faq details p { margin: 0; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- patička ---------- */
.foot { background: var(--paper-3); padding: 48px 0 110px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr; gap: 28px; }
.foot-grid ul { display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot img { margin-bottom: 12px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- přepínač verzí (pro prezentaci) ---------- */
.vswitch {
  position: fixed; left: 14px; bottom: 14px; z-index: 90; display: flex; align-items: center; gap: 4px; padding: 5px 5px 5px 12px;
  border-radius: var(--r-pill); background: var(--ink); color: var(--ink-inv); box-shadow: 0 14px 30px -12px rgb(0 0 0 / .5);
}
.vswitch span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--inv-3); margin-right: 4px; }
.vswitch button { width: 34px; height: 34px; border-radius: 50%; font-weight: 700; font-family: var(--display); font-size: 15px; color: var(--ink-inv); transition: background-color .25s, color .25s; }
.vswitch button[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.vswitch .vs-back { margin-left: 6px; padding: 0 12px; height: 34px; display: inline-flex; align-items: center; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600; color: var(--ink-inv); text-decoration: none; box-shadow: inset 0 0 0 1px rgb(250 244 238 / .25); }
.vswitch .vs-back:hover { background: rgb(250 244 238 / .12); }
.clean .vswitch { display: none; }

/* ---------- lepivé CTA na mobilu ---------- */
.mcta { display: none; }
@media (max-width: 720px) {
  .mcta {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95; display: flex; align-items: center; justify-content: center; gap: 10px;
    height: 54px; border-radius: var(--r-pill); background: var(--violet); color: #fff; font-weight: 600; text-decoration: none;
    box-shadow: 0 16px 34px -12px rgb(32 21 71 / .6); transform: translateY(90px); transition: transform .5s var(--out);
  }
  .mcta.show { transform: none; }
  .vswitch { bottom: 76px; transform: scale(.86); transform-origin: left bottom; }
}

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 22px; z-index: 120; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: var(--r-pill); background: var(--ink); color: var(--ink-inv); font-size: 14.5px; font-weight: 500;
  transition: opacity .35s var(--ease), transform .5s var(--out); max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .flip-in, .seg-pill, .key, .link, .paste, .bar i, .bar b, .units i, .dots i, .cover { transition: none !important; }
}
