/* poolHints — legal subpages (Regulamin, Polityka prywatności)
 * Shares tokens from tokens.css. Calm, readable prose on white,
 * with the brand blue header wave to match the landing page. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ph-slate-800);
  background: var(--ph-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; }
a { color: var(--ph-blue-600); text-decoration: none; }
a:hover { color: var(--ph-blue-700); text-decoration: underline; }

.wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ── Top bar ─────────────────────────────────────────────────────── */
.lg-nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ph-slate-100);
}
.lg-nav-row {
  max-width: 1180px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.lg-brand { display: flex; align-items: center; gap: 10px; color: var(--ph-blue-600); }
.lg-brand img { width: 30px; height: 30px; object-fit: contain; }
.lg-brand span {
  font-family: var(--font-display); font-weight: var(--w-bold);
  font-size: 20px; color: inherit;
}
.lg-brand:hover { text-decoration: none; }
.lg-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: var(--w-bold); font-size: 14.5px;
  color: var(--ph-blue-600); padding: 8px 14px; border-radius: var(--r-pill);
  transition: background var(--dur-fast);
}
.lg-back:hover { background: var(--ph-blue-50); text-decoration: none; }
.lg-back svg { width: 16px; height: 16px; }

/* ── Header ──────────────────────────────────────────────────────── */
.lg-hero {
  position: relative;
  background: linear-gradient(135deg, var(--ph-blue-500), var(--ph-blue-700));
  color: #fff; overflow: hidden;
  padding: 56px 0 72px;
}
.lg-hero .wrap { position: relative; z-index: 2; }
.lg-eyebrow {
  font-family: var(--font-body); font-weight: var(--w-bold);
  font-size: var(--fs-12); letter-spacing: var(--ls-allcaps);
  text-transform: uppercase; color: rgba(255,255,255,0.8);
  margin: 0 0 10px;
}
.lg-hero h1 {
  font-family: var(--font-display); font-weight: var(--w-bold);
  font-size: var(--fs-44); line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight); margin: 0;
}
.lg-updated {
  margin: 16px 0 0; font-size: 14.5px; color: rgba(255,255,255,0.82);
}
.lg-hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 46px;
  display: block;
}

/* ── Body prose ──────────────────────────────────────────────────── */
.lg-body { padding: 48px 0 24px; }
.lg-intro {
  font-size: var(--fs-18); line-height: var(--lh-loose);
  color: var(--ph-slate-600); margin: 0 0 36px;
}
.lg-body section { margin-bottom: 36px; scroll-margin-top: 80px; }
.lg-body h2 {
  font-family: var(--font-display); font-weight: var(--w-bold);
  font-size: var(--fs-22); color: var(--ph-slate-900);
  margin: 0 0 6px; display: flex; align-items: baseline; gap: 10px;
}
.lg-body h2 .num {
  font-family: var(--font-mono); font-weight: var(--w-semi);
  font-size: var(--fs-16); color: var(--ph-blue-400);
}
.lg-body h3 {
  font-family: var(--font-display); font-weight: var(--w-semi);
  font-size: var(--fs-18); color: var(--ph-slate-800);
  margin: 22px 0 6px;
}
.lg-body p { font-size: var(--fs-16); line-height: var(--lh-loose); color: var(--ph-slate-700); margin: 0 0 12px; }
.lg-body ul { margin: 0 0 12px; padding-left: 0; list-style: none; }
.lg-body li {
  position: relative; padding-left: 26px; margin-bottom: 8px;
  font-size: var(--fs-16); line-height: var(--lh-normal); color: var(--ph-slate-700);
}
.lg-body li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ph-blue-300);
}
.lg-body strong { font-weight: var(--w-bold); color: var(--ph-slate-900); }

/* Callout card (tinted) */
.lg-note {
  background: var(--ph-blue-50); border: 1px solid var(--ph-blue-100);
  border-radius: var(--r-md); padding: 16px 18px;
  display: flex; gap: 12px; align-items: flex-start;
  margin: 18px 0;
}
.lg-note svg { flex: none; width: 22px; height: 22px; color: var(--ph-blue-500); margin-top: 1px; }
.lg-note p { margin: 0; font-size: 14.5px; color: var(--ph-blue-800); line-height: var(--lh-normal); }

/* Table of contents */
.lg-toc {
  background: var(--ph-slate-50); border: 1px solid var(--ph-slate-100);
  border-radius: var(--r-lg); padding: 20px 22px; margin: 0 0 40px;
}
.lg-toc h2 {
  font-family: var(--font-display); font-weight: var(--w-bold);
  font-size: var(--fs-14); letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--ph-slate-500); margin: 0 0 12px;
}
.lg-toc ol { margin: 0; padding-left: 0; counter-reset: toc; list-style: none; }
.lg-toc li { counter-increment: toc; margin-bottom: 6px; }
.lg-toc a {
  display: flex; gap: 10px; font-size: 15px; font-weight: var(--w-semi);
  color: var(--ph-slate-700);
}
.lg-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono); font-weight: var(--w-semi);
  color: var(--ph-blue-400); font-size: 13px;
}
.lg-toc a:hover { color: var(--ph-blue-600); text-decoration: none; }

/* Contact card */
.lg-contact {
  border: 1px solid var(--ph-slate-200); border-radius: var(--r-lg);
  padding: 24px; margin: 40px 0 8px; display: flex; gap: 16px; align-items: center;
}
.lg-contact .ic {
  flex: none; width: 48px; height: 48px; border-radius: var(--r-pill);
  background: var(--ph-blue-50); color: var(--ph-blue-500);
  display: grid; place-items: center;
}
.lg-contact .ic svg { width: 24px; height: 24px; }
.lg-contact b { display: block; font-family: var(--font-display); font-size: var(--fs-18); color: var(--ph-slate-900); }
.lg-contact p { margin: 2px 0 0; font-size: 14.5px; color: var(--ph-slate-500); }

/* ── Footer ──────────────────────────────────────────────────────── */
footer.lg-foot { background: var(--ph-blue-800); color: rgba(255,255,255,0.7); padding: 40px 0; margin-top: 40px; }
.lg-foot-row {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.lg-foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.lg-foot a { color: rgba(255,255,255,0.7); font-size: 14px; }
.lg-foot a:hover { color: #fff; }
.lg-foot .cur { color: #fff; font-weight: var(--w-bold); }

@media (max-width: 600px) {
  .lg-hero h1 { font-size: var(--fs-36); }
  .lg-contact { flex-direction: column; align-items: flex-start; }
}
