:root {
  --bg: #f5f7f4;
  --surface: #ffffff;
  --fg: #16211d;
  --muted: #55665f;
  --line: #d9e2dd;
  --accent: #1f6b4f;
  --accent-strong: #154d39;
  --accent-soft: #e2efe8;
  --earth: #b5672e;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1513;
    --surface: #17201c;
    --fg: #e6eee9;
    --muted: #9db0a7;
    --line: #2a3832;
    --accent: #4fbf8f;
    --accent-strong: #7fd8b0;
    --accent-soft: #1b3329;
    --earth: #e0955c;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 var(--font);
}
img { max-width: 100%; }
a { color: var(--accent); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: 14px; color: var(--muted); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; text-wrap: balance; }
h1 { font-size: clamp(32px, 5vw, 50px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.5vw, 34px); letter-spacing: -0.01em; }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }

/* Hlavička */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--fg); text-decoration: none; }
.nav { display: flex; gap: 20px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--fg); }
.nav .nav-cta { color: var(--accent); font-weight: 600; }

/* Úvod */
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--earth); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.lead { font-size: 19px; color: var(--muted); max-width: 60ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 10px; }

.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); }
@media (prefers-color-scheme: dark) {
  .btn-primary { color: #0f1513; }
}

.hero-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: 20px; box-shadow: 0 18px 40px -24px rgba(22, 33, 29, 0.35);
  display: grid; gap: 12px;
}
.mock-head { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.mock-ready { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; background: var(--accent-soft); border-radius: 12px; padding: 14px; }
.mock-label { font-weight: 600; }
.mock-value { font-weight: 700; color: var(--accent); font-size: 20px; }
.mock-bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.mock-bar span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.mock-item { display: grid; grid-template-columns: 12px 1fr; gap: 12px; align-items: start; padding: 10px 4px; border-top: 1px solid var(--line); font-size: 15px; }
.mock-item span { color: var(--muted); font-size: 14px; }
.dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; }
.dot.z2 { background: var(--accent); }
.dot.ok { background: #6aa84f; }
.dot.goal { background: var(--earth); }

/* Sekce */
.section { padding: 64px 0; }
.band { padding: 64px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p, .feature p { color: var(--muted); margin: 0; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tag { font-size: 12px; font-weight: 600; color: var(--earth); border: 1px solid currentColor; border-radius: 99px; padding: 1px 8px; vertical-align: 2px; margin-left: 4px; }

/* Cena */
.pricing { max-width: 820px; margin-left: auto; margin-right: auto; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.price-card.featured { border: 2px solid var(--accent); }
.price { font-size: 34px; font-weight: 700; margin: 4px 0 2px; }
.price span { font-size: 16px; font-weight: 500; color: var(--muted); }
.price-alt { color: var(--muted); font-size: 15px; }
.price-card ul { padding-left: 20px; margin: 14px 0; }
.price-card li { margin: 6px 0; }

.cta-band { background: var(--accent-soft); }
.cta-band p { color: var(--muted); margin-bottom: 22px; }

/* Otázky */
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Patička */
.footer { padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer p { margin: 0; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 40px; }
  .section, .band { padding: 48px 0; }
}
