/* ninia.app – landing page, v3 (5. 12. 2026): prínosy (bento), pred/po, plné právne stránky, AU.
   v2 (23. 11. 2026)
   v1 → v2 po pripomienke „seniorne celú webku, požičaj si komponenty z gounite.space“:
   prevzaté vzory z Unite – sticky nav v mriežke 1fr/auto/1fr, centrovaný hero s rotujúcim
   riadkom, telefón vychádzajúci z farebného panelu so štítkami, tri piliere s ikonou,
   taby s ukazovateľom priebehu, plány s hairline zoznamom, FAQ cez <details>, CTA a veľká
   pätička so zaoblením nahor. Farby a písmo ostávajú z appky (Theme.swift).
   Dve sivé: --tile (plochy) a --tile-hover. */

@font-face {
  font-family: "Pally";
  src: url("fonts/Pally-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --page: #F2F2EE;
  --card: #FFFFFF;
  --tile: #E6E6E1;
  --tile-hover: #DFDFDA;
  --ink: #182E22;
  --ink-70: rgba(24, 46, 34, .74);
  --ink-50: rgba(24, 46, 34, .56);
  --hair: rgba(24, 46, 34, .12);
  --on-brand: #F4FFE4;
  --sage: #C8D9AF;
  --alarm: #E0321A;

  /* Odtiene oblastí ako v appke – len odznaky a bodky, nikdy celé plochy. */
  --t-vet: #A9D8F2;
  --t-food: #F8EC86;
  --t-money: #F5C0DE;
  --t-memories: #D9C8F6;
  --t-care: #F6C3AE;
  --t-weight: #D6EE8E;

  --f-head: "Pally", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --f-body: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-body: 18px;
  --fs-lead: clamp(18px, 0.5vw + 16px, 22px);
  --fs-hero: clamp(44px, 5.4vw + 12px, 92px);
  --fs-h2: clamp(34px, 2.8vw + 16px, 60px);
  --fs-h3: clamp(24px, 1.2vw + 16px, 36px);

  --gx: clamp(20px, 4vw, 64px);
  --maxw: 1240px;
  --sy: 128px;

  /* Rohy sústredne: panel 32, vnútro s odsadením 8 → 24, tlačidlá 14. */
  --r-panel: 32px;
  --r-inner: 24px;
  --r-btn: 14px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}
@media (max-width: 1024px) { :root { --sy: 96px; } }
@media (max-width: 640px)  { :root { --sy: 64px; --r-panel: 24px; --r-inner: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--f-head); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gx)); margin: 0 auto; padding: 0 var(--gx); }
.sec { padding-top: var(--sy); }
.shead { max-width: 820px; }
.shead--center { margin: 0 auto; text-align: center; }
.shead h2 { font-size: var(--fs-h2); }
.shead p { margin-top: 18px; font-size: var(--fs-lead); color: var(--ink-70); max-width: 34em; }
.shead--center p { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; margin-bottom: 16px; font-size: 14px; font-weight: 700; color: var(--ink-50); }

/* ---------- Tlačidlá ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: var(--r-btn);
  font-size: 17px; font-weight: 600; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), transform .3s var(--ease);
}
.btn--ink { background: var(--ink); color: var(--on-brand); }
.btn--ink:hover { background: #24412F; }
.btn--light { background: var(--card); color: var(--ink); }
.btn--light:hover { background: var(--on-brand); }
.btn--tile { background: var(--tile); color: var(--ink); }
.btn--tile:hover { background: var(--tile-hover); }
.btn svg { width: 18px; height: 18px; }

/* Tlačidlo App Store. Pred spustením vymeniť za oficiálny odznak „Download on the App Store“
   (Apple Marketing Tools) a doplniť odkaz v build.py (APP_URL). */
.appstore {
  flex: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 22px 0 18px;
  background: #000; color: #fff; border-radius: var(--r-btn);
  transition: background .2s var(--ease), transform .3s var(--ease);
}
.appstore:hover { background: #1C1C1E; transform: translateY(-2px); }
.appstore svg { width: 24px; height: 24px; flex: none; }
.appstore span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore small { font-size: 12px; letter-spacing: 0; opacity: .85; }
.appstore strong { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.appstore--sm { min-height: 44px; padding: 0 16px 0 13px; border-radius: 12px; gap: 8px; }
.appstore--sm svg { width: 19px; height: 19px; }
.appstore--sm small { font-size: 10px; }
.appstore--sm strong { font-size: 16px; }
.appstore--light { background: var(--card); color: #000; }
.appstore--light:hover { background: var(--on-brand); }

/* ---------- Navigácia (Unite: mriežka 1fr auto 1fr) ---------- */

.nav {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  min-height: 76px;
  padding: 0 max(var(--gx), calc((100% - var(--maxw)) / 2));
  background: rgba(242, 242, 238, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  transition: transform .45s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-stuck { box-shadow: 0 1px 0 var(--hair); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { justify-self: start; color: var(--ink); }
.nav__logo svg { height: 30px; width: auto; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: 10px; font-size: 17px; font-weight: 500; color: var(--ink-70); transition: background .2s var(--ease), color .2s var(--ease); }
.nav__links a:hover { background: var(--tile); color: var(--ink); }
.nav__right { justify-self: end; }
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; min-height: 64px; }
  .nav__links { display: none; }
  .nav__logo svg { height: 26px; }
}
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }

/* Prepínač jazyka: segment ako v appke (sivá dráha, biely vybraný). */
.nav__right { display: flex; align-items: center; gap: 10px; }
.langsw { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--tile); }
.langsw a { display: grid; place-items: center; min-width: 36px; min-height: 36px; padding: 0 8px; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--ink-50); transition: background .2s var(--ease), color .2s var(--ease); }
.langsw a:hover { color: var(--ink); }
.langsw a[aria-current] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(24, 46, 34, .08); }
/* Mobil: so štyrmi jazykmi sa logo stláčalo na 36px – App Store v hlavičke skryjeme, v úvode je veľké tlačidlo. */
@media (max-width: 520px) { .nav__right .appstore { display: none; } .nav__logo svg { height: 26px; } }
@media (max-width: 420px) { .nav__right { gap: 6px; } .langsw a { min-width: 40px; padding: 0 6px; } }

