/* Crescendo – web v štýle aplikácie (Material 3 Expressive) */

@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/google-sans-flex-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/google-sans-flex-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #33449B;
  --on-primary: #FFFFFF;
  --primary-container: #DDE1F6;
  --on-primary-container: #14246B;
  --tertiary: #7A4A3A;
  --on-tertiary: #FFFFFF;
  --tertiary-container: #F1DDD3;
  --on-tertiary-container: #3A1A10;
  --surface: #F4F1E8;
  --surface-low: #EFEBE1;
  --surface-container: #E9E5DA;
  --surface-high: #E2DDD1;
  --card: #FBF9F4;
  --on-surface: #1C1B17;
  --on-surface-variant: #4A4740;
  --outline: #D6D0C3;
  --device: #1C1B1F;
  --shadow: 40, 30, 20;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --emph: cubic-bezier(.2, 0, 0, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #B9C3FF;
    --on-primary: #1B2A73;
    --primary-container: #33449B;
    --on-primary-container: #DDE1F6;
    --tertiary: #F0B8A4;
    --on-tertiary: #48261A;
    --tertiary-container: #5E3426;
    --on-tertiary-container: #F6DED4;
    --surface: #13120F;
    --surface-low: #1A1916;
    --surface-container: #211F1B;
    --surface-high: #2B2924;
    --card: #1D1C18;
    --on-surface: #E9E5DA;
    --on-surface-variant: #C9C3B6;
    --outline: #3A3731;
    --device: #050505;
    --shadow: 0, 0, 0;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--on-surface);
  font: 450 17px/1.6 'Google Sans Flex', 'Roboto Flex', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--primary-container); color: var(--on-primary-container); }
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.08; margin: 0; font-variation-settings: 'opsz' 144; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 10px 18px; border-radius: 999px; }
.skip:focus { left: 12px; }
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───── pozadie: pomaly sa vlniace tvary ───── */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  animation: morph 22s ease-in-out infinite alternate, drift 30s ease-in-out infinite alternate;
  opacity: .9;
}
.blob.a { width: 62vmax; height: 62vmax; right: -22vmax; top: -26vmax; background: var(--primary-container); }
.blob.b { width: 46vmax; height: 46vmax; left: -20vmax; bottom: -22vmax; background: var(--tertiary-container); animation-delay: -8s, -12s; }
.blob.c { width: 22vmax; height: 22vmax; left: 46vw; top: 58vh; background: var(--surface-high); opacity: .55; animation-delay: -4s, -20s; }
@keyframes morph {
  0%   { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
  33%  { border-radius: 58% 42% 37% 63% / 56% 59% 41% 44%; }
  66%  { border-radius: 36% 64% 52% 48% / 62% 38% 62% 38%; }
  100% { border-radius: 63% 37% 44% 56% / 39% 57% 43% 61%; }
}
@keyframes drift {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(-3vmax, 4vmax) rotate(24deg); }
}

/* ───── horná lišta ───── */
.top {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
  transition: padding .3s var(--emph);
}
.top .bar {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.scrolled .top .bar {
  border-color: var(--outline);
  box-shadow: 0 10px 30px rgba(var(--shadow), .10);
  background: color-mix(in srgb, var(--card) 82%, transparent);
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -.02em; margin-right: auto; }
.brand .logo { width: 40px; height: 40px; border-radius: 13px; background: #212681; overflow: hidden; flex: none; transition: transform .5s var(--spring), border-radius .5s var(--spring); }
.brand:hover .logo { transform: rotate(-8deg) scale(1.06); border-radius: 50%; }
.brand .logo img { width: 100%; height: 100%; }
.links { display: flex; gap: 2px; }
.links a {
  color: var(--on-surface-variant); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 9px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.links a:hover, .links a[aria-current="page"] { background: var(--surface-high); color: var(--on-surface); }
.lang {
  border: 1px solid var(--outline); background: transparent; color: var(--on-surface);
  font-family: inherit; font-weight: 700; font-size: 13px; line-height: 1; letter-spacing: .06em; border-radius: 999px; padding: 10px 12px; cursor: pointer;
  transition: background .2s;
}
.lang:hover { background: var(--surface-high); }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .links { display: none; }
  .menu-btn {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: var(--surface-high); color: var(--on-surface); cursor: pointer;
  }
  .menu-open .links {
    display: flex; flex-direction: column; position: absolute; left: 20px; right: 20px; top: 76px;
    padding: 10px; border-radius: 28px; background: var(--card); border: 1px solid var(--outline);
    box-shadow: 0 24px 50px rgba(var(--shadow), .18);
    animation: pop .35s var(--spring);
  }
  .menu-open .links a { padding: 14px 18px; font-size: 17px; }
}
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.97); } }
@media (max-width: 460px) {
  .top .btn.small { padding: 0 13px; }
  .top .btn.small span { display: none; }
  .brand { font-size: 19px; gap: 10px; }
}

