:root {
  --bg: #fbfaf7;
  --band: #f2f0ea;
  --card: #ffffff;
  --ink: #1d1f1c;
  --muted: #5d625b;
  --line: #e2dfd6;
  --accent: #107c41;
  --accent-ink: #ffffff;
  --accent-soft: #e3f1e8;
  --warn: #b3261e;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141614;
    --band: #1b1e1b;
    --card: #212521;
    --ink: #eceee9;
    --muted: #a5aba2;
    --line: #333832;
    --accent: #3fb771;
    --accent-ink: #0d1a12;
    --accent-soft: #1d3326;
    --warn: #ff8a80;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 650; }
p { margin: 0 0 1em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
section { padding: 64px 0; }
section[id], #ochrana { scroll-margin-top: 64px; }
.band { background: var(--band); }
.fine { color: var(--muted); font-size: .92rem; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: .9rem; letter-spacing: .02em; margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }

.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  border: 2px solid var(--accent); border-radius: 999px;
  padding: .72em 1.3em; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
.btn-ghost { background: transparent; color: var(--accent); }
.btn-sm { padding: .4em 1em; font-size: .92rem; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: .55em; font-weight: 800; color: var(--ink); text-decoration: none; }
.logo-mark { width: 22px; height: 22px; border-radius: 6px; background: var(--accent);
  background-image: linear-gradient(var(--accent-ink), var(--accent-ink)), linear-gradient(var(--accent-ink), var(--accent-ink));
  background-size: 2px 60%, 60% 2px; background-position: center; background-repeat: no-repeat; }
.top-nav { display: flex; align-items: center; gap: 1.2em; }
.top-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: .95rem; }
.top-nav a:not(.btn):hover { color: var(--ink); }

/* hero */
.hero { padding: 56px 0 72px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 1em; }

.demo { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 50px -24px rgba(0,0,0,.25); overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--band); }
.demo-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.demo-bar em { margin-left: 10px; font-style: normal; font-size: .8rem; color: var(--muted); }
.demo-body { display: grid; grid-template-columns: 1.25fr 1fr; }
.sheet { padding: 12px; font-size: .78rem; border-right: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 22px 1fr 1fr 1fr; }
.row b, .row i { padding: 4px 6px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row b { color: var(--muted); font-weight: 500; text-align: center; background: var(--band); }
.row.head b { font-weight: 600; }
.row .num { text-align: right; font-variant-numeric: tabular-nums; }
.row .warn { color: var(--warn); }
.chart { display: flex; align-items: flex-end; gap: 10px; height: 96px; margin-top: 14px; padding: 8px 10px 0; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chart span { flex: 1; height: var(--h); background: var(--accent); border-radius: 4px 4px 0 0; opacity: .85; }
.side { padding: 12px; font-size: .82rem; display: flex; flex-direction: column; gap: 8px; }
.side-title { font-weight: 700; margin: 0; font-size: .85rem; }
.bubble { margin: 0; padding: 8px 10px; border-radius: 10px; line-height: 1.45; }
.bubble.me { background: var(--band); align-self: flex-end; }
.bubble.ai { background: var(--accent-soft); }
.demo figcaption { font-size: .78rem; color: var(--muted); padding: 8px 14px; border-top: 1px solid var(--line); }

/* outcome grid */
.grid3 { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid3 li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.grid3 p { color: var(--muted); margin: 0; font-size: .96rem; }

/* program */
.steps { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; max-width: 760px; }
.steps li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps span { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; padding-top: 1px; }
.steps h3 { margin-bottom: .2em; }
.steps p { margin: 0; color: var(--muted); }

/* offers */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.offer { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.offer-hl { border: 2px solid var(--accent); }
.offer .btn { margin-top: auto; align-self: flex-start; }
.tag { display: inline-block; align-self: flex-start; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .8rem; border-radius: 999px; padding: .2em .8em; margin-bottom: .8em; }
.when { color: var(--muted); }
.price { font-size: 1.8rem; font-weight: 800; margin: .2em 0 .6em; }
.price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.ticks { padding: 0; margin: 0 0 1.4em; list-style: none; }
.ticks li { position: relative; padding-left: 1.6em; margin-bottom: .45em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .8em; height: .45em; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.alt { margin-top: 20px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

/* form */
.form-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
input, select, textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: .65em .8em; width: 100%;
}
textarea { resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.firm-only[hidden] { display: none; }
form .btn { justify-self: start; }
.status { margin: 0; min-height: 1.4em; font-weight: 600; }
.status.ok { color: var(--accent); }
.status.err { color: var(--warn); }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 760px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: .6em 0 0; }

/* footer */
.foot { padding: 48px 0; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.privacy h2 { font-size: 1.05rem; color: var(--ink); }
.privacy { max-width: 760px; }
.legal { margin-top: 1.2em; }

@media (max-width: 860px) {
  section { padding: 48px 0; }
  .hero { padding: 32px 0 48px; }
  .hero-in, .two, .form-wrap, .offers { grid-template-columns: 1fr; gap: 28px; }
  .grid3 { grid-template-columns: 1fr; }
  .top-nav a:not(.btn) { display: none; }
}
@media (max-width: 480px) {
  .demo-body { grid-template-columns: 1fr; }
  .sheet { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li { grid-template-columns: 60px 1fr; gap: 10px; }
  .hero-cta .btn { flex: 1 1 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