/* ---------- Hero ---------- */

.hero { padding-top: clamp(40px, 6vw, 88px); text-align: center; }
.hero__chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--card);
  font-size: 16px; font-weight: 600; color: var(--ink-70);
}
.hero__chip b { padding: 3px 10px; border-radius: 999px; background: var(--alarm); color: #fff; font-size: 14px; font-weight: 700; }
/* min(…, 10.4vw): najdlhší rotujúci riadok („s pripomienkou včas“) sa na 320–375px musí zmestiť – pri 44px pretŕčal. */
.hero__title { margin: 24px auto 0; max-width: 16ch; font-size: min(var(--fs-hero), 10.4vw); line-height: 1.02; letter-spacing: -0.035em; }
.hero__l1 { display: block; color: var(--ink-70); }

/* Rotujúci riadok (Unite hero__rot): bez JS ostane viditeľná prvá veta. */
.rot { display: block; }
.rot__item { display: none; }
.rot__item.is-on { display: block; }
.rot.is-live { display: inline-block; position: relative; vertical-align: top; white-space: nowrap; transition: width .8s cubic-bezier(.65, 0, .2, 1); }
.rot.is-live .rot__in { display: block; position: relative; height: 1.3em; padding: .1em 0 .2em; margin: -.1em 0 -.2em; overflow: hidden; }
.rot.is-live .rot__item { position: absolute; left: 0; top: .1em; display: block; white-space: nowrap; }
.rot.is-live .rot__ch { display: inline-block; white-space: pre; transform: translateY(120%); transition: transform .6s cubic-bezier(.625, .05, 0, 1); transition-delay: var(--d, 0ms); }
.rot.is-live .rot__item.is-on .rot__ch { transform: none; }
.rot.is-live .rot__item.is-out .rot__ch { transform: translateY(-120%); }
.rot.is-live .rot__item:not(.is-on):not(.is-out) .rot__ch { transition: none; }

.hero__lead { margin: 24px auto 0; max-width: 36em; font-size: var(--fs-lead); color: var(--ink-70); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin-top: 36px; }
.hero__note { font-size: 16px; color: var(--ink-70); text-align: left; line-height: 1.4; }
.hero__note b { color: var(--ink); }

/* Panel s telefónom: telefón presahuje panel nahor, spodok je orezaný (Unite hero__panel). */
.stage { --over: clamp(120px, 12vw, 200px); position: relative; margin-top: clamp(56px, 6vw, 96px); }
.stage__panel { position: relative; height: clamp(380px, 30vw + 120px, 520px); margin-top: var(--over); }
.stage__bg {
  position: absolute; inset: 0; border-radius: var(--r-panel);
  background:
    radial-gradient(120% 140% at 85% 0%, rgba(200, 217, 175, .9) 0%, rgba(200, 217, 175, 0) 55%),
    linear-gradient(100deg, #10221A 0%, #182E22 30%, #2E5238 62%, #6E9560 100%);
}
.stage__clip { position: absolute; left: 0; right: 0; top: calc(-1 * var(--over) - 40px); bottom: 0; padding-top: 40px; overflow: hidden; border-radius: 0 0 var(--r-panel) var(--r-panel); }
.stage__pills { position: absolute; z-index: 2; inset: calc(-1 * var(--over)) 0 0; pointer-events: none; }
.pill {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--card);
  font-size: 16px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 12px 32px -8px rgba(16, 34, 26, .28);
}
.pill i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.pill i svg { width: 18px; height: 18px; }
.pill:nth-child(1) { left: 8%;  top: 18%; }
.pill:nth-child(2) { left: 4%;  top: 52%; }
.pill:nth-child(3) { left: 14%; top: 80%; }
.pill:nth-child(4) { right: 7%; top: 14%; }
.pill:nth-child(5) { right: 3%; top: 48%; }
.pill:nth-child(6) { right: 12%; top: 78%; }
.js .pill { opacity: 0; translate: 0 12px; scale: .96; transition: opacity .7s var(--ease), translate .7s var(--ease), scale .7s var(--ease); transition-delay: calc(var(--i) * 120ms + 400ms); }
.js .stage.in .pill { opacity: 1; translate: none; scale: none; }
@media (max-width: 900px) {
  .pill { font-size: 14px; padding: 6px 12px 6px 6px; gap: 8px; }
  .pill i { width: 26px; height: 26px; }
  .pill i svg { width: 15px; height: 15px; }
  .pill:nth-child(1) { left: 3%; top: 30%; }
  .pill:nth-child(4) { right: 3%; top: 22%; }
  .pill:nth-child(2), .pill:nth-child(5) { display: none; }
  .pill:nth-child(3) { left: 4%; top: 82%; }
  .pill:nth-child(6) { right: 4%; top: 74%; }
}
@media (max-width: 520px) {
  .pill:nth-child(3), .pill:nth-child(6) { display: none; }
  .pill:nth-child(1) { left: 0; top: 44%; }
  .pill:nth-child(4) { right: 0; top: 30%; }
}

/* ---------- Zariadenie (v3, 23. 11. 2026: „mockupy seniorne a animované“) ----------
   Titánový rám s jemným prechodom, bočné tlačidlá, čierny okraj displeja, Dynamic Island
   a odlesk skla. Pri zobrazení zariadenie vystúpi zdola, potom priletí notifikácia zhora
   a údajová karta zboku – rovnaký slovník pohybu ako zvyšok webu (vynorenie, bez odrazu). */
.device { position: relative; width: min(290px, 54%); }
.device__frame {
  position: relative; padding: 2.2%; border-radius: 17% / 7.9%;
  background: linear-gradient(150deg, #7A807C 0%, #2B312D 16%, #141A17 48%, #2B312D 84%, #6A706C 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .5),
              0 60px 100px -36px rgba(8, 20, 14, .55), 0 24px 48px -24px rgba(8, 20, 14, .35);
}
.device__frame::before, .device__frame::after {
  content: ""; position: absolute; width: 1.3%; border-radius: 3px;
  background: linear-gradient(90deg, #1A201C, #4A504C);
}
.device__frame::before { left: -1.1%; top: 19%; height: 6.5%; }
.device__frame::after { right: -1.1%; top: 25%; height: 10%; transform: scaleX(-1); }
.device__screen { position: relative; padding: 1.6%; border-radius: 15.2% / 7%; background: #040705; overflow: hidden; }
.device__screen img { display: block; width: 100%; height: auto; aspect-ratio: 552 / 1200; border-radius: 13.6% / 6.3%; }
/* Dynamic Island + odlesk skla. */
.device__screen::before { content: ""; position: absolute; z-index: 2; top: 3.1%; left: 50%; width: 29%; height: 3.4%; transform: translateX(-50%); border-radius: 999px; background: #000; }
.device__screen::after { content: ""; position: absolute; inset: 1.6%; z-index: 3; border-radius: 13.6% / 6.3%; pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 24%, rgba(255, 255, 255, 0) 36%); }

/* 3D telefón (phone3d.js): HTML telefón ostáva kvôli rozmerom, len sa skryje; plátno je o 30 % väčšie. */
.device__gl { position: absolute; z-index: 1; left: -15%; top: -15%; width: 130%; height: 130%; pointer-events: none;
  filter: drop-shadow(0 40px 40px rgba(8, 20, 14, .28)); }
.device.is-3d .device__frame { background: none; box-shadow: none; }
.device.is-3d .device__frame::before, .device.is-3d .device__frame::after { display: none; }
.device.is-3d .device__screen { visibility: hidden; }
.js .device__gl { opacity: 0; transition: opacity .6s var(--ease); }
.js .device.is-3d .device__gl { opacity: 1; }

/* iOS notifikácia nad telefónom. */
.notif {
  position: absolute; z-index: 4; left: -18%; top: 8%; width: 92%;
  display: flex; gap: 12px; align-items: center; padding: 12px 16px 12px 12px;
  border-radius: 22px; text-align: left; line-height: 1.3;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 24px 48px -16px rgba(16, 34, 26, .35), 0 0 0 1px rgba(24, 46, 34, .06);
}
.notif img { flex: none; width: 42px; height: 42px; border-radius: 11px; }
.notif div { min-width: 0; display: flex; flex-direction: column; }
.notif__app { font-size: 14px; font-weight: 600; color: var(--ink-50); }
.notif b { margin-top: 2px; font-size: 16px; font-weight: 700; }
.notif div > span:last-child { font-size: 16px; color: var(--ink-70); }

/* Údajová karta pri telefóne. */
.callout {
  position: absolute; z-index: 4; right: -22%; top: 46%;
  display: flex; gap: 12px; align-items: center; padding: 12px 20px 12px 12px;
  border-radius: 22px; background: var(--card); text-align: left;
  box-shadow: 0 24px 48px -16px rgba(16, 34, 26, .35), 0 0 0 1px rgba(24, 46, 34, .04);
}
.callout i { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; }
.callout i svg { width: 22px; height: 22px; }
.callout div { display: flex; flex-direction: column; line-height: 1.15; }
.callout b { font-family: var(--f-head); font-size: 26px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.callout span { margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--ink-70); white-space: nowrap; }

/* Animácia: obsah je viditeľný aj bez JS; s JS sa skryje a ukáže, keď panel dostane .is-shown. */
.js .tabpanel .device__frame { opacity: 0; transform: translateY(56px) scale(.97); }
.js .tabpanel .notif { opacity: 0; translate: 0 -20px; scale: .96; }
.js .tabpanel .callout { opacity: 0; translate: 20px 0; scale: .94; }
.js .tabpanel .device__frame { transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js .tabpanel .notif, .js .tabpanel .callout { transition: opacity .9s var(--ease), translate 1.1s var(--ease), scale 1.1s var(--ease); }
.js .tabpanel.is-shown .device__frame { opacity: 1; transform: none; transition-delay: .05s; }
.js .tabpanel.is-shown .notif { opacity: 1; translate: none; scale: none; transition-delay: .55s; }
.js .tabpanel.is-shown .callout { opacity: 1; translate: none; scale: none; transition-delay: .8s; }

/* Bubliny sa točia s telefónom (pokyn 23. 11. 2026). phone3d.js nastaví --rx/--ry (radiány, rovnaké ako
   natočenie 3D telefónu) a --persp (perspektíva zhodná s 3D kamerou). Vrstva sa otáča okolo stredu
   telefónu, bubliny ležia kúsok pred displejom (translateZ), takže sa posúvajú ako skutočné objekty.
   Vstupná animácia používa samostatné vlastnosti translate/scale, transform patrí 3D. */
.device__float { position: absolute; inset: 0; z-index: 4; pointer-events: none; transform-style: preserve-3d;
  transform: perspective(var(--persp, 1400px)) rotateX(calc(var(--rx, 0) * -1rad)) rotateY(calc(var(--ry, 0) * 1rad)); }
.device__float .notif { transform: translateZ(48px); }
.device__float .callout { transform: translateZ(72px); }
.stage__pills.is-3d { transform-style: preserve-3d; transform-origin: var(--ox, 50%) var(--oy, 50%);
  transform: perspective(var(--persp, 1400px)) rotateX(calc(var(--rx, 0) * -1rad)) rotateY(calc(var(--ry, 0) * 1rad)); }
.stage__pills.is-3d .pill { transform: translateZ(60px); }

/* Hero: telefón vystúpi z panelu, potom štítky. */
/* Hero: +20 % veľkosť; poloha 0 → 20 % výšky nižšie → späť o 15 % vyššie = 5 % (pokyny 23. 11. 2026). Výška = šírka × 2,086. */
.device--hero { --hw: clamp(300px, 25.2vw + 72px, 420px); width: var(--hw); margin: calc(var(--hw) * 2.086 * .05) auto 0; }
.js .stage .device--hero { transform: translateY(18%); transition: transform 1.4s var(--ease) .1s; }
.js .stage.in .device--hero { transform: none; }
.device--cta { width: min(310px, 68%); }

@media (prefers-reduced-motion: reduce) {
  .js .tabpanel .device__frame, .js .tabpanel .notif, .js .tabpanel .callout, .js .stage .device--hero { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Tri piliere (Unite credo4) ---------- */

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3.5vw, 56px); margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; list-style: none; }
.pillar { position: relative; padding-top: 28px; }
.pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hair); transform-origin: 0 50%; transition: transform 1s var(--ease) calc(var(--i) * .15s); }
.pillar__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--card); }
.pillar__ico svg { width: 24px; height: 24px; }
.pillar h3 { margin-top: 20px; font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; }
.pillar p { margin-top: 10px; max-width: 34ch; color: var(--ink-70); }
.js .pillars.reveal:not(.in) .pillar::before { transform: scaleX(0); }
.js .pillars.reveal .pillar > * { transition: opacity .8s var(--ease) calc(var(--i) * .15s + .2s), transform .8s var(--ease) calc(var(--i) * .15s + .2s); }
.js .pillars.reveal:not(.in) .pillar > * { opacity: 0; transform: translateY(10px); }
.js .pillars.reveal { opacity: 1; transform: none; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; gap: 36px; } }


