:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f2ede4;
  --text: #1f2a24;
  --muted: #5d6a62;
  --line: #e3ddd2;
  --brand: #2f6b4f;
  --brand-ink: #ffffff;
  --brand-soft: #e3efe8;
  --accent: #d98a1f;
  --accent-soft: #fbefdc;
  --danger: #b3261e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(31, 42, 36, .06), 0 6px 24px rgba(31, 42, 36, .06);
  --wrap: 1080px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }

/* Hlavička */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; font-size: 1.1rem; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-2); }

/* Sekce */
section { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }

.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.hero-card li { display: flex; gap: 12px; }
.hero-card .ico { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; }

.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 13px 20px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; transition: transform .05s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: #255a41; }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.btn-secondary:hover { background: var(--surface-2); }
.btn[disabled] { opacity: .6; cursor: wait; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .num { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 12px; }

/* Formulář */
.form-shell { max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.tab { background: var(--surface-2); border: 0; padding: 16px; font: inherit; font-weight: 600; cursor: pointer; color: var(--muted); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); }
form.waitlist { padding: 24px; display: grid; gap: 16px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], textarea, select {
  width: 100%; font: inherit; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
textarea { min-height: 96px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; background: #fff; }
.chip input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--brand); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.field-error { color: var(--danger); font-size: .88rem; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 14px 16px; border-radius: 10px; }
.form-msg.ok { background: var(--brand-soft); color: var(--brand); }
.form-msg.err { background: #fdecea; color: var(--danger); }

/* Roadmapa */
.progress { background: var(--surface-2); border-radius: 999px; height: 10px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--brand); border-radius: 999px; transition: width .6s ease; }
.gate { display: grid; gap: 6px; }
.gate-top { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.gate-list { display: grid; gap: 14px; }

.timeline { display: grid; gap: 16px; }
.phase { display: grid; grid-template-columns: 56px 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.phase-badge { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; background: var(--surface-2); color: var(--muted); }
.phase.active { border-color: var(--brand); box-shadow: var(--shadow); }
.phase.active .phase-badge { background: var(--brand); color: #fff; }
.phase.done .phase-badge { background: var(--brand-soft); color: var(--brand); }
.status { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.status.active { background: var(--brand); color: #fff; }
.status.done { background: var(--brand-soft); color: var(--brand); }
.status.planned { background: var(--surface-2); color: var(--muted); }
.phase ul { margin: 8px 0 0; padding-left: 20px; }
.phase .gate-title { font-weight: 700; font-size: .9rem; margin: 14px 0 8px; color: var(--muted); }
.gate-plain { display: flex; gap: 8px; font-size: .95rem; }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.note { background: var(--accent-soft); border-radius: var(--radius); padding: 18px 20px; }

table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.data th, table.data td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.table-scroll { overflow-x: auto; }

.site-footer { padding: 36px 0; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.35rem; }

@media (max-width: 860px) {
  .hero-grid, .grid-3, .principles { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 32px; }
  section { padding: 48px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .row-2 { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 1fr; }
  .nav a { padding: 6px 8px; }
}
