:root {
  --teal: #13876f;
  --teal-dark: #0d6a57;
  --teal-tint: #eaf6f3;
  --ink: #1f2a2e;
  --muted: #5b6a70;
  --line: #d9e3e1;
  --err: #b3261e;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.01em; }
h1 { font-size: 2.35rem; font-weight: 800; }
h2 { font-size: 1.65rem; font-weight: 800; }
p { margin: 0 0 14px; }
a { color: var(--teal-dark); }

.accent { color: var(--teal); }

/* topbar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { border-radius: 8px; display: block; }
.brand-name { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-name b { color: var(--teal); font-weight: 800; }

/* buttons */
.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  border: 2px solid var(--teal);
  border-radius: 999px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.05s;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 3px solid #f2b705;
  outline-offset: 2px;
}
.btn-small { padding: 8px 16px; font-size: 0.95rem; }
.btn-big { padding: 16px 30px; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; }
.btn-ghost { background: #fff; color: var(--teal-dark); }
.btn-ghost:hover { background: var(--teal-tint); color: var(--teal-dark); }
.btn-invert { background: #fff; color: var(--teal-dark); border-color: #fff; }
.btn-invert:hover { background: var(--teal-tint); border-color: var(--teal-tint); }
.btn[disabled] { opacity: 0.65; cursor: wait; }

/* hero */
.hero { padding: 40px 0 44px; background: linear-gradient(180deg, var(--teal-tint) 0%, #fff 100%); }
.eyebrow { display: inline-block; background: var(--teal); color: #fff; border-radius: 999px; padding: 4px 14px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 18px; }
.subtitle { font-size: 1.3rem; font-weight: 600; color: var(--ink); margin-bottom: 22px; }
.facts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.facts li { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 16px; }
.fact-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.fact-value { font-weight: 700; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 420px; margin-bottom: 26px; }
.cd-box { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 12px 4px; text-align: center; }
.cd-num { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-lab { display: block; font-size: 0.72rem; opacity: 0.8; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.cd-after { font-weight: 700; color: var(--teal-dark); }
.hero-note { margin: 18px 0 0; color: var(--muted); }

/* sections */
.section { padding: 48px 0; }
.section-tint { background: var(--teal-tint); }
.lead { font-size: 1.05rem; }

.nomust { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.nomust li { position: relative; background: #fff; border-radius: var(--radius); padding: 14px 16px 14px 52px; border: 1px solid var(--line); font-weight: 600; }
.nomust .x { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 1.1rem; line-height: 1; }

.agenda { counter-reset: ag; list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.agenda li { counter-increment: ag; position: relative; padding: 14px 16px 14px 58px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; }
.agenda li::before { content: counter(ag); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-dark); display: grid; place-items: center; font-weight: 800; }

/* host */
.host { display: grid; gap: 20px; align-items: center; }
.host-photo { position: relative; width: 160px; height: 160px; border-radius: 50%; overflow: hidden; background: var(--teal); flex: none; }
.host-photo img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.host-photo.no-photo img { display: none; }
.host-initials { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 3rem; font-weight: 800; }
.host-name { font-size: 1.3rem; font-weight: 800; margin: 0; }
.host-role { color: var(--teal-dark); font-weight: 700; }

/* form */
.field { margin-bottom: 16px; }
label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.95rem; }
input[type="text"], input[type="email"], input[type="tel"], select {
  width: 100%;
  font: inherit;
  padding: 13px 14px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  min-height: 50px;
}
input:focus, select:focus { border-color: var(--teal); }
.field.invalid input, .field.invalid select { border-color: var(--err); }
.err { color: var(--err); font-size: 0.88rem; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.err-form { margin-bottom: 12px; font-size: 0.95rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.check { margin-bottom: 12px; }
.check label { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: 0.95rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--teal); }
.check em { color: var(--muted); font-style: normal; }
.check.invalid label { color: var(--err); }

/* thanks */
.thanks { background: var(--teal-tint); border: 2px solid var(--teal); border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.thanks:focus { outline: none; }
.thanks-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 1.9rem; display: grid; place-items: center; margin: 0 auto 14px; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }

/* faq */
details { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 0 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
details[open] summary { margin-bottom: 4px; }

/* end cta + footer */
.cta-end { background: var(--teal); color: #fff; text-align: center; }
.tagline { font-size: 1.5rem; font-weight: 800; margin-bottom: 18px; }
.footer { padding: 32px 0 90px; font-size: 0.9rem; color: var(--muted); }
.tagline-small { font-weight: 700; color: var(--ink); }
.rodo { background: transparent; }
.rodo-body p { margin-bottom: 10px; }

/* cookie bar and sticky cta */
.cookiebar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 14px 16px; font-size: 0.9rem; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); }
.cookiebar p { margin: 0 0 10px; }
.cookiebar-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cookiebar .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.stickycta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line); }
body.cookiebar-open .stickycta { bottom: calc(var(--cookiebar-h, 100px) + 12px); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; opacity: 0.85; }

/* plain pages (np. brak linku) */
.plain { background: var(--teal-tint); min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.plain-box { background: #fff; max-width: 520px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); }

@media (min-width: 720px) {
  body { font-size: 18px; }
  h1 { font-size: 3.4rem; }
  h2 { font-size: 2rem; }
  .hero { padding: 72px 0 70px; }
  .facts { grid-template-columns: repeat(3, auto); justify-content: start; }
  .nomust { grid-template-columns: 1fr 1fr; }
  .agenda { grid-template-columns: 1fr 1fr; }
  .host { grid-template-columns: 200px 1fr; gap: 36px; }
  .host-photo { width: 200px; height: 200px; }
  .stickycta { display: none !important; }
  .cookiebar { left: auto; right: 20px; bottom: 20px; max-width: 420px; }
  .footer { padding-bottom: 40px; }
}