/* ---------- Štítok s bodkou oblasti (ako tabpanel__eyebrow, no ako tabletka) ---------- */

.tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--page); font-size: 14px; font-weight: 700; color: var(--ink-70); }
.tag i { width: 10px; height: 10px; border-radius: 50%; }
.tag--dark { background: rgba(244, 255, 228, .1); color: var(--on-brand); }

/* ---------- Prínosy: bento (gounite .bento) ----------
   Mriežka 4 stĺpce: tmavá dlaždica 2×2, vysoká s obrazovkou 1×2, štyri 1×1. Karty biele bez obrysu,
   rohy 32 ako panely; ikona 48 s rohom 14 ako pillar__ico. */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(260px, auto); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.bento__tile { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r-panel); background: var(--card); overflow: hidden; }
.bento__tile h3 { margin-top: 4px; font-size: clamp(22px, .5vw + 18px, 26px); line-height: 1.15; letter-spacing: -0.02em; }
.bento__tile p { font-size: 17px; line-height: 1.55; color: var(--ink-70); }
.bento__ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: auto; border-radius: 14px; color: var(--ink); }
.bento__ico svg { width: 24px; height: 24px; }
.bento__ico + .tag { display: none; }
.bento__tile:not(.bento__tile--hero):not(.bento__tile--tall) h3 { margin-top: 28px; }
.bento__link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 17px; font-weight: 600; color: var(--ink); }
.bento__link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.bento__link:hover svg { transform: translateX(3px); }

