/* ---------- fonts (vendored, latin + latin-ext for Czech) ---------- */
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono", ui-monospace, monospace; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --cream: #fbf4e6; --plum: #241930; --ink: #2b1f3b;
  --lav: #8a72d8; --lav-l: #c9bdf5; --pink: #f59ab3; --pink-d: #e0688f; --mint: #5fc9a8; --peach: #f7b98a; --sky: #8fb7ec;
  --wrap: 1240px; --r: 26px;
  --ease: cubic-bezier(.2,.75,.2,1);
}
body[data-theme="light"] { --fg: #2b1f3b; --fg2: #66597a; --line: rgba(43,31,59,.13); --card: rgba(255,255,255,.58); --card-b: rgba(43,31,59,.09); --inv: #fbf4e6; --em: #8a72d8; --dot: rgba(43,31,59,.09); }
body[data-theme="dark"]  { --fg: #fbf4e6; --fg2: #c6bad8; --line: rgba(251,244,230,.16); --card: rgba(255,255,255,.06); --card-b: rgba(251,244,230,.13); --inv: #241930; --em: #f59ab3; --dot: rgba(251,244,230,.07); }

* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--fg); font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-size: 17.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; transition: color .6s var(--ease); }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ol, ul { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--pink); color: var(--plum); }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }

.dotgrid { position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(circle, var(--dot) 1.1px, transparent 1.4px); background-size: 16px 16px; transition: opacity .6s; }
#heart { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
main { position: relative; }
#logo, .pixdeco { z-index: 0; }
.hero-foot, .say, .pin, .sec > .wrap, .finale-in, .foot { position: relative; z-index: 2; }
.pin { position: sticky; }
.say { position: absolute; }