/* ───── tlačidlá (tvar sa pri stlačení zmení, ako v aplikácii) ───── */
.btn {
  --r: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border: 0; border-radius: var(--r);
  font-family: inherit; font-weight: 700; font-size: 17px; line-height: 1; text-decoration: none; cursor: pointer;
  background: var(--primary); color: var(--on-primary);
  transition: border-radius .45s var(--spring), transform .45s var(--spring), box-shadow .3s, background .2s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn:hover { box-shadow: 0 10px 26px color-mix(in srgb, var(--primary) 35%, transparent); transform: translateY(-2px); text-decoration: none; }
.btn:active { --r: 18px; transform: scale(.97); }
.btn.tonal { background: var(--primary-container); color: var(--on-primary-container); }
.btn.tonal:hover { box-shadow: none; }
.btn.outline { background: transparent; color: var(--on-surface); border: 1.5px solid var(--outline); }
.btn.outline:hover { box-shadow: none; background: var(--surface-high); }
.btn.small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn .ripple {
  position: absolute; border-radius: 50%; background: currentColor; opacity: .22; pointer-events: none; z-index: -1;
  transform: scale(0); animation: ripple .6s var(--emph) forwards;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ───── typografia ───── */
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: var(--primary); color: var(--on-primary);
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
}
.chip .n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 10px; background: var(--on-primary); color: var(--primary); font-weight: 900; font-size: 14px; }
.chip.t { background: var(--tertiary); color: var(--on-tertiary); }
.chip.t .n { background: var(--on-tertiary); color: var(--tertiary); }
.chip.soft { background: var(--surface-high); color: var(--on-surface); padding: 7px 16px; }
.beta { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--tertiary-container); color: var(--on-tertiary-container); font-size: 12px; font-weight: 900; letter-spacing: .1em; vertical-align: middle; }
.lead { font-size: clamp(18px, 2.1vw, 22px); color: var(--on-surface-variant); line-height: 1.5; }
.eyebrow { font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }

/* ───── hlavička domovskej stránky ───── */
.hero { position: relative; padding: 40px 0 90px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(46px, 7.2vw, 96px); letter-spacing: -.035em; margin: 22px 0 22px; line-height: .98; font-weight: 850; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.note { margin-top: 18px; font-size: 14px; color: var(--on-surface-variant); }
.hero-art { position: relative; height: 640px; }
.device { position: absolute; background: var(--device); box-shadow: 0 40px 80px rgba(var(--shadow), .28), 0 8px 24px rgba(var(--shadow), .18); }
.device .scr { width: 100%; height: 100%; overflow: hidden; background: var(--surface); }
.device .scr img { width: 100%; }
.device.tablet { width: 430px; height: 620px; padding: 13px; border-radius: 40px; left: 0; top: 0; transform: rotate(-4deg); }
.device.tablet .scr { border-radius: 28px; }
.device.phone { width: 240px; height: 500px; padding: 9px; border-radius: 40px; right: 0; bottom: -10px; transform: rotate(6deg); z-index: 2; }
.device.phone .scr { border-radius: 32px; }
@keyframes floatA { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-14px); } }
@keyframes floatB { 0%, 100% { transform: rotate(6deg) translateY(0); } 50% { transform: rotate(4.5deg) translateY(-18px); } }
.sticker {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 12px; border-radius: 999px; background: var(--card);
  box-shadow: 0 16px 36px rgba(var(--shadow), .18); font-weight: 700; font-size: 15px; white-space: nowrap;
}
.sticker .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--tertiary-container); color: var(--on-tertiary-container); }
.sticker .ic svg { width: 20px; height: 20px; }
.sticker.s1 { left: -30px; top: 120px; animation: bob 8s ease-in-out infinite; }
.sticker.s2 { right: 60px; top: 30px; animation: bob 10s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.sticker.s2 .ic { background: var(--primary-container); color: var(--on-primary-container); }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { height: 560px; max-width: 560px; width: 100%; margin: 20px auto 0; }
}
@media (max-width: 560px) {
  .hero-art { height: 440px; }
  .device.tablet { width: 300px; height: 440px; padding: 10px; border-radius: 30px; }
  .device.tablet .scr { border-radius: 21px; }
  .device.phone { width: 170px; height: 356px; padding: 7px; border-radius: 30px; }
  .device.phone .scr { border-radius: 24px; }
  .sticker { font-size: 13px; padding: 9px 14px 9px 9px; }
  .sticker .ic { width: 30px; height: 30px; }
  .sticker.s1 { left: -6px; top: 250px; }
  .sticker.s2 { right: 0; top: 4px; }
}