.bento__tile--hero { grid-column: span 2; grid-row: span 2; padding: clamp(28px, 3.5vw, 48px); color: var(--on-brand);
  background: radial-gradient(90% 90% at 100% 100%, rgba(200, 217, 175, .45) 0%, rgba(200, 217, 175, 0) 60%), var(--ink); }
.bento__tile--hero h3 { margin-top: 12px; max-width: 13ch; font-size: var(--fs-h3); }
.bento__tile--hero p { max-width: 26em; color: rgba(244, 255, 228, .76); }
.bento__stat { display: flex; flex-direction: column; margin-top: auto; padding-top: 24px; line-height: 1; position: relative; z-index: 1; }
.bento__stat b { font-family: var(--f-head); font-size: clamp(56px, 4vw + 20px, 96px); letter-spacing: -0.05em; color: var(--on-brand); font-variant-numeric: tabular-nums; }
.bento__stat span { margin-top: 10px; font-size: 16px; font-weight: 600; color: rgba(244, 255, 228, .76); }
.bento__mascot { position: absolute; right: -4%; bottom: -6%; width: min(52%, 320px); pointer-events: none; }

.bento__tile--tall { grid-row: span 2; padding-bottom: 0; }
/* Posledný riadok: dve široké dlaždice, aby mriežka 4 stĺpcov nemala dieru. */
.bento__tile--wide { grid-column: span 2; }
.bento__screen { position: relative; margin: 16px auto 0; width: 78%; flex: 1; min-height: 240px; }
.bento__screen img { position: absolute; left: 0; right: 0; top: 0; width: 100%; aspect-ratio: 552 / 1200; border-radius: 28px 28px 0 0; box-shadow: 0 0 0 6px #141A17, 0 30px 60px -20px rgba(8, 20, 14, .4); }
.bento__tile--tall .bento__screen { overflow: hidden; margin-left: -28px; margin-right: -28px; width: auto; padding: 10px 14% 0; }
.bento__tile--tall .bento__screen img { position: static; width: 100%; }

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__tile--hero { grid-column: span 2; grid-row: auto; min-height: 440px; }
  /* Tablet: vysoká dlaždica len na jeden riadok s pevnou výškou obrazovky – cez dva riadky naťahovala
     susedné karty do prázdna. Posledná (súkromie) ide cez celú šírku, aby nezostala diera. */
  .bento__tile--tall { grid-row: auto; }
  .bento__tile--tall .bento__screen { height: 320px; flex: none; }
  .bento__tile--wide { grid-column: auto; }
  .bento__tile--wide:last-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .bento__tile, .bento__tile--hero, .bento__tile--wide, .bento__tile--wide:last-child { grid-column: auto; grid-row: auto; padding: 24px; }
  .bento__tile--hero { min-height: 480px; }
  .bento__tile--tall { padding-bottom: 0; }
  .bento__tile--tall .bento__screen { height: 340px; flex: none; margin-left: -24px; margin-right: -24px; }
  .bento__tile:not(.bento__tile--hero):not(.bento__tile--tall) h3 { margin-top: 16px; }
  .bento__mascot { width: 54%; }
}

