:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --border: #ececef;
  --text: #0f0f17;
  --text-soft: #56565f;
  --muted: #92929c;
  --accent: #5d4ee6;
  --accent-2: #4a3bd2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 900px; margin: 0 auto; padding: 0 22px; }

/* Header */
header.site {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 5;
}
header.site .wrap {
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  color: var(--text);
  font-size: 1.04rem;
  letter-spacing: -0.01em;
}
.brand svg { display: block; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(180deg, #6a5cf0 0%, #5340da 100%);
  color: #fff;
  font-weight: 600;
  padding: 9px 17px;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(16, 16, 32, 0.16),
    0 2px 8px rgba(74, 59, 210, 0.22);
  font-size: 0.95rem;
}
.btn:hover { filter: brightness(1.06); text-decoration: none; }

/* Editorial článek */
article { padding: 56px 0 8px; }
article h1 {
  font-size: 2.55rem;
  line-height: 1.1;
  letter-spacing: -0.038em;
  margin: 0 0 16px;
  font-weight: 800;
}
.meta { color: var(--muted); font-size: 0.92rem; margin: 0 0 32px; }
.lead { font-size: 1.28rem; line-height: 1.58; color: var(--text-soft); margin: 0 0 8px; }
article h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 44px 0 12px;
  font-weight: 700;
}
article p { margin: 16px 0; color: #2c2c36; }
article ul { padding: 0; list-style: none; margin: 20px 0; }
article li { position: relative; padding-left: 28px; margin: 12px 0; color: #2c2c36; }
article li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
article strong { color: var(--text); font-weight: 650; }

/* Výzva k akci */
.cta {
  background: linear-gradient(180deg, #f8f7ff 0%, #f1effb 100%);
  border: 1px solid #e7e3fb;
  border-radius: 16px;
  padding: 32px;
  margin: 44px 0;
  text-align: center;
}
.cta h3 { margin: 0 0 7px; font-size: 1.32rem; letter-spacing: -0.02em; }
.cta p { margin: 0 0 18px; color: var(--text-soft); }

/* Související */
.related { margin: 46px 0 8px; padding-top: 28px; border-top: 1px solid var(--border); }
.related strong {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}
.related a { display: block; padding: 8px 0; font-weight: 600; font-size: 1.06rem; color: var(--text); }
.related a:hover { color: var(--accent-2); text-decoration: none; }

footer.site {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 30px 0;
  margin-top: 36px;
  color: var(--muted);
  font-size: 0.9rem;
}
footer.site .wrap { max-width: 900px; }
footer.site a { color: var(--text-soft); margin-right: 18px; }
footer.site a:hover { color: var(--accent-2); }

@media (max-width: 600px) {
  body { font-size: 16px; }
  article { padding: 34px 0 6px; }
  article h1 { font-size: 1.95rem; }
  .lead { font-size: 1.14rem; }
  article h2 { font-size: 1.32rem; }
  .cta { padding: 24px; }
}
