/* Kolónka — účtovná kancelária, Bratislava
   Layout: a modern fintech product page. Deep ink canvas, glass panels, and a live client-portal mockup as the hero. */
:root {
  --bg: #070B14;
  --bg-2: #0B1120;
  --panel: rgba(255, 255, 255, .035);
  --panel-2: rgba(255, 255, 255, .06);
  --stroke: rgba(255, 255, 255, .08);
  --stroke-2: rgba(255, 255, 255, .14);
  --text: #E9EDF6;
  --text-2: rgba(233, 237, 246, .66);
  --text-3: rgba(233, 237, 246, .58);
  --mint: #3EE6B0;
  --blue: #5B8CFF;
  --amber: #FFB547;
  --rose: #FF6B8E;
  color-scheme: dark;

  --sans: 'Mona Sans', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --pad: clamp(16px, 4vw, 48px);
  --r: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.55; font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
::selection { background: var(--mint); color: var(--bg); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--pad); }

/* ---------- background ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 50% at 60% 10%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 50% at 60% 10%, #000, transparent 75%); }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: -18vw; background: radial-gradient(circle, rgba(91,140,255,.55), transparent 65%); }
.aurora i:nth-child(2) { width: 34vw; height: 34vw; left: 70%; top: 8vw; background: radial-gradient(circle, rgba(62,230,176,.38), transparent 65%); animation-delay: -8s; }
.aurora i:nth-child(3) { width: 40vw; height: 40vw; left: -12vw; top: 60vh; background: radial-gradient(circle, rgba(91,140,255,.22), transparent 65%); animation-delay: -14s; }
@keyframes drift { to { transform: translate(-6vw, 4vw) scale(1.12); } }

/* ---------- type ---------- */
.h1, .h2, .calc__big, .next__t b { font-variation-settings: "wdth" 112; letter-spacing: -.035em; text-wrap: balance; }
.h1 { font-size: clamp(42px, 5.4vw, 80px); line-height: 1; font-weight: 640; }
.h2 { font-size: clamp(32px, 3.8vw, 56px); line-height: 1.04; font-weight: 600; }
.dim { color: var(--text-3); }
.grad { background: linear-gradient(100deg, #9DB8FF 10%, var(--mint) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--text-2); max-width: 34em; }
.lbl, .w__k { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 12px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .3s var(--ease), box-shadow .4s, background .3s, border-color .3s; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn--glow { background: var(--mint); color: #04130E; box-shadow: 0 0 0 1px rgba(62,230,176,.5), 0 10px 30px -8px rgba(62,230,176,.55); }
@media (hover: hover) { .btn--glow:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(62,230,176,.7), 0 16px 40px -8px rgba(62,230,176,.7); } }
.btn--ghost { background: var(--panel); border: 1px solid var(--stroke-2); }
@media (hover: hover) { .btn--ghost:hover { background: var(--panel-2); border-color: rgba(255,255,255,.28); } }
.btn:active { transform: translateY(0) scale(.98); }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: 99px; background: var(--panel); border: 1px solid var(--stroke); font-size: 13px; color: var(--text-2); width: fit-content; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.pill--sm { height: 28px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--mint); border-color: rgba(62,230,176,.25); background: rgba(62,230,176,.06); }
.panel { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid var(--stroke); border-radius: var(--r); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.panel--glow { box-shadow: 0 0 0 1px rgba(91,140,255,.08), 0 40px 100px -40px rgba(91,140,255,.4); }

/* spotlight that follows the cursor */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -40%), rgba(91,140,255,.14), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
@media (hover: hover) { .spot:hover::before { opacity: 1; } }

/* ---------- top bar ---------- */
.bar { position: fixed; z-index: 40; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 18px; padding: calc(14px + env(safe-area-inset-top, 0px)) max(var(--pad), calc((100% - 1280px) / 2 + var(--pad))) 14px; transition: background .4s, border-color .4s, padding .4s; border-bottom: 1px solid transparent; }
.bar.is-solid { background: rgba(7, 11, 20, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--stroke); padding-block: 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.03em; font-variation-settings: "wdth" 112; }
.logo svg { width: 30px; height: 30px; }
.bar__nav { display: flex; gap: 4px; margin-inline: auto; }
.bar__nav a { padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--text-2); transition: color .25s, background .25s; }
.bar__nav a.is-on { color: var(--text); background: var(--panel-2); }
@media (hover: hover) { .bar__nav a:hover { color: var(--text); background: var(--panel-2); } }
.chip-due { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,181,71,.28); background: rgba(255,181,71,.07); font-family: var(--mono); font-size: 12px; color: #FFD596; white-space: nowrap; font-variant-numeric: tabular-nums; transition: background .3s; }
@media (hover: hover) { .chip-due:hover { background: rgba(255,181,71,.13); } }
.chip-due i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(255,181,71,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(255,181,71,0); } 100% { box-shadow: 0 0 0 0 rgba(255,181,71,0); } }
.bar__menu { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--stroke-2); position: relative; }
.bar__menu span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: currentColor; transition: transform .35s var(--ease); }
.bar__menu span:first-child { top: 15px; } .bar__menu span:last-child { top: 23px; }
.bar__menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.bar__menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.sheet { display: none; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 4vw, 64px); align-items: center; padding-top: clamp(120px, 14vh, 160px); padding-bottom: 72px; }
.hero__copy { display: grid; gap: 26px; justify-items: start; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 34px; padding-top: 10px; }
.proof li { display: grid; }
.proof b { font-size: 30px; font-weight: 640; letter-spacing: -.03em; font-variation-settings: "wdth" 112; font-variant-numeric: tabular-nums; }
.proof li:nth-child(2) b { color: var(--mint); }
.proof span { font-size: 13px; color: var(--text-3); }
.hero__copy > * { animation: rise .9s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; } .hero__copy > :nth-child(3) { animation-delay: .16s; } .hero__copy > :nth-child(4) { animation-delay: .24s; } .hero__copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* portal mockup */
.stage { position: relative; perspective: 1800px; animation: rise 1.2s var(--ease) .2s both; }
.app { position: relative; border-radius: 22px; background: linear-gradient(180deg, rgba(22,30,52,.92), rgba(12,17,32,.94)); border: 1px solid var(--stroke-2); box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 50px 120px -30px rgba(91,140,255,.45), 0 20px 50px -20px rgba(0,0,0,.8); transform: rotateX(var(--rx, 16deg)) rotateY(var(--ry, -12deg)) rotateZ(var(--rz, 2deg)) scale(var(--sc, .94)); transform-origin: 50% 40%; transition: transform .2s linear; overflow: hidden; }
.app::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 30%); pointer-events: none; }
.app__chrome { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--stroke); }
.app__chrome i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.app__chrome span { margin-left: 12px; padding: 4px 12px; border-radius: 7px; background: rgba(255,255,255,.05); font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.app__body { display: grid; grid-template-columns: 56px minmax(0, 1fr); }
.app__nav { display: grid; align-content: start; gap: 8px; padding: 14px 10px; border-right: 1px solid var(--stroke); }
.app__nav span { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--text-3); }
.app__nav span.is-on { background: rgba(62,230,176,.12); color: var(--mint); }
.app__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app__main { padding: 16px; display: grid; gap: 14px; min-width: 0; }
.app__hi { display: grid; }
.app__hi b { font-size: 17px; font-weight: 600; }
.app__hi span { font-size: 12px; color: var(--text-3); }
.app__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 10px; }
.w { background: rgba(255,255,255,.035); border: 1px solid var(--stroke); border-radius: 14px; padding: 14px; min-width: 0; display: grid; gap: 8px; align-content: start; }
.w--due { grid-row: span 2; justify-items: center; text-align: center; }
.w--due .w__k { justify-self: start; }
.w--chart { grid-column: 1 / -1; }
.w__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.w__n { font-size: 18px; font-weight: 640; font-variant-numeric: tabular-nums; }
.w__n small { font-size: 12px; color: var(--text-3); font-weight: 400; }
.w__t { font-size: 14px; font-weight: 600; line-height: 1.25; }
.w__s { font-size: 12px; color: var(--text-3); line-height: 1.35; }