/* ---------- Pred a po (gounite „chaos → systém“) ----------
   Jedna biela plocha, riadky oddelené čiarou, stĺpec „po“ na šalviovom podklade s odsadením 8 (roh 24). */
.cmp { position: relative; max-width: 1040px; margin: clamp(40px, 5vw, 64px) auto 0; padding: 8px; border-radius: var(--r-panel); background: var(--card); }
.cmp::before { content: ""; position: absolute; top: 8px; right: 8px; bottom: 8px; width: calc(50% - 8px); border-radius: var(--r-inner); background: rgba(200, 217, 175, .38); }
.cmp__head, .cmp__list li { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.cmp__head span { padding: 24px 28px 12px; font-size: 14px; font-weight: 700; color: var(--ink-50); }
.cmp__head span:last-child { color: var(--ink); }
.cmp__list { list-style: none; margin: 0; padding: 0 0 8px; }
.cmp__list li + li > span { border-top: 1px solid var(--hair); }
.cmp__list span { display: flex; gap: 12px; align-items: flex-start; margin: 0 28px; padding: 18px 0; line-height: 1.45; }
.cmp__a { color: var(--ink-50); }
.cmp__b { font-weight: 600; color: var(--ink); }
.cmp__list svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.cmp__a svg { color: var(--ink-50); }
@media (max-width: 760px) {
  .cmp::before { display: none; }
  .cmp__head { display: none; }
  .cmp__list { padding: 0; }
  .cmp__list li { grid-template-columns: 1fr; padding: 16px 20px; }
  .cmp__list li + li { border-top: 1px solid var(--hair); }
  .cmp__list li + li > span { border-top: 0; }
  .cmp__list span { margin: 0; padding: 4px 0; }
  .cmp__a { font-size: 16px; }
}

/* ---------- Taby funkcií (Unite tabs s ukazovateľom priebehu) ---------- */

.tabs { position: relative; margin-top: clamp(32px, 4vw, 56px); }
.tabs__bar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.tab { position: relative; padding: 0 0 14px; text-align: left; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-50); transition: color .3s var(--ease); }
.tab:hover, .tab.is-on { color: var(--ink); }
.tab__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--hair); overflow: hidden; border-radius: 2px; }
.tab__bar b { display: block; height: 100%; width: 0; background: var(--ink); }
.tab.is-on .tab__bar b { animation: tabprog var(--tab-ms, 7000ms) linear forwards; }
.tabs.is-paused .tab.is-on .tab__bar b { animation-play-state: paused; }
.tabs.is-static .tab.is-on .tab__bar b { animation: none; width: 100%; }
@keyframes tabprog { to { width: 100%; } }

