/* ═══════════════════════════════════════════════════════════════════════════
   Smart Agro — písaný pitch (one-pager) pre /smartagro/
   Svetlý dokumentový vizuál; style.css sa na tejto stránke nenačítava.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --p-bg: #f7f5f0;
  --p-paper: #fffdf9;
  --p-ink: #1c2530;
  --p-dim: #5b6675;
  --p-accent: #166534;
  --p-rule: #e2ddd2;
  --p-font-head: 'Space Grotesk', 'Segoe UI', sans-serif;
  --p-font-body: 'Inter', 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--p-bg);
  color: var(--p-ink);
  font-family: var(--p-font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--p-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

ul[role="list"] { list-style: none; margin: 0; padding: 0; }

.doc {
  width: min(46rem, 100% - 2.5rem);
  margin-inline: auto;
}

/* ── Header ────────────────────────────────────────────────────────────── */

.site-header {
  border-bottom: 1px solid var(--p-rule);
  background: var(--p-bg);
}

.nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
}

.nav__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--p-ink);
  text-decoration: none;
}
.nav__wordmark {
  font-family: var(--p-font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
}
.nav__logo-sub {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--p-accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav__links { display: flex; }
.nav__links a { font-size: 0.92rem; }

.nav__toggle[hidden] { display: none; }

/* ── Pitch head ────────────────────────────────────────────────────────── */

.pitch-head {
  padding-block: clamp(2.5rem, 6vw, 4rem) 0.5rem;
}

.pitch-date {
  margin: 0 0 1rem;
  color: var(--p-dim);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pitch-head h1 {
  margin: 0 0 1rem;
  font-family: var(--p-font-head);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.pitch-sub {
  margin: 0;
  font-size: 1.15rem;
  color: var(--p-dim);
}

/* ── Sections ──────────────────────────────────────────────────────────── */

.pitch-section {
  padding-block: clamp(1.8rem, 4vw, 2.6rem);
  border-bottom: 1px solid var(--p-rule);
}
.pitch-section:last-of-type { border-bottom: 0; }

.pitch-section h2 {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 0 0 1.1rem;
  font-family: var(--p-font-head);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}
.pitch-section h2 span {
  flex: none;
  color: var(--p-accent);
  font-size: 1rem;
  font-weight: 700;
}
.pitch-section h2 span::after { content: "."; }

.pitch-section h3 {
  margin: 0 0 0.5rem;
  font-family: var(--p-font-head);
  font-size: 1.02rem;
  font-weight: 600;
}

.pitch-section p { margin: 0 0 1rem; }
.pitch-section p:last-child { margin-bottom: 0; }

/* ── Lists ─────────────────────────────────────────────────────────────── */

.pitch-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.pitch-list li {
  position: relative;
  padding-left: 1.5rem;
}
.pitch-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--p-accent);
}
.pitch-list--done li::before { content: "✓"; font-weight: 700; }
.pitch-list--todo li::before { content: "→"; color: var(--p-dim); }

.pitch-note {
  padding: 0.9rem 1.2rem;
  background: var(--p-paper);
  border: 1px solid var(--p-rule);
  border-radius: 10px;
  color: var(--p-dim);
  font-size: 0.93rem;
  line-height: 1.65;
}
.pitch-note strong { color: var(--p-ink); font-weight: 600; }

/* ── Two columns (na rovinu) ───────────────────────────────────────────── */

.pitch-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.2rem 0;
  padding: 1.3rem 1.4rem;
  background: var(--p-paper);
  border: 1px solid var(--p-rule);
  border-radius: 10px;
}
@media (max-width: 620px) {
  .pitch-cols { grid-template-columns: 1fr; }
}
.pitch-cols .pitch-list { margin-bottom: 0; font-size: 0.97rem; }

/* ── Report ukážka ─────────────────────────────────────────────────────── */

.pitch-report {
  margin: 0;
  padding: 1.3rem 1.5rem;
  background: var(--p-paper);
  border-left: 3px solid var(--p-accent);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 1px 3px rgba(28, 37, 48, 0.06);
}
.pitch-report p { margin: 0 0 0.8rem; font-size: 0.99rem; }
.pitch-report strong { color: var(--p-accent); }
.pitch-report footer {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--p-rule);
  color: var(--p-dim);
  font-size: 0.85rem;
}

/* ── Timeline ──────────────────────────────────────────────────────────── */

.pitch-timeline {
  margin: 0 0 1rem;
  padding-left: 1.3rem;
  display: grid;
  gap: 0.7rem;
}
.pitch-timeline li::marker { color: var(--p-accent); font-weight: 700; }
.pitch-timeline strong { font-family: var(--p-font-head); font-weight: 600; }

/* ── Kontakt / podpis ──────────────────────────────────────────────────── */

.pitch-cta {
  font-family: var(--p-font-head);
  font-size: 1.3rem;
  font-weight: 600;
}

.pitch-sign {
  margin-top: 2rem !important;
  font-family: var(--p-font-head);
  font-weight: 600;
}
.pitch-sign em {
  font-family: var(--p-font-body);
  font-weight: 400;
  font-style: italic;
  color: var(--p-dim);
  font-size: 0.95rem;
}

/* ── Footer ────────────────────────────────────────────────────────────── */

.site-footer {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--p-rule);
  padding-block: 1.4rem 2rem;
  color: var(--p-dim);
  font-size: 0.85rem;
}
.site-footer p { margin: 0.3rem 0; }
.site-footer a { color: var(--p-dim); }

/* ── Print ─────────────────────────────────────────────────────────────── */

@media print {
  body { background: #fff; font-size: 11pt; }
  .site-header, .site-footer { border-color: #ccc; }
  .pitch-report, .pitch-cols { box-shadow: none; background: #fff; }
  a { color: var(--p-ink); text-decoration: none; }
  .pitch-cta a { color: var(--p-accent); }
}
