/* Adaptace Podřipska — draft site, no CMS yet */
:root{
  --bg:#edefe6;
  --surface:#ffffff;
  --surface-2:#e2e6d6;
  --ink:#1b241f;
  --ink-muted:#5c6a5f;
  --line:#d6d9c9;
  --accent:#a13c2e;
  --accent-ink:#7c2c21;
  --accent-soft:#f1ddd6;
  --teal:#1f6e63;
  --teal-soft:#dbe9e4;
  --teal-ink:#123f38;
  --shadow: 0 1px 2px rgba(27,36,31,.06), 0 10px 30px rgba(27,36,31,.06);
}
@media (prefers-color-scheme: dark){
  :root{
    --bg:#10140f; --surface:#171d16; --surface-2:#1d251b; --ink:#e8ece2; --ink-muted:#9aa693;
    --line:#2a3226; --accent:#d97860; --accent-ink:#f4c6b6; --accent-soft:#3a2118;
    --teal:#52a99b; --teal-soft:#17322c; --teal-ink:#bfe6dc;
    --shadow: 0 1px 2px rgba(0,0,0,.35), 0 10px 30px rgba(0,0,0,.4);
  }
}
:root[data-theme="dark"]{
  --bg:#10140f; --surface:#171d16; --surface-2:#1d251b; --ink:#e8ece2; --ink-muted:#9aa693;
  --line:#2a3226; --accent:#d97860; --accent-ink:#f4c6b6; --accent-soft:#3a2118;
  --teal:#52a99b; --teal-soft:#17322c; --teal-ink:#bfe6dc;
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 10px 30px rgba(0,0,0,.4);
}
:root[data-theme="light"]{
  --bg:#edefe6; --surface:#ffffff; --surface-2:#e2e6d6; --ink:#1b241f; --ink-muted:#5c6a5f;
  --line:#d6d9c9; --accent:#a13c2e; --accent-ink:#7c2c21; --accent-soft:#f1ddd6;
  --teal:#1f6e63; --teal-soft:#dbe9e4; --teal-ink:#123f38;
  --shadow: 0 1px 2px rgba(27,36,31,.06), 0 10px 30px rgba(27,36,31,.06);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size:16.5px; line-height:1.6;
}
::selection{ background:var(--accent-soft); color:var(--accent-ink); }
a{ color:var(--teal); }
img{ max-width:100%; }

h1,h2,h3{
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight:700; letter-spacing:-.01em; text-wrap:balance; margin:0 0 .3em; color:var(--ink);
}
.eyebrow{
  font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--teal);
  font-weight:700; margin-bottom:.6em; display:block;
}

.draft-banner{
  background:var(--accent); color:#fff; text-align:center; font-size:13px;
  padding:7px 12px; letter-spacing:.02em;
}
.draft-banner b{ text-decoration:underline; }

header.site{
  position:sticky; top:0; z-index:20; background:var(--bg);
  border-bottom:1px solid var(--line); backdrop-filter: blur(6px);
}
.nav-wrap{
  max-width:1120px; margin:0 auto; padding:16px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--ink); }
.brand .mark{
  width:34px; height:34px; border-radius:50%;
  background: conic-gradient(from 200deg, var(--teal), var(--accent), var(--teal));
  flex:none;
}
.brand .word{ font-family:"Iowan Old Style", Georgia, serif; font-weight:700; font-size:1.05rem; line-height:1.1; }
.brand .word small{ display:block; font-family:inherit; font-weight:400; font-size:.7rem; color:var(--ink-muted); letter-spacing:.03em; }

nav.main{ display:flex; flex-wrap:wrap; gap:4px 2px; }
nav.main a{
  text-decoration:none; color:var(--ink-muted); font-size:14px; font-weight:600;
  padding:8px 12px; border-radius:6px;
}
nav.main a:hover{ color:var(--ink); background:var(--surface-2); }
nav.main a.active{ color:var(--accent-ink); background:var(--accent-soft); }

main{ max-width:1120px; margin:0 auto; padding: 0 24px; }