.tabpanel {
  --tp: clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: end;
  min-height: clamp(480px, 42vw, 600px); margin-top: 24px; padding: var(--tp);
  border-radius: var(--r-panel); background: var(--card);
}
.tabpanel[hidden] { display: none; }
.tabpanel__copy { align-self: end; padding-bottom: 8px; }
.tabpanel__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: var(--ink-70); }
.tabpanel__eyebrow i { width: 12px; height: 12px; border-radius: 50%; }
.tabpanel h3 { margin-top: 16px; max-width: 14ch; font-size: var(--fs-h3); letter-spacing: -0.025em; }
.tabpanel__text { margin-top: 16px; max-width: 30em; color: var(--ink-70); }
.ticks { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--hair); display: grid; gap: 4px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 4px 0; font-size: 17px; line-height: 1.45; }
.ticks svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
/* Vizuál sedí v rohu panelu s odsadením 8px – vnútorný roh 32 − 8 = 24 (sústredne). */
.tabpanel__visual {
  align-self: stretch; display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
  margin: calc(8px - var(--tp)) calc(8px - var(--tp)) calc(8px - var(--tp)) 0;
  padding-top: 56px; border-radius: var(--r-inner);
  background: radial-gradient(80% 70% at 50% 100%, rgba(200, 217, 175, .55) 0%, rgba(200, 217, 175, 0) 70%), var(--tile);
}
.tabpanel__visual .device { margin-bottom: -18%; }

.tabs__toggle { position: absolute; right: 0; top: -48px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--ink); transition: background .2s var(--ease); }
.tabs__toggle:hover { background: var(--tile); }
.tabs__toggle svg { width: 14px; height: 14px; fill: currentColor; }
.tabs__toggle .i-play, .tabs.is-paused .tabs__toggle .i-pause { display: none; }
.tabs.is-paused .tabs__toggle .i-play { display: block; }

@media (prefers-reduced-motion: reduce) { .tab.is-on .tab__bar b { animation: none; width: 100%; } }

/* Mobil: taby sa rozložia pod seba ako samostatné karty (Unite: karusel → stĺpec). */
@media (max-width: 900px) {
  .tabs__bar, .tabs__toggle { display: none; }
  .tabpanel, .tabpanel[hidden] { display: grid; grid-template-columns: 1fr; gap: 28px; min-height: 0; padding: 8px 8px 28px; }
  .tabpanel + .tabpanel { margin-top: 16px; }
  .tabpanel__visual { order: -1; margin: 0; height: 420px; padding-top: 40px; }
  .tabpanel__visual .device { width: 200px; margin-bottom: -150px; }
  .notif { left: -26%; width: 112%; padding: 10px 12px 10px 10px; border-radius: 18px; gap: 10px; }
  .notif img { width: 34px; height: 34px; border-radius: 9px; }
  .notif b, .notif div > span:last-child { font-size: 14px; }
  .notif__app { display: none; }
  .callout { left: -18%; right: auto; top: auto; bottom: 46%; max-width: 136%; padding: 8px 14px 8px 8px; border-radius: 16px; gap: 10px; }
  .callout i { width: 36px; height: 36px; border-radius: 11px; }
  .callout b { font-size: 20px; }
  .callout span { font-size: 14px; white-space: normal; }
  .tabpanel__copy { padding: 0 20px; }
}

/* ---------- Stratený pes ---------- */

