:root {
  color-scheme: light;
  --navy: #071d30;
  --green: #66ad21;
  --muted: #60717c;
  --line: #dfe6e9;
  --surface: #f4f7f9;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--navy); font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.7; }
a { color: inherit; }
.legal-header { background: var(--navy); color: white; }
.legal-header__inner { width: min(1120px, calc(100% - 40px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-header img { display: block; filter: brightness(0) invert(1); }
.legal-back { color: rgba(255,255,255,.78); font-size: .9rem; font-weight: 700; text-decoration: none; }
.legal-back:hover { color: white; }
.legal-shell { width: min(900px, calc(100% - 40px)); margin: 54px auto 80px; }
.legal-kicker { margin: 0 0 10px; color: #568f20; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1.05; letter-spacing: -.045em; }
.legal-lead { max-width: 720px; margin: 22px 0 30px; color: var(--muted); font-size: 1.08rem; }
.legal-meta { display: inline-flex; margin-bottom: 26px; border-radius: 999px; background: #e8f3df; padding: 7px 13px; color: #477c18; font-size: .82rem; font-weight: 700; }
.legal-card { border: 1px solid var(--line); border-radius: 24px; background: white; padding: clamp(24px, 5vw, 54px); box-shadow: 0 20px 60px rgba(7,29,48,.06); }
.legal-card section + section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.legal-card h2 { margin: 0 0 10px; font-size: 1.25rem; letter-spacing: -.02em; }
.legal-card p { margin: 0; color: #405462; }
.legal-card p + p, .legal-card ul { margin-top: 12px; }
.legal-card li { margin: 7px 0; color: #405462; }
.legal-callout { margin-top: 30px; border-left: 4px solid var(--green); border-radius: 0 14px 14px 0; background: #f2f8ed; padding: 18px 20px; color: #365d18; }
.legal-footer { margin-top: 28px; color: var(--muted); font-size: .9rem; text-align: center; }
.legal-footer a { font-weight: 700; text-decoration: none; }
@media (max-width: 620px) {
  .legal-header__inner { min-height: 68px; }
  .legal-header img { width: 158px; height: auto; }
  .legal-back { font-size: 0; }
  .legal-back::after { content: "← Wróć"; font-size: .9rem; }
  .legal-shell { margin-top: 38px; }
}