.ring { position: relative; width: 116px; height: 116px; margin: 4px 0; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring__bg { stroke: rgba(255,255,255,.07); }
.ring__fg { stroke: url(#none); stroke: var(--amber); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.6s var(--ease); filter: drop-shadow(0 0 6px rgba(255,181,71,.6)); }
.ring__c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.ring__c b { font-size: 34px; font-weight: 640; font-variant-numeric: tabular-nums; letter-spacing: -.03em; font-variation-settings: "wdth" 112; }
.ring__c span { font-size: 11px; color: var(--text-3); margin-top: 4px; }
.ring--lg { width: 150px; height: 150px; margin: 0; }
.ring--lg .ring__c b { font-size: 46px; }

.feed { display: grid; gap: 6px; }
.feed li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 10px; background: rgba(255,255,255,.03); font-size: 12px; }
.feed li.is-new { animation: feedIn .8s var(--ease) both; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-14px); background: rgba(62,230,176,.18); } 40% { background: rgba(62,230,176,.14); } }
.feed .ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 10px; font-weight: 700; background: rgba(91,140,255,.16); color: #A9C1FF; }
.feed .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed .nm small { display: block; color: var(--text-3); font-size: 10px; }
.feed .am { font-family: var(--mono); font-size: 11px; text-align: right; }
.feed .am em { display: block; font-style: normal; font-family: var(--sans); font-size: 10px; color: var(--mint); }
.sts { display: grid; gap: 8px; font-size: 12px; }
.sts li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.sts i { width: 8px; height: 8px; border-radius: 50%; }
.sts i.ok { background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.sts i.run { border: 2px solid var(--amber); border-top-color: transparent; animation: spin 1s linear infinite; width: 10px; height: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
.sts span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sts em { font-style: normal; font-size: 11px; color: var(--text-3); }
.sts li.is-done em { color: var(--mint); }
.legend { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--text-3); }
.legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.legend i:last-of-type { background: var(--mint); margin-left: 8px; }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 74px; align-items: end; }
.bars div { display: flex; gap: 2px; align-items: end; height: 100%; }
.bars i { flex: 1; border-radius: 3px 3px 1px 1px; background: var(--blue); height: var(--h); transform-origin: 50% 100%; animation: barUp 1s var(--ease) both; animation-delay: var(--d); }
.bars i + i { background: var(--mint); opacity: .8; }
.bars div.is-future i { opacity: .2; }
@keyframes barUp { from { transform: scaleY(0); } }

.toast { position: absolute; left: -26px; bottom: 34px; z-index: 2; display: flex; gap: 12px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 14px; background: rgba(18,26,46,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--stroke-2); box-shadow: 0 20px 50px -10px rgba(0,0,0,.7); max-width: 300px; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s, transform .6s var(--ease); }
.toast.is-on { opacity: 1; transform: none; }
.toast i { width: 30px; height: 30px; flex: none; border-radius: 9px; background: rgba(62,230,176,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8.5' fill='none' stroke='%233EE6B0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.toast b { display: block; font-size: 12px; }
.toast span { font-size: 12px; color: var(--text-2); }

/* phone-only parts of the portal mockup (shown in the mobile layer) */
.app__time, .app__sb, .app__av, .sheet__act, .scrim, .calc__mini, .year__cap { display: none; }

/* ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--stroke); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker__in { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: 15px; color: var(--text-3); white-space: nowrap; }
.ticker span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--stroke-2); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(80px, 10vw, 140px) 0; }
.sh { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 820px; }
.sh--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; }
.sh--row > div:first-child { display: grid; gap: 18px; max-width: 760px; }

/* services */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--stroke); transition: border-color .3s, transform .5s var(--ease); }
@media (hover: hover) { .card:hover { border-color: var(--stroke-2); transform: translateY(-3px); } }
.card--xl { grid-column: span 2; grid-row: span 2; padding: 30px; }
.card__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(91,140,255,.12); border: 1px solid rgba(91,140,255,.22); color: #A9C1FF; }
.card__ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.card--xl h3 { font-size: 26px; font-variation-settings: "wdth" 108; }
.card p { font-size: 15px; color: var(--text-2); }
.card__price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--stroke); font-size: 14px; color: var(--text-3); }
.card__price b { color: var(--text); font-size: 17px; font-variant-numeric: tabular-nums; }
.snap { display: flex; align-items: center; gap: 14px; margin: 16px 0 8px; flex-wrap: wrap; }
.snap__phone { position: relative; width: 82px; height: 140px; border-radius: 16px; border: 1.5px solid var(--stroke-2); background: rgba(255,255,255,.03); padding: 14px 10px; overflow: hidden; }
.snap__doc { display: grid; gap: 6px; padding: 10px 8px; border-radius: 6px; background: #E9EDF6; transform: rotate(-4deg); }
.snap__doc i { height: 4px; border-radius: 2px; background: rgba(7,11,20,.25); }
.snap__doc i:nth-child(2) { width: 70%; } .snap__doc i:nth-child(4) { width: 50%; background: rgba(7,11,20,.5); }
.snap__scan { position: absolute; left: 6px; right: 6px; height: 2px; background: var(--mint); box-shadow: 0 0 12px var(--mint); top: 20px; animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 50% { top: 110px; } }
.snap__arrow { width: 50px; fill: none; stroke: var(--text-3); stroke-width: 1.6; stroke-dasharray: 4 4; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -16; } }
.snap__row { flex: 1; min-width: 200px; display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(62,230,176,.07); border: 1px solid rgba(62,230,176,.2); font-size: 14px; }
.snap__row i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.snap__row em { font-style: normal; font-size: 12px; color: var(--mint); }

