:root {
  --black: #1a1919;
  --green: #108a01;
  --green-dark: #0f8000;
  --green-soft: #b6dcb2;
  --yellow: #fedc44;
  --yellow-soft: #fff5c7;
  --yellow-dark: #f3d139;
  --paper: #fffdf4;
  --white: #fff;
  --muted: #5f5a53;
  --line: #e6dcc2;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--black);
  background: var(--paper);
  font: 17px/1.55 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--green-dark); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.site { background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.brand { display: flex; align-items: center; gap: 20px; color: inherit; text-decoration: none; }
.logo { display: block; height: auto; }
.logo-fakturoid { width: 184px; min-width: 184px; }
.brand-divider { width: 1px; height: 46px; background: var(--line); }
.brand-copy { display: grid; grid-template-columns: auto 150px; align-items: center; gap: 18px; padding-left: 0; }
.brand-text { display: block; min-width: 102px; }
.brand strong { display: block; font-size: 1.18rem; letter-spacing: -.02em; }
.brand small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.2; }
.logo-vjednom-inline { display: block; width: 150px; height: auto; }
nav { display: flex; align-items: center; gap: 20px; }
nav a { color: var(--black); font-size: .95rem; font-weight: 750; text-decoration-color: transparent; text-underline-offset: 5px; }
nav a:hover { color: var(--green-dark); text-decoration-color: var(--green-dark); }

.hero { background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 78px; padding-bottom: 86px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero h1 { max-width: 760px; margin: 0 0 24px; font-size: clamp(3rem, 7vw, 6.1rem); line-height: .92; letter-spacing: -.075em; }
.lead { max-width: 720px; margin: 0 0 28px; color: #332f2b; font-size: clamp(1.1rem, 1.7vw, 1.34rem); }
.meta { max-width: 680px; margin: 22px 0 0; color: var(--muted); font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 999px; font-weight: 850; text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 12px 0 var(--green-soft); }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { background: #fff; color: var(--black); border: 2px solid var(--black); }
.btn-secondary.light { border-color: var(--green-soft); color: var(--green-dark); }

main.wrap { padding-top: 24px; padding-bottom: 64px; }
.card { margin: 22px 0; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 28px; }
.legal-page { padding-top: 64px; min-height: 60vh; }
.legal-page h1 { margin: 0 0 16px; font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: .95; letter-spacing: -.06em; }
.card h2 { margin: 0 0 12px; font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.05; letter-spacing: -.045em; }
.card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.muted { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.feature { min-height: 150px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
.feature span { display: inline-flex; margin-bottom: 18px; color: var(--green-dark); font-size: .8rem; font-weight: 950; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.checklist { padding-left: 1.15rem; margin-bottom: 0; }
.checklist li { margin: 7px 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 14px 0 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 18px 48px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; }
.section-cta { margin-top: 12px; }
.pricing { background: var(--yellow); border-color: var(--yellow); }
footer.site { color: var(--muted); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 26px; padding-bottom: 26px; font-size: .9rem; }

@media (max-width: 900px) {
  .topbar, .footer-row { align-items: flex-start; flex-direction: column; }
  .brand { flex-wrap: wrap; }
  nav { flex-wrap: wrap; gap: 10px 16px; }
  .split, .grid { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 52px; padding-bottom: 58px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-left: 22px; padding-right: 22px; }
  .brand { align-items: flex-start; flex-direction: column; gap: 14px; }
  .brand-divider { width: 100%; max-width: 180px; height: 1px; }
  .brand-copy { display: grid; grid-template-columns: 1fr; align-items: flex-start; gap: 10px; border-left: 0; padding-left: 0; }
  .logo-fakturoid { width: 178px; min-width: 0; }
  .logo-vjednom-inline { width: 145px; min-width: 0; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .card { border-radius: 22px; padding: 22px; }
}