/* ───── sekcie ───── */
section { padding: 90px 0; position: relative; }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(34px, 4.6vw, 58px); margin: 14px 0 16px; letter-spacing: -.03em; }
.center { text-align: center; margin-inline: auto; }

/* mriežka funkcií */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  grid-column: span 2; position: relative; overflow: hidden;
  padding: 28px; border-radius: 32px; background: var(--card);
  border: 1px solid var(--outline);
  transition: transform .5s var(--spring), border-radius .5s var(--spring), box-shadow .3s;
}
.tile:hover { transform: translateY(-6px); border-radius: 44px; box-shadow: 0 24px 50px rgba(var(--shadow), .12); }
.tile.wide { grid-column: span 3; }
.tile.p { background: var(--primary-container); color: var(--on-primary-container); border-color: transparent; }
.tile.t { background: var(--tertiary-container); color: var(--on-tertiary-container); border-color: transparent; }
.tile h3 { font-size: 24px; margin: 18px 0 8px; }
.tile p { margin: 0; color: inherit; opacity: .85; }
.tile .ic {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px;
  background: var(--surface-high); color: var(--primary);
  transition: border-radius .6s var(--spring), transform .6s var(--spring);
}
.tile:hover .ic { border-radius: 50%; transform: rotate(-12deg) scale(1.08); }
.tile.p .ic { background: var(--primary); color: var(--on-primary); }
.tile.t .ic { background: var(--tertiary); color: var(--on-tertiary); }
.tile .ic svg { width: 28px; height: 28px; }
.tile .pro { position: absolute; top: 22px; right: 22px; }
@media (max-width: 980px) { .tile, .tile.wide { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile, .tile.wide { grid-column: auto; } }

/* galéria obrazoviek */
.gallery {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px 20px 40px; margin: 0 -20px; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.gallery::-webkit-scrollbar { display: none; }
.shot { flex: none; width: 250px; scroll-snap-align: center; text-align: center; }
.shot .device { position: relative; width: 250px; height: 520px; padding: 9px; border-radius: 40px; transition: transform .5s var(--spring); }
.shot .device .scr { border-radius: 32px; }
.shot:hover .device { transform: translateY(-10px) rotate(-1.5deg); }
.shot figcaption { margin-top: 18px; font-weight: 700; }
.gallery-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: -20px; }
.round {
  width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--surface-high); color: var(--on-surface);
  transition: border-radius .4s var(--spring), transform .4s var(--spring), background .2s;
}
.round:hover { border-radius: 18px; background: var(--primary-container); }
.round:active { transform: scale(.9); }
.round svg { width: 24px; height: 24px; }