/* deadlines */
.next { display: flex; align-items: center; gap: 22px; padding: 18px 26px 18px 18px; border-radius: var(--r); background: linear-gradient(180deg, rgba(255,181,71,.07), rgba(255,181,71,.02)); border: 1px solid rgba(255,181,71,.2); }
.next__t { display: grid; gap: 4px; max-width: 280px; }
.next__t b { font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.next__clock { font-family: var(--mono); font-size: 13px; color: #FFD596; font-variant-numeric: tabular-nums; }
.who { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.who label { cursor: pointer; }
.who input, .seg3 input, .sw input { position: absolute; opacity: 0; pointer-events: none; }
.who span { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 11px; background: var(--panel); border: 1px solid var(--stroke-2); font-size: 15px; font-weight: 500; color: var(--text-2); transition: all .25s; }
.who span::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--stroke-2); transition: all .25s; background-position: center; background-repeat: no-repeat; background-size: 11px; }
.who input:checked + span { color: var(--text); border-color: rgba(62,230,176,.45); background: rgba(62,230,176,.08); }
.who input:checked + span::before { border-color: var(--mint); background-color: var(--mint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%2304130E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.who input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }

.year { display: grid; grid-template-columns: 34px repeat(12, minmax(0, 1fr)); height: 250px; padding: 18px 18px 36px; margin-bottom: 18px; position: relative; }
.year__ax { position: relative; font-family: var(--mono); font-size: 10px; color: var(--text-3); }
.year__ax span { position: absolute; left: 0; transform: translateY(-50%); }
.year__m { position: relative; border-left: 1px dashed rgba(255,255,255,.06); }
.year__m.is-now { background: linear-gradient(180deg, rgba(91,140,255,.1), transparent); border-radius: 8px; }
.year__m b { position: absolute; bottom: -26px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--text-3); text-transform: uppercase; }
.year__m.is-now b { color: #A9C1FF; }
.dot { position: absolute; left: 50%; width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%, -50%) scale(var(--sc, 1)); transition: transform .45s var(--ease), opacity .3s; }
.dot--szco { background: var(--mint); box-shadow: 0 0 10px rgba(62,230,176,.7); left: 30%; }
.dot--dph { background: var(--blue); box-shadow: 0 0 10px rgba(91,140,255,.8); }
.dot--zam { background: transparent; border: 2px solid var(--amber); left: 70%; }
.dot--big { width: 13px; height: 13px; border-radius: 3px; background: var(--rose); box-shadow: 0 0 12px rgba(255,107,142,.8); transform: translate(-50%, -50%) rotate(45deg) scale(var(--sc, 1)); }
.dot.is-off { --sc: 0; opacity: 0; }
.dot.is-past { opacity: .2; box-shadow: none; }
.year__today { position: absolute; left: 4px; right: 4px; height: 0; border-top: 1px solid rgba(169,193,255,.7); }
.year__today::after { content: "dnes"; position: absolute; right: 0; top: -14px; font-family: var(--mono); font-size: 9px; color: #A9C1FF; }
.year__legend { position: absolute; right: 18px; top: 14px; display: flex; gap: 14px; font-size: 11px; color: var(--text-3); }
.year__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }

.tl { display: grid; gap: 8px; }
.tli { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--stroke); transition: border-color .3s, background .3s; position: relative; }
@media (hover: hover) { .tli:hover { border-color: var(--stroke-2); background: var(--panel-2); } }
.tli::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--k, var(--blue)); }
.tli.is-new { animation: rise .5s var(--ease) both; }
.tli__d { display: grid; line-height: 1; }
.tli__d b { font-size: 26px; font-weight: 640; letter-spacing: -.03em; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 112; }
.tli__d small { font-family: var(--mono); font-size: 10px; color: var(--text-3); margin-top: 4px; text-transform: uppercase; }
.tli__w b { display: block; font-size: 16px; font-weight: 600; }
.tli__w small { font-size: 14px; color: var(--text-3); }
.tags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.tag { font-size: 11px; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.05); color: var(--text-2); white-space: nowrap; }
.left { font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.05); color: var(--text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.left.is-soon { background: rgba(255,181,71,.12); color: #FFD596; }
.tl__more { margin-top: 16px; }
.tl__empty { padding: 26px; text-align: center; color: var(--text-3); }

/* calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.calc__in { padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 30px; }
.seg3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg3 legend { margin-bottom: 12px; }
.seg3 label { cursor: pointer; }
.seg3 span { display: grid; gap: 2px; height: 100%; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--stroke-2); transition: all .25s; }
.seg3 b { font-weight: 600; font-size: 16px; }
.seg3 small { font-size: 13px; color: var(--text-3); }
.seg3 input:checked + span { border-color: var(--mint); background: rgba(62,230,176,.08); box-shadow: 0 0 0 3px rgba(62,230,176,.1); }
.seg3 input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }
.rng { display: grid; gap: 8px; transition: opacity .3s; }
.rng.is-off { opacity: .3; pointer-events: none; }
.rng__top { display: flex; justify-content: space-between; align-items: baseline; }
.rng output { font-size: 28px; font-weight: 640; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 12%; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue), var(--mint) var(--p), rgba(255,255,255,.08) var(--p)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue), var(--mint) var(--p), rgba(255,255,255,.08) var(--p)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(62,230,176,.25), 0 0 18px rgba(62,230,176,.6); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(62,230,176,.25); }
.rng__sc { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--text-3); }
.row2 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding-top: 22px; border-top: 1px solid var(--stroke); }
.sw { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; }
.sw__t { width: 46px; height: 26px; border-radius: 99px; background: rgba(255,255,255,.1); position: relative; transition: background .3s; }
.sw__t::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.sw input:checked + .sw__t { background: var(--mint); }
.sw input:checked + .sw__t::after { transform: translateX(20px); }
.sw input:focus-visible + .sw__t { outline: 2px solid var(--mint); outline-offset: 3px; }
.step { display: inline-flex; align-items: center; gap: 4px; }
.step .lbl { margin-right: 10px; }
.step button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--stroke-2); font-size: 18px; transition: background .2s; }
@media (hover: hover) { .step button:hover { background: var(--panel-2); } }
.step output { width: 40px; text-align: center; font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__out { padding: clamp(22px, 2.8vw, 36px); display: grid; gap: 18px; position: sticky; top: 90px; }
.calc__big { display: flex; align-items: baseline; gap: 8px; font-size: clamp(70px, 8vw, 128px); line-height: .9; font-weight: 640; font-variant-numeric: tabular-nums; }
.calc__big small { font-size: .36em; color: var(--text-3); }
.stack { display: flex; gap: 3px; height: 10px; }
.stack i { height: 100%; border-radius: 5px; flex: 0 0 0; transition: flex-basis .6s var(--ease); }
.lines { display: grid; }
.lines li { display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--stroke); font-size: 15px; color: var(--text-2); }
.lines li i { width: 10px; height: 10px; border-radius: 3px; }
.lines li b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__note { font-size: 13px; color: var(--text-3); }

/* switching flow */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; position: relative; padding-top: 34px; }
.flow::before, .flow::after { content: ""; position: absolute; top: 10px; left: 26px; width: calc(3 * ((100% - 36px) / 4 + 12px)); height: 2px; border-radius: 2px; background: rgba(255,255,255,.08); }
/* the line runs dot to dot (first dot centre to last) and each dot lights up as the line reaches it */
.flow::after { background: linear-gradient(90deg, var(--blue), var(--mint)); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); transition: transform 1.5s linear; box-shadow: 0 0 12px rgba(62,230,176,.5); }
.flow.is-in { --f: 1; }
.flow li { position: relative; z-index: 1; display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--stroke); }
.flow li::before { content: ""; position: absolute; top: -31px; left: 18px; width: 16px; height: 16px; box-sizing: border-box; border-radius: 50%; background: var(--bg); border: 2px solid rgba(255,255,255,.16); transition: border-color .35s, background .35s, box-shadow .35s; transition-delay: var(--dot, 0s); }
.flow.is-in li::before { border-color: var(--mint); background: radial-gradient(circle, var(--mint) 0 3px, var(--bg) 3.5px); box-shadow: 0 0 14px rgba(62,230,176,.6); }
.flow li:nth-child(2) { --dot: .5s; } .flow li:nth-child(3) { --dot: 1s; } .flow li:nth-child(4) { --dot: 1.5s; }
.flow__d { font-family: var(--mono); font-size: 11px; color: var(--mint); text-transform: uppercase; }
.flow b { font-size: 19px; font-weight: 600; }
.flow p { font-size: 15px; color: var(--text-2); }