.sos {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center;
  padding: clamp(32px, 5vw, 72px); border-radius: var(--r-panel);
  background: var(--ink); color: var(--on-brand);
}
.sos h2 { font-size: var(--fs-h2); }
.sos p { margin-top: 18px; max-width: 32em; color: rgba(244, 255, 228, .76); }
.sos__soon { display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(244, 255, 228, .12); font-size: 14px; font-weight: 700; color: var(--on-brand); }
.sos__live { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 16px; font-weight: 700; color: #FF8A73; }
.sos__live i { width: 10px; height: 10px; border-radius: 50%; background: var(--alarm); box-shadow: 0 0 0 4px rgba(224, 50, 26, .3); }
.sos__steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.sos__steps li { display: flex; gap: 14px; align-items: baseline; color: var(--on-brand); }
.sos__steps li::before { counter-increment: s; content: counter(s); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(244, 255, 228, .12); font-size: 15px; font-weight: 700; transform: translateY(5px); }
.radar { position: relative; aspect-ratio: 1; width: 100%; max-width: 400px; justify-self: center; }
.radar span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(224, 50, 26, .55); animation: ping 3s var(--ease) infinite; }
.radar span:nth-child(2) { animation-delay: 1s; }
.radar span:nth-child(3) { animation-delay: 2s; }
.radar img { position: absolute; inset: 30%; width: 40%; height: 40%; border-radius: 50%; object-fit: cover; background: var(--on-brand); box-shadow: 0 0 0 6px var(--alarm); }
.radar__km { position: absolute; padding: 4px 10px; border-radius: 999px; background: rgba(244, 255, 228, .12); font-size: 14px; font-weight: 700; color: var(--on-brand); }
.radar__km--5 { left: 50%; top: 14%; transform: translateX(-50%); }
.radar__km--10 { left: 50%; top: -2%; transform: translateX(-50%); }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .radar span { animation: none; opacity: .5; }
  .radar span:nth-child(1) { transform: scale(.55); }
  .radar span:nth-child(2) { transform: scale(.78); }
}
@media (max-width: 900px) {
  .sos { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
  .radar { max-width: 260px; order: -1; }
}

/* ---------- Plány (Unite plan) ---------- */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.plan { display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-panel); background: var(--card); }
.plan--best { background: var(--ink); color: var(--on-brand); --ink-70: rgba(244, 255, 228, .74); --hair: rgba(244, 255, 228, .14); }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan__name { font-size: 19px; font-weight: 700; }
.plan__tag { padding: 6px 10px; line-height: 1; border-radius: 8px; background: var(--sage); color: var(--ink); font-size: 14px; font-weight: 700; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 28px; line-height: 1; }
.plan__price b { font-family: var(--f-head); font-size: clamp(44px, 2.6vw + 14px, 56px); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 16px; color: var(--ink-70); }
.plan__for { margin-top: 12px; min-height: 3em; font-size: 16px; line-height: 1.45; color: var(--ink-70); }
.plan .ticks { flex: 1; }
.plan--best .ticks svg circle { fill: var(--sage); }
.plan .btn { width: 100%; margin-top: 24px; }
.plans--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-left: auto; margin-right: auto; }
.plans__note { max-width: 640px; margin: 24px auto 0; text-align: center; font-size: 14px; line-height: 1.5; color: var(--ink-50); }
@media (max-width: 960px) { .plan__for { min-height: 0; } .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

/* ---------- FAQ (Unite qa) ---------- */

.qa { max-width: 920px; margin: 0 auto; }
.qa__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.qa__head h2 { font-size: var(--fs-h2); }
.qa__all { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; font-size: 16px; font-weight: 600; color: var(--ink-70); }
.qa__all:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.qa__all svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.qa__all.is-open svg { transform: rotate(180deg); }
.qa__list { margin-top: clamp(24px, 3vw, 40px); }
.qa__item { border-bottom: 1px solid var(--hair); }
.qa__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(20px, 2vw, 28px) 0; list-style: none; cursor: pointer; font-size: clamp(19px, 1vw + 12px, 24px); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
.qa__q::-webkit-details-marker { display: none; }
.qa__q svg { flex: none; width: 20px; height: 20px; transition: transform .4s var(--ease); }
.qa__item[open] .qa__q svg { transform: rotate(45deg); }
.qa__a { padding: 0 48px 28px 0; color: var(--ink-70); max-width: 44em; }
@media (max-width: 640px) { .qa__head { flex-direction: column; align-items: flex-start; gap: 8px; } .qa__a { padding-right: 0; } }

/* ---------- CTA + veľká pätička (Unite sec--cta + foot--big) ---------- */

.cta {
  position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 40px;
  padding: clamp(40px, 5vw, 80px) clamp(28px, 5vw, 80px) 0; border-radius: var(--r-panel);
  background:
    radial-gradient(90% 120% at 100% 100%, rgba(200, 217, 175, .55) 0%, rgba(200, 217, 175, 0) 60%),
    var(--ink);
  color: var(--on-brand); overflow: hidden;
}
.cta__copy { align-self: center; padding-bottom: clamp(40px, 5vw, 80px); }
.cta h2 { font-size: var(--fs-h2); max-width: 13ch; }
.cta p { margin-top: 18px; max-width: 28em; color: rgba(244, 255, 228, .76); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta__visual { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 100%; min-height: 360px; }
.cta__visual .device { margin-bottom: -30%; }
.cta__visual .mascot { position: absolute; z-index: 1; left: 0; bottom: 24px; width: 38%; max-width: 180px; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .25)); }
@media (max-width: 900px) {
  .cta { grid-template-columns: 1fr; gap: 0; padding: 36px 24px 0; }
  .cta__copy { padding-bottom: 36px; }
  .cta__visual { min-height: 300px; }
  .cta__visual .device { width: 220px; margin-bottom: -170px; }
}

.foot { margin-top: var(--sy); padding: clamp(48px, 6vw, 88px) 0 32px; border-radius: clamp(32px, 5vw, 64px) clamp(32px, 5vw, 64px) 0 0; background: var(--card); }
.foot__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot__logo svg { height: 32px; width: auto; color: var(--ink); }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px 24px; margin-top: clamp(48px, 6vw, 88px); }
.foot__claim { max-width: 22ch; font-family: var(--f-head); font-size: clamp(24px, 1.2vw + 16px, 32px); line-height: 1.15; letter-spacing: -0.02em; }
.foot__col b { display: block; margin-bottom: 14px; font-size: 16px; font-weight: 600; color: var(--ink-50); }
.foot__col a { display: block; padding: 5px 0; font-size: 18px; color: var(--ink-70); transition: color .2s var(--ease); }
.foot__col a:hover { color: var(--ink); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--hair); font-size: 14px; color: var(--ink-50); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__claim { grid-column: 1 / -1; } }