/* sľuby o súkromí */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise div { padding: 26px; border-radius: 28px; background: var(--card); border: 1px solid var(--outline); }
.promise b { display: block; font-size: 20px; margin: 14px 0 6px; }
.promise div > span:not(.check) { color: var(--on-surface-variant); font-size: 15px; }
.check { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); }
.check svg { width: 24px; height: 24px; }
@media (max-width: 900px) { .promise { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .promise { grid-template-columns: 1fr; } }

/* zadarmo a Pro */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { padding: 34px; border-radius: 36px; background: var(--card); border: 1px solid var(--outline); }
.plan.pro { background: linear-gradient(140deg, var(--primary) 0%, #4B3C8C 55%, var(--tertiary) 130%); color: #fff; border: 0; position: relative; overflow: hidden; }
@media (prefers-color-scheme: dark) { .plan.pro { background: linear-gradient(140deg, #33449B 0%, #4B3C8C 55%, #7A4A3A 130%); } }
.plan.pro::after {
  content: ''; position: absolute; width: 340px; height: 340px; right: -120px; top: -140px;
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; background: rgba(255,255,255,.10);
  animation: morph 14s ease-in-out infinite alternate;
}
.plan h3, .plan .h3 { font-size: 30px; }
.plan .price { margin: 6px 0 18px; opacity: .8; font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; }
.plan li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--primary); }
.plan.pro li svg { color: #fff; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
/* úvod do cenníka na domovskej stránke */
.teaser { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 44px; background: var(--card); border: 1px solid var(--outline); }
.teaser h2 { font-size: clamp(32px, 4vw, 48px); margin: 12px 0 14px; letter-spacing: -.03em; }
.teaser .cta { margin-top: 24px; }
.mini-plans { display: grid; gap: 12px; }
.mini { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 2px 16px; align-items: center; padding: 20px 24px; border-radius: 28px; text-decoration: none; color: var(--on-surface); background: var(--surface-low); transition: transform .45s var(--spring), border-radius .45s var(--spring); }
.mini:hover { transform: translateX(6px); border-radius: 36px; text-decoration: none; }
.mini b { font-size: 22px; }
.mini .amt { grid-row: span 2; font-size: 28px; font-weight: 850; letter-spacing: -.02em; }
.mini span:last-child { font-size: 14px; color: var(--on-surface-variant); }
.mini.pro { background: linear-gradient(140deg, #33449B 0%, #4B3C8C 60%, #7A4A3A 140%); color: #fff; }
.mini.pro span:last-child { color: rgba(255,255,255,.8); }
@media (max-width: 820px) { .teaser { grid-template-columns: 1fr; } }
.plans-note { margin-top: 18px; padding: 20px 24px; border-radius: 28px; align-items: flex-start; }

/* záverečná výzva */
.cta-band {
  border-radius: 48px; padding: clamp(36px, 6vw, 72px); text-align: center; position: relative; overflow: hidden;
  background: var(--primary-container); color: var(--on-primary-container);
}
.cta-band h2 { font-size: clamp(36px, 5.4vw, 68px); margin: 18px 0 14px; }
.cta-band .cta { justify-content: center; }
.cta-band .logo-big { width: 96px; height: 96px; border-radius: 30px; background: #212681; margin: 0 auto; overflow: hidden; box-shadow: 0 18px 40px rgba(33,38,129,.35); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); border-radius: 30px; } 50% { transform: scale(1.06); border-radius: 40%; } }

/* ───── päta: stĺpce s odkazmi (všetky stránky na jednom mieste) ───── */
.site-footer { margin-top: 40px; padding: 56px 0 40px; background: var(--surface-low); border-top: 1px solid var(--outline); color: var(--on-surface-variant); font-size: 15px; }
.fcols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.fbrand p { margin: 14px 0 16px; max-width: 300px; }
.fbrand .brand { font-size: 20px; color: var(--on-surface); }
.fmail { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 650; text-decoration: none; }
.fmail .i { width: 20px; height: 20px; }
.site-footer nav { display: flex; flex-direction: column; gap: 4px; }
.site-footer nav h2 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-surface); margin: 0 0 8px; }
.site-footer nav a { color: inherit; text-decoration: none; padding: 5px 0; width: fit-content; transition: color .2s; }
.site-footer nav a:hover, .site-footer nav a[aria-current="page"] { color: var(--primary); text-decoration: underline; }
.fbottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--outline); font-size: 14px; }
@media (max-width: 860px) { .fcols { grid-template-columns: 1fr 1fr; } .fbrand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .fcols { grid-template-columns: 1fr; } }

/* text tlačidiel podľa toho, či je appka v bete (CRESCENDO.beta v site.js) */
.beta-on .when-live, html:not(.beta-on) .when-beta { display: none !important; }
.lang-note:empty { display: none; }

/* ───── cenník ───── */
.page-head { text-align: center; padding: 34px 0 30px; }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); margin: 16px 0 14px; letter-spacing: -.035em; }
.page-head .lead { max-width: 640px; margin: 0 auto; }
.billing { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface-high); margin: 26px auto 0; }
.billing button { border: 0; background: transparent; color: var(--on-surface); font-family: inherit; font-size: 15px; font-weight: 700; padding: 11px 20px; border-radius: 999px; cursor: pointer; transition: background .3s var(--emph), color .3s; }
.billing button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }
.billing .save { margin-left: 6px; font-size: 12px; padding: 3px 8px; border-radius: 999px; background: var(--tertiary-container); color: var(--on-tertiary-container); }
.plan .amount { font-size: 46px; font-weight: 850; letter-spacing: -.03em; line-height: 1; margin: 18px 0 4px; font-variation-settings: 'opsz' 144; }
.plan .amount small { font-size: 17px; font-weight: 600; letter-spacing: 0; opacity: .8; }
.plan .per { font-size: 14px; opacity: .8; min-height: 21px; }
.plan .btn { margin: 22px 0 24px; width: 100%; }
.plan.pro .btn { background: #fff; color: #33449B; }
.fine { text-align: center; font-size: 14px; color: var(--on-surface-variant); margin-top: 16px; }
.compare-wrap { overflow-x: auto; border-radius: 32px; border: 1px solid var(--outline); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { padding: 15px 22px; text-align: left; border-bottom: 1px solid var(--outline); }
.compare thead th { font-size: 15px; letter-spacing: .02em; background: var(--surface-low); position: sticky; top: 0; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover { background: var(--surface-low); }
.compare .grp td { font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); background: transparent; padding-top: 22px; }
.compare .yes { color: var(--primary); }
.compare .no { color: var(--outline); }
.compare .i { width: 22px; height: 22px; vertical-align: middle; }
.compare .val { font-weight: 700; }

/* ───── nápoveda ───── */
.searchbox { position: relative; max-width: 640px; margin: 26px auto 0; }
.searchbox .i { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--on-surface-variant); }
.searchbox input {
  width: 100%; height: 64px; padding: 0 24px 0 60px; border-radius: 999px; border: 1.5px solid var(--outline);
  background: var(--card); color: var(--on-surface); font-family: inherit; font-size: 18px;
  box-shadow: 0 14px 34px rgba(var(--shadow), .08); transition: border-color .2s, box-shadow .3s;
}
.searchbox input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 34px 0 10px; }
@media (max-width: 700px) { .topics { grid-template-columns: 1fr 1fr; } }
.topic {
  display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 28px; text-decoration: none; color: var(--on-surface);
  background: var(--card); border: 1px solid var(--outline); transition: transform .45s var(--spring), border-radius .45s var(--spring), box-shadow .3s;
}
.topic:hover { transform: translateY(-4px); border-radius: 36px; box-shadow: 0 18px 40px rgba(var(--shadow), .1); text-decoration: none; }
.topic .ic { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-container); color: var(--on-primary-container); }
.topic b { font-size: 17px; }
.topic span { font-size: 14px; color: var(--on-surface-variant); }
.faq-group { padding: 0; margin-top: 48px; scroll-margin-top: 100px; }
.faq-group > h2 { font-size: 28px; margin-bottom: 4px; display: flex; align-items: center; gap: 12px; }
.faq-group > h2 .i { color: var(--primary); }
.faq-group .faq { margin-top: 14px; }
.noresult { text-align: center; padding: 30px; color: var(--on-surface-variant); }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 16px; }
.contact > div { padding: 24px; border-radius: 28px; background: var(--card); border: 1px solid var(--outline); }
.contact h3 { font-size: 19px; margin: 12px 0 6px; }
.contact p { margin: 0 0 12px; color: var(--on-surface-variant); }
.contact .ic { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: var(--tertiary-container); color: var(--on-tertiary-container); }
.contact ul { margin: 0; padding-left: 1.2em; color: var(--on-surface-variant); }
.contact .addr { margin: 12px 0 0; font-size: 14px; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .compare { min-width: 0; }
  .compare th, .compare td { padding: 12px 12px; font-size: 14px; }
  .compare td:not(:first-child), .compare th:not(:first-child) { width: 25%; }
}
mark { background: var(--tertiary-container); color: inherit; border-radius: 4px; padding: 0 2px; }

