/* Persimail – stránky programu. Všechny cesty jsou relativní (jde otevřít i přímo ze souboru), žádné cizí zdroje. */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --dim: #5c6370;
  --faint: #8a8f99;
  --line: rgba(0, 0, 0, .09);
  --navy: #00408b;
  --teal: #0088a5;
  --green: #06b58f;
  --grad: linear-gradient(105deg, #00408b 0%, #0088a5 52%, #06b58f 100%);
  --btn: #0a5fb4;
  --shadow: 0 30px 80px -20px rgba(0, 40, 90, .30), 0 10px 30px -12px rgba(0, 40, 90, .18);
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--btn); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }

/* ---------- lišta ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; height: 56px; gap: 26px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 650; font-size: 19px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand b { font-weight: 700; color: var(--navy); }
.brand b i { font-style: normal; color: var(--green); }
.pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #7a4d00; background: #ffedc2; border-radius: 999px; padding: 3px 10px; }
.nav nav { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav nav a { color: #3a3f47; }
.nav nav a:hover { color: #000; text-decoration: none; }
.nav nav a.get { background: var(--ink); color: #fff; padding: 6px 15px; border-radius: 999px; font-weight: 600; }
.nav nav a.get:hover { background: #000; }

/* ---------- úvod ---------- */
.hero { text-align: center; padding: 84px 0 0; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; left: 50%; top: 300px; width: 1200px; height: 620px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0, 136, 165, .22), rgba(6, 181, 143, .10) 55%, transparent 75%); pointer-events: none; }
.hero .logo { height: 92px; width: auto; margin: 0 auto 22px; }
h1 { font-size: clamp(40px, 6.4vw, 78px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; margin: 18px auto 20px; max-width: 980px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.42; color: var(--dim); max-width: 740px; margin: 0 auto 30px; font-weight: 400; letter-spacing: -.01em; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 9px; background: var(--btn); color: #fff; font-weight: 600; font-size: 17px; padding: 13px 26px; border-radius: 999px; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: #084f97; text-decoration: none; transform: translateY(-1px); }
.btn.light { background: transparent; color: var(--btn); padding-left: 10px; padding-right: 10px; }
.btn.light:hover { background: transparent; text-decoration: underline; transform: none; }
.btn.light::after { content: "›"; font-size: 22px; line-height: 1; margin-top: -2px; }
.btn[aria-disabled="true"] { background: #c3c8d0; pointer-events: none; }
.meta { margin-top: 16px; font-size: 14px; color: var(--faint); }
.device { position: relative; margin: 56px auto 0; max-width: 1120px; border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(0, 0, 0, .12); border-bottom: 0; background: #fff; }

/* ---------- oddíly ---------- */
section { padding: 110px 0; }
section.alt { background: var(--bg-alt); }
section.dark { background: #000; color: #f5f5f7; }
section.dark .dim, section.dark p { color: #a1a6b0; }
.eyebrow { font-size: 15px; font-weight: 650; letter-spacing: .02em; margin: 0 0 10px; color: var(--teal); }
section.dark .eyebrow { color: #35d6ac; }
h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.07; letter-spacing: -.03em; font-weight: 700; margin: 0 0 18px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }
.sub { font-size: clamp(18px, 1.9vw, 21px); line-height: 1.47; color: var(--dim); max-width: 700px; margin: 0 0 12px; }
.shot { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(0, 0, 0, .10); background: #fff; }
section.dark .shot { border-color: rgba(255, 255, 255, .14); box-shadow: 0 40px 120px -30px rgba(6, 181, 143, .35); }
.big { margin-top: 56px; }

/* dvojice text + obrázek */
.pair { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.pair.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.pair.flip .txt { order: 2; }
.pair h2 { font-size: clamp(30px, 3.6vw, 46px); }
.points { list-style: none; margin: 22px 0 0; padding: 0; }
.points li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--dim); font-size: 16px; }
.points li b { display: block; color: var(--ink); font-weight: 650; font-size: 17px; margin-bottom: 2px; }
section.dark .points li { border-color: rgba(255, 255, 255, .14); }
section.dark .points li b { color: #fff; }

/* dlaždice */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 54px; }
.tile { background: var(--bg-alt); border-radius: var(--radius); padding: 34px 32px 32px; grid-column: span 2; }
section.alt .tile { background: #fff; }
.tile.wide { grid-column: span 3; }
.tile h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.02em; margin: 16px 0 8px; font-weight: 650; }
.tile p { margin: 0; color: var(--dim); font-size: 16px; }
.ico { width: 46px; height: 46px; border-radius: 13px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* srovnání */
.cmp { margin-top: 50px; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.cmp .row { display: grid; grid-template-columns: 1.1fr 1.6fr 1.9fr; }
.cmp .row > div { padding: 20px 26px; border-top: 1px solid var(--line); font-size: 16px; }
.cmp .row:first-child > div { border-top: 0; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); background: #fbfbfd; }
.cmp .row > div:first-child { font-weight: 650; }
.cmp .row > div:nth-child(2) { color: var(--faint); }
.cmp .row > div:nth-child(3) { background: rgba(6, 181, 143, .06); }
.cmp .row:first-child > div:nth-child(3) { color: var(--teal); background: rgba(6, 181, 143, .10); }

/* stažení */
.download { text-align: center; }
.download .logo { height: 120px; width: auto; margin: 0 auto 26px; }
.note { max-width: 760px; margin: 34px auto 0; background: #fff7e3; color: #6b4a00; border-radius: 18px; padding: 18px 24px; font-size: 15px; text-align: left; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; text-align: left; }
.step { background: #fff; border-radius: var(--radius); padding: 28px; }
.step .n { font-size: 44px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.step b { display: block; margin: 12px 0 4px; font-size: 19px; }
.step p { margin: 0; color: var(--dim); font-size: 15.5px; }
.sha { font: 12.5px/1.5 ui-monospace, Consolas, monospace; color: var(--faint); word-break: break-all; max-width: 720px; margin: 10px auto 0; }

details { border-top: 1px solid var(--line); padding: 20px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
details summary { cursor: pointer; font-weight: 650; font-size: 19px; letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-weight: 400; font-size: 26px; line-height: .9; color: var(--faint); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--dim); margin: 12px 0 0; max-width: 720px; }

footer { background: var(--bg-alt); padding: 30px 0 46px; color: var(--faint); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
footer a { color: #4a4f57; }
footer .sp { margin-left: auto; }

/* jemné vynoření při posunu (jen když je zapnutý JavaScript a uživatel nemá omezený pohyb) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  section { padding: 72px 0; }
  .pair, .pair.flip { grid-template-columns: 1fr; gap: 34px; }
  .pair.flip .txt { order: 0; }
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.wide { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .cmp .row { grid-template-columns: 1fr; }
  .cmp .row:first-child { display: none; }
  .cmp .row > div { border-top: 0; padding: 6px 22px; }
  .cmp .row > div:first-child { padding-top: 20px; border-top: 1px solid var(--line); }
  .cmp .row > div:nth-child(3) { padding-bottom: 20px; }
  .nav nav a.hide-s { display: none; }
  .hero { padding-top: 56px; }
  .hero .logo { height: 70px; }
}