/* HERO */
.hero{
  position:relative; overflow:hidden; border-radius:0 0 18px 18px;
  margin: 0 -24px 56px; padding: 76px 24px 64px; text-align:center;
  background:
    radial-gradient(1200px 500px at 50% -10%, var(--teal-soft), transparent 60%),
    var(--surface);
}
.hero .contours{
  position:absolute; inset:0; z-index:0; opacity:.5; pointer-events:none;
}
.hero .inner{ position:relative; z-index:1; max-width:760px; margin:0 auto; }
.hero h1{ font-size:2.6rem; margin-bottom:.35em; }
.hero p.lede{ font-size:1.15rem; color:var(--ink-muted); max-width:56ch; margin:0 auto 28px; }
.cta-row{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:8px; text-decoration:none;
  font-weight:700; font-size:14.5px; padding:12px 22px; border-radius:8px;
  border:1px solid transparent;
}
.btn.primary{ background:var(--accent); color:#fff; }
.btn.primary:hover{ background:var(--accent-ink); }
.btn.ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn.ghost:hover{ border-color:var(--ink-muted); }

section{ margin: 64px 0; }
section > .head{ max-width:62ch; margin-bottom:28px; }
section > .head h2{ font-size:1.7rem; }
section > .head p{ color:var(--ink-muted); margin:0; }

/* feature / output grids */
.grid4{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap:16px; }
.card{
  background:var(--surface); border:1px solid var(--line); border-radius:12px;
  padding:22px 22px; box-shadow:var(--shadow);
}
.card .num{ font-family:"Iowan Old Style", Georgia, serif; font-size:1.6rem; color:var(--accent); font-weight:700; }
.card h3{ font-size:1.05rem; margin:.3em 0 .3em; }
.card p{ font-size:14px; color:var(--ink-muted); margin:0; }
.card.teal .num{ color:var(--teal); }

/* timeline */
.timeline{ display:grid; grid-template-columns: repeat(3,1fr); gap:0; border-top:2px solid var(--line); position:relative; }
.timeline .phase{ padding:22px 18px 0; border-left:2px solid var(--line); position:relative; }
.timeline .phase:first-child{ border-left:none; }
.timeline .phase::before{
  content:""; position:absolute; top:-7px; left:-6px; width:12px; height:12px; border-radius:50%;
  background:var(--teal); border:2px solid var(--bg);
}
.timeline .phase .dates{ font-size:12.5px; color:var(--teal-ink); background:var(--teal-soft); display:inline-block; padding:2px 8px; border-radius:4px; font-weight:700; margin-bottom:8px;}
.timeline .phase h3{ font-size:1rem; margin:0 0 6px; }
.timeline .phase p{ font-size:13.5px; color:var(--ink-muted); margin:0; }

/* partners */
.partners-strip{ display:flex; flex-wrap:wrap; gap:14px; align-items:stretch; }
.partner-chip{
  flex:1 1 150px; background:var(--surface-2); border-radius:10px; padding:16px;
  text-align:center; font-weight:700; font-size:14px; display:flex; align-items:center; justify-content:center;
  min-height:64px;
}

.placeholder{
  border:1.5px dashed var(--line); border-radius:12px; padding:26px;
  color:var(--ink-muted); font-size:14px; background:var(--surface-2);
}
.placeholder .tag{
  font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:var(--accent-ink); background:var(--accent-soft); padding:2px 8px; border-radius:4px;
  display:inline-block; margin-bottom:10px;
}

.contact-cards{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px; }
.contact-card{ background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:20px; box-shadow:var(--shadow); }
.contact-card .org{ font-size:12px; color:var(--teal-ink); background:var(--teal-soft); display:inline-block; padding:2px 8px; border-radius:4px; font-weight:700; margin-bottom:8px;}
.contact-card .name{ font-weight:700; margin-bottom:4px; }
.contact-card a{ display:block; font-size:13.5px; text-decoration:none; }

.newsletter{
  margin:80px -24px 0; padding:44px 24px; background:var(--ink); color:var(--bg);
  border-radius:18px 18px 0 0; text-align:center;
}
:root[data-theme="dark"] .newsletter, body:not([data-theme]) .newsletter{}
.newsletter h2{ color:var(--bg); font-size:1.5rem; }
.newsletter p{ color:color-mix(in srgb, var(--bg) 70%, transparent); max-width:50ch; margin:0 auto 20px; }
.newsletter form{ display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }
.newsletter input[type=email]{
  padding:11px 14px; border-radius:8px; border:1px solid transparent; min-width:260px; font-size:14px;
}
.newsletter button{
  padding:11px 20px; border-radius:8px; border:none; background:var(--accent); color:#fff; font-weight:700; cursor:pointer;
}

footer.site{
  max-width:1120px; margin:40px auto 0; padding:28px 24px 60px;
  color:var(--ink-muted); font-size:13px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
}
footer.site .cols{ display:flex; gap:40px; flex-wrap:wrap; }
footer.site a{ color:var(--ink-muted); text-decoration:none; }
footer.site a:hover{ color:var(--ink); }

.page-hero{ padding: 44px 0 8px; max-width:70ch; }
.page-hero .eyebrow{ margin-bottom:.8em; }
.page-hero p.lede{ color:var(--ink-muted); font-size:1.08rem; }

.doclist{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.doclist li{
  display:flex; align-items:center; gap:12px; background:var(--surface); border:1px solid var(--line);
  border-radius:10px; padding:14px 16px; font-size:14px;
}
.doclist li .ico{ width:28px; height:28px; border-radius:6px; background:var(--teal-soft); color:var(--teal-ink); display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; flex:none;}
.doclist li .meta{ color:var(--ink-muted); font-size:12.5px; }

.faq{ display:flex; flex-direction:column; gap:10px; }
.faq details{ background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:4px 18px; }
.faq summary{ cursor:pointer; padding:14px 0; font-weight:700; }
.faq p{ margin:0 0 16px; color:var(--ink-muted); font-size:14px; }

@media (max-width:760px){
  .nav-wrap{ flex-direction:column; align-items:flex-start; }
  nav.main{ width:100%; overflow-x:auto; flex-wrap:nowrap; }
  .timeline{ grid-template-columns:1fr; }
  .timeline .phase{ border-left:none; border-top:2px solid var(--line); padding:22px 0 0; }
  .timeline .phase:first-child{ border-top:none; }
  .timeline .phase::before{ top:-6px; left:-2px; }
  .hero h1{ font-size:2rem; }
}