/* ───── dokumenty (súkromie, podmienky, zmazanie účtu) ───── */
.progress { position: fixed; left: 0; top: 0; height: 4px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--primary), var(--tertiary)); }
.doc-head { padding: 30px 0 40px; }
/* prepínanie medzi právnymi dokumentmi */
.doc-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 26px; background: var(--surface-high); }
.doc-tabs a { padding: 9px 16px; border-radius: 999px; color: var(--on-surface-variant); text-decoration: none; font-weight: 650; font-size: 15px; transition: background .2s, color .2s; }
.doc-tabs a:hover { color: var(--on-surface); background: color-mix(in srgb, var(--card) 60%, transparent); }
.doc-tabs a[aria-current="page"] { background: var(--card); color: var(--on-surface); box-shadow: 0 2px 8px rgba(var(--shadow), .1); }
.lang-note { margin: 12px 0 0; padding: 12px 16px; border-radius: 18px; background: var(--tertiary-container); color: var(--on-tertiary-container); max-width: 760px; font-size: 15px; }
.doc-head h1 { font-size: clamp(40px, 6vw, 76px); margin: 18px 0 12px; letter-spacing: -.035em; }
.doc-head .meta { color: var(--on-surface-variant); font-weight: 600; }
.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 30px; }
.summary div { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 24px; background: var(--card); border: 1px solid var(--outline); font-weight: 650; }
.summary .check { width: 36px; height: 36px; flex: none; }
.summary .check svg { width: 20px; height: 20px; }
.doc { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; padding-bottom: 40px; }
.toc { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; padding: 8px; border-radius: 28px; background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--outline); }
.toc p { margin: 10px 14px 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-surface-variant); }
.toc a { display: block; padding: 9px 14px; border-radius: 16px; color: var(--on-surface-variant); text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.3; transition: background .2s, color .2s, padding .3s var(--spring); }
.toc a:hover { background: var(--surface-high); color: var(--on-surface); }
.toc a.on { background: var(--primary-container); color: var(--on-primary-container); padding-left: 20px; }
.article { background: var(--card); border: 1px solid var(--outline); border-radius: 36px; padding: clamp(24px, 4vw, 52px); min-width: 0; counter-reset: h; }
.article h2 { font-size: 28px; margin: 48px 0 12px; display: flex; align-items: center; gap: 12px; }
.article h2:first-child { margin-top: 0; }
.article h2::before { counter-increment: h; content: counter(h); flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; background: var(--primary-container); color: var(--on-primary-container); font-size: 16px; font-weight: 900; letter-spacing: 0; }
.article p, .article li { color: var(--on-surface); }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin: 8px 0; }
.article li::marker { color: var(--primary); }
.article code { background: var(--surface-high); padding: 2px 7px; border-radius: 8px; font-size: .9em; }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: 24px; background: var(--primary-container); color: var(--on-primary-container); margin: 18px 0; }
.callout.t { background: var(--tertiary-container); color: var(--on-tertiary-container); }
.callout svg { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.callout p { margin: 0; color: inherit; }
@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
}