/* ---------- type ---------- */
.display { font-weight: 650; letter-spacing: -0.04em; line-height: 1.02; }
.display em { font-style: normal; color: inherit; }
.display.md { font-size: clamp(32px, 3.9vw, 56px); }
.display.xl { font-size: clamp(36px, 5vw, 76px); }
h1.display { font-size: clamp(34px, min(4.6vw, 7.4vh), 70px); max-width: 17ch; }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--fg2); max-width: 46ch; transition: color .6s; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg2); margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; background: var(--pink); animation: beat .83s infinite; }
@keyframes beat { 0%,100% { transform: scale(1); } 12% { transform: scale(1.35); } 26% { transform: scale(.95); } 38% { transform: scale(1.15); } 55% { transform: scale(1); } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font-weight: 650; border-radius: 999px; padding: 14px 24px; font-size: 16px; transition: transform .2s var(--ease), background .3s, color .3s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: translateY(1px) scale(.97); }
.btn-ink { background: var(--fg); color: var(--inv); box-shadow: 0 6px 0 -2px var(--pink); }
.btn-ink:hover { box-shadow: 0 9px 0 -2px var(--pink); }
.btn-pink { background: var(--pink); color: var(--plum); box-shadow: 0 6px 0 -2px #fbf4e6; }
.btn.sm { padding: 9px 16px; font-size: 14.5px; box-shadow: none; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.link { font-weight: 650; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline wavy var(--pink); text-decoration-thickness: 1.6px; text-underline-offset: 6px; }
.row { display: flex; align-items: center; gap: 26px; margin-top: 26px; flex-wrap: wrap; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 14px 32px; pointer-events: none; }
.nav > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; color: var(--fg); transition: color .6s; }
.logo-svg { height: 34px; width: auto; display: block; overflow: visible; }
.lg-heart { transform-box: fill-box; transform-origin: 50% 60%; animation: beat .83s infinite; }
.foot .logo-svg { height: 30px; }
.pix { width: 22px; height: 20px; color: var(--pink); shape-rendering: crispEdges; animation: beat .83s infinite; transform-origin: 50% 60%; }
.pill { display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: color-mix(in srgb, var(--inv) 70%, transparent); border: 1px solid var(--line); backdrop-filter: blur(14px); transition: background .6s; }
.pill a { padding: 7px 15px; border-radius: 999px; font-size: 14.5px; color: var(--fg2); transition: color .2s, background .2s; }
.pill a:hover { color: var(--fg); background: var(--card); }
.nav .btn-ink { box-shadow: none; }

/* ---------- monitor (heart docks here) ---------- */
.monitor { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(20px) scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.mon-panel { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 20px; background: color-mix(in srgb, var(--inv) 80%, transparent); border: 1px solid var(--line); backdrop-filter: blur(14px); transition: background .6s; }
body.mon-on .monitor { opacity: 1; transform: none; }
.dock { width: 64px; height: 64px; border-radius: 50%; border: 1.5px dashed transparent; transition: width .5s var(--ease), border-color .5s; }
body.dock-on .dock { border-color: var(--line); }
.monitor canvas { width: 100px; height: 28px; }
.monitor-txt { display: flex; flex-direction: column; line-height: 1.05; min-width: 64px; }
.monitor-txt b { font-family: "Geist Mono", monospace; font-size: 21px; font-weight: 600; color: var(--mood, var(--pink-d)); transition: color .4s; }
.monitor-txt span { font-family: "Geist Mono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg2); }

/* ---------- hero ---------- */
.hero { height: 100vh; height: 100svh; min-height: 560px; display: grid; grid-template-rows: 1fr auto; padding-top: 70px; position: relative; }
.hero-mid { position: relative; container-type: size; }
#logo { position: absolute; left: 0; top: 0; width: 100%; height: 40%; }
#heroSlot { position: absolute; left: 50%; top: 30%; width: min(62cqw, 76cqh); height: 70%; transform: translateX(-50%); }
.pixdeco { position: absolute; inset: 0; pointer-events: none; }
.px { position: absolute; image-rendering: pixelated; shape-rendering: crispEdges; animation: bob 4s ease-in-out infinite; }
.p1 { width: 26px; left: 9%; top: 58%; } .p2 { width: 16px; left: 22%; top: 84%; animation-delay: -1s; } .p3 { width: 20px; right: 12%; top: 66%; animation-delay: -2s; } .p4 { width: 14px; right: 24%; top: 90%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes pop { from { opacity: 0; transform: scale(.6) translateX(-10px); } }
.say { position: absolute; right: calc(50% + min(19cqw, 23cqh)); top: 36%; max-width: 260px; padding: 12px 16px; border-radius: 18px 18px 6px 18px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.25; box-shadow: 0 14px 30px -14px rgba(43,31,59,.35); opacity: 0; transform: translateY(8px) scale(.9); transform-origin: bottom right; transition: opacity .25s, transform .35s var(--ease); pointer-events: none; }
.say::before { content: "Hugo"; display: block; font-family: "Geist Mono", ui-monospace, monospace; font-style: normal; font-size: 11px; color: var(--pink-d); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.say.show { opacity: 1; transform: none; }
.hero-foot { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: end; padding-bottom: clamp(22px, 4.5vh, 52px); }
.hero-foot h1 span { display: inline-block; }
.hero-side .lead { font-size: clamp(16px, min(1.3vw, 2.2vh), 19px); }


/* ---------- pinned sections ---------- */
.pinned { position: relative; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.inside { height: 380vh; }
.inside-grid { height: 100%; display: grid; grid-template-columns: 1fr 1.25fr .9fr; gap: 28px; align-items: center; padding-top: 70px; }
#insideSlot { width: 100%; height: 84%; }
.ruler { margin-top: 34px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 14px; color: var(--fg2); display: flex; align-items: baseline; gap: 8px; }
.ruler span { font-size: 60px; font-weight: 650; color: var(--fg); letter-spacing: -0.04em; }
.layers { list-style: none; padding: 0; display: grid; gap: 4px; counter-reset: l; }
.layers li { counter-increment: l; display: grid; grid-template-columns: 34px 1fr; padding: 9px 12px; border-radius: 14px; opacity: .38; transition: opacity .4s, background .4s, transform .4s var(--ease); }
.layers li::before { content: counter(l, decimal-leading-zero); grid-row: span 2; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: var(--pink); padding-top: 5px; }
.layers li b { font-weight: 650; font-size: 17px; }
.layers li small { color: var(--fg2); font-size: 13.5px; }
.layers li.on { opacity: 1; background: var(--card); transform: translateX(-8px); }

/* ---------- day (horizontal) ---------- */
.day { height: 640vh; }
.day-head { position: absolute; left: 0; right: 0; top: 78px; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.day-title { font-size: clamp(19px, 1.8vw, 26px); font-weight: 650; letter-spacing: -0.02em; margin-top: -8px; }
.timeline { position: relative; width: min(460px, 46vw); display: grid; grid-template-columns: repeat(5, 1fr); font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: var(--fg2); padding-top: 18px; }
.timeline span { transition: color .3s; } .timeline span.on { color: var(--fg); font-weight: 600; }
.tl-line { position: absolute; left: 0; right: 18%; top: 4px; height: 3px; border-radius: 3px; background: var(--line); }
.tl-line i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 3px; background: var(--pink); }
.tl-line i::after { content: ""; position: absolute; right: -7px; top: -5px; width: 13px; height: 13px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pink) 30%, transparent); }
#daySlot { position: absolute; left: 3vw; top: 20vh; width: 36vw; height: 68vh; }
.track { position: absolute; inset: 0; display: flex; width: 500vw; will-change: transform; }
.panel { position: relative; width: 100vw; height: 100%; flex: none; display: grid; grid-template-columns: 40vw minmax(0, .95fr) minmax(0, 1fr); gap: 3.2vw; align-items: center; padding: 150px 5vw 70px 0; }
.panel-copy { grid-column: 2; }
.panel-copy p:not(.when) { color: var(--fg2); margin-top: 18px; max-width: 38ch; transition: color .6s; }
.when { font-family: "Geist Mono", ui-monospace, monospace; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg2); margin-bottom: 16px; display: flex; gap: 10px; align-items: center; }
.when b { background: var(--fg); color: var(--inv); padding: 4px 9px; border-radius: 8px; font-weight: 600; letter-spacing: 0; }
.widget { grid-column: 3; background: var(--card); border: 1px solid var(--card-b); border-radius: 30px; padding: 26px; display: grid; gap: 18px; justify-items: center; transition: background .6s; }
.day-hint { position: absolute; right: 28px; bottom: 26px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--pink-d); transition: opacity .4s; }

/* fear */
.hand { position: relative; width: 240px; height: 176px; display: flex; align-items: flex-end; justify-content: center; gap: 10px; }
.hand b { position: absolute; left: 50%; bottom: 0; width: 214px; height: 74px; transform: translateX(-50%); border-radius: 30px 30px 44px 44px; background: color-mix(in srgb, var(--fg) 12%, transparent); }
.hand i { position: relative; z-index: 1; width: 30px; height: 36px; margin-bottom: 58px; border-radius: 15px 15px 8px 8px; background: color-mix(in srgb, var(--fg) 12%, transparent); transition: height .5s cubic-bezier(.3,1.7,.5,1), background .3s; }
.hand i:nth-child(1) { margin-bottom: 26px; transform: rotate(-26deg); transform-origin: bottom; }
.hand i.up { background: var(--fc, var(--pink)); }
.hand i:nth-child(1).up { height: 74px; } .hand i:nth-child(2).up { height: 108px; } .hand i:nth-child(3).up { height: 118px; } .hand i:nth-child(4).up { height: 104px; } .hand i:nth-child(5).up { height: 80px; }
.fingers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; width: 100%; }
.fingers button { font-size: 24px; font-weight: 600; padding: 8px 0; border-radius: 16px; border: 1.5px solid var(--line); background: transparent; cursor: pointer; transition: all .2s var(--ease); }
.fingers button:hover { transform: translateY(-3px); border-color: var(--fg); }
.fingers button.on { background: var(--fc, var(--pink)); border-color: transparent; color: var(--plum); transform: translateY(-3px) rotate(-3deg); }
.bubble { justify-self: stretch; background: #fff; color: var(--ink); border-radius: 20px 20px 20px 6px; padding: 14px 16px; min-height: 76px; font-size: 16px; font-weight: 500; line-height: 1.4; }
.bubble::before { content: "Hugo"; display: block; font-family: "Geist Mono", ui-monospace, monospace; font-style: normal; font-size: 11px; color: var(--pink-d); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }

/* breathe */
.leds { --b: 0; position: relative; width: 250px; height: 250px; display: grid; place-items: center; }
.leds::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--mint) calc(var(--b) * 45%), transparent), transparent 70%); }
.leds i { position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px; border-radius: 50%; background: color-mix(in srgb, var(--mint) calc(40% + var(--b) * 60%), #c9bdf5); box-shadow: 0 0 calc(8px + var(--b) * 26px) calc(var(--b) * 6px) color-mix(in srgb, var(--mint) 60%, transparent); transform: rotate(calc(var(--i) * 51.43deg)) translateY(calc(-1 * (72px + var(--b) * 40px))) scale(calc(.7 + var(--b) * .55)); }
.leds i:nth-child(1) { --i: 0; } .leds i:nth-child(2) { --i: 1; } .leds i:nth-child(3) { --i: 2; } .leds i:nth-child(4) { --i: 3; } .leds i:nth-child(5) { --i: 4; } .leds i:nth-child(6) { --i: 5; } .leds i:nth-child(7) { --i: 6; }
.leds span { font-size: 18px; font-weight: 600; position: relative; font-family: "Geist Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: .04em; }

/* plea phone */
.plea { background: transparent; border: 0; padding: 0; }
.phone { width: min(310px, 100%); background: #fff; color: var(--ink); border-radius: 38px; padding: 20px 16px 22px; border: 8px solid var(--ink); box-shadow: 0 30px 60px -30px rgba(43,31,59,.5); transform: rotate(3deg); }
.ph-top { display: flex; justify-content: space-between; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; color: #8a7f98; padding: 0 6px 12px; }
.ph-alert { border-radius: 18px; padding: 14px; background: #fff3e6; border: 1.5px solid #f7b98a; transition: background .4s, border-color .4s; animation: ping 2s infinite; }
.ph-alert.done { background: #e4f6ef; border-color: #5fc9a8; animation: none; }
@keyframes ping { 0%, 70%, 100% { transform: none; } 75% { transform: translateX(-3px) rotate(-1deg); } 85% { transform: translateX(3px) rotate(1deg); } }
.ph-k { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; color: #c06a2b; text-transform: uppercase; letter-spacing: .04em; }
.ph-alert.done .ph-k { color: #2f8f71; }
.ph-msg { font-weight: 700; font-size: 18px; margin: 6px 0 4px; }
.ph-q { font-size: 13.5px; color: #6c6080; margin-bottom: 12px; }
.ph-alert .btn-ink { background: var(--ink); color: #fff; }
.ph-reply { margin-top: 12px; padding: 10px 14px; border-radius: 16px; background: #f2ecfd; font-size: 15px; font-weight: 500; opacity: 0; transform: translateY(6px); transition: all .4s var(--ease); }
.ph-reply.show { opacity: 1; transform: none; }

/* story */
.panel.night .stars { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 30% 70%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 52% 14%, #fde0ea 50%, transparent 51%), radial-gradient(1px 1px at 66% 80%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 84% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 92% 64%, #c9bdf5 50%, transparent 51%), radial-gradient(1.5px 1.5px at 44% 52%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 6% 86%, #fff 50%, transparent 51%); animation: twinkle 3s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .45; } }
.story { justify-items: stretch; min-height: 340px; align-content: start; }
.wave { height: 44px; display: flex; align-items: center; gap: 4px; }
.wave i { flex: 1; height: 6px; border-radius: 4px; background: var(--lav-l); transition: transform .12s; }
.st-line { font-size: 16.5px; line-height: 1.45; min-height: 0; }
.st-line.kid { justify-self: end; background: var(--pink); color: var(--plum); font-style: normal; font-weight: 600; padding: 9px 14px; border-radius: 18px 18px 6px 18px; font-size: 16px; opacity: 0; transform: scale(.8); transition: all .35s var(--ease); }
.st-line.kid.show { opacity: 1; transform: none; }
.st-flag { justify-self: start; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; padding: 6px 10px; border-radius: 999px; border: 1px dashed var(--pink); color: var(--pink); opacity: 0; transition: opacity .3s; }
.st-flag.show { opacity: 1; }
.story .link { justify-self: start; font-size: 14px; }

/* done */
.done { grid-template-columns: auto 1fr; align-items: center; justify-items: start; }
.sticker { position: relative; width: 150px; height: 150px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; box-shadow: 0 8px 0 -2px var(--ink); transform: rotate(-8deg); }
.sticker svg { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.sticker text { font-family: "Geist Mono", ui-monospace, monospace; font-size: 14.5px; font-weight: 600; letter-spacing: .12em; fill: var(--ink); }
.sticker b { font-size: 44px; color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.sum { display: grid; gap: 14px; }
.bars { display: flex; gap: 12px; height: 110px; align-items: flex-end; }
.bar { width: 64px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bar span { width: 100%; height: var(--h); background: var(--c); border-radius: 12px 12px 4px 4px; }
.bar small { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px; color: var(--fg2); white-space: nowrap; }
.sum p { font-size: 14.5px; color: var(--fg2); max-width: 32ch; }
.sum p b { display: block; color: var(--fg); font-size: 15px; margin-bottom: 2px; }

/* ---------- regular sections ---------- */
.sec { padding: clamp(110px, 16vh, 170px) 0; }
.split { display: grid; grid-template-columns: 1fr 1.08fr; gap: 72px; align-items: center; }
.reveal { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.ticks { list-style: none; padding: 0; margin-top: 30px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--fg2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 7px; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%23241930' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); transform: rotate(-6deg); }
.ticks b { color: var(--fg); }

.tablet { background: #fff; color: var(--ink); border-radius: 28px; border: 10px solid var(--ink); box-shadow: 0 50px 80px -40px rgba(43,31,59,.55), 14px 14px 0 var(--lav-l); overflow: hidden; }
.tb-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #eee6f6; }
.tb-bar span { width: 10px; height: 10px; border-radius: 50%; background: #eee6f6; }
.tb-bar p { margin-left: 8px; font-size: 13px; color: #8a7f98; }
.tb-body { display: grid; grid-template-columns: 170px 1fr; min-height: 340px; }
.tb-body aside { border-right: 1px solid #eee6f6; padding: 14px 10px; display: grid; gap: 4px; align-content: start; }
.tb-h { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; color: #8a7f98; text-transform: uppercase; padding: 0 8px 6px; }
.bear { display: flex; gap: 10px; align-items: center; padding: 9px 8px; border-radius: 12px; }
.bear.on { background: #f6f1fe; }
.bear i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent); flex: none; }
.bear b { display: block; font-size: 14px; } .bear small { font-size: 12px; color: #8a7f98; }
.feed { padding: 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; max-height: 360px; }
.fi { border-radius: 16px; padding: 12px 14px; background: var(--bgc, #faf7ff); border: 1.5px solid var(--bc, #eee6f6); animation: slide .6s var(--ease) both; }
.fi p { font-size: 14px; } .fi small { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; color: var(--kc, #8a7f98); text-transform: uppercase; letter-spacing: .04em; }
@keyframes slide { from { opacity: 0; transform: translateY(-16px) scale(.97); } }

.iris .lead { margin-top: 22px; max-width: 60ch; }
.flow { display: grid; grid-template-columns: 1fr 90px 1fr 90px 1fr; align-items: center; margin: 60px 0 22px; }
.fnode { background: var(--card); border: 1px solid var(--card-b); border-radius: 22px; padding: 20px 22px; }
.fnode b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.fnode small { color: var(--fg2); font-size: 14px; }
.fnode.hi { background: var(--ink); color: var(--cream); } .fnode.hi small { color: #c6bad8; }
.fpipe { position: relative; height: 3px; background: var(--line); }
.fpipe i { position: absolute; top: -3px; width: 9px; height: 9px; background: var(--pink); animation: pipe 2.4s linear infinite; }
.fpipe i:nth-child(2) { animation-delay: .8s; background: var(--lav); } .fpipe i:nth-child(3) { animation-delay: 1.6s; background: var(--mint); }
@keyframes pipe { from { left: 0; } to { left: calc(100% - 9px); } }
.iris-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.card { background: var(--card); border: 1px solid var(--card-b); border-radius: var(--r); padding: 28px; }
.card h3 { font-size: 24px; font-weight: 650; letter-spacing: -0.03em; margin-bottom: 10px; }
.card p { color: var(--fg2); }
.card .note { margin-top: 16px; font-size: 14.5px; border-left: 3px solid var(--pink); padding-left: 12px; }
.code { background: var(--ink); color: #e9e1f5; border: 0; }
.mono-h { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px; color: #a99cbd; margin-bottom: 12px; }
.code pre { margin: 0 0 18px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 13.5px; line-height: 1.75; white-space: pre-wrap; }
.code .k { color: #9fc6f2; } .code .s { color: #fde0ea; } .code .n { color: var(--peach); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: #d6cce6; }

.speed-top h2 { max-width: 18ch; }

.lat { display: flex; gap: 6px; margin-top: 60px; }
.seg { width: var(--w); position: relative; padding-top: 74px; }
.seg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 56px; border-radius: 16px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.lat.in .seg::before { transform: none; }
.lat.in .seg:nth-child(2)::before { transition-delay: .5s; } .lat.in .seg:nth-child(3)::before { transition-delay: 1s; } .lat.in .seg:nth-child(4)::before { transition-delay: 1.6s; }
.seg b { display: block; font-size: 24px; font-weight: 600; }
.seg small { color: var(--fg2); font-size: 14px; display: block; padding-right: 12px; }
.lat-axis { display: flex; justify-content: space-between; margin-top: 26px; padding-top: 10px; border-top: 1.5px dashed var(--line); font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: var(--fg2); }

.finale { min-height: 100vh; display: flex; flex-direction: column; padding-top: 140px; }
.finale-in { flex: 1; display: grid; grid-template-rows: auto minmax(300px, 1fr) auto; gap: 20px; text-align: center; justify-items: center; }
.finale h2 { max-width: 20ch; }
#finaleSlot { width: min(560px, 90vw); height: 100%; min-height: 300px; }
.finale-cta { display: grid; gap: 16px; justify-items: center; padding-bottom: 50px; }
.finale-cta p { font-size: 19px; color: var(--fg2); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0 34px; border-top: 1px solid var(--line); color: var(--fg2); font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .pill { display: none; }
  .nav { padding: 12px 16px; }
  .hero-foot { grid-template-columns: 1fr; gap: 12px; }
  .hero-side .lead { display: none; }
  .row { margin-top: 16px; }
    .say { right: auto; left: 4%; top: 2%; max-width: 200px; font-size: 16px; }
  .inside-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding: 76px 0 26px; gap: 6px; }
  .inside-copy .lead, .ruler { display: none; }
  .inside-copy h2 { font-size: 34px; }
  .inside-copy .eyebrow { margin-bottom: 8px; }
  .layers li { display: none; } .layers li.on { display: grid; transform: none; }
  .day-head { top: 66px; } .timeline { display: none; }
  #daySlot { left: 0; right: 0; width: 100vw; top: 112px; height: 23vh; }
  .panel { grid-template-columns: 1fr; grid-template-rows: 23vh auto auto; padding: 112px 20px 70px; gap: 12px; align-items: start; align-content: start; }
  .panel-copy { grid-column: 1; grid-row: 2; } .widget { grid-column: 1; grid-row: 3; }
  .panel-copy p:not(.when) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  #heroSlot { width: min(74cqw, 100cqh); height: min(74cqw, 100cqh); }
  .panel-copy h3 { font-size: 32px; } .panel-copy p:not(.when) { font-size: 15px; margin-top: 8px; }
  .when { margin-bottom: 8px; }
  .widget { padding: 16px; gap: 12px; border-radius: 22px; }
  .hand { transform: scale(.6); margin: -38px 0 -36px; }
  .when b { padding: 2px 7px; }
  .bubble { min-height: 0; font-size: 16px; padding: 10px 14px; }
  .leds { width: 170px; height: 170px; } .leds i { transform: rotate(calc(var(--i) * 51.43deg)) translateY(calc(-1 * (50px + var(--b) * 26px))) scale(calc(.6 + var(--b) * .5)); }
  .phone { transform: none; padding: 14px 12px; } .ph-q { display: none; }
  .story { min-height: 0; } .st-line { font-size: 15.5px; }
  .sticker { width: 100px; height: 100px; } .sticker text { font-size: 15px; } .sticker b { font-size: 30px; }
  .bars { height: 80px; }
  .day-hint { display: none; }
  .split, .iris-grid { grid-template-columns: 1fr; gap: 44px; }
  .flow { grid-template-columns: 1fr; }
  .fpipe { width: 3px; height: 44px; margin: 0 auto; }
  .fpipe i { left: -3px !important; animation-name: pipev; }
  @keyframes pipev { from { top: 0; } to { top: calc(100% - 9px); } }
  .tb-body { grid-template-columns: 1fr; } .tb-body aside { display: none; }
  .lat { flex-direction: column; gap: 18px; } .seg { width: auto; padding: 24px 0 0; } .seg::before { width: calc(var(--w) * 3.2); height: 12px; right: auto; }
  .lat-axis { display: none; }
  .monitor { right: 10px; bottom: 10px; } .dock { width: 50px; height: 50px; } .monitor canvas { display: none; } .mon-panel { padding: 8px 10px; }
  .foot { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =================== technical chapters =================== */
code { font-family: "Geist Mono", monospace; font-size: .86em; background: var(--card); border: 1px solid var(--card-b); padding: 1px 6px; border-radius: 6px; }

/* pipeline (pinned) */
.pipe-sec { height: 640vh; }
.pp { height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: 96px 0 28px; gap: 18px; }
.pp-body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: 4vw; align-items: center; min-height: 0; }
.pp-steps { position: relative; height: 340px; }
.ps { position: absolute; inset: 0; opacity: 0; transform: translateY(26px); transition: opacity .45s var(--ease), transform .55s var(--ease); pointer-events: none; }
.ps.on { opacity: 1; transform: none; pointer-events: auto; }
.ps::before { content: attr(data-n); display: block; font-family: "Geist Mono", ui-monospace, monospace; font-size: 84px; font-weight: 600; line-height: 1; letter-spacing: -0.06em; color: var(--pink); margin-bottom: 6px; }
.ps-k { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg2); }
.ps h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 650; letter-spacing: -0.035em; margin: 4px 0 12px; }
.ps p:not(.ps-k) { color: var(--fg2); max-width: 46ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags span { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--cream); }
.pp-diagram { position: relative; height: min(52vh, 440px); }
.pp-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pp-lines path { fill: none; stroke: var(--line); stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pn { position: absolute; width: clamp(118px, 11vw, 160px); transform: translate(-50%, -50%); padding: 12px 14px; border-radius: 18px; background: #fff; border: 1.5px solid var(--card-b); box-shadow: 0 10px 24px -18px rgba(43,31,59,.5); transition: transform .45s var(--ease), background .35s, color .35s, border-color .35s; z-index: 1; }
.pn i { display: inline-block; font-style: normal; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; color: var(--fg2); }
.pn b { display: block; font-size: 16px; font-weight: 650; letter-spacing: -0.02em; }
.pn small { display: block; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; color: var(--fg2); }
.pn::after { content: ""; position: absolute; right: 10px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--tc); }
.pn.t-dev { --tc: #3fae8c; } .pn.t-cloud { --tc: #8a72d8; } .pn.t-srv { --tc: #e8955a; }
.pn.done { border-color: var(--tc); }
.pn.on { transform: translate(-50%, -50%) scale(1.1); background: var(--ink); color: var(--cream); border-color: var(--ink); box-shadow: 0 0 0 6px color-mix(in srgb, var(--pink) 35%, transparent), 0 20px 40px -20px rgba(43,31,59,.6); }
.pn.on i, .pn.on small { color: #c9bfd8; }
.packet { position: absolute; left: 0; top: 0; width: 16px; height: 16px; margin: -8px; border-radius: 4px; background: var(--pink); box-shadow: 0 0 0 5px color-mix(in srgb, var(--pink) 30%, transparent); z-index: 0; will-change: transform; }
.chip-cloud { position: absolute; left: 0; right: 0; bottom: -6px; display: flex; justify-content: center; gap: 18px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px; color: var(--fg2); }
.chip-cloud span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: #3fae8c; }
.chip-cloud .cc-cloud::before { background: #8a72d8; }
.chip-cloud::after { content: "server"; padding-left: 14px; background: radial-gradient(circle at 4px 50%, #e8955a 4px, transparent 4.5px); }
.pp-progress { font-family: "Geist Mono", ui-monospace, monospace; font-size: 13px; color: var(--fg2); }
.pp-progress span { color: var(--fg); font-weight: 600; }

/* latency gantt */
.lat-sec .lead { margin-top: 20px; }
.gantt { position: relative; margin-top: 56px; padding-bottom: 64px; display: grid; gap: 10px; }
.g-row { display: grid; grid-template-columns: 130px 1fr; align-items: center; }
.g-lab { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; color: var(--fg2); }
.g-lane { position: relative; height: 34px; border-bottom: 1px dashed var(--line); }
.g { position: absolute; top: 4px; height: 26px; left: calc(var(--x) * 1%); width: calc(var(--w) * 1%); border-radius: 8px; display: flex; align-items: center; padding: 0 10px; font-style: normal; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px; color: var(--ink); white-space: nowrap; overflow: hidden; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); transition-delay: calc(var(--x) * 28ms); }
.g em { font-style: normal; }
.gantt.in .g { transform: none; }
.g.kid { background: var(--peach); } .g.stt { background: #8fd8bf; } .g.llm { background: var(--lav-l); } .g.tts { background: var(--sky); } .g.spk { background: var(--pink); }
.g.mark { width: 3px; padding: 0; top: -6px; height: 46px; background: var(--ink); border-radius: 2px; }
.g-row.ghost .g-lab { opacity: .6; }
.g.ghost-b { background: transparent; border: 1.5px dashed color-mix(in srgb, var(--fg) 35%, transparent); color: var(--fg2); }
.g.ghost-s { background: color-mix(in srgb, var(--fg) 10%, transparent); color: var(--fg2); }
.g-brace { position: absolute; bottom: 0; left: calc(130px + (100% - 130px) * var(--x) / 100); width: calc((100% - 130px) * var(--w) / 100); height: 44px; border: 2px solid var(--pink-d); border-top: 0; border-radius: 0 0 10px 10px; opacity: 0; transition: opacity .5s 1.6s; }
.gantt.in .g-brace { opacity: 1; }
.g-brace span { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); white-space: nowrap; font-weight: 650; color: var(--pink-d); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 46px; }
.facts div { background: #fff; border-radius: 20px; padding: 18px 20px; }
.facts b { display: block; font-size: 30px; font-weight: 650; letter-spacing: -0.04em; }
.facts small { color: var(--fg2); font-size: 14px; }

/* tags */
.tags-sec .lead { margin-top: 20px; }
.tag-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; margin-top: 48px; align-items: stretch; }
.term { background: #120c19; border-radius: 22px; padding: 18px 22px; border: 1px solid rgba(255,255,255,.08); min-height: 300px; }
.term-h { display: flex; align-items: center; gap: 6px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px; color: #8f82a3; margin-bottom: 16px; }
.term-h span { width: 9px; height: 9px; border-radius: 50%; background: #3a2d4a; }
.term-h span:last-of-type { margin-right: 8px; }
.term pre { margin: 0; font-family: "Geist Mono", ui-monospace, monospace; font-size: 15px; line-height: 1.75; white-space: pre-wrap; color: #e9e1f5; }
.term .tg { color: #241930; background: var(--pink); border-radius: 5px; padding: 1px 4px; }
.term .tg.t2 { background: var(--peach); } .term .tg.t3 { background: #8fd8bf; }
.term .cur { display: inline-block; width: 9px; height: 1.1em; vertical-align: -3px; background: var(--pink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.outs { display: grid; gap: 12px; }
.out { border-radius: 18px; padding: 14px 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.out-k { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: #c6bad8; margin-bottom: 6px; }
.out-v { margin: 0; font-size: 15.5px; min-height: 1.5em; white-space: pre-wrap; }
pre.out-v { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; line-height: 1.6; color: #fde0ea; }
.out.flash { animation: flash .7s var(--ease); }
@keyframes flash { 0% { background: rgba(245,154,179,.35); } }
.tag-table { margin-top: 28px; display: grid; gap: 2px; }
.tag-table div { display: grid; grid-template-columns: 260px 1fr auto; gap: 18px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.tag-table code { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: var(--pink); }
.tag-table span { color: var(--fg2); }
.tag-table em { font-style: normal; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; color: #8fd8bf; }

/* barge-in */
.aec { background: #fff; border-radius: 26px; padding: 26px; box-shadow: 0 30px 60px -40px rgba(43,31,59,.5); }
.aec-row span { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: var(--fg2); }
.aec-row svg { width: 100%; height: 60px; display: block; }
.aec-row path { fill: none; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.w-mix { stroke: #8f82a3; } .w-ref { stroke: var(--lav); } .w-kid { stroke: var(--pink-d); stroke-width: 2.6 !important; }
.aec-op { text-align: center; font-size: 22px; font-weight: 650; color: var(--fg2); margin: 4px 0; }
.aec-note { margin-top: 14px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px; color: var(--fg2); }

/* hardware */
.hw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 46px; }
.hw { background: rgba(255,255,255,.7); border-radius: 22px; padding: 20px 22px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; }
.hw.big { grid-column: span 2; background: var(--ink); color: var(--cream); }
.hw.big small { color: #c9bfd8; }
.hw.alt { background: #fff; color: var(--ink); } .hw.alt small { color: var(--fg2); }
.hw b { font-size: 26px; font-weight: 650; letter-spacing: -0.03em; }
.hw small { color: var(--fg2); font-size: 14px; margin-top: 10px; }

/* protocol */
.proto { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; margin-top: 90px; align-items: start; }
.proto h3 { font-size: 30px; font-weight: 650; letter-spacing: -0.03em; margin-bottom: 10px; }
.proto-copy p:not(.eyebrow) { color: var(--fg2); }
.seq { list-style: none; padding: 0; display: grid; gap: 8px; counter-reset: q; }
.seq li { counter-increment: q; display: grid; grid-template-columns: 30px 120px 1fr; gap: 4px 12px; align-items: baseline; background: #fff; border-radius: 16px; padding: 12px 16px; font-size: 14.5px; color: var(--fg2); }
.seq li::before { content: counter(q); grid-row: span 2; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: var(--pink-d); }
.seq li code { grid-row: span 2; justify-self: start; background: var(--ink); color: var(--cream); border: 0; }
.seq li span:only-of-type { grid-row: span 2; }
.seq b { color: var(--fg); font-family: "Geist Mono", ui-monospace, monospace; font-weight: 600; font-size: 13px; }

/* iris mapping */
.fmap { display: grid; gap: 4px; }
.fmap div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.fmap span { color: #c9bfd8; } .fmap b { font-family: "Geist Mono", ui-monospace, monospace; font-weight: 500; color: #9fc6f2; font-size: 13px; }
.card p code { background: rgba(43,31,59,.06); }

@media (max-width: 1000px) {
  .pp { padding: 70px 0 16px; gap: 8px; }
  .pp-head h2 { font-size: 26px; } .pp-head .eyebrow { margin-bottom: 6px; }
  .pp-body { grid-template-columns: 1fr; grid-template-rows: 1fr auto; gap: 10px; align-items: start; }
  .pp-steps { height: 300px; }
  .ps::before { font-size: 44px; } .ps h3 { font-size: 24px; margin-bottom: 6px; } .ps p:not(.ps-k) { font-size: 14.5px; }
  .tags { margin-top: 10px; } .tags span { font-size: 10.5px; padding: 4px 8px; }
  .pp-diagram { height: 210px; }
  .pn { width: 84px; padding: 6px 8px; border-radius: 12px; } .pn b { font-size: 11.5px; } .pn small, .pn i { display: none; } .pn::after { width: 6px; height: 6px; right: 6px; top: 6px; }
  .chip-cloud { font-size: 10px; gap: 10px; bottom: -14px; }
  .g-row { grid-template-columns: 84px 1fr; } .g-lab { font-size: 10.5px; } .g { font-size: 9.5px; padding: 0 5px; }
  .g-brace { left: calc(84px + (100% - 84px) * var(--x) / 100); width: calc((100% - 84px) * var(--w) / 100); }
  .g-brace span { font-size: 13px; }
  .facts, .hw-grid { grid-template-columns: 1fr 1fr; }
  .tag-grid, .proto { grid-template-columns: 1fr; }
  .tag-table div { grid-template-columns: 1fr; gap: 4px; }
  .hw.big { grid-column: span 2; }
  .seq li { grid-template-columns: 22px 1fr; } .seq li code { grid-row: auto; }
}

/* APK download */
.apk { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; padding: 14px 22px 14px 18px; border-radius: 18px; background: var(--ink); color: var(--cream); box-shadow: 0 6px 0 -2px var(--pink); transition: transform .2s var(--ease), box-shadow .2s; }
.apk:hover { transform: translateY(-2px); box-shadow: 0 9px 0 -2px var(--pink); }
.apk svg { width: 30px; height: 30px; color: #8fd8bf; flex: none; }
.apk b { display: block; font-size: 17px; font-weight: 650; }
.apk small { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: #c9bfd8; }
.apk-note { margin-top: 10px; font-size: 13px; color: var(--fg2); }

/* ---------- příprava (Duolingo-ish lesson card) ---------- */
.prep-how { list-style: none; padding: 0; margin-top: 34px; display: grid; gap: 18px; counter-reset: s; }
.prep-how li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; counter-increment: s; }
.prep-how li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: var(--plum); background: var(--lav-l); box-shadow: 0 4px 0 #a996e8; }
.prep-how li:nth-child(2)::before { background: #bfe9da; box-shadow: 0 4px 0 #86cdb4; }
.prep-how li:nth-child(3)::before { background: #fcd3df; box-shadow: 0 4px 0 #ec9fb6; }
.prep-how b { font-size: 19px; letter-spacing: -0.02em; }
.prep-how span { color: var(--fg2); }

.prep-app { background: #fff; color: var(--ink); border: 2px solid rgba(43,31,59,.1); border-radius: 28px; padding: 22px; box-shadow: 0 8px 0 rgba(43,31,59,.08), 0 40px 70px -40px rgba(43,31,59,.4); }
.pa-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pa-tabs button { border: 2px solid rgba(43,31,59,.12); border-bottom-width: 4px; background: #fff; border-radius: 14px; padding: 9px 6px; font-weight: 650; font-size: 15px; cursor: pointer; transition: transform .15s, border-color .2s, background .2s; }
.pa-tabs button[aria-selected="true"] { background: #f1edfc; border-color: var(--lav); color: #5b44b3; }
.pa-tabs button:active { transform: translateY(2px); border-bottom-width: 2px; }
.pa-path { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 6px; margin: 26px 6px 22px; }
.pa-path::before { content: ""; position: absolute; left: 24px; right: 24px; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: repeating-linear-gradient(90deg, #e7e1ef 0 10px, transparent 10px 16px); }
.pa-node { position: relative; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; background: #e9e4f0; box-shadow: 0 5px 0 #cfc7da; display: grid; place-items: center; font-weight: 800; color: #9a90a8; transition: transform .2s var(--ease), background .25s, box-shadow .25s; }
.pa-node.done { background: var(--mint); box-shadow: 0 5px 0 #3fa784; color: #fff; }
.pa-node.cur { background: var(--lav); box-shadow: 0 5px 0 #6c55b8, 0 0 0 6px rgba(138,114,216,.2); color: #fff; animation: bob 1.6s ease-in-out infinite; }
.pa-node.tried::after { content: "★"; position: absolute; top: -8px; right: -6px; font-size: 15px; color: #f0a73a; text-shadow: 0 1px 0 #fff; }
.pa-node small { position: absolute; top: 100%; margin-top: 10px; font-size: 11.5px; font-weight: 600; color: var(--fg2); white-space: nowrap; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.pa-say { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; margin-top: 44px; }
.pa-hugo { width: 52px; height: auto; image-rendering: pixelated; animation: bob 2.4s ease-in-out infinite; }
.pa-say > div { position: relative; background: #faf7ff; border: 2px solid #e6dff8; border-radius: 18px; padding: 12px 16px; min-height: 86px; }
.pa-say > div::before { content: ""; position: absolute; left: -9px; top: 18px; width: 14px; height: 14px; background: #faf7ff; border-left: 2px solid #e6dff8; border-bottom: 2px solid #e6dff8; transform: rotate(45deg); }
.pa-say.try > div { background: #effaf5; border-color: #bfe9da; }
.pa-say.try > div::before { background: #effaf5; border-color: #bfe9da; }
.pa-k { font-family: "Geist Mono", monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--pink-d); margin-bottom: 4px; }
.pa-t { font-size: 17px; font-weight: 500; line-height: 1.35; }
.pa-foot { display: flex; gap: 10px; margin-top: 16px; }
.pa-foot .btn { box-shadow: 0 4px 0 -1px var(--pink); }
.pa-next { background: #fff; color: var(--ink); border: 2px solid rgba(43,31,59,.14); box-shadow: 0 4px 0 rgba(43,31,59,.12) !important; }
.pa-plan { margin-top: 22px; padding-top: 18px; border-top: 2px dashed #ece6f3; display: grid; gap: 9px; }
.pa-ph { font-weight: 750; font-size: 16px; }
.pa-q { display: flex; flex-wrap: wrap; gap: 7px; }
.pa-q button { border: 2px solid rgba(43,31,59,.12); border-bottom-width: 4px; background: #fff; border-radius: 12px; padding: 6px 11px; font-size: 14px; font-weight: 600; cursor: pointer; transition: transform .15s, background .2s, border-color .2s; }
.pa-q button[aria-pressed="true"] { background: #fff1f5; border-color: var(--pink-d); color: #a83a62; }
.pa-q button:active { transform: translateY(2px); border-bottom-width: 2px; }
.pa-tag { display: block; margin-top: 4px; font-family: "Geist Mono", monospace; font-size: 12.5px; color: #6b55c0; background: #f4f0fd; border-radius: 10px; padding: 8px 10px; }
.pa-plan.flash { animation: flash .7s var(--ease); }
@keyframes flash { 30% { background: #fff6f9; } }

/* ---------- rodiče (phone mock) ---------- */
.phone2 { width: min(340px, 100%); margin: 0 auto; border: 11px solid var(--ink); border-radius: 42px; background: var(--cream); box-shadow: 0 50px 80px -40px rgba(43,31,59,.55), -14px 14px 0 #bcd5f2; overflow: hidden; }
.p2-screen { padding: 22px 18px 24px; display: grid; gap: 12px; color: var(--ink); }
.p2-top { display: flex; justify-content: space-between; align-items: baseline; }
.p2-top b { font-size: 22px; letter-spacing: -0.03em; }
.p2-top span { font-size: 12.5px; color: #66597a; display: inline-flex; align-items: center; gap: 6px; }
.p2-live { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(95,201,168,.6); animation: live 1.6s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(95,201,168,0); } }
.p2-path { display: flex; justify-content: space-between; padding: 14px 6px 10px; position: relative; }
.p2-path::before { content: ""; position: absolute; left: 20px; right: 20px; top: 50%; height: 4px; margin-top: -2px; background: #e7e1ef; border-radius: 2px; }
.p2-path .n { position: relative; width: 34px; height: 34px; border-radius: 50%; background: #e9e4f0; box-shadow: 0 4px 0 #cfc7da; }
.p2-path .n.done { background: var(--mint); box-shadow: 0 4px 0 #3fa784; }
.p2-path .n.cur { background: var(--lav); box-shadow: 0 4px 0 #6c55b8, 0 0 0 5px rgba(138,114,216,.22); animation: bob 1.6s ease-in-out infinite; }
.p2-path .n em { position: absolute; bottom: 100%; left: 50%; translate: -50% -6px; font-style: normal; font-size: 10.5px; font-weight: 700; background: var(--ink); color: var(--cream); padding: 2px 7px; border-radius: 99px; }
.p2-card { background: #fff; border: 2px solid rgba(43,31,59,.08); border-radius: 16px; padding: 10px 13px; }
.p2-card small { font-family: "Geist Mono", monospace; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #8a7f98; }
.p2-card p { font-size: 14.5px; font-weight: 550; line-height: 1.35; }
.p2-card.ok { background: #effaf5; border-color: #bfe9da; }
.p2-fear { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #66597a; background: #fff; border: 2px solid rgba(43,31,59,.08); border-radius: 16px; padding: 10px 13px; }
.p2-fear b { font-size: 22px; color: #c06a2b; }
.p2-fear b.ok { color: #2f8f71; }
.p2-fear .ar { font-size: 18px; }

@media (max-width: 1000px) {
  .pa-node { width: 44px; height: 44px; }
  .parent .split > .phone2 { order: 2; }
}

.display.md + .lead { margin-top: 20px; }
@media (max-width: 560px) {
  .prep-app { padding: 16px; border-radius: 22px; }
  .pa-tabs button { font-size: 13px; padding: 8px 2px; white-space: nowrap; }
  .pa-node small { font-size: 10px; }
  .pa-q button { font-size: 13px; }
}
