/* ==========================================================================
   Stránka pro uchazeče v2 · vzhled webu Aibility (design systém Superpowered Professional z aibility.org)
   Vrstva nad ../css/styles.css a ../css/kit.css (oficiální CSS webu, beze změn).
   Nesdílí kód s HR stránkou (../nabor/), jen design systém webu. Třídy s předponou u- patří jen sem.
   Texty a pořadí sekcí jsou beze změny: úvod, smysl, přínos, jak to funguje, budoucnost, cena, otázky.
   Certifikát vypadá jako certifikát Superpowered Professional na aibility.org (webová fialová, limetkový akcent).
   ========================================================================== */

[data-page="umimsai-uchazec"] {
  /* úrovně metodiky stejně jako na aibility.org: Explorer, Operator, Builder, Transformer */
  --lv0: #E6E1DA; --lv1: var(--purple-light); --lv2: var(--purple); --lv3: var(--purple-deep);
  --cert: linear-gradient(150deg, #7427FF 0%, #6712F5 45%, #5A0CE6 100%);
  --cert-lime: #D8F542;
}
/* skryté panely, potvrzení a volby: atribut hidden má přednost před display komponent */
[hidden] { display: none !important; }
.lvl-dot { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--lv2)); }
/* ruční zalomení za větou platí jen na širší obrazovce, na telefonu se text láme sám */
@media (max-width: 760px) { .br-d { display: none; } }

/* ---------- Fráze „Umím s AI.“ se škálou úrovní: značka kampaně ----------
   Pod frází stojí čtyřdílná škála úrovní jako na certifikátu Superpowered Professional
   (Explorer, Operator, Builder, Transformer). Prázdná s otazníkem = věta bez důkazu,
   plná s fajfkou = úroveň doložená testem. Nahrazuje dřívější žluté podtržení.
   Pohyb jako pruhy na webu (.cmp, .progress): výplň roste zleva, --ease-out, díly jeden po druhém.
   Pravidla přesnosti: škála v nadpisu nikdy nereaguje na polohu kurzoru. Na náboru se po načtení
   jednou postupně naplní a vrátí k otazníku, u uchazeče se postupně naplní, až certifikát ověří
   pravost. Odznak nikdy nezmizí, jen se otazník plynule promění ve fajfku. Otazník je jen tam,
   kde se obsah sám nemění. */