/* kroky (zmazanie účtu) */
.steps { list-style: none; padding: 0 !important; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; min-height: 72px; display: block; padding: 22px 18px 20px 76px; border-radius: 24px; background: var(--surface-low); margin: 0 !important; line-height: 1.45; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: var(--primary); color: var(--on-primary); font-weight: 900; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.two > div { padding: 22px; border-radius: 26px; background: var(--surface-low); }
.two h3 { font-size: 19px; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.two ul { margin: 0; }
@media (max-width: 700px) { .two { grid-template-columns: 1fr; } }

/* oznam o beta testovaní na domovskej stránke */
.announce {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  padding: 8px 10px 8px 8px; border-radius: 999px; text-decoration: none;
  background: var(--tertiary-container); color: var(--on-tertiary-container); font-weight: 650; font-size: 15px;
  transition: transform .4s var(--spring), box-shadow .3s;
}
.announce:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(var(--shadow), .14); text-decoration: none; }
.announce .tag { padding: 5px 12px; border-radius: 999px; background: var(--tertiary); color: var(--on-tertiary); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.announce .go { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--card); transition: transform .4s var(--spring); }
.announce:hover .go { transform: translateX(3px); }
.announce .go svg { width: 16px; height: 16px; }
.announce .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tertiary); box-shadow: 0 0 0 0 var(--tertiary); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* beta testovanie: kroky s tlačidlami */
.beta-page { max-width: 860px; margin: 0 auto; padding-bottom: 40px; }
.beta-page .doc-head { text-align: center; }
.beta-page .doc-head .lead { margin-inline: auto; max-width: 680px; }
.join { display: grid; gap: 16px; counter-reset: j; }
.join .step {
  counter-increment: j; position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 6px 22px; align-items: start;
  padding: 28px; border-radius: 36px; background: var(--card); border: 1px solid var(--outline);
  transition: transform .5s var(--spring), border-radius .5s var(--spring), box-shadow .3s;
}
.join .step:hover { transform: translateY(-4px); border-radius: 44px; box-shadow: 0 22px 46px rgba(var(--shadow), .12); }
.join .step::before {
  content: counter(j); grid-row: span 3; display: grid; place-items: center; width: 64px; height: 64px;
  border-radius: 22px; background: var(--primary); color: var(--on-primary); font-size: 28px; font-weight: 900;
  transition: border-radius .6s var(--spring), transform .6s var(--spring);
}
.join .step:hover::before { border-radius: 50%; transform: rotate(-10deg); }
.join .step:nth-child(2)::before { background: var(--tertiary); color: var(--on-tertiary); }
.join .step > * { grid-column: 2; }
.join .step h2 { font-size: 26px; margin-top: 4px; }
.join .step p { margin: 4px 0 10px; color: var(--on-surface-variant); }
.join .step .btn { justify-self: start; }
.join .step .url { font-size: 13px; color: var(--on-surface-variant); word-break: break-all; margin: 10px 0 0; }
@media (max-width: 560px) {
  .join .step { grid-template-columns: 1fr; padding: 24px; }
  .join .step > * { grid-column: auto; }
  .join .step::before { grid-row: auto; width: 52px; height: 52px; font-size: 22px; border-radius: 18px; }
}
.faq { margin-top: 40px; display: grid; gap: 12px; }
.faq details { border-radius: 26px; background: var(--card); border: 1px solid var(--outline); padding: 0 22px; transition: border-radius .4s var(--spring); }
.faq details[open] { border-radius: 32px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 750; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-high); font-size: 22px; font-weight: 500; transition: transform .4s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--on-surface-variant); }
.thanks { margin-top: 30px; }

