:root {
  --ink: #16201a;
  --text: #34403a;
  --muted: #66716b;
  --bg: #ffffff;
  --cream: #f7f5f1;
  --card: #f3f0eb;
  --line: #e4e1db;
  --green: #1e5a32;
  --green-dark: #154426;
  --green-soft: #eef4ef;
  --err: #b3261e;
  --serif: "Libre Caslon Text", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16.5px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.06rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font-size: .78rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--ink);
}
.eyebrow::after { content: ""; width: 38px; height: 1.5px; background: var(--green); }
.eyebrow--under { flex-direction: column; align-items: flex-start; gap: 16px; }

.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--green); color: #fff; text-decoration: none; font: inherit; font-weight: 700; font-size: 1.05rem;
  padding: 14px 30px; border: 1.5px solid var(--green); border-radius: 8px; cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--green-dark); }
.btn--outline { background: transparent; color: var(--green); padding: 9px 18px; font-size: .95rem; }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--full { width: 100%; }
.btn:disabled { opacity: .7; cursor: default; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.35rem; letter-spacing: .02em; }
.logo__mark { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.logo__mark i { width: 6px; background: var(--green); border-radius: 1px; }
.logo__mark i:nth-child(1) { height: 45%; background: #3f8a52; }
.logo__mark i:nth-child(2) { height: 70%; }
.logo__mark i:nth-child(3) { height: 100%; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fbfaf8, #f4f2ee); }
.hero__img {
  position: absolute; top: 0; right: 0; bottom: 0; width: 56%; background: right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 42%);
          mask-image: linear-gradient(to right, transparent 0%, #000 42%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.hero__text { max-width: 560px; }
.hero .sub { font-size: 1.2rem; color: var(--ink); margin-bottom: .9em; }
.hero p { color: var(--text); }
.hero .btn { margin-top: 10px; }

/* Feature strip */
.strip { border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 26px; padding-bottom: 26px; }
.strip__item { display: flex; align-items: center; gap: 16px; padding: 4px 22px; border-left: 1px solid var(--line); }
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__item .icon { width: 34px; height: 34px; color: var(--green); stroke-width: 1.4; }
.strip__item strong { display: block; color: var(--ink); font-weight: 800; font-size: .97rem; line-height: 1.3; }
.strip__item span { font-size: .9rem; color: var(--muted); line-height: 1.3; }

/* Content sections */
.section { padding: 64px 0; }
.section--cream { background: var(--cream); }
.section .lead-text { max-width: 860px; font-size: 1.05rem; }

.cards { display: grid; gap: 20px; margin-top: 28px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px; }
.section--cream .card { border-color: transparent; box-shadow: 0 6px 20px rgba(30,40,30,.05); }
.num {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%;
  border: 1.5px solid var(--green); color: var(--green); font-family: var(--serif); font-size: 1.15rem;
}
.card p { font-size: .95rem; color: var(--muted); margin: 0; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* Example table (5B) */
.table-card { background: var(--card); border-radius: 14px; padding: 8px 24px; }
.table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.table th, .table td { padding: 11px 0; border-bottom: 1px solid #ddd8d0; text-align: left; }
.table th { font-weight: 600; color: var(--text); }
.table td { text-align: right; font-weight: 800; color: var(--ink); white-space: nowrap; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }

.result {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-top: 36px;
  background: var(--green-soft); border-left: 3px solid var(--green); border-radius: 0 12px 12px 0; padding: 22px 28px;
}
.result__label { font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--green); display: block; }
.result__value { font-family: var(--serif); font-size: 2rem; color: var(--green-dark); white-space: nowrap; }
.result p { margin: 0; font-size: .96rem; }
.note { font-style: italic; font-size: .86rem; color: var(--muted); margin: 12px 0 0; }

/* Guide + form */
.guide { background: linear-gradient(180deg, #faf9f6, #f4f2ee); padding: 72px 0; }
.guide .wrap { display: grid; grid-template-columns: 290px 1fr 420px; gap: 44px; align-items: center; }
.book { perspective: 1400px; }
.book__cover {
  position: relative; aspect-ratio: 3 / 4.1; border-radius: 4px 12px 12px 4px; overflow: hidden;
  background: #f6f4ef; transform: rotateY(14deg) rotateZ(-3deg);
  box-shadow: inset 8px 0 0 rgba(0,0,0,.06), 22px 26px 44px rgba(30,40,30,.22), 2px 2px 0 #e7e3dc;
  display: flex; flex-direction: column; padding: 22px 22px 0;
}
.book__brand { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: .72rem; line-height: 1.1; color: var(--ink); text-transform: uppercase; }
.book__brand .logo__mark { height: 18px; }
.book__brand .logo__mark i { width: 4px; }
.book__title { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; color: var(--ink); margin: 26px 0 0; }
.book__img { margin: auto -22px 0; height: 52%; background: 80% center / cover no-repeat; }

.checks { list-style: none; padding: 0; margin: 22px 0 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--ink); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

.form-card { background: var(--card); border-radius: 16px; padding: 30px 32px 26px; }
.form-card h2 { margin-bottom: .35em; }
.form-card > p { font-size: .95rem; color: var(--muted); }
.field { position: relative; margin-bottom: 12px; }
.field .icon { position: absolute; left: 16px; top: 15px; color: #555f59; width: 19px; height: 19px; }
.field input, .field select {
  width: 100%; font: inherit; font-size: .96rem; color: var(--ink); background: #fff;
  border: 1px solid #d6d1c9; border-radius: 8px; padding: 13px 14px 13px 48px; min-height: 50px;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23444' stroke-width='1.6'/%3E%3C/svg%3E") right 16px center / 11px no-repeat; }
.field select:invalid { color: #7a837e; }
.field input::placeholder { color: #7a837e; }
.field input:focus, .field select:focus { outline: 3px solid rgba(30,90,50,.15); border-color: var(--green); }
.field.invalid input { border-color: var(--err); }
.err { display: none; color: var(--err); font-size: .8rem; margin: 4px 0 0 4px; }
.field.invalid .err { display: block; }
.form-card .btn { margin-top: 6px; }
.secure { display: flex; gap: 8px; align-items: flex-start; font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.secure .icon { width: 14px; height: 14px; margin-top: 2px; }
.thanks { text-align: center; padding: 10px 0; }
.thanks h2 { color: var(--green-dark); }

.footer { border-top: 1px solid var(--line); padding: 26px 0 34px; font-size: .84rem; color: var(--muted); }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { margin: 0; max-width: 760px; }

/* Responsive */
@media (max-width: 1040px) {
  .guide .wrap { grid-template-columns: 220px 1fr; }
  .form-card { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .hero { display: flex; flex-direction: column-reverse; }
  .hero__img { position: relative; width: 100%; height: 240px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%); mask-image: linear-gradient(to bottom, transparent, #000 35%); }
  .hero .wrap { padding-top: 36px; padding-bottom: 8px; }
  .strip .wrap { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .strip__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .cards--3, .cards--4 { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: 1fr; gap: 32px; }
  .section, .guide { padding: 48px 0; }
}
@media (max-width: 600px) {
  .topbar .btn--outline { display: none; }
  .strip .wrap { grid-template-columns: 1fr; }
  .strip__item { border-left: 0; padding-left: 0; }
  .cards--3, .cards--4 { grid-template-columns: 1fr; }
  .guide .wrap { grid-template-columns: 1fr; }
  .book { max-width: 200px; margin: 0 auto; }
  .result { grid-template-columns: 1fr; gap: 10px; }
  .form-card { padding: 24px 18px; }
  .btn { width: 100%; }
}

/* Mobil: méně textu, kratší rolování */
@media (max-width: 600px) {
  .hide-mobile { display: none !important; }
}