/* ---------- Právne stránky (v2, 5. 12. 2026: plné dokumenty pre EÚ a Austráliu) ----------
   Hlavička, tri sľuby, potom obsah vľavo (lepí sa pri skrolovaní) a číslované sekcie vpravo.
   Kotvy sekcií sú trvalé – appka a App Store môžu odkazovať na konkrétnu časť. */

.doc { padding-top: clamp(40px, 6vw, 88px); }
.doc__head { max-width: 820px; }
.doc__updated { font-size: 14px; font-weight: 700; color: var(--ink-50); }
.doc h1 { margin-top: 16px; font-size: var(--fs-h2); }
.doc__lead { margin-top: 18px; font-size: var(--fs-lead); color: var(--ink-70); max-width: 38em; }
.doc__promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 40px; }
.doc__promises div { padding: 24px; border-radius: var(--r-inner); background: var(--card); font-weight: 600; line-height: 1.35; }
.doc__promises svg { width: 44px; height: 44px; padding: 10px; margin-bottom: 16px; border-radius: 12px; background: var(--page); }
.doc__body { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(48px, 6vw, 80px); }
.doc__toc { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; }
.doc__toc p { font-size: 14px; font-weight: 700; color: var(--ink-50); }
.doc__toc ol { list-style: none; margin: 12px 0 0; padding: 0; counter-reset: toc; }
.doc__toc li { counter-increment: toc; }
.doc__toc a { display: flex; gap: 10px; padding: 6px 0; font-size: 16px; line-height: 1.35; color: var(--ink-70); transition: color .2s var(--ease); }
.doc__toc a::before { content: counter(toc, decimal-leading-zero); flex: none; width: 22px; font-size: 14px; font-weight: 600; color: var(--ink-50); font-variant-numeric: tabular-nums; transform: translateY(1px); }
.doc__toc a:hover { color: var(--ink); }
.doc__list { max-width: 760px; }
.doc__item { padding: 32px 0; border-top: 1px solid var(--hair); scroll-margin-top: 96px; }
.doc__item:first-child { padding-top: 0; border-top: 0; }
.doc__item h2 { display: flex; gap: 14px; align-items: baseline; font-size: clamp(22px, .6vw + 18px, 28px); line-height: 1.2; letter-spacing: -0.015em; }
.doc__item h2 span { flex: none; font-family: var(--f-body); font-size: 14px; font-weight: 700; color: var(--ink-50); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.doc__item > div { margin-top: 16px; }
.doc__item p, .doc__item li { color: var(--ink-70); }
.doc__item p + p, .doc__item ul + p, .doc__item p + ul { margin-top: 14px; }
.doc__item ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.doc__item li { position: relative; padding-left: 22px; }
.doc__item li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.doc__item b { color: var(--ink); font-weight: 600; }
.doc__item a, .doc__meta a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 3px; transition: text-decoration-color .2s var(--ease); overflow-wrap: anywhere; }
.doc__item a:hover, .doc__meta a:hover { text-decoration-color: currentColor; }
.doc__meta { max-width: 760px; margin: 48px 0 0 calc(260px + clamp(32px, 5vw, 80px)); padding-top: 24px; border-top: 1px solid var(--hair); font-size: 16px; color: var(--ink-50); }
@media (max-width: 960px) {
  .doc__body { grid-template-columns: 1fr; }
  /* Mobil: obsah ako jedna rozbaľovacia plocha by bol ďalší ovládací prvok – stačí kompaktný zoznam na sivej. */
  .doc__toc { position: static; max-height: none; padding: 20px 24px; border-radius: var(--r-inner); background: var(--card); }
  .doc__meta { margin-left: 0; }
}
@media (max-width: 760px) {
  .doc__promises { grid-template-columns: 1fr; }
  .doc__promises div { display: flex; gap: 14px; align-items: center; padding: 18px 20px; }
  .doc__promises svg { margin: 0; flex: none; }
  .doc__item { padding: 28px 0; }
}

/* ---------- 404 ---------- */

.nf { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(48px, 8vw, 120px); }
.nf img { width: 180px; }
.nf h1 { margin-top: 24px; font-size: var(--fs-h2); }
.nf p { margin-top: 14px; color: var(--ink-70); }
.nf .btn { margin-top: 32px; }

/* ---------- Pohyb: jemné vynorenie; obsah je viditeľný aj bez JS ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (max-width: 640px) { .js .reveal { transform: translateY(16px); transition-duration: .5s; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .pill, .js .pillars.reveal .pillar > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .rot.is-live, .rot.is-live .rot__ch { transition: none !important; }
}

/* Mobil: poznámka pod App Store na stred (pod tlačidlom, nie vedľa neho). */
@media (max-width: 520px) { .hero__note { text-align: center; } }

/* Mobil: 3D telefón v úvode o kúsok menší, aby štítky dýchali. */
@media (max-width: 520px) { .device--hero { --hw: 264px; } }