/* pozvánka */
.invite { max-width: 640px; margin: 20px auto 60px; text-align: center; }
.invite .card { padding: clamp(28px, 5vw, 48px); border-radius: 40px; background: var(--card); border: 1px solid var(--outline); margin: 26px 0; box-shadow: 0 24px 60px rgba(var(--shadow), .10); }
.code { font: 800 clamp(38px, 9vw, 60px)/1.1 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .12em; margin: 8px 0 22px; color: var(--primary); }
.invite ol { text-align: left; }
.muted { color: var(--on-surface-variant); }
.hide { display: none !important; }

/* ───── objavovanie pri posúvaní ───── */
.js .reveal { opacity: 0; transform: translateY(36px) scale(.98); transition: opacity .8s var(--emph), transform .9s var(--spring); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .intro > * { opacity: 0; transform: translateY(24px); animation: rise .9s var(--spring) forwards; }
.js .intro > :nth-child(2) { animation-delay: .08s; }
.js .intro > :nth-child(3) { animation-delay: .16s; }
.js .intro > :nth-child(4) { animation-delay: .24s; }
.js .intro > :nth-child(5) { animation-delay: .32s; }
.js .intro > :nth-child(6) { animation-delay: .40s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .hero-art .device, .js .hero-art .sticker { opacity: 0; animation-name: enter, var(--float); animation-duration: 1.1s, var(--fd); animation-timing-function: var(--spring), ease-in-out; animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none; animation-delay: var(--ed), calc(var(--ed) + 1.1s); }
.js .hero-art .device.tablet { --float: floatA; --fd: 9s; --ed: .25s; }
.js .hero-art .device.phone { --float: floatB; --fd: 7s; --ed: .45s; }
.js .hero-art .sticker.s1 { --float: bob; --fd: 8s; --ed: .8s; }
.js .hero-art .sticker.s2 { --float: bob; --fd: 10s; --ed: .95s; }
@keyframes enter { from { opacity: 0; transform: translateY(80px) rotate(0deg) scale(.92); } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .intro > *, .js .hero-art .device, .js .hero-art .sticker { opacity: 1 !important; transform: none !important; }
  .device.tablet { transform: rotate(-4deg); }
  .device.phone { transform: rotate(6deg); }
  html { scroll-behavior: auto; }
}