.lvm {
  --lvm-off: rgb(27 27 27 / 0.1); --lvm-on: var(--purple); --lvm-q-bg: #F4EEFF; --lvm-q-fg: var(--purple);
  --lvm-w: 1em; --lvm-h: 0.24em; --lvm-gap: 0.16em; --lvm-q: 0.95em;
  --lvm-fill: 0.7s; --lvm-step: 0.38s;
  display: inline-flex; align-items: center; gap: var(--lvm-gap);
}
.lvm i { --seg: 0; position: relative; flex: none; width: var(--lvm-w); height: var(--lvm-h); overflow: hidden; border-radius: 99px; background: var(--lvm-off); }
.lvm i:nth-child(2) { --seg: 1; }
.lvm i:nth-child(3) { --seg: 2; }
.lvm i:nth-child(4) { --seg: 3; }
/* výplň dílu roste zleva jako pruhy na webu */
.lvm i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--lvm-on); transform: scaleX(0); transform-origin: left center; transition: transform 0.35s var(--ease-out); }
.lvm[data-lv="1"] i:nth-child(-n+1)::after, .lvm[data-lv="2"] i:nth-child(-n+2)::after,
.lvm[data-lv="3"] i:nth-child(-n+3)::after, .lvm[data-lv="4"] i::after { transform: none; }
/* postupně: díly se plní jeden po druhém zleva; zpátky se škála stáhne zprava doleva */
.lvm.is-step i::after { transition: transform var(--lvm-fill) var(--ease-out) calc(var(--seg) * var(--lvm-step)); }
.lvm.is-back i::after { transition: transform 0.45s var(--ease-in-out) calc((3 - var(--seg)) * 0.1s); }
.lvm__q {
  position: relative; flex: none; display: grid; place-items: center; width: var(--lvm-q); height: var(--lvm-q); margin-left: calc(var(--lvm-gap) * 0.6);
  border-radius: 50%; background: var(--lvm-q-bg); color: var(--lvm-q-fg); line-height: 1;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
/* znak až v pseudoprvcích: em v proměnných se počítá z písma prvku, kde se použijí;
   přechod otazník → fajfka pružinou jako razítka na webu (.vault) */
.lvm__q::before, .lvm__q::after { grid-area: 1 / 1; transition: opacity 0.25s var(--ease-out), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.lvm__q::before { content: "?"; font-family: var(--font-mono); font-size: calc(var(--lvm-q) * 0.6); font-weight: 500; font-style: normal; letter-spacing: 0; }
/* fajfka jako maska: ostrá a stejně silná v každé velikosti odznaku */
.lvm__q::after {
  content: ""; width: 62%; height: 62%; background: currentColor; opacity: 0; transform: scale(0.4);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.2 12.6l4.4 4.4 9.2-9.6' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.2 12.6l4.4 4.4 9.2-9.6' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lvm.is-ok .lvm__q::before { opacity: 0; transform: scale(0.4); }
.lvm.is-ok .lvm__q::after { opacity: 1; transform: none; }

/* fráze v nadpisu: škála přes celou šířku fráze, na fialové jako škála na certifikátu (bílá 24 %, limetková);
   objeví se s nadpisem (.load), samostatně se nevykresluje */
.h-q { display: grid; width: fit-content; row-gap: 0.1em; margin-bottom: 0.1em; }
.h-q__t { display: block; }
.lvm--h1 { --lvm-off: rgb(255 255 255 / 0.24); --lvm-on: #D8F542; --lvm-q-bg: #D8F542; --lvm-q-fg: var(--purple-deep); --lvm-h: max(4px, 0.085em); --lvm-gap: 0.07em; --lvm-q: max(18px, 0.4em); display: flex; width: 100%; }
.lvm--h1 i { flex: 1 1 0; width: auto; }
/* po návratu k otazníku odznak jednou lehce kývne: tady je vysvětlení */
.lvm--h1.is-ask .lvm__q { animation: lvmAsk 0.6s var(--ease-out); }
@keyframes lvmAsk { 40% { transform: scale(1.14); } }
/* najetí nebo fokus na škále: odznak se lehce zvětší a dostane světlý lem, vysvětlení zůstane otevřené */
.lvm--h1.is-hot .lvm__q { transform: scale(1.08); box-shadow: 0 0 0 4px rgb(255 255 255 / 0.28); }

/* klikací plocha přes celou škálu (mimo nadpis, aby v něm nebylo tlačítko) */
.hero__copy { position: relative; }
.hero__copy > :is(.lvm-hit, .lvm-tip) { animation: none; }
.lvm-hit { position: absolute; z-index: 5; left: 0; top: 0; width: 0; height: 0; border-radius: var(--r-pill); cursor: help; -webkit-tap-highlight-color: transparent; }
.lvm-hit:focus { outline: none; }
.lvm-hit:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
/* vysvětlení: stejná karta a pohyb jako rozbalovací menu webu („Otevřít v AI“, „Pro firmy“):
   bílá karta, rádius 18 px, --sh-3, mono záhlaví, řádky 0,92rem, oddělovač --line-soft */
.lvm-tip {
  --tip-o: top left;
  position: absolute; z-index: 60; left: 0; top: 0; width: min(300px, 100%); padding: 8px; border-radius: 18px;
  background: var(--card); color: var(--ink); box-shadow: var(--sh-3); text-align: left;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98); transform-origin: var(--tip-o); pointer-events: none;
  transition: opacity 0.2s, transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
}
.lvm-tip.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.lvm-tip p { margin: 0; }
.lvm-tip__k { padding: 8px 10px 6px; font-family: var(--font-mono); font-size: 0.68rem; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.lvm-tip__list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.lvm-tip__list li { --row: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 9px 10px; border-radius: 12px; font: 500 0.92rem/1.25 var(--font-ui); color: var(--ink); transition: background-color 0.3s var(--ease-out); }
.lvm-tip__list li:nth-child(2) { --row: 1; }
.lvm-tip__list li:nth-child(3) { --row: 2; }
.lvm-tip__list li:nth-child(4) { --row: 3; }
.lvm--tip { --lvm-w: 14px; --lvm-h: 5px; --lvm-gap: 3px; }
/* při otevření se škály v kartě naplní postupně, řádek po řádku; po zavření se potichu vynulují */
.lvm-tip:not(.is-open) .lvm.lvm--tip i::after { transform: scaleX(0); transition: transform 0s linear 0.25s; }
.lvm-tip.is-open .lvm.lvm--tip i::after { transition: transform 0.45s var(--ease-out) calc(0.06s + var(--row) * 0.07s + var(--seg) * 0.04s); }
.lvm-tip__t { margin: 6px 8px 0 !important; padding: 10px 2px 6px; border-top: 1px solid var(--line-soft); font-size: 0.82rem; line-height: 1.45; color: var(--ink-2); }
/* u uchazeče škála odpovídá na důkaz, proto svižněji než úvodní ukázka na náboru */
.lvm { --lvm-step: 0.2s; --lvm-fill: 0.5s; }
/* fráze v ukázkách: škála pod textem přes jeho šířku */
.lvm--card, .lvm--row { --lvm-h: max(3px, 0.13em); --lvm-gap: 0.1em; --lvm-q: 0.64em; display: flex; }
.lvm--card i, .lvm--row i { flex: 1 1 0; width: auto; }
.u-phrase { display: inline-grid; row-gap: 0.26em; }
.u-phrase__t { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- navigace: výzva zůstává v liště i na telefonu ---------- */
.nav__links a[aria-current="true"] { color: var(--ink); background: rgb(27 27 27 / 0.06); }
.nav__firmy { position: relative; margin-left: 6px; padding-left: 8px; }
.nav__firmy::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.nav__links a.nl-firmy { color: var(--ink-3); }
@media (max-width: 1120px) { .nav__links .nl-opt { display: none; } }
.nav__cta-m { display: none; }
@media (max-width: 1060px) {
  .nav__cta-m { display: inline-flex; flex: none; margin-left: auto; white-space: nowrap; }
  .nav__toggle { flex: none; margin-left: 2px; }
  [data-page="umimsai-uchazec"] .nav.is-hidden { transform: none; }
}
@media (max-width: 420px) {
  .nav .nav__inner { gap: 8px; }
  .nav .brand__by { display: none; }
  .nav .brand { gap: 8px; }
  .nav .brand__name { font-size: 0.86rem; max-width: 7em; line-height: 1.1; }
  .nav__cta-m { padding-inline: 13px; font-size: 0.86rem; }
  .nav .nav__toggle { width: 40px; }
}

/* ==========================================================================
   1 · Úvod ve fialovém rámu: životopis a certifikát na barevné ploše
   ========================================================================== */
.u-hero .display { max-width: 14em; }
.u-hero .hero__sub { max-width: 36em; }
.u-hero .cta-note { margin: 0; padding: 0; list-style: none; }
.u-hero .cta-note li { display: inline-flex; align-items: center; gap: 6px; }
.u-hero .cta-note li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #C9EDC9; }
@media (max-width: 640px) { .u-hero .cta-group .btn--ghost { display: none; } }

.u-proof { margin: 0; display: grid; gap: 18px; }
.hero--stacked .u-proof__stage { aspect-ratio: auto; min-height: 0; }
.hero--stacked .u-proof__stage .stage__inner {
  position: relative; inset: auto; display: grid; justify-items: center; align-content: start; gap: clamp(22px, 2.4vw, 32px);
  padding: clamp(40px, 5vw, 76px) clamp(16px, 5vw, 72px) clamp(26px, 3vw, 40px);
}
.u-proof__scene {
  --rx: 0deg; --ry: 0deg; --sx: 120%;
  container-type: inline-size; position: relative; display: grid; justify-items: start; width: min(560px, 100%); perspective: 1400px;
}
.u-proof__scene > * { transform-style: preserve-3d; }

/* životopis: bílá karta jako ukázky appky na webu */
.u-cv {
  position: relative; width: 80%; padding: clamp(14px, 4cqw, 26px) clamp(16px, 4.4cqw, 28px) clamp(14px, 4.2cqw, 24px);
  border-radius: clamp(14px, 3.4cqw, 24px); background: var(--card); color: var(--ink); box-shadow: var(--sh-3);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(-2.4deg); transition: transform 0.8s var(--ease-out);
}
.u-cv p { margin: 0; }
.u-cv .app-label { font-size: clamp(9px, 1.8cqw, 10.5px); }
.u-cv__name { margin-top: 6px !important; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 5.2cqw, 30px); line-height: 1.05; letter-spacing: -0.02em; }
.u-cv__role { margin: 2px 0 clamp(8px, 2.2cqw, 14px) !important; font-size: clamp(12px, 2.7cqw, 15px); color: var(--ink-3); }
.u-cv__rows { margin: 0; padding: 0; list-style: none; }
.u-cv__rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: clamp(6px, 1.7cqw, 10px) 0; border-top: 1px solid var(--line-soft); font-size: clamp(12px, 2.7cqw, 15px); }
.u-cv__rows li > span { color: var(--ink-3); }
.u-cv__rows li > b { font-weight: 500; text-align: right; }
.u-cv__ai { display: grid !important; grid-template-columns: auto 1fr; align-items: center !important; padding-block: clamp(9px, 2.4cqw, 14px) !important; border-top: 1.5px solid var(--ink) !important; }
.u-cv__ai > span { grid-row: 1; }
.u-cv__ai > b { grid-area: 1 / 2; justify-self: end; font-family: var(--font-display); font-weight: 600 !important; font-size: clamp(16px, 4.1cqw, 23px) !important; line-height: 1.1; letter-spacing: -0.015em; transition: opacity 0.45s var(--ease-out), transform 0.7s var(--ease-out); }
.u-cv__ai .ai-b { white-space: nowrap; color: var(--purple); opacity: 0; transform: translateY(8px); }
.u-cv__ai .ai-ok { flex: none; width: 1.05em; height: 1.05em; padding: 2px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-deep); }

/* certifikát: stejný vzhled jako certifikát Superpowered Professional na aibility.org
   (webová fialová, limetkový štítek a úroveň, bílý útržek s ID a QR kódem) */
.u-cert {
  --cp: clamp(12px, 3.4cqw, 22px);
  position: relative; z-index: 2; justify-self: end; width: 58%; margin-top: calc(-1 * clamp(2px, 1cqw, 6px)); aspect-ratio: 3 / 2;
  display: grid; grid-template-rows: auto 1fr auto auto; row-gap: clamp(4px, 1cqw, 8px);
  padding: var(--cp) var(--cp) 0; border-radius: clamp(10px, 2.2cqw, 14px); color: #FFFFFF; background: var(--cert); box-shadow: var(--sh-3);
  opacity: 0; transform: rotateX(var(--rx)) rotateY(var(--ry)) translate3d(8cqw, 12cqw, 40px) rotate(11deg) scale(1.12);
  transition: opacity 0.35s var(--ease-out), transform 0.95s cubic-bezier(0.3, 1.45, 0.5, 1);
}
.u-cert p { margin: 0; }
.ce-shine { position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 32%, rgb(255 255 255 / 0.16) 45%, rgb(216 245 66 / 0.12) 52%, transparent 66%) var(--sx) 0 / 240% 100% no-repeat; mix-blend-mode: screen; transition: background-position 0.6s var(--ease-out); }
.ce-brand { padding-right: 8cqw; font-family: var(--font-mono); font-weight: 500; font-size: clamp(7px, 1.6cqw, 10px); line-height: 1.3; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cert-lime); }
.ce-mark { position: absolute; top: var(--cp); right: var(--cp); width: clamp(14px, 3.4cqw, 22px); height: auto; }
.ce-lv { align-self: center; font-family: var(--font-mono); font-size: clamp(7px, 1.6cqw, 10px); line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(255 255 255 / 0.86); }
.ce-lv b { display: block; margin-top: 3px; font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 5.4cqw, 32px); line-height: 1; letter-spacing: -0.02em; text-transform: none; color: var(--cert-lime); }
.ce-meta { font-family: var(--font-mono); font-size: clamp(7px, 1.6cqw, 10.5px); line-height: 1.45; letter-spacing: 0.04em; color: rgb(255 255 255 / 0.86); }
.ce-meta b { color: #FFFFFF; font-weight: 500; }
.ce-stub { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 calc(-1 * var(--cp)); padding: clamp(5px, 1.2cqw, 8px) clamp(8px, 2cqw, 14px) clamp(5px, 1.2cqw, 8px) var(--cp); border-radius: 0 0 clamp(10px, 2.2cqw, 14px) clamp(10px, 2.2cqw, 14px); background: #FFFFFF; }
.ce-id { font-family: var(--font-mono); font-size: clamp(7px, 1.6cqw, 10px); letter-spacing: 0.06em; color: var(--ink-2); }
.ce-qr { position: relative; flex: none; width: clamp(24px, 6.4cqw, 44px); aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: #FFFFFF; }
.ce-qr svg { display: block; width: 100%; height: 100%; }
.ce-scan { position: absolute; left: 0; right: 0; top: 0; height: 22%; opacity: 0; background: linear-gradient(transparent, rgb(89 56 183 / 0.55) 60%, transparent); }
.ce-ok { position: absolute; z-index: 4; right: var(--cp); top: 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 7px; border-radius: var(--r-pill); background: var(--sage-soft); color: #1D4D28; font-size: clamp(10px, 2.1cqw, 12px); font-weight: 600; white-space: nowrap; box-shadow: var(--sh-1); opacity: 0; transform: translateY(-35%) scale(0.94); transition: opacity 0.4s var(--ease-out), transform 0.6s cubic-bezier(0.3, 1.45, 0.5, 1); }
.ce-ok svg { width: 1.2em; height: 1.2em; }

/* stavy: věta (bez důkazu) → důkaz (certifikát dopadne, řádek AI se promění) */
.u-proof__scene[data-state="proof"] .u-cert { opacity: 1; transform: rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, 0, 40px) rotate(3.2deg) scale(1); }
.u-proof__scene[data-state="proof"] .u-cv { transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(-3deg) translate3d(-1cqw, -0.6cqw, 0); }
.u-proof__scene[data-state="proof"] .ai-a { opacity: 0; transform: translateY(-8px); }
.u-proof__scene[data-state="proof"] .ai-b { opacity: 1; transform: none; transition-delay: 0.25s; }
.u-proof__scene.scan .ce-scan { animation: scan 0.7s var(--ease-in-out) 1; }
.u-proof__scene.ok .ce-ok { opacity: 1; transform: translateY(-62%); }
@keyframes scan { 0% { top: -22%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
html.no-js .u-proof__scene .u-cert { opacity: 1; transform: rotate(3.2deg); }
html.no-js .u-proof__scene .ai-a { display: none; }
html.no-js .u-proof__scene .ai-b { opacity: 1; transform: none; }
html.no-js .u-proof__scene .ce-ok { opacity: 1; transform: translateY(-62%); }
@media (prefers-reduced-motion: reduce) { .u-cv, .u-cert, .u-cv__ai > b, .ce-ok { transition: none !important; } }
@media (max-width: 640px) { .u-cert { width: 70%; } }
@media (min-width: 761px) {
  .u-proof__scene { width: min(900px, 100%); grid-template-columns: minmax(0, 1fr); }
  .u-cv { grid-area: 1 / 1; justify-self: start; width: 61%; }
  .u-cert { grid-area: 1 / 1; justify-self: end; align-self: center; width: 37%; margin-top: 0; }
}

/* přepínač „Jen věta / S důkazem“ jako bílá pilulka na barevné ploše */
.u-seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.92); box-shadow: var(--sh-1); }
.u-seg button { position: relative; z-index: 1; min-height: 42px; padding: 8px 20px; border-radius: var(--r-pill); font-size: 0.94rem; font-weight: 600; white-space: nowrap; color: var(--ink-2); transition: color 0.35s var(--ease-out); -webkit-tap-highlight-color: transparent; }
.u-seg button[aria-checked="true"] { color: #FFFFFF; }
.u-seg__pill { position: absolute; left: 4px; top: 4px; bottom: 4px; width: calc(50% - 4px); border-radius: var(--r-pill); background: var(--ink); transition: transform 0.55s var(--ease-out); }
.u-seg.r .u-seg__pill { transform: translateX(100%); }
.u-proof__cap { margin: 0 auto; max-width: 34rem; font-size: var(--fs-xs); line-height: 1.5; text-align: center; text-wrap: balance; color: rgb(255 255 255 / 0.86); }

/* ==========================================================================
   2 · Smysl: tři hlasy jako pastelové karty a most k reportu
   ========================================================================== */
.u-voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.u-voice { display: flex; flex-direction: column; gap: 6px; padding: clamp(24px, 2.4vw, 30px); border-radius: var(--r-xl); background: var(--tile); color: var(--ink); }
.u-voice p { margin: 0; }
.u-voice__who { font-size: 0.86rem; font-weight: 600; color: var(--ink-2); }
.u-voice__big { margin: 8px 0 4px !important; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 1.1rem + 1vw, 2.1rem); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.u-voice__txt { font-size: 0.97rem; line-height: 1.55; color: var(--ink); }
.u-voice__src { margin-top: auto !important; padding-top: 14px; font-size: var(--fs-xs); }
.u-voice__src a { color: var(--ink-2); text-decoration-color: rgb(27 27 27 / 0.35); text-underline-offset: 0.2em; }
.u-voice__src a:hover { color: var(--ink); text-decoration-color: currentColor; }
.u-bridge { max-width: 30ch; margin: clamp(40px, 4.4vw, 64px) 0 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.75rem); line-height: 1.1; letter-spacing: -0.022em; color: var(--ink-3); text-wrap: balance; }
.u-bridge .hl { font-weight: 500; color: var(--ink); }
@media (max-width: 900px) {
  .u-voices { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .u-voice { gap: 4px; padding: 20px 20px 18px; border-radius: var(--r-lg); }
  .u-voice__big { margin: 4px 0 2px !important; font-size: 1.6rem; }
  .u-voice__src { padding-top: 10px; }
}

/* ==========================================================================
   3 · Praktický přínos: čtyři scény, čtyři záložky (krémový rám)
   ========================================================================== */
.u-sc { display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr); gap: clamp(20px, 3vw, 48px); align-items: stretch; }
.u-sc__tabs { display: grid; gap: 6px; align-content: start; }
.u-sc__tabs button {
  position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 14px; width: 100%; padding: 16px 18px 18px 14px;
  border-radius: 20px; text-align: left; transition: background-color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out); -webkit-tap-highlight-color: transparent;
}
.u-sc__tabs button:hover { background: rgb(255 255 255 / 0.6); }
.u-sc__tabs button[aria-selected="true"] { background: var(--card); box-shadow: var(--sh-2); }
.u-sc__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-weight: 600; font-size: 0.86rem; color: var(--ink-3); background: rgb(27 27 27 / 0.06); transition: background-color 0.45s var(--ease-out), color 0.45s; }
.u-sc__tabs [aria-selected="true"] .u-sc__n { background: var(--purple); color: #FFFFFF; }
.u-sc__t b { display: block; padding-top: 4px; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; line-height: 1.2; color: var(--ink-2); transition: color 0.45s; }
.u-sc__tabs [aria-selected="true"] .u-sc__t b { color: var(--ink); }
.u-sc__t > span { display: block; margin-top: 3px; font-size: 0.92rem; line-height: 1.45; color: var(--ink-3); }

/* scéna: karta jako produktové karty webu, nahoře ukázka na barevné ploše, dole text */
.u-sc__stage { display: grid; overflow: hidden; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--sh-2); }
.u-sc__panel { grid-area: 1 / 1; display: grid; grid-template-rows: 1fr auto; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 0.45s var(--ease-out), transform 0.7s var(--ease-out); }
.u-sc__panel.on { opacity: 1; transform: none; pointer-events: auto; }
.u-sc__ui { position: relative; display: grid; place-items: center; min-height: 330px; padding: clamp(22px, 3vw, 40px) clamp(16px, 3vw, 36px); background: var(--paper-3) var(--field) center / cover no-repeat; isolation: isolate; }
.u-sc__ui::before { content: ""; position: absolute; inset: -4%; z-index: -1; pointer-events: none; background: url("../assets/img/contours-a.svg") center / cover no-repeat; filter: brightness(0) invert(1); opacity: 0.35; }
.u-sc__copy { padding: 24px clamp(22px, 2.6vw, 32px) 28px; }
.u-sc__copy .h3 { margin: 0 0 6px; }
.u-sc__copy p { margin: 0; color: var(--ink-2); }
.ui { width: min(100%, 460px); padding: 20px; border-radius: 20px; background: var(--card); color: var(--ink); box-shadow: var(--sh-3); font-size: 0.92rem; line-height: 1.45; }
.ui p { margin: 0; }
.ui > .app-label { display: block; margin-bottom: 10px; }
.ui-rows { margin: 0; padding: 0; list-style: none; }
.ui-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-soft); }
.ui-rows span { color: var(--ink-3); }
.ui-rows b { font-weight: 500; text-align: right; }
.ui-rows .is-dim { opacity: 0.5; }
.ui-rows .is-old b { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--purple); text-decoration-thickness: 2px; }
.ui-rows .is-new { align-items: center; padding-block: 15px; border-top: 1.5px solid var(--ink); }
.ui-rows .is-new b { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--purple); }
.ui-rows .is-new .lvl-dot { width: 0.5em; height: 0.5em; background: var(--lv2); }
.qrmini { flex: none; width: 44px; height: 44px; margin-left: auto; border-radius: 7px; box-shadow: 0 0 0 1px var(--line); }
.ui-rows .is-new .qrmini { margin-left: 12px; }
.ui-note { margin-top: 12px !important; font-size: 0.8rem; color: var(--ink-3); }
.ui-talk { display: grid; gap: 14px; }
.ui-talk > .app-label { margin-bottom: -6px; }
.ui-q { padding: 14px 16px; border-radius: 16px 16px 16px 4px; background: #F0EEEA; font-weight: 500; }
.ui-a { padding: 14px 16px; border-radius: 16px; background: #F4EEFF; }
.ui-a .app-label { display: block; margin-bottom: 8px; }
.ui-a dl { display: grid; gap: 8px; margin: 0; }
.ui-a dl div { display: grid; grid-template-columns: 7.4em 1fr; gap: 10px; padding-top: 8px; border-top: 1px solid rgb(89 56 183 / 0.16); }
.ui-a dl div:first-child { padding-top: 0; border-top: 0; }
.ui-a dt { padding-top: 3px; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple-deep); }
.ui-a dd { margin: 0; font-size: 0.88rem; }
.ui-post { display: grid; gap: 12px; }
.po-top { display: flex; align-items: center; gap: 12px; }
.po-av { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--p-lilac); color: var(--purple-deep); font-weight: 600; font-size: 0.86rem; }
.po-top p { display: grid; line-height: 1.25; }
.po-top p span { font-size: 0.8rem; color: var(--ink-3); }
.po-txt { font-size: 0.97rem; }
.po-cert { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 12px; color: #FFFFFF; background: var(--cert); }
.po-lv { display: grid; gap: 2px; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(255 255 255 / 0.86); }
.po-lv .lvl-dot { display: none; }
.po-lv b { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.05; letter-spacing: -0.015em; text-transform: none; color: var(--cert-lime); }
.po-cert .qrmini { width: 52px; height: 52px; margin: 0; box-shadow: 0 0 0 3px #FFFFFF; }
.ui-mail { display: grid; gap: 10px; }
.ma-row { display: grid; grid-template-columns: 5.4em 1fr; gap: 10px; padding-bottom: 9px; border-bottom: 1px solid var(--line-soft); }
.ma-row span { color: var(--ink-3); }
.ma-row b { font-weight: 500; }
.ma-txt { margin: 4px 0 6px !important; font-size: 0.95rem; }
.ma-att { display: inline-flex; align-items: center; justify-self: start; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #F4EEFF; color: var(--purple-deep); font-size: 0.84rem; font-weight: 500; }
.ma-att svg { width: 15px; height: 15px; }

.u-inline-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; max-width: 940px; margin: clamp(32px, 4vw, 52px) auto 0;
  padding: 12px 12px 12px 30px; border-radius: var(--r-pill); background: var(--card); box-shadow: var(--sh-2);
}
.u-inline-cta p { flex: 1 1 auto; margin: 0; font-size: 1rem; line-height: 1.45; color: var(--ink-2); }
.u-inline-cta b { color: var(--ink); }
.u-inline-cta .btn { flex: none; }

@media (max-width: 960px) {
  .u-sc { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .u-sc__tabs { display: flex; gap: 6px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .u-sc__tabs::-webkit-scrollbar { display: none; }
  .u-sc__tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; width: auto; height: 46px; padding: 0 16px 0 8px; border-radius: var(--r-pill); background: var(--card); box-shadow: var(--sh-1); scroll-snap-align: center; }
  .u-sc__tabs button[aria-selected="true"] { background: var(--ink); box-shadow: none; }
  .u-sc__tabs [aria-selected="true"] .u-sc__t b { color: #FFFFFF; }
  .u-sc__tabs [aria-selected="true"] .u-sc__n { background: #FFFFFF; color: var(--ink); }
  .u-sc__n { width: 28px; height: 28px; }
  .u-sc__t b { padding: 0; font-size: 1rem; }
  .u-sc__t > span { display: none; }
}
@media (max-width: 640px) {
  .u-sc__stage { border-radius: var(--r-lg); }
  .u-sc__ui { min-height: 0; padding: 18px 14px; }
  .u-sc__copy { padding: 18px 18px 22px; }
  .ui { padding: 16px; border-radius: 18px; }
  .ui-rows .is-new b { font-size: 1rem; white-space: nowrap; }
  .ui-rows .is-new .qrmini { width: 40px; height: 40px; margin-left: 8px; }
  .ui-a dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .u-inline-cta { flex-direction: column; align-items: stretch; gap: 14px; padding: 20px; border-radius: var(--r-lg); text-align: center; }
  .u-inline-cta .btn { justify-content: center; }
}

/* ==========================================================================
   4 · Jak to funguje: kroky a telefon na barevné ploše, pod nimi důvěra
   ========================================================================== */
.u-how__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "head stage" "steps stage" "tools stage" "trust trust" "notm notm"; column-gap: clamp(36px, 5vw, 88px); align-items: start;
}
.u-how__head { grid-area: head; display: grid; gap: 16px; margin-bottom: clamp(24px, 3vw, 36px); }
.u-how__head .h2 { margin: 0; font-size: clamp(1.9rem, 1.2rem + 1.9vw, 3rem); }
.u-how__head .lead { margin: 0; }
@media (max-width: 960px) { .u-how__head .br-d { display: none; } }
.u-cj { grid-area: steps; display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.u-cj button {
  position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 14px; width: 100%; padding: 16px 18px 18px 14px; overflow: hidden;
  border-radius: 20px; text-align: left; transition: background-color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.u-cj button:hover { background: rgb(27 27 27 / 0.035); }
.u-cj button[aria-pressed="true"] { background: var(--card); box-shadow: var(--sh-2); }
.u-cj__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-weight: 600; font-size: 0.86rem; color: var(--ink-3); background: rgb(27 27 27 / 0.06); transition: background-color 0.45s var(--ease-out), color 0.45s; }
.u-cj [aria-pressed="true"] .u-cj__n { background: var(--purple); color: #FFFFFF; }
.u-cj__t b { display: block; padding-top: 4px; font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; line-height: 1.2; color: var(--ink-2); transition: color 0.45s; }
.u-cj [aria-pressed="true"] .u-cj__t b { color: var(--ink); }
.u-cj__t > span { display: block; margin-top: 4px; font-size: 0.92rem; line-height: 1.5; color: var(--ink-3); transition: color 0.45s; }
.u-cj [aria-pressed="true"] .u-cj__t > span { color: var(--ink-2); }
.u-cj__bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; border-radius: 2px; background: var(--purple); transform: scaleX(0); transform-origin: left; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .u-how.inview .u-cj [aria-pressed="true"] .u-cj__bar { opacity: 1; animation: cjfill 5.2s linear forwards; }
}
@keyframes cjfill { to { transform: scaleX(1); } }

.stage.u-how__stage { grid-area: stage; align-self: center; aspect-ratio: auto; min-height: 0; border-radius: var(--r-xl); }
.u-how__stage .stage__inner { position: relative; inset: auto; display: grid; justify-items: center; gap: 16px; padding: clamp(28px, 3vw, 44px) 20px; }
.ph-wrap { position: relative; display: grid; justify-items: center; width: 100%; }
.u-story, .u-story__cap, .u-story__nav, .u-story__sr { display: none; }

.u-tools { grid-area: tools; margin-top: 26px; container-type: inline-size; }
/* šest nástrojů bez osamocené pilulky: 2 × 3, 3 × 2, nebo jedna řada, když se vejde */
.u-tools__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
@container (min-width: 380px) { .u-tools__row { grid-template-columns: repeat(3, max-content); } }
@container (min-width: 600px) { .u-tools__row { display: flex; gap: 6px; } .u-tools__row li { padding: 0 12px 0 8px; } }
.u-tools__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: var(--sh-1); font-size: 0.88rem; font-weight: 500; white-space: nowrap; }
.u-tools__row img { width: 20px; height: 20px; }
.u-tools p { margin: 0; }

@media (max-width: 960px) {
  .u-how__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "tools" "trust" "notm"; }
  .u-cj { display: none; }
  .u-story__sr { display: block; }
  .u-how__stage .stage__inner { padding: 20px 16px 22px; gap: 14px; -webkit-user-select: none; user-select: none; }
  .u-story { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; width: min(272px, 100%); margin: 0; }
  .u-story i { position: relative; height: 3px; overflow: hidden; border-radius: 3px; background: rgb(255 255 255 / 0.55); }
  .u-story i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
  .u-story i.done::after { transform: none; }
  .u-story__nav { display: block; position: absolute; top: 0; bottom: 0; z-index: 4; -webkit-tap-highlight-color: transparent; }
  .u-story__nav.prev { left: 0; width: 38%; }
  .u-story__nav.next { right: 0; width: 62%; }
  .u-story__nav:focus-visible { outline-offset: -4px; }
  .u-story__cap { display: grid; align-content: start; gap: 4px; width: min(420px, 100%); min-height: 5.8em; margin: 0; padding: 14px 16px; border-radius: 18px; background: rgb(255 255 255 / 0.94); box-shadow: var(--sh-1); text-align: center; }
  .u-story__cap b { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.2; }
  .u-story__cap span { font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }
  .u-tools { margin-top: 22px; }
}
@media (max-width: 960px) and (prefers-reduced-motion: no-preference) {
  .u-how.inview .u-story i.on::after { animation: storyfill 5.2s linear forwards; }
  .u-how__stage.paused .u-story i.on::after { animation-play-state: paused; }
  .u-story__cap.swap { animation: capIn 0.45s var(--ease-out); }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) { .u-story i.on::after { transform: none; } }
@keyframes storyfill { to { transform: scaleX(1); } }
@keyframes capIn { from { opacity: 0; transform: translateY(6px); } }

/* telefon a jeho obrazovky: moderní iPhone Pro, obrazovka ve vzhledu appky Superpowered Professional */
.ph { position: relative; justify-self: center; height: min(580px, calc(100vh - 170px)); aspect-ratio: 48 / 100; width: auto; padding: 3px; border: 2px solid transparent; border-radius: 46px;
  background: linear-gradient(#121116, #121116) padding-box, linear-gradient(155deg, #B9B4C4, #4B4757 22%, #2A2633 50%, #4B4757 78%, #B9B4C4) border-box; box-shadow: var(--sh-3); }
.ph::before, .ph::after { content: ""; position: absolute; width: 3px; }
.ph::before { left: -4px; top: 17%; height: 25%; background: linear-gradient(#6A6578 0 20%, transparent 20% 28%, #6A6578 28% 62%, transparent 62% 68%, #6A6578 68% 100%); }
.ph::after { right: -4px; top: 29%; height: 46%; background: linear-gradient(#6A6578 0 32%, transparent 32% 72%, #6A6578 72% 90%, transparent 90%); }
@media (max-width: 960px) { .ph { height: auto; width: 292px; zoom: 0.8; } }
.ph-in { position: relative; height: 100%; overflow: hidden; border-radius: 41px; background: #FFFFFF; }
.ph-in::before { content: ""; position: absolute; z-index: 3; top: 9px; left: 50%; width: 26%; aspect-ratio: 100 / 29; border-radius: 99px; transform: translateX(-50%); background: #121116; }
.ph-in::after { content: ""; position: absolute; z-index: 3; bottom: 8px; left: 50%; width: 36%; height: 4px; border-radius: 4px; background: var(--ink); opacity: 0.9; transform: translateX(-50%); }
.ph-status { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 38px; display: grid; grid-template-columns: 1fr 26% 1fr; align-items: center; color: var(--ink); pointer-events: none; }
.ph-status b { grid-column: 1; justify-self: center; font-size: 12px; font-weight: 600; letter-spacing: -0.01em; }
.ph-status span { grid-column: 3; justify-self: center; display: inline-flex; align-items: center; gap: 4px; }
.ph-status svg { width: auto; height: 8px; fill: currentColor; }
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; padding: 54px 18px 30px; opacity: 0; transform: translateX(16px); pointer-events: none; transition: opacity 0.45s var(--ease-out), transform 0.7s var(--ease-out); }
.scr p { margin: 0; }
.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); }
.ph-top img { width: 18px; height: 18px; }
.ph-h { margin-top: 6px !important; font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.02; letter-spacing: -0.02em; }
.ph-h-s { margin-top: 0 !important; font-size: 23px; }
.ph-p { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.ph-k { margin: 0 0 2px !important; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.ph-k-top { margin: 0 !important; color: var(--purple); }
.ph-btn { display: grid; place-items: center; height: 46px; margin-top: auto !important; border-radius: var(--r-pill); background: var(--purple); color: #FFFFFF; font-size: 14.5px; font-weight: 600; transition: opacity 0.3s; }
.ph-fine { margin-top: -4px !important; font-size: 11.5px; text-align: center; color: var(--ink-3); }
.ph-fine-l { margin-top: auto !important; text-align: left; }
.ph-tools { display: grid; gap: 7px; margin: 4px 0 0; padding: 0; list-style: none; }
.ph-tools li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; }
.ph-tools li b { flex: 1; font-weight: 500; }
.ph-tools img { width: 22px; height: 22px; }
.ph-radio { position: relative; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); }
.ph-tools .sel { background: #F4EEFF; box-shadow: inset 0 0 0 1.5px var(--purple); }
.ph-tools .sel .ph-radio { background: var(--purple); box-shadow: none; }
.ph-tools .sel .ph-radio::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ph-app { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 9px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.ph-app img { grid-row: 1 / span 2; width: 24px; height: 24px; }
.ph-app b { align-self: end; line-height: 1.15; }
.ph-app span { align-self: start; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.04em; line-height: 1.3; white-space: nowrap; color: var(--ink-3); }
.ph-chat { display: flex; flex-direction: column; gap: 8px; }
.ph-chat p { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 12.5px; line-height: 1.42; opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease-out), transform 0.55s var(--ease-out); }
.ph-me { align-self: flex-end; background: #F0EEEA; border-bottom-right-radius: 5px !important; }
.ph-ai { align-self: flex-start; background: #F4EEFF; border-bottom-left-radius: 5px !important; }
.scr.on .ph-chat p { opacity: 1; transform: none; }
.scr.on .ph-chat p:nth-child(2) { transition-delay: 0.5s; }
.scr.on .ph-chat p:nth-child(3) { transition-delay: 1.4s; }
.scr.on .ph-chat p:nth-child(4) { transition-delay: 2.3s; }
.scr.on .ph-chat p:nth-child(5) { transition-delay: 3s; }
.ph-compose { display: flex; align-items: center; gap: 8px; height: 40px; margin-top: auto; padding: 0 5px 0 6px; border-radius: var(--r-pill); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; color: var(--ink-3); }
.ph-compose span { flex: 1; }
.ph-compose i, .ph-compose b { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; }
.ph-compose i { background: var(--paper-2); }
.ph-compose i::before, .ph-compose i::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 2px; background: var(--ink-2); transform: translate(-50%, -50%); }
.ph-compose i::before { width: 11px; height: 1.6px; } .ph-compose i::after { width: 1.6px; height: 11px; }
.ph-compose b { background: var(--ink); }
.ph-compose b::before { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border: solid #FFFFFF; border-width: 1.8px 0 0 1.8px; transform: translate(-50%, -38%) rotate(45deg); }
.ph-typing { display: inline-flex; gap: 4px; padding: 12px 14px !important; }
.ph-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: phTyping 1.2s var(--ease-in-out) infinite; }
.ph-typing i:nth-child(2) { animation-delay: 0.15s; } .ph-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes phTyping { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.dm { padding: 12px 14px; border-radius: 16px; background: #FAF7F2; opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out); }
.dm ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.dm li { padding: 5px 10px; border-radius: 99px; background: var(--card); font-size: 12px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line-soft); }
.dm-save { background: var(--purple-deep); color: var(--ink-inv); }
.dm-save .ph-k { color: var(--purple-light); }
.dm-save li { background: rgb(255 255 255 / 0.12); box-shadow: none; color: #FFFFFF; }
.dm-arrow { display: flex; align-items: center; justify-content: center; gap: 8px; margin: -2px 0 !important; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); opacity: 0; transition: opacity 0.5s var(--ease-out); }
.dm-arrow svg { width: 16px; height: 16px; }
.scr-data.on .dm-keep { opacity: 1; transform: none; transition-delay: 0.25s; }
.scr-data.on .dm-arrow { opacity: 1; transition-delay: 0.9s; }
.scr-data.on .dm-save { opacity: 1; transform: none; transition-delay: 1.3s; }
.ph-lvl { display: flex; align-items: center; gap: 8px; margin-top: 2px !important; font-family: var(--font-display); font-weight: 600; font-size: 27px; line-height: 1; color: var(--purple); }
.ph-lvl .lvl-dot { width: 14px; height: 14px; background: var(--lv2); }
.ph-score { font-size: 12px; color: var(--ink-3); }
.ph-score b { margin-right: 2px; font-family: var(--font-display); font-size: 40px; font-weight: 600; line-height: 1; color: var(--ink); }
/* certifikát v telefonu: vzhled certifikátu Superpowered Professional z aibility.org */
.ph-cert { position: relative; padding: 14px 16px 16px; border-radius: 12px; color: #FFFFFF; background: var(--cert); box-shadow: var(--sh-3); }
.pc-brand { margin-bottom: 12px !important; font-family: var(--font-mono); font-size: 8.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cert-lime); }
.pc-lv { margin-bottom: 14px !important; font-size: 11.5px; line-height: 1.3; color: rgb(255 255 255 / 0.86); }
.pc-lv b { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--cert-lime); }
.pc-id { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.04em; color: rgb(255 255 255 / 0.78); }
.pc-qr { position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 4px; }
.ph-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--ink-2); }
.ph-list li { display: flex; align-items: center; gap: 8px; }
.ph-list li::before {
  content: ""; flex: none; width: 15px; height: 15px; border-radius: 50%;
  background: var(--sage-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%232F6B3F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 9px no-repeat;
}
.ph-acts { display: flex; gap: 8px; margin-top: auto; }
.ph-acts span { flex: 1; display: grid; place-items: center; height: 40px; padding: 0 6px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600; line-height: 1.1; text-align: center; background: rgb(27 27 27 / 0.05); }
.ph-acts span:last-child { background: var(--purple); color: #FFFFFF; }
.scr-res .ph-cert { opacity: 0; transform: translateY(14px) rotate(-2deg); transition: opacity 0.5s var(--ease-out), transform 0.8s var(--ease-out); }
.scr-res.on .ph-cert { opacity: 1; transform: rotate(-1deg); transition-delay: 0.35s; }

/* důvěra: tři pastelové karty pod telefonem */
.u-trust { grid-area: trust; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(56px, 6vw, 96px); }
.u-tr { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(24px, 2.4vw, 30px); border-radius: var(--r-xl); background: var(--tile); color: var(--ink); }
.u-tr .h3 { margin: 0; color: var(--ink); }
.u-tr p { margin: 0; font-size: 0.97rem; line-height: 1.55; color: var(--ink); }
.u-tr p a { color: var(--ink); }
.u-tr__link { margin-top: auto; padding-top: 10px; color: var(--tile-ink) !important; }
.u-notm { grid-area: notm; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin: 24px 0 0; font-size: var(--fs-sm); color: var(--ink-2); }
.u-notm span { font-weight: 600; color: var(--ink); }
.u-notm s { text-decoration-color: var(--purple); text-decoration-thickness: 1.5px; }
@media (max-width: 900px) { .u-trust { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 44px; } .u-tr { padding: 22px 20px; border-radius: var(--r-lg); gap: 8px; } .u-tr__link { padding-top: 4px; } }

/* ==========================================================================
   5 · Nezbytnost: tři čísla jako pastelové dlaždice a výběr věty (krémový rám)
   ========================================================================== */
.u-src { margin: calc(2px - var(--s-4)) 0 0; font-size: var(--fs-xs); line-height: 1.5; color: var(--ink-3); }
.u-src a { color: inherit; text-decoration-color: rgb(27 27 27 / 0.3); text-underline-offset: 0.2em; }
.u-src a:hover { color: var(--ink); text-decoration-color: currentColor; }
.u-now { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.u-now__h { align-self: center; margin: 0; padding-right: 8px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 1.15rem + 1.1vw, 2.3rem); line-height: 1.1; letter-spacing: -0.022em; color: var(--ink); text-wrap: balance; }
.u-now__h .h-soft { font-weight: 400; color: var(--ink-3); }
.u-stat { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 24px 22px 22px; border-radius: var(--r-xl); background: var(--tile); color: var(--ink); }
.u-stat b { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 1.8rem + 2vw, 3.6rem); line-height: 0.95; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.u-stat b small { font-size: 0.5em; font-weight: 600; letter-spacing: 0; }
.u-stat > span { font-size: 0.95rem; line-height: 1.45; color: var(--ink); }
.u-stat > small { margin-top: auto; padding-top: 6px; font-size: var(--fs-xs); line-height: 1.5; color: var(--ink-2); }
.u-stat > small a { color: inherit; text-decoration-color: rgb(27 27 27 / 0.35); text-underline-offset: 0.2em; }
.u-stat > small a:hover { color: var(--ink); text-decoration-color: currentColor; }
@media (max-width: 1000px) { .u-now { grid-template-columns: repeat(3, minmax(0, 1fr)); } .u-now__h { grid-column: 1 / -1; margin-bottom: 8px; } }
@media (max-width: 640px) {
  .u-now { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .u-stat { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); column-gap: 14px; row-gap: 6px; padding: 18px 18px 16px; border-radius: var(--r-lg); }
  .u-stat b { grid-row: span 2; font-size: 2.4rem; }
  .u-stat > small { margin-top: 0; padding-top: 0; }
}

/* výběr věty: bílá karta na krémovém rámu, vlevo nadpis, vpravo čtyři věty */
.u-lvl {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 4.6vw, 80px); align-items: start;
  margin-top: clamp(40px, 5vw, 72px); padding: clamp(28px, 2.8vw, 44px); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--sh-2);
}
.u-lvl__txt, .u-lvl__ui { min-width: 0; }
.u-lvl__txt .h3 { max-width: 15ch; margin: 0 0 14px; font-weight: 500; font-size: clamp(1.5rem, 1.05rem + 1vw, 2.05rem); line-height: 1.1; }
.u-lvl__txt p { max-width: 24rem; margin: 0; font-size: 0.97rem; line-height: 1.55; color: var(--ink-2); }
.u-ladder { display: grid; gap: 6px; }
.u-ladder button {
  display: grid; grid-template-columns: 14px auto minmax(0, 1fr) 22px; gap: 4px 14px; align-items: start; padding: 13px 16px; border-radius: 16px; text-align: left;
  background: #F7F5F2; box-shadow: inset 0 0 0 1.5px transparent; transition: background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out); -webkit-tap-highlight-color: transparent;
}
.u-ladder button:hover { background: #F0ECF8; }
.u-ladder button:active { transform: scale(0.992); }
.u-ladder button[aria-checked="true"] { background: #F4EEFF; box-shadow: inset 0 0 0 1.5px var(--purple); }
.u-ladder .lvl-dot { width: 12px; height: 12px; margin-top: 5px; box-shadow: inset 0 0 0 1px rgb(27 27 27 / 0.16); }
.ld-n { min-width: 6.4em; font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; line-height: 1.2; }
.ld-s { font-size: 0.92rem; line-height: 1.45; color: var(--ink-2); }
.ld-ok { width: 20px; height: 20px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--purple); color: #FFFFFF; opacity: 0; transform: scale(0.6); transition: opacity 0.3s, transform 0.5s cubic-bezier(0.3, 1.45, 0.5, 1); }
.u-ladder button[aria-checked="true"] .ld-ok { opacity: 1; transform: none; }
.ld-nudge { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; margin-top: 12px; padding: 12px 12px 12px 18px; border-radius: 18px; background: var(--ink); color: var(--ink-inv); --focus: var(--ink-inv); }
.ld-nudge p { margin: 0; font-size: 0.95rem; line-height: 1.4; }
.ld-nudge b { font-weight: 600; color: var(--purple-light); }
.ld-nudge .btn { flex: none; }
@media (prefers-reduced-motion: no-preference) { .ld-nudge:not([hidden]) { animation: paneIn 0.6s var(--ease-out); } }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 900px) { .u-lvl { grid-template-columns: minmax(0, 1fr); row-gap: 20px; } .u-lvl__txt .h3 { max-width: 20ch; } .u-lvl__txt p { max-width: none; } }
@media (max-width: 640px) {
  .u-lvl { padding: 22px 18px; border-radius: var(--r-lg); }
  .u-ladder button { grid-template-columns: 12px minmax(0, 1fr) 22px; grid-template-areas: "d n k" "s s s"; row-gap: 2px; padding: 12px 14px; }
  .u-ladder .lvl-dot { grid-area: d; } .ld-n { grid-area: n; min-width: 0; } .ld-s { grid-area: s; } .ld-ok { grid-area: k; }
  .ld-nudge { flex-direction: column; align-items: stretch; padding: 16px; text-align: center; }
  .ld-nudge .btn { justify-content: center; }
}

/* ==========================================================================
   6 · Cena v tmavém rámu, ceník jako bílá karta (jako ceník na aibility.org)
   ========================================================================== */

/* ==========================================================================
   7 · Otázky (vzor 16 z aibility.org) a závěrečná výzva
   ========================================================================== */
.u-faq .section-head--center p { margin: 0; }
.u-faq-end { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 32px; padding: 12px 12px 12px 28px; border-radius: var(--r-pill); background: var(--frame-cream); }
.u-faq-end p { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--ink-2); }
.u-faq-end b { color: var(--ink); }
.u-faq-end .btn { flex: none; }
@media (max-width: 760px) { .u-faq-end { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 24px; padding: 20px; border-radius: var(--r-lg); text-align: center; } .u-faq-end .btn { justify-content: center; } }

/* ---------- patička: jen dva sloupce odkazů ---------- */

@media (prefers-reduced-motion: reduce) {
  .u-seg__pill, .scr, .ph-chat p, .dm, .u-sc__panel, .u-ladder button { transition: none !important; }
}

/* vysvětlení u fráze po ověření certifikátu: úroveň Builder zvýrazněná jako aktuální položka v menu webu */
.lvm-tip.is-ok .lvm-tip__list li:nth-child(3) { background: rgb(27 27 27 / 0.06); }

/* řádek AI v životopise: když se objeví úroveň z certifikátu, škála se postupně naplní (jako v nadpisu) */
html:not(.no-js) .u-proof__scene:not([data-state="proof"]) .ai-b .lvm i::after { transform: scaleX(0); transition: transform 0s linear 0.5s; }
.u-proof__scene[data-state="proof"] .ai-b .lvm i::after { transition: transform var(--lvm-fill) var(--ease-out) calc(0.35s + var(--seg) * var(--lvm-step)); }

/* Skutečná karta certifikátu (komponenta .pass z webu, stejná jako v appce a na aibility.org/certifikat), 9. 10. 2026.
   Obal .u-cert drží animaci dopadu a štítek „Pravost ověřena“, karta uvnitř má vlastní vzhled. */
.u-cert--pass { padding: 0; aspect-ratio: auto; display: block; background: none; box-shadow: none; border-radius: 12px; }
.u-cert--pass .pass { width: 100%; --pass-rot: 0deg; }
.u-cert--pass .pass__desc { display: none; }
.u-cert--pass .ce-shine { z-index: 5; border-radius: 12px; }
.pass__qrw { position: relative; display: block; width: max(22px, 5.8cqw); aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: #FFFFFF; }
.pass__qrw .pass__qr { display: block; width: 100%; height: 100%; }
@media (min-width: 761px) { .u-cert--pass { width: 42%; } }
@media (max-width: 640px) { .u-cert--pass { width: 78%; } }
.ph-cert--pass { padding: 0; background: none; box-shadow: none; }
.ph-cert--pass .pass { width: 100%; --pass-rot: 0deg; aspect-ratio: auto; }
.ph-cert--pass .pass__desc { display: none; }
/* mockup výsledku v telefonu: karta se nesmí smrštit ani ji nesmí překrýt seznam, úrovně celé, tlačítka na jeden řádek (12. 10. 2026) */
.scr-res > * { flex-shrink: 0; }
.ph-cert--pass { margin-bottom: 4px; }
.ph-cert--pass .pass__step > span { letter-spacing: 0.03em; }
@container (max-width: 230px) { .ph-cert--pass .pass__step:not(.cur) em { visibility: hidden; } }
.scr-res .ph-acts span { white-space: nowrap; font-size: 12px; }
@container (max-width: 240px) { .pass__kick, .pass__url { display: none; } }
@media (max-width: 360px) { .u-cert--pass { width: 72%; } }

/* 9. 10. 2026: na úzkých telefonech (do 360 px) se do hlavičky nevejde logo, tlačítko a menu; tlačítko je i v úvodu stránky */
@media (max-width: 360px) { .nav__cta-m { display: none; } }

/* Patička: globální patička aibility.org (10. 10. 2026). Řádek s právními odkazy v CSS webu v2 ještě není. */
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.footer__legal a { color: inherit; }
.footer__legal a:hover { color: var(--ink-inv); }

/* Cena: ceník z aibility.org/certifikat na tmavém rámu (komponenty webu, tady jen barvy). */
.u-start .pfacts li { color: var(--inv-2); }
.u-start .pfacts svg { color: var(--purple-light); }
.u-start .pplan { color: var(--ink); box-shadow: 0 30px 70px -36px rgb(0 0 0 / 0.6); --focus: var(--ink); }
