  :root {
    --font: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
    --bg: #ececec; --paper: #f7f7f7; --surface: #fff; --ink: #1e1e1e; --ink-2: #4f4f4f; --ink-3: #5e5e5e;
    --line: #a6a6a6; --line-soft: #d4d4d4; --bar-top: #ebebeb; --bar-bottom: #d1d1d1;
    --link: #2a62c4; --good: #1d7a33; --warn: #8a5b00; --bad: #b3261a;
  }
  @media (prefers-color-scheme: dark) {
    :root { --bg: #1e1f22; --paper: #232428; --surface: #2a2b30; --ink: #ececee; --ink-2: #b0b3ba; --ink-3: #8e929a;
      --line: #0e0f11; --line-soft: #3a3c42; --bar-top: #3a3b40; --bar-bottom: #2b2c30; --link: #7db2ff; --good: #72d681; --warn: #f3c552; --bad: #ff7d6a; }
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
  a { color: var(--link); }
  img { max-width: 100%; height: auto; display: block; }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

  /* lišta jako v aplikaci */
  header { position: sticky; top: 0; z-index: 10; background: linear-gradient(var(--bar-top), var(--bar-bottom)); border-bottom: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
  header .wrap { display: flex; align-items: center; gap: 24px; height: 56px; }
  .brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; margin-right: auto; }
  .brand img { width: 32px; height: 32px; }
  header nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
  header nav a:hover { color: var(--ink); }

  .btn { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 16px; border-radius: 5px; font: inherit; font-size: 14px; text-decoration: none; white-space: nowrap;
    border: 1px solid #a2a2a2; border-bottom-color: #868686; background: linear-gradient(#fff, #ebebeb); color: #1e1e1e; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
  .btn.primary { background: linear-gradient(#2a6fd2, #1f62c2); box-shadow: inset 0 12px 10px -8px rgba(255,255,255,.38), 0 1px 0 rgba(0,0,0,.06); border-color: #2a66c4; border-bottom-color: #1f4f9c; color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.22); }
  .btn.big { height: 44px; padding: 0 24px; font-size: 16px; border-radius: 6px; }
  .btn:active { filter: brightness(.92); }
  .btn:focus-visible, a:focus-visible { outline: 3px solid rgba(59,153,252,.55); outline-offset: 1px; }

  /* úvod */
  .hero { padding: 64px 0 40px; text-align: center; }
  .hero h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.12; margin: 0 auto 18px; max-width: 16em; letter-spacing: -.01em; }
  .hero p.lead { font-size: clamp(16px, 1.8vw, 19px); color: var(--ink-2); max-width: 40em; margin: 0 auto 28px; }
  .cta { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
  .cta small { color: var(--ink-3); font-size: 13px; }

  /* okno Mac se screenshotem */
  .window { margin: 44px auto 0; max-width: 1080px; border-radius: 7px; overflow: hidden; border: 1px solid var(--line); background: var(--surface);
    box-shadow: 0 22px 60px rgba(0,0,0,.28), 0 2px 6px rgba(0,0,0,.12); }
  .window .bar { height: 22px; display: flex; align-items: center; gap: 7px; padding: 0 9px; background: linear-gradient(#ececec, #d6d6d6); border-bottom: 1px solid #a6a6a6; }
  .window .bar i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); }
  .window .bar i:nth-child(1) { background: radial-gradient(circle at 50% 30%, #ff9c90, #e5473a); }
  .window .bar i:nth-child(2) { background: radial-gradient(circle at 50% 30%, #ffd98a, #e2a224); }
  .window .bar i:nth-child(3) { background: radial-gradient(circle at 50% 30%, #a8e89a, #3fae35); }
  .window .bar span { flex: 1; text-align: center; font-size: 12px; color: #4a4a4a; margin-right: 50px; }

  section { padding: 72px 0; }
  section + section { border-top: 1px solid var(--line-soft); }
  h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin: 0 0 14px; }
  .sub { color: var(--ink-2); max-width: 36em; margin: 0 0 36px; }

  /* co inzerát neřekne */
  .split { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 56px; align-items: start; }
  .split .shot { position: sticky; top: 84px; border-radius: 7px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0,0,0,.18); max-height: 640px; background: var(--surface); }
  .facts { display: grid; gap: 26px; margin: 0; }
  .facts div { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: start; }
  .facts .feat { grid-row: 1 / span 2; grid-column: 1; width: 56px; height: 56px; }
  .facts dt { grid-column: 2; font-weight: 700; font-size: 17px; }
  .facts dd { grid-column: 2; margin: 2px 0 0; color: var(--ink-2); }
  .facts .dot { grid-row: 1; grid-column: 1; width: 11px; height: 11px; border-radius: 50%; margin-top: 7px; border: 1px solid rgba(0,0,0,.25);
    background-image: radial-gradient(circle at 50% 25%, rgba(255,255,255,.6) 0 22%, transparent 30%); }

  /* hlídání */
  .watch { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 8px; padding: 32px 36px; }
  .watch p { margin: 0; color: var(--ink-2); max-width: 38em; }
  .watch h2 { margin-bottom: 8px; }

  /* zdroje */
  .sources { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
  .sources h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); margin: 0 0 10px; }
  .sources ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
  .sources li b { font-weight: 700; }
  .sources li span { color: var(--ink-2); }

  /* otázky */
  .faq { display: grid; gap: 0; max-width: 760px; }
  .faq details { border-bottom: 1px solid var(--line-soft); padding: 14px 0; }
  .faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
  .faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; }
  .faq details[open] summary::after { content: "–"; }
  .faq p { margin: 8px 0 0; color: var(--ink-2); }

  .final { text-align: center; }
  .final p { color: var(--ink-2); margin: 0 0 24px; }

  footer { border-top: 1px solid var(--line); background: linear-gradient(var(--bar-top), var(--bar-bottom)); font-size: 13px; color: var(--ink-2); }
  footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }

  @media (max-width: 860px) {
    header nav { display: none; }
    .hero { padding-top: 40px; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split .shot { position: static; max-height: 460px; }
    .watch { grid-template-columns: 1fr; padding: 24px; justify-items: start; }
    .sources { grid-template-columns: 1fr; gap: 28px; }
    section { padding: 52px 0; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  /* právní stránky */
  .doc { max-width: 760px; padding: 48px 24px 72px; }
  .doc h1 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 6px; }
  .doc .meta { color: var(--ink-3); font-size: 14px; margin: 0 0 32px; }
  .doc h2 { font-size: 20px; margin: 36px 0 10px; }
  .doc p, .doc li { color: var(--ink-2); }
  .doc ul { padding-left: 20px; }
  .doc .todo { background: #fff3c4; color: #5a4300; padding: 1px 4px; border-radius: 3px; }
  footer a { color: var(--ink-2); margin-left: 16px; }

  /* stránky s cenami (ceny/) */
  .lead-p { font-size: 18px; color: var(--ink); }
  .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0 8px; }
  .kpis div { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 6px; padding: 14px 16px; display: grid; gap: 2px; }
  .kpis b { font-size: 26px; font-variant-numeric: tabular-nums; }
  .kpis span { font-size: 13px; color: var(--ink-2); }
  .stats { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 24px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 6px; overflow: hidden; }
  .stats th, .stats td { padding: 7px 12px; text-align: left; border-bottom: 1px solid var(--line-soft); }
  .stats th { font-size: 12px; color: var(--ink-3); font-weight: 700; background: var(--paper); }
  .stats .r { text-align: right; font-variant-numeric: tabular-nums; }
  .stats tbody tr:nth-child(even) { background: var(--paper); }
  @media (max-width: 860px) { .kpis { grid-template-columns: repeat(2, 1fr); } .stats { font-size: 14px; } }

  /* průvodce */
  .doc h3 { font-size: 16px; margin: 20px 0 4px; }
  .doc ol { padding-left: 22px; }
  .doc ol.checklist li { margin: 0 0 12px; }
  .doc .crumbs { font-size: 14px; color: var(--ink-3); margin: 0 0 12px; }
  .doc ul.guides { list-style: none; padding: 0; }
  .doc ul.guides li { margin: 0 0 18px; }
  .doc ul.guides a { font-weight: 600; display: block; }

  /* obrázky v průvodcích */
  .doc .hero-img { margin: 8px 0 28px; }
  .doc .hero-img img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.16); }
  .doc .shot { margin: 18px 0 26px; }
  .doc .shot img { width: 100%; border-radius: 6px; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0,0,0,.14); }
  .doc .shot.narrow img { max-width: 360px; }
  .doc figcaption { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
  .chart svg { width: 100%; height: auto; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 6px; }
  .chart .line { fill: none; stroke: #2a6fd2; stroke-width: 2.5; }
  .chart .axis { stroke: var(--line-soft); }
  .chart .lbl { font-size: 12px; fill: var(--ink-3); font-family: var(--font); }

  .guides li.card img { display: block; width: 100%; max-width: 420px; border-radius: 6px; margin: 0 0 8px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
