:root {
  --bg: #f1f5f9;
  --bg-glow: #e8eef7;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --accent: #2563eb;
  --accent-soft: #eff6ff;
  --max: 40rem;
  --shadow: 0 1px 2px rgb(15 23 42 / 4%), 0 12px 28px rgb(15 23 42 / 6%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, var(--bg-glow), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, #eef2ff, transparent 55%),
    var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 58rem;
  margin: 0 auto;
  padding: 2.25rem 1.35rem 4.5rem;
}

header { margin-bottom: 2.75rem; }
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.kicker {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: none;
}
.h1-sep {
  color: var(--muted);
  font-weight: 400;
  margin: 0 0.15rem;
}
.lede {
  margin: 0;
  color: var(--muted);
  max-width: none;
  font-size: 1.02rem;
}
.section-lede {
  margin: 0 0 1rem !important;
  color: var(--muted);
  max-width: none;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.55rem 1.15rem;
  border-radius: 0.7rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #1d4ed8; }
.btn-ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: #cbd5e1; }

.outcome-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 720px) {
  .outcome-list { grid-template-columns: 1fr 1fr; }
}
.outcome-list li {
  max-width: none;
  margin: 0;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--card);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.35rem;
}
.outcome-list strong {
  font-size: 1.02rem;
  font-weight: 600;
}
.outcome-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.compare {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 0;
}
.compare + .shots {
  margin-top: 2.25rem;
}
@media (min-width: 720px) {
  .compare { grid-template-columns: 1fr 1fr; }
}
.compare-col {
  padding: 1rem 1.05rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: var(--card);
}
.compare-before { background: #f8fafc; }
.compare-after {
  background: var(--accent-soft);
  border-color: #bfdbfe;
}
.compare-col .label { margin: 0 0 0.65rem; }

.plain-list {
  margin: 0;
  padding-left: 1.1rem;
  max-width: none;
}
.plain-list li {
  max-width: none;
  margin: 0.35rem 0;
  color: var(--ink);
  font-size: 0.94rem;
}
.deploy-list {
  padding-left: 1.15rem;
}
.deploy-list li { color: var(--muted); }

.audience,
.modules {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}
@media (min-width: 720px) {
  .audience,
  .modules { grid-template-columns: repeat(3, 1fr); }
}
.audience > div,
.modules > div {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--card);
  box-shadow: var(--shadow);
}
.audience h3,
.modules h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 600;
}
.audience p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: none;
}

.day-flow {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: day;
  display: grid;
  gap: 0.75rem;
}
.day-flow li {
  max-width: none;
  counter-increment: day;
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem 0.9rem 3.1rem;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--card);
}
.day-flow li::before {
  content: counter(day);
  position: absolute;
  left: 0.9rem;
  top: 0.95rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.day-flow strong {
  font-size: 0.98rem;
}
.day-flow span {
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-block {
  padding: 1.4rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid #bfdbfe;
  background: linear-gradient(160deg, #eff6ff 0%, #fff 55%);
  box-shadow: var(--shadow);
}
.cta-block p { max-width: 42rem; }
.cta-note {
  margin: 0.85rem 0 0 !important;
  font-size: 0.8rem;
  color: var(--muted);
}

.lang {
  display: flex;
  gap: 0.4rem;
  margin: 0;
  margin-left: auto;
}
.lang button {
  height: 2.35rem;
  min-width: 2.75rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.lang button:hover { border-color: #cbd5e1; }
.lang button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

section { margin-top: 2.75rem; }
h2 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
p, li { max-width: var(--max); }
.lede,
.section-lede,
section > p,
.outcome-list,
.outcome-list li {
  max-width: none;
}
section > p { margin: 0 0 0.35rem; }
.meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.25rem !important;
}
code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 0.3rem;
  background: #e2e8f0;
}

.decision {
  margin-top: 1.35rem;
  padding: 1.25rem 1.25rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: var(--shadow);
}
.decision + .decision { margin-top: 1.5rem; }
.decision h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  max-width: none;
}
.decision-grid {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 720px) {
  .decision-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
.decision-grid > div {
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: var(--accent-soft);
}
.decision-grid p {
  max-width: none;
  margin: 0;
  font-size: 0.92rem;
}
.decision-grid .label { margin-bottom: 0.35rem; }
.label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
}

.shots {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.15rem;
}
figure.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  background: #e2e8f0;
  border-bottom: 1px solid var(--line);
}
figure.shot.shot--two-thirds {
  max-width: 66.666%;
  margin-inline: auto;
}
figure.shot.shot--card {
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
}
figure.shot.shot--card img {
  border-radius: 1rem;
  border-bottom: none;
  background: #fff;
  box-shadow:
    0 1px 2px rgb(15 23 42 / 6%),
    0 12px 28px rgb(15 23 42 / 10%);
}
figure.shot.shot--card figcaption {
  padding-top: 1rem;
}
.shot--empty .ph {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 10rem;
  padding: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}
.shot:not(.shot--empty) .ph { display: none; }
.shot--empty img { display: none; }
figcaption {
  padding: 0.9rem 1.1rem 1.05rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

footer.site-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  margin-top: 3.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem 2rem;
}
.footer-brand {
  flex: 1 1 16rem;
  max-width: 28rem;
}
.footer-brand p {
  margin: 0;
  max-width: none;
}
.footer-brand p + p { margin-top: 0.4rem; }
.footer-company {
  flex: 0 1 14rem;
  margin: 0;
  font-style: normal;
  text-align: right;
  line-height: 1.5;
}
.footer-company a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.footer-company a:hover { color: var(--ink); }
.footer-copy {
  margin: 0;
  max-width: none;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
@media (max-width: 40rem) {
  .footer-company { text-align: left; }
}

html[data-lang="en"] .pl { display: none; }
html[data-lang="pl"] .en { display: none; }