/* glossary */
.tog { position: relative; display: inline-flex; padding: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--stroke-2); }
.tog button { position: relative; z-index: 1; height: 40px; padding: 0 20px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--text-2); transition: color .3s; }
.tog button[aria-checked="true"] { color: #04130E; }
.tog i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: var(--mint); transition: transform .45s var(--ease); }
.tog.is-l i { transform: translateX(100%); }
.gloss { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gl { padding: 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--stroke); display: grid; gap: 10px; align-content: start; }
.gl dt { font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.gl dd { font-size: 16px; color: var(--text-2); transition: opacity .25s, transform .3s var(--ease); }
.gloss.is-u .gl { background: rgba(255,255,255,.02); border-style: dashed; }
.gloss.is-u dd { font-family: var(--mono); font-size: 12px; line-height: 1.75; color: var(--text-3); }
.gloss.is-swap dd { opacity: 0; transform: translateY(6px); }
.gl .ref { display: inline-block; margin-top: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(91,140,255,.12); color: #A9C1FF; font-size: 10px; }

/* team */
.team { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; }
.person { border-radius: var(--r); overflow: hidden; background: var(--panel); border: 1px solid var(--stroke); display: flex; flex-direction: column; }
.person img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.person > div { padding: 16px 18px 18px; display: grid; gap: 2px; }
.person b { font-size: 16px; font-weight: 600; }
.person span { font-size: 13px; color: var(--text-3); }
.person p { font-size: 15px; color: var(--text-2); margin-top: 8px; }
.person--lead { flex-direction: row; }
.person--lead .ph { width: 50%; flex: none; }
.person--lead .ph img { height: 100%; aspect-ratio: auto; }
.person--lead > div { align-content: end; padding: 24px; }
.person--lead b { font-size: 21px; }
.team__note { margin-top: 18px; color: var(--text-3); font-size: 15px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(24px, 4vw, 56px); }
.contact__copy { display: grid; gap: 22px; align-content: start; }
.kv { display: grid; margin-top: 8px; }
.kv div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--stroke); font-size: 15px; }
.kv dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.kv a { border-bottom: 1px solid var(--stroke-2); }
.form { display: grid; gap: 16px; align-content: start; }
.fi { display: grid; gap: 8px; }
.fi > label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.fi input, .fi textarea { width: 100%; min-width: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--stroke-2); background: rgba(0,0,0,.25); font-size: 16px; outline: none; resize: vertical; transition: border-color .25s, box-shadow .25s; }
.fi input:focus, .fi textarea:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(62,230,176,.12); }
.fi.is-bad input { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(255,107,142,.1); animation: nudge .38s var(--ease); }
.form .btn { justify-self: start; }
.form__ok { color: var(--mint); font-weight: 500; }
.form__ok:empty { display: none; }
.form__demo { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; color: var(--text-3); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 60px 36px; margin-top: 80px; border-top: 1px solid var(--stroke); font-size: 13px; color: var(--text-3); }

