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

:root {
  --bg: #09090B;
  --surface: #18181B;
  --border: #27272A;
  --text: #FAFAFA;
  --text-muted: #A1A1AA;
  --text-dim: #71717A;
  --accent: #A78BFA;
  --accent-soft: rgba(167, 139, 250, 0.12);
  --radius: 16px;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* ── Header ── */
.header {
  text-align: center;
  margin-bottom: 32px;
}

.logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}

.header h1 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.header .subtitle {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ── Language switcher ── */
.lang-switch {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.lang-btn {
  padding: 8px 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}

.lang-btn.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* ── Card ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

/* ── Sections ── */
.section {
  padding: 16px 0;
}

.section:first-child {
  padding-top: 0;
}

.section:last-child {
  padding-bottom: 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section h2 .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.section p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.section a {
  color: var(--accent);
  text-decoration: none;
}

.section a:hover {
  text-decoration: underline;
}

/* ── Footer ── */
.footer {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.75rem;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

/* ── Language visibility ── */
[data-lang="en"] { display: none; }

body.lang-en [data-lang="pl"] { display: none; }
body.lang-en [data-lang="en"] { display: block; }

/* ── Responsive ── */
@media (max-width: 480px) {
  .container {
    padding: 24px 16px 60px;
  }

  .card {
    padding: 18px;
  }

  .header h1 {
    font-size: 1.3rem;
  }
}
