/* Strony prawne Mitoto */
.legal-page {
  max-width: var(--max-width, 1440px);
  margin: 0 auto;
  padding: calc(var(--header-height, 68px) + 40px) 40px 64px;
  box-sizing: border-box;
}
.legal-article { max-width: 760px; margin: 0 auto; }
.legal-article__head { margin-bottom: 28px; }
.legal-article__head h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--text-primary, #1d1d1f);
}
.legal-article__meta { margin: 0; font-size: 13px; color: var(--text-secondary, #86868b); }
.legal-article__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary, #1d1d1f);
}
.legal-article__body h2 { font-size: 22px; margin: 32px 0 12px; letter-spacing: -0.3px; }
.legal-article__body h3 { font-size: 18px; margin: 24px 0 10px; }
.legal-article__body p { margin: 0 0 14px; }
.legal-article__body ul { margin: 0 0 16px; padding-left: 1.25em; }
.legal-article__body li { margin: 0 0 6px; }
.legal-article__body a { color: #0066cc; text-decoration: underline; text-underline-offset: 2px; }
.legal-article__body a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin: 8px 0 4px;
}
.legal-loading, .legal-empty { color: var(--text-secondary, #86868b); }

/* Centrum pomocy — FAQ */
.help-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}
.help-faq__item {
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.help-faq__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.2px;
  color: var(--text-primary, #1d1d1f);
}
.help-faq__summary::-webkit-details-marker {
  display: none;
}
.help-faq__chevron {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  color: var(--text-secondary, #86868b);
  transition: transform 0.15s ease;
}
.help-faq__item[open] .help-faq__chevron {
  transform: rotate(180deg);
  color: var(--accent-blue, #0066cc);
}
.help-faq__item[open] .help-faq__summary {
  border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
  background: rgba(0, 102, 204, 0.04);
}
.help-faq__answer {
  margin: 0;
  padding: 16px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary, #515154);
}

@media (max-width: 768px) {
  .legal-page { padding: calc(var(--header-height, 68px) + 24px) 16px 48px; }
}