/* reveal */
.js .rv { opacity: 0; transform: translateY(18px); }
.js .rv.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bar__nav { display: none; }
  .chip-due { margin-left: auto; }
  .bar__menu { display: block; }
  .sheet { display: grid; visibility: hidden; position: fixed; z-index: 39; top: 70px; left: var(--pad); right: var(--pad); padding: 10px; border-radius: 16px; background: rgba(12,17,32,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--stroke-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .3s, transform .35s var(--ease), visibility 0s .35s; }
  .sheet.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .sheet a { padding: 14px 12px; border-radius: 10px; font-size: 17px; font-weight: 500; }
  @media (hover: hover) { .sheet a:hover { background: var(--panel-2); } }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .stage { max-width: 680px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .person--lead { grid-column: 1 / -1; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; }
  .flow::before, .flow::after, .flow li::before { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .bar__cta { display: none; }
  .calc, .contact, .gloss { grid-template-columns: minmax(0, 1fr); }
  .calc__out { position: static; }
  .next { width: 100%; }
  .tli { grid-template-columns: 54px minmax(0, 1fr) auto; }
  .tli .tags { display: none; }
  .year { grid-template-columns: 22px repeat(12, minmax(0, 1fr)); padding: 14px 8px 32px; height: 200px; }
  .year__legend { display: none; }
  .year__m b { font-size: 8px; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .person--lead { flex-direction: column; }
  .person--lead .ph { width: 100%; }
  .person--lead .ph img { height: auto; aspect-ratio: 4 / 3.2; }
}

@media (max-width: 520px) {
  .cards, .flow { grid-template-columns: minmax(0, 1fr); }
  .card--xl { grid-column: auto; }
  .seg3 { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  html { scroll-behavior: auto; }
  .app { transform: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* =====================================================================
   Polish layer: details that make it feel finished
   ===================================================================== */

/* skip link */
.skip { position: fixed; left: 16px; top: -90px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--mint); color: #04130E; font-weight: 600; font-size: 15px; box-shadow: 0 12px 30px -8px rgba(62,230,176,.6); transition: top .3s var(--ease); }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); outline-color: #fff; }

/* blur-up photos */
.ph { position: relative; display: block; overflow: hidden; background: #0D1426; }
.ph::before { content: ""; position: absolute; inset: -14%; background: var(--lq) center / cover; filter: blur(12px) saturate(1.2); transition: opacity .7s var(--ease); }
.ph img { position: relative; }
.js .ph img { opacity: 0; transition: opacity .8s var(--ease), transform 1.1s var(--ease); transform: scale(1.03); }
.js .ph.is-loaded img { opacity: 1; transform: none; }
.ph.is-loaded::before { opacity: 0; transition-delay: .6s; }

/* shimmer + skeletons */
@keyframes shimmer { to { background-position: -150% 0; } }
@keyframes nudge { 25% { transform: translateX(-4px); } 60% { transform: translateX(3px); } }
.app .w { position: relative; overflow: hidden; }
.app .w > *, .app .app__hi { transition: opacity .5s var(--ease); }
.app.is-skel .w > *, .app.is-skel .app__hi { opacity: 0; }
.app.is-skel .w::before { content: ""; position: absolute; inset: 14px; border-radius: 8px; pointer-events: none;
  --sk: rgba(255,255,255,.075);
  background:
    linear-gradient(var(--sk), var(--sk)) 0 0 / 42% 9px no-repeat,
    linear-gradient(var(--sk), var(--sk)) 0 24px / 100% 30px no-repeat,
    linear-gradient(var(--sk), var(--sk)) 0 62px / 100% 30px no-repeat,
    linear-gradient(var(--sk), var(--sk)) 0 100px / 68% 30px no-repeat; }
.app.is-skel .w--due::before { background:
    linear-gradient(var(--sk), var(--sk)) 0 0 / 60% 9px no-repeat,
    radial-gradient(circle at 50% 76px, transparent 37px, var(--sk) 38px, var(--sk) 47px, transparent 48px) 0 0 / 100% 160px no-repeat,
    linear-gradient(var(--sk), var(--sk)) 50% 170px / 80% 12px no-repeat,
    linear-gradient(var(--sk), var(--sk)) 50% 192px / 56% 10px no-repeat; }
.app.is-skel .w--chart::before { background:
    linear-gradient(var(--sk), var(--sk)) 0 0 / 38% 9px no-repeat,
    linear-gradient(90deg, var(--sk) 0 6%, transparent 6% 8.33%) 0 24px / 100% 74px repeat-x; }
.app.is-skel .w::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.07) 50%, transparent 65%) 0 0 / 250% 100%; animation: shimmer 1.15s linear infinite; }
.app.is-skel .bars i { animation: none; transform: scaleY(0); }
.calc__out.is-calc .lines li > span, .calc__out.is-calc .lines li > b, .calc__out.is-calc .calc__note { color: transparent; border-radius: 6px; background: linear-gradient(100deg, rgba(255,255,255,.05) 30%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.05) 70%) 0 0 / 250% 100%; animation: shimmer 1s linear infinite; }
.calc__out.is-calc .lines li > i { opacity: .4; }

/* button: loading -> success */
.btn:disabled { cursor: default; }
.btn:disabled:hover, .btn:disabled:active { transform: none; }
.btn--send { min-width: 164px; }
.btn__i { position: relative; flex: none; width: 0; height: 20px; margin-right: -10px; overflow: hidden; transition: width .35s var(--ease), margin .35s var(--ease); }
.btn[data-state="busy"] .btn__i, .btn[data-state="done"] .btn__i { width: 20px; margin-right: 0; }
.btn__i svg { position: absolute; inset: 0; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .2s; }
.btn__spin circle { stroke-dasharray: 32 25; }
.btn[data-state="busy"] .btn__spin { opacity: 1; animation: spin .75s linear infinite; }
.btn__ok path { stroke-dasharray: 22; stroke-dashoffset: 22; }
.btn[data-state="done"] .btn__ok { opacity: 1; }
.btn[data-state="done"] .btn__ok path { animation: draw .5s var(--ease) .1s forwards; }
.btn[data-state="busy"] { filter: saturate(.8); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* form feedback */
.fi__e { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.4; color: #FF9DB3; animation: rise .35s var(--ease) both; }
.fi__e::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 1px; border-radius: 50%; background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6.5v7M12 17.4v.1' stroke='%23070B14' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.form__err { padding: 12px 14px; border-radius: 12px; background: rgba(255,107,142,.08); border: 1px solid rgba(255,107,142,.32); color: #FFB2C3; font-size: 14px; line-height: 1.45; animation: rise .4s var(--ease) both; }
.form__ok:not(:empty) { padding: 12px 14px; border-radius: 12px; background: rgba(62,230,176,.07); border: 1px solid rgba(62,230,176,.25); animation: rise .5s var(--ease) both; }

/* empty state */
.empty { display: grid; justify-items: center; gap: 10px; padding: 40px 24px; text-align: center; animation: rise .5s var(--ease) both; }
.empty b { font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.empty p { color: var(--text-2); max-width: 36ch; font-size: 15px; margin-bottom: 8px; }
.empty__ill { width: 92px; height: 77px; fill: none; stroke: var(--text-3); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.empty__ill circle { stroke: none; fill: var(--amber); opacity: .25; animation: blink 2.4s ease-in-out infinite; }
.empty__ill .e2 { animation-delay: .3s; } .empty__ill .e3 { animation-delay: .6s; }
@keyframes blink { 50% { opacity: .9; } }

/* copy buttons */
.kv dd:has(.copy) { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.copy { flex: none; width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; border: 1px solid var(--stroke-2); background: var(--panel); color: var(--text-2); transition: color .25s, border-color .25s, background .25s, transform .25s var(--ease); }
.copy svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .copy:hover { color: var(--mint); border-color: rgba(62,230,176,.5); background: rgba(62,230,176,.08); } }
.copy:active { transform: scale(.9); }
.copy.is-ok { color: var(--mint); border-color: rgba(62,230,176,.5); background: rgba(62,230,176,.1); }
@media (pointer: coarse) { .copy { width: 44px; height: 44px; } }

/* global toast (same glass as the portal toast) */
.gtoast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: flex; gap: 12px; align-items: center; padding: 11px 18px 11px 12px; border-radius: 14px; background: rgba(18,26,46,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--stroke-2); box-shadow: 0 20px 50px -10px rgba(0,0,0,.7); max-width: min(440px, calc(100vw - 32px)); font-size: 14px; line-height: 1.35; opacity: 0; transform: translate(-50%, 14px) scale(.96); pointer-events: none; transition: opacity .4s, transform .55s var(--ease); }
.gtoast.is-on { opacity: 1; transform: translate(-50%, 0); }
.gtoast i { width: 28px; height: 28px; flex: none; border-radius: 9px; background: rgba(62,230,176,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8.5' fill='none' stroke='%233EE6B0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.gtoast.is-demo i { background: rgba(91,140,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 11v6M12 7.2v.1' fill='none' stroke='%235B8CFF' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.gtoast.is-warn i { background: rgba(255,181,71,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6.5v7M12 17.4v.1' fill='none' stroke='%23FFB547' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* back to top with scroll progress */
.totop { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: 50px; height: 50px; border-radius: 50%; background: rgba(12,17,32,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 14px 34px -10px rgba(0,0,0,.8); color: var(--text); opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9); transition: opacity .4s, transform .5s var(--ease), visibility 0s .5s, background .3s; }
.totop.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) { .totop:hover { background: rgba(22,30,52,.92); } }
@media (hover: hover) { .totop:hover .totop__ar { transform: translateY(-2px); } }
.totop:active { transform: scale(.93); }
.totop svg { width: 100%; height: 100%; fill: none; }
.totop circle { stroke-width: 2.5; transform-box: fill-box; transform-origin: center; transform: rotate(-90deg); }
.totop__bg { stroke: rgba(255,255,255,.12); }
.totop__fg { stroke: var(--mint); stroke-linecap: round; stroke-dasharray: 0 100; filter: drop-shadow(0 0 4px rgba(62,230,176,.7)); }
.totop__ar { stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }

/* cookie banner */
.foot__ck { color: var(--text-2); font-size: 13px; text-decoration: underline; text-decoration-color: var(--stroke-2); text-underline-offset: 4px; transition: color .25s, text-decoration-color .25s; }
.foot__demo { flex: 0 0 100%; display: flex; align-items: center; gap: 9px; margin: 14px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); }
.foot__demo::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--blue); opacity: .7; box-shadow: 0 0 8px rgba(91,140,255,.7); }
@media (hover: hover) { .foot__ck:hover { color: var(--mint); text-decoration-color: var(--mint); } }
.cb { position: fixed; z-index: 60; left: 0; right: 0; margin-inline: auto; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: min(1080px, calc(100vw - 40px)); max-height: calc(100dvh - 40px); overflow: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px 24px; padding: 18px 20px 18px 26px; border-radius: 20px; background: rgba(12,17,32,.9); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); border: 1px solid var(--stroke-2); box-shadow: 0 0 0 1px rgba(91,140,255,.08), 0 40px 90px -20px rgba(0,0,0,.85), 0 30px 80px -40px rgba(91,140,255,.45); opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .45s, transform .6s var(--ease); }
.cb.is-on { opacity: 1; transform: none; }
.cb__top { display: grid; gap: 4px; grid-area: 1 / 1; }
.cb__set { grid-area: 2 / 1 / 3 / -1; }
.cb__row { grid-area: 1 / 3; }
.cb__row--2 { grid-area: 1 / 2; }
.cb__top b { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 640; letter-spacing: -.015em; }
.cb__top b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.cb__top b:focus { outline: none; }
.cb__top b:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
.cb__top p { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.cb__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 300px; }
.cb__row--2 { display: flex; flex-direction: column; align-items: flex-end; }
.cb__b { height: 46px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--stroke-2); font-weight: 600; font-size: 15px; transition: border-color .25s, background .25s, transform .25s var(--ease); }
@media (hover: hover) { .cb__b:hover { border-color: rgba(62,230,176,.6); background: rgba(62,230,176,.08); } }
.cb__b:active { transform: scale(.97); }
.cb__link { padding: 8px 4px; font-size: 13px; font-weight: 500; color: var(--text-2); text-decoration: underline; text-decoration-color: var(--stroke-2); text-underline-offset: 4px; transition: color .25s, text-decoration-color .25s; }
@media (hover: hover) { .cb__link:hover { color: var(--mint); text-decoration-color: var(--mint); } }
.cb__save { color: var(--mint); }
.cb__set { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 28px; padding: 16px 0 2px; border-top: 1px solid var(--stroke); animation: rise .45s var(--ease) both; }
.sw--sm { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.sw--sm .sw__t { width: 40px; height: 23px; margin-top: 1px; }
.sw--sm .sw__t::after { width: 17px; height: 17px; }
.sw--sm input:checked + .sw__t::after { transform: translateX(17px); }
.sw__l b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.sw__l small { display: block; font-size: 12.5px; line-height: 1.4; color: var(--text-3); font-weight: 400; }
.sw input:disabled + .sw__t { opacity: .5; }
.sw:has(input:disabled) { cursor: not-allowed; }

/* micro-interactions */
.logo { transition: opacity .25s; } .logo svg { transition: transform .5s var(--ease); } @media (hover: hover) { .logo:hover { opacity: .85; } .logo:hover svg { transform: rotate(-8deg) scale(1.06); } }
.bar__nav a:active, .chip-due:active, .bar__menu:active, .sheet a:active { transform: scale(.96); }
.chip-due, .bar__menu { transition: background .3s, transform .25s var(--ease); }
@media (hover: hover) { .bar__menu:hover { background: var(--panel-2); } }
.who span:active, .seg3 span:active { transform: scale(.97); }
@media (hover: hover) { .who span:hover { border-color: rgba(255,255,255,.28); color: var(--text); } }
@media (hover: hover) { .seg3 span:hover { border-color: rgba(255,255,255,.28); } }
@media (hover: hover) { .tog button:hover { color: var(--text); } .tog button[aria-checked="true"]:hover { color: #04130E; } } .tog button:active { transform: scale(.96); }
.step button:active { transform: scale(.9); }
.card:active { transform: translateY(-1px) scale(.995); }
.tli:active { transform: scale(.995); }
.kv a { transition: border-color .25s, color .25s; } @media (hover: hover) { .kv a:hover { color: var(--mint); border-color: var(--mint); } }
.totop, .copy, .cb__b, .cb__link, .foot__ck { -webkit-tap-highlight-color: transparent; }

.gtoast { bottom: calc(22px + env(safe-area-inset-bottom, 0px) + var(--cb, 0px)); }
.totop { bottom: calc(22px + env(safe-area-inset-bottom, 0px) + var(--cb, 0px)); }
@media (max-width: 920px) {
  .cb { grid-template-columns: minmax(0, 1fr) auto; }
  .cb__top { grid-area: 1 / 1 / 2 / -1; }
  .cb__row { grid-area: 2 / 2; min-width: 280px; }
  .cb__row--2 { grid-area: 2 / 1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; }
  .cb__set { grid-area: 3 / 1 / 4 / -1; grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .totop { width: 46px; height: 46px; }
  .cb { left: 12px; right: 12px; margin-inline: 0; width: auto; grid-template-columns: minmax(0, 1fr) auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); padding: 12px; gap: 6px 10px; border-radius: 16px; }
  .cb__top { grid-area: 1 / 1; }
  .cb__set, .cb__row { grid-area: auto; grid-column: 1 / -1; }
  .cb__row { min-width: 0; }
  .cb__row--2 { grid-area: 1 / 2; flex-direction: column; align-items: flex-end; gap: 0; }
  .cb__top b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cb__top p { font-size: 13px; line-height: 1.35; }
  .cb .cb__l { display: none; } .cb .cb__s { display: inline; }
  .cb__link { padding: 4px 2px; }
  .cb__b { height: 40px; font-size: 14px; }
  .cb__set { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 10px 0 2px; }
  .gtoast { max-width: calc(100vw - 24px); }
}
.cb__s { display: none; }
@media (prefers-reduced-motion: reduce) {
  .js .ph img { transform: none; }
  .totop, .cb, .gtoast { transition-duration: .01ms !important; }
}

.cards__row { display: contents; }

/* =====================================================================
   Mobile layer: designed for the phone first, not squeezed from desktop
   ===================================================================== */
a, button, label, summary { -webkit-tap-highlight-color: transparent; }
html.menu-open, html.menu-open body { overflow: hidden; }
.cb { overscroll-behavior: contain; }

/* menu sheet + scrim (tablet and phone) */
@media (max-width: 1080px) {
  .scrim { display: block; position: fixed; inset: 0; z-index: 38; background: rgba(3, 6, 12, .62); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
  .scrim.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
  .sheet { top: calc(66px + env(safe-area-inset-top, 0px)); max-height: calc(100dvh - 82px - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain; }
  .sheet a:not(.btn) { display: flex; align-items: center; min-height: 52px; padding: 0 14px; }
  .sheet a:not(.btn):active { background: var(--panel-2); }
  .sheet__act { display: grid; gap: 8px; margin-top: 6px; padding: 12px 4px 4px; border-top: 1px solid var(--stroke); }
  .sheet__act .btn { height: 52px; font-size: 16px; }
  .sheet__act .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
}

/* ---------------- phone ---------------- */
@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }

  /* top bar: logo, deadline chip, menu; nothing wraps */
  .bar { gap: 10px; }
  .bar.is-solid { background: rgba(7, 11, 20, .97); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .logo { flex: none; gap: 8px; min-height: 44px; font-size: 19px; }
  .logo svg { width: 28px; height: 28px; }
  .chip-due { height: 44px; min-width: 0; margin-left: auto; padding: 0 12px; font-size: 12px; gap: 8px; }
  .bar__menu { flex: none; width: 44px; height: 44px; }
  .bar__menu span { left: 13px; right: 13px; }
  .bar__menu span:first-child { top: 17px; } .bar__menu span:last-child { top: 25px; }
  .sheet { left: 12px; right: 12px; background: rgba(12, 17, 32, .985); backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* hero: copy first, the portal below it as a real phone */
  .hero { padding-top: 92px; padding-bottom: 44px; gap: 40px; }
  .hero__copy { gap: 20px; }
  .pill { height: auto; min-height: 34px; padding: 6px 14px; line-height: 1.3; text-wrap: balance; }
  .h1 { font-size: clamp(38px, 11.4vw, 54px); }
  .h2 { font-size: clamp(28px, 8.6vw, 38px); hyphens: manual; overflow-wrap: break-word; }
  .lead { font-size: 17px; }
  .hero__cta { display: grid; width: 100%; gap: 10px; }
  .hero__cta .btn { width: 100%; height: 54px; white-space: normal; text-align: center; }
  .proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--stroke); }
  .proof b { font-size: 28px; }
  .proof span { font-size: 12.5px; line-height: 1.3; }

  .stage { width: 100%; max-width: 332px; margin-inline: auto; perspective: none; }
  .app { transform: none !important; transition: none; border-radius: 38px; border: 0; background: linear-gradient(180deg, #141C32, #0A0F1E); box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 0 0 7px #0A0F1C, 0 0 0 8px rgba(255,255,255,.13), 0 44px 70px -28px rgba(91,140,255,.55); }
  .app__chrome { position: relative; display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 12px 24px 0; border: 0; }
  .app__chrome > i, .app__chrome > span { display: none; }
  .app__chrome::after { content: ""; position: absolute; top: 10px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 99px; background: #000; }
  .app__time { display: block; font-style: normal; font-size: 13px; font-weight: 640; font-variant-numeric: tabular-nums; }
  .app__sb { display: block; width: 52px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 12'%3E%3Cg fill='%23E9EDF6'%3E%3Crect y='8' width='3' height='4' rx='1'/%3E%3Crect x='5' y='5' width='3' height='7' rx='1'/%3E%3Crect x='10' y='2.5' width='3' height='9.5' rx='1'/%3E%3Crect x='15' width='3' height='12' rx='1'/%3E%3Crect x='29' y='.5' width='20' height='11' rx='3.2' fill='none' stroke='%23E9EDF6' stroke-opacity='.5'/%3E%3Crect x='31' y='2.5' width='14' height='7' rx='1.6'/%3E%3Crect x='50.2' y='4' width='1.8' height='4' rx='.9' fill-opacity='.5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
  .app__body { display: flex; flex-direction: column; }
  .app__main { padding: 8px 14px 14px; gap: 12px; }
  .app__hi { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
  .app__hi b { font-size: 20px; letter-spacing: -.02em; }
  .app__hi span { grid-column: 1; font-size: 12px; line-height: 1.35; }
  .app__av { display: grid; place-items: center; grid-area: 1 / 2 / 3 / 3; width: 40px; height: 40px; border-radius: 50%; font-style: normal; font-weight: 700; font-size: 15px; color: #04130E; background: linear-gradient(135deg, var(--blue), var(--mint)); }
  .app__nav { order: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 6px 8px 16px; border-right: 0; border-top: 1px solid var(--stroke); background: rgba(255,255,255,.025); }
  .app__nav span { width: auto; height: 50px; border-radius: 12px; justify-items: center; align-content: center; gap: 3px; }
  .app__nav span::after { content: attr(data-l); font-size: 10px; font-weight: 500; line-height: 1; }
  .app__nav svg { width: 20px; height: 20px; }
  .app__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .w { padding: 14px; border-radius: 16px; }
  .w--due { grid-row: auto; grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 16px; text-align: left; }
  .w--due .w__k { grid-column: 1 / -1; }
  .w--due .ring { grid-row: span 2; width: 86px; height: 86px; margin: 0; }
  .w--due .ring__c b { font-size: 27px; }
  .feed li:nth-child(n+3) { display: none; }
  .bars { height: 58px; }
  .toast { left: 50%; top: 56px; bottom: auto; width: calc(100% - 28px); max-width: none; background: rgba(24, 33, 58, .98); backdrop-filter: none; -webkit-backdrop-filter: none; transform: translate(-50%, -12px) scale(.97); }
  .toast.is-on { transform: translate(-50%, 0); }

  /* rhythm */
  .sec { padding-top: 76px; }
  .sh { gap: 14px; margin-bottom: 26px; }
  .btn--sm { height: 44px; }

  /* services: hero card, then the four others as a snap row with a peek */
  .card--xl { padding: 22px; }
  .cards { gap: 10px; }
  .cards__row { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding: 2px var(--pad) 6px; scroll-padding-inline: var(--pad); }
  .cards__row::-webkit-scrollbar { display: none; }
  .cards__row .card { flex: 0 0 78%; scroll-snap-align: start; padding: 20px; }

  /* deadlines */
  .sh--row { align-items: stretch; }
  .next { gap: 16px; padding: 14px 16px 14px 14px; }
  .ring--lg { width: 96px; height: 96px; flex: none; }
  .ring--lg .ring__c b { font-size: 30px; }
  .next__t b { font-size: 16.5px; }
  .ring svg { overflow: visible; }
  .who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .who label { display: block; }
  .who span { display: flex; width: 100%; height: auto; min-height: 50px; padding: 8px 10px 8px 12px; gap: 9px; font-size: 14px; line-height: 1.2; }
  .who span::before { flex: none; }
  .year { height: auto; grid-template-rows: 150px auto; padding: 14px 8px 14px; margin-bottom: 14px; }
  .year__m b { font-size: 9px; }
  .year__legend { display: flex; flex-wrap: wrap; position: static; grid-column: 1 / -1; margin: 36px 4px 0; gap: 6px 14px; font-size: 11.5px; }
  .year__legend::after { content: "Ťuknite na bod"; margin-left: auto; color: var(--text-3); opacity: .8; }
  .year__m { cursor: pointer; }
  .dot.is-pick { --sc: 1.7; z-index: 2; }
  .year__cap { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; background: rgba(91,140,255,.1); border: 1px solid rgba(91,140,255,.28); font-size: 14.5px; line-height: 1.35; animation: rise .3s var(--ease) both; }
  .year__cap b { flex: none; font-family: var(--mono); font-size: 12px; font-weight: 500; color: #A9C1FF; }
  .tl { gap: 8px; }
  .tli__d small { font-size: 9.5px; white-space: nowrap; }
  .tli { grid-template-columns: 58px minmax(0, 1fr); grid-template-areas: "d w" "d l"; gap: 6px 14px; align-items: start; padding: 14px 14px 14px 18px; }
  .tli__d { grid-area: d; } .tli__w { grid-area: w; } .tli .left { grid-area: l; justify-self: start; }
  .tli__d b { font-size: 24px; }
  .tli__w b { font-size: 15.5px; line-height: 1.3; }
  .tli__w small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; }
  .tl__more { width: 100%; margin-top: 12px; }

  /* calculator */
  .calc { gap: 12px; }
  .calc__in { padding: 18px; gap: 24px; }
  .seg3 { gap: 8px; }
  .seg3 span { position: relative; min-height: 58px; align-content: center; padding: 10px 14px 10px 46px; }
  .seg3 span::before { content: ""; position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 1.5px solid var(--stroke-2); transition: border-color .25s, background .25s; }
  .seg3 input:checked + span::before { border-color: var(--mint); background: radial-gradient(circle, var(--mint) 0 4.5px, transparent 5.5px); }
  input[type=range] { height: 44px; touch-action: pan-y; }
  input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; }
  input[type=range]::-webkit-slider-thumb { width: 32px; height: 32px; margin-top: -12px; box-shadow: 0 0 0 6px rgba(62,230,176,.25), 0 0 18px rgba(62,230,176,.6); }
  input[type=range]::-moz-range-thumb { width: 28px; height: 28px; box-shadow: 0 0 0 6px rgba(62,230,176,.25); }
  .rng__sc { font-size: 11px; }
  .row2 { display: grid; gap: 6px; padding-top: 14px; }
  .sw { min-height: 52px; }
  .step { display: flex; justify-content: flex-end; gap: 6px; min-height: 52px; }
  .step .lbl { margin: 0 auto 0 0; }
  .step button { width: 48px; height: 48px; font-size: 22px; }
  .step output { width: 44px; font-size: 21px; }
  .calc__mini { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; position: sticky; z-index: 30; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); min-height: 60px; margin: 0 -6px -6px; padding: 8px 14px; border-radius: 16px; background: rgba(13, 22, 40, .98); border: 1px solid rgba(62,230,176,.38); box-shadow: 0 18px 40px -10px rgba(0,0,0,.85), 0 0 0 1px rgba(62,230,176,.08); }
  .calc__mini:active { transform: scale(.985); }
  .calc__mk { font-family: var(--mono); font-size: 10.5px; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
  .calc__mini b { font-size: 26px; font-weight: 640; letter-spacing: -.03em; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 112; background: linear-gradient(100deg, #9DB8FF 10%, var(--mint) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .calc__mg { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--mint); }
  .calc__mg svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  html.has-cb .calc__mini { display: none; }
  html.in-calc .totop { opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9); transition-delay: 0s; }
  .calc__out { padding: 20px; gap: 16px; }
  .calc__out .btn { height: 54px; }
  .calc__out .lines li { font-size: 14.5px; }

  /* switch flow: a tidy vertical timeline, dots on one line */
  .flow { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0 0 0 36px; }
  .flow li { padding: 18px 18px 20px; }
  .flow li::before { display: block; top: 20px; left: -36px; }
  .flow li:not(:last-child)::after { content: ""; position: absolute; left: -29px; top: 36px; width: 2px; height: calc(100% - 4px); background: linear-gradient(180deg, var(--blue), var(--mint)); border-radius: 2px; opacity: .7; transform: scaleY(0); transform-origin: 50% 0; transition: transform .5s linear var(--dot, 0s); }
  .flow.is-in li:not(:last-child)::after { transform: scaleY(1); }
  .flow.is-in li::before { box-shadow: 0 0 12px rgba(62,230,176,.55); }

  /* glossary: accordion, one term open at a time */
  .tog { width: 100%; }
  .tog button { flex: 1; height: 44px; padding: 0 12px; }
  .gloss { gap: 8px; }
  .gloss.is-acc .gl { padding: 0; gap: 0; }
  .gl__b { display: flex; width: 100%; min-height: 58px; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 18px; text-align: left; font-size: 17px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
  .gl__b svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--text-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease), stroke .25s; }
  .gl.is-open .gl__b svg { transform: rotate(180deg); stroke: var(--mint); }
  .gloss.is-acc .gl:not(.is-open) dd { display: none; }
  .gloss.is-acc .gl dd { padding: 0 18px 18px; }
  .gloss.is-acc .gl.is-open dd { animation: rise .35s var(--ease) both; }

  /* team */
  .team { gap: 10px; }
  .person > div { padding: 14px 14px 16px; }
  .person b { font-size: 15px; line-height: 1.25; }
  .person span { font-size: 12.5px; line-height: 1.35; }
  .person--lead > div { padding: 18px; }

  /* contact */
  .contact { padding: 22px 18px; gap: 28px; }
  .kv div { grid-template-columns: 74px minmax(0, 1fr); gap: 10px; }
  .kv dd { overflow-wrap: anywhere; }
  .kv a:not(.kv__map) { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--stroke-2); text-underline-offset: 5px; }
  .kv a[href^="tel:"] { font-size: 19px; font-weight: 600; }
  .kv a.kv__map { display: inline-block; padding: 6px 0; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--stroke-2); text-underline-offset: 5px; }
  .kv__map::after { content: " \2197"; color: var(--mint); }
  .fi input, .fi textarea { scroll-margin-top: 96px; }
  .form .btn { justify-self: stretch; width: 100%; height: 54px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 4px; padding-block: 44px calc(96px + env(safe-area-inset-bottom, 0px)); margin-top: 56px; }
  .foot__ck { display: inline-flex; align-items: center; min-height: 44px; }
  .foot__demo { flex: none; margin-top: 16px; }

  /* fixed UI stays small and light */
  .totop { width: 48px; height: 48px; background: rgba(14, 21, 38, .96); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .cb { padding: 10px 12px; gap: 4px 10px; background: rgba(12, 17, 32, .98); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .cb__top p { font-size: 12.5px; line-height: 1.32; }
  .cb__b { height: 44px; }
  .cb__link { min-height: 44px; padding: 0 6px; display: inline-flex; align-items: center; }
  .gtoast { background: rgba(18, 26, 46, .98); backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* cheaper effects: glass becomes near-opaque, the aurora is a static glow */
  .panel { background: linear-gradient(180deg, rgba(23, 31, 52, .84), rgba(13, 19, 34, .84)); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .aurora i { filter: none; animation: none; }
  .aurora i:nth-child(1) { width: 120vw; height: 120vw; left: 20%; top: -52vw; }
  .aurora i:nth-child(2) { width: 90vw; height: 90vw; left: 52%; top: 22vw; }
  .aurora i:nth-child(3) { width: 110vw; height: 110vw; left: -50vw; top: 70vh; }
}
@media (max-width: 400px) { .chip__t { display: none; } }
@media (max-width: 350px) { .chip__k { display: none; } .logo { font-size: 18px; } }
@media (max-width: 760px) and (max-height: 480px) {
  .hero { padding-top: 84px; }
  .sheet { max-height: calc(100dvh - 76px); }
}
@media (hover: none) {
  .spot::before { display: none; }
  .aurora i { animation: none; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .flow li:not(:last-child)::after { transform: scaleY(1); }
}
.nb { white-space: nowrap; }

/* ---------- language switch (SK | EN) ---------- */
.lang { display: inline-flex; flex: none; gap: 2px; padding: 3px; border-radius: 10px; border: 1px solid var(--stroke-2); background: var(--panel); }
.lang button { min-width: 38px; height: 32px; padding: 0 10px; border-radius: 7px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; color: var(--text-3); transition: color .25s, background .25s, transform .25s var(--ease); -webkit-tap-highlight-color: transparent; }
.lang button[aria-pressed="true"] { background: var(--mint); color: #04130E; }
.lang button:active { transform: scale(.94); }
@media (hover: hover) { .lang button:not([aria-pressed="true"]):hover { color: var(--text); background: var(--panel-2); } }
.lang button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.lang--foot { margin-left: auto; }
@media (max-width: 1080px) {
  .bar > .lang { display: none; }
  .sheet__act .lang { order: 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; margin-top: 4px; border-radius: 12px; }
  .sheet__act .lang button { height: 44px; font-size: 13px; border-radius: 9px; }
}
@media (max-width: 760px) {
  .lang--foot { margin-left: 0; margin-top: 10px; }
  .lang--foot button { height: 44px; min-width: 56px; font-size: 12.5px; }
}

/* English version */
.gl .sk { display: block; margin-top: 3px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .02em; line-height: 1.3; color: var(--text-3); }
html[lang="en"] .tog { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
html[lang="en"] .year__today::after { content: "today"; }
@media (max-width: 760px) { html[lang="en"] .year__legend::after { content: "Tap a dot"; } }
.i18n-restore .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
