:root {
  --bg: #0a0e14;
  --bg-card: #111822;
  --border: #1f2b3a;
  --text: #e6edf3;
  --muted: #9fb0c3;
  --accent: #4f9cf9;
  --accent-2: #7c5cff;
  --ok: #34d399;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky; top: 0;
  background: rgba(10,14,20,.92);
  backdrop-filter: blur(8px);
  z-index: 10;
}
header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo { font-size: 1.25rem; font-weight: 700; color: var(--text); }
.logo span { color: var(--accent); }
nav.langs { display: flex; gap: 12px; font-size: .9rem; }
nav.langs a { color: var(--muted); }
nav.langs a[aria-current] { color: var(--text); font-weight: 600; }

.hero { padding: 88px 0 64px; text-align: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; margin-bottom: 20px; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; margin: 0 auto 32px; }
.cta {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff !important;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1.05rem;
}
.cta:hover { text-decoration: none; filter: brightness(1.1); }
.hero .note { display: block; margin-top: 14px; font-size: .85rem; color: var(--muted); }

section { padding: 56px 0; }
section.alt { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-bottom: 12px; }
.sub { color: var(--muted); max-width: 700px; margin-bottom: 36px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
}
section.alt .card { background: var(--bg); }
.card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--accent); }
.card p { color: var(--muted); font-size: .95rem; }

.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-card); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 700; margin-bottom: 12px;
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .9rem; }

details { border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; background: var(--bg-card); }
summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 10px; color: var(--muted); font-size: .95rem; }

.badge { display:inline-block; border:1px solid var(--ok); color: var(--ok); border-radius: 999px; padding: 4px 14px; font-size:.8rem; margin-bottom: 18px; }

footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--muted); font-size: .9rem; }
footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* ── Artykuły blogowe ── */
.article { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; }
.article .crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 28px; }
.article h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.2; margin-bottom: 14px; }
.article .meta { color: var(--muted); font-size: .88rem; margin-bottom: 36px; }
.article h2 { font-size: 1.45rem; margin: 44px 0 14px; }
.article h3 { font-size: 1.1rem; margin: 28px 0 10px; color: var(--accent); }
.article p { margin-bottom: 16px; color: #c8d3e0; }
.article ul, .article ol { margin: 0 0 16px 22px; color: #c8d3e0; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--text); }
.article blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px; margin: 20px 0;
  background: var(--bg-card); border-radius: 0 10px 10px 0;
  color: var(--muted);
}
.article .cta-box {
  margin: 48px 0 0; padding: 30px; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
}
.article .cta-box p { margin-bottom: 18px; }
.article details { margin-top: 12px; }
