/* ═══════════════════════════════════════════
   RESONIKA — legal.css
   Shared styles for regulamin, polityka, kontakt
   ═══════════════════════════════════════════ */

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

:root {
  --bg: #0c0b09;
  --cream: #f0e6d3;
  --cream-soft: #e8dcc8;
  --cream-dim: rgba(240, 230, 211, 0.5);
  --olive: #8a9a6c;
  --gold: #c4a265;
  --text: #f0e6d3;
  --text-dim: rgba(240, 230, 211, 0.55);
  --text-mid: rgba(240, 230, 211, 0.75);
  --border: rgba(240, 230, 211, 0.08);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-mid);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* ── TOPBAR ── */
.topbar {
  padding: 24px 28px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}
.topbar-logo {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--cream-soft);
  text-transform: lowercase;
  text-decoration: none;
}
.topbar-logo:hover { opacity: 0.7; }

/* ── CONTENT ── */
.legal-content {
  max-width: 620px;
  margin: 0 auto;
  padding: 64px 28px 80px;
}

.legal-content h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 8px;
  line-height: 1.2;
}

.legal-date {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
  margin-bottom: 48px;
  display: block;
}

.legal-content h2 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--cream-soft);
  margin-top: 40px;
  margin-bottom: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--text-mid);
}

.legal-content a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.3s;
}
.legal-content a:hover { opacity: 0.7; }

.legal-content strong {
  font-weight: 500;
  color: var(--cream-soft);
}

/* ── CONTACT CARD ── */
.contact-card {
  margin: 40px 0;
  padding: 32px 28px;
  background: rgba(240, 230, 211, 0.03);
  border: 1px solid var(--border);
  border-radius: 2px;
  text-align: center;
}
.contact-card-email {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 8px;
}
.contact-card-sub {
  font-size: 13px;
  color: var(--text-dim);
}

.contact-details {
  margin-top: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.contact-details-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 16px;
}
.contact-details p {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 4px;
}

/* ── FOOTER ── */
.footer {
  padding: 40px 0 32px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-logo {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--cream-dim);
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-links a {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-decoration: none;
  transition: opacity 0.3s;
}
.footer-links a:hover { opacity: 0.7; }
.footer-copy {
  font-size: 11px;
  color: rgba(240,230,211,0.2);
}
