/* Legalflow — dokumenty prawne (polityka prywatności, cookies, obowiązek informacyjny) */
  :root {
    --lf-ink: #151515; --lf-cobalt: #1E4FE0; --lf-cobalt-hover: #1740BE; --lf-cobalt-bg: #EDF1FD;
    --lf-paper: #F6F4EF; --lf-white: #FFFFFF; --lf-grey: #8F8F93;
    --lf-line: #DDD9D0; --lf-line-soft: #E9E6DF; --lf-ink-muted: #55555A; --lf-text-dark-muted: #B9B7B1; --lf-line-dark: #2C2C2F;
    --lf-font-display: "Newsreader", Georgia, serif; --lf-font-ui: "Manrope", system-ui, -apple-system, sans-serif;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
  body { font-family: var(--lf-font-ui); font-size: 16px; line-height: 26px; color: var(--lf-ink); background: var(--lf-paper); -webkit-font-smoothing: antialiased; }
  a { color: var(--lf-cobalt); text-underline-offset: 3px; }
  a:hover { color: var(--lf-cobalt-hover); }
  a:focus-visible, button:focus-visible { outline: 2px solid var(--lf-cobalt); outline-offset: 2px; }
  .container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
  @media (min-width: 640px) { .container { padding: 0 24px; } }

  .site-header { position: sticky; top: 0; z-index: 10; background: rgb(246 244 239 / 92%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--lf-line); }
  .header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
  .brand img { height: 30px; width: auto; display: block; }
  .btn { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 10px; font-size: 15px; font-weight: 600; letter-spacing: .01em; text-decoration: none; white-space: nowrap; }
  .btn-primary { background: var(--lf-cobalt); color: var(--lf-white); }
  .btn-primary:hover { background: var(--lf-cobalt-hover); color: var(--lf-white); }
  .btn-secondary { background: var(--lf-white); color: var(--lf-ink); border: 1.5px solid var(--lf-ink); cursor: pointer; font: inherit; font-size: 15px; font-weight: 600; }

  .page-head { padding: 64px 0 32px; }
  .kicker { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lf-ink-muted); margin-bottom: 14px; }
  h1 { font-family: var(--lf-font-display); font-weight: 560; font-variation-settings: "opsz" 60; font-size: 40px; line-height: 46px; letter-spacing: -0.015em; margin-bottom: 16px; }
  @media (min-width: 900px) { h1 { font-size: 56px; line-height: 64px; } }
  .lede { font-size: 18px; line-height: 28px; color: var(--lf-ink-muted); max-width: 62ch; }
  .meta { margin-top: 16px; font-size: 13px; color: var(--lf-ink-muted); }

  .layout { display: grid; gap: 32px; padding-bottom: 96px; }
  @media (min-width: 960px) { .layout { grid-template-columns: 260px 1fr; gap: 56px; align-items: start; } }
  .toc { background: var(--lf-white); border-radius: 14px; box-shadow: 0 4px 16px rgb(0 0 0 / 6%); padding: 20px; }
  @media (min-width: 960px) { .toc { position: sticky; top: 92px; } }
  .toc h2 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lf-ink-muted); margin-bottom: 10px; }
  .toc ol { list-style: none; counter-reset: t; display: grid; gap: 2px; }
  .toc li { counter-increment: t; }
  .toc a { display: grid; grid-template-columns: 24px 1fr; padding: 5px 0; font-size: 14px; line-height: 20px; color: var(--lf-ink); text-decoration: none; }
  .toc a::before { content: counter(t) "."; color: var(--lf-grey); font-variant-numeric: tabular-nums; }
  .toc a:hover { color: var(--lf-cobalt); }

  article { background: var(--lf-white); border-radius: 14px; box-shadow: 0 4px 16px rgb(0 0 0 / 6%); padding: 28px 22px; min-width: 0; }
  @media (min-width: 900px) { article { padding: 48px 56px; } }
  article section + section { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--lf-line-soft); }
  article h2 { font-family: var(--lf-font-display); font-weight: 540; font-size: 28px; line-height: 36px; margin-bottom: 14px; }
  article h3 { font-size: 17px; line-height: 24px; font-weight: 600; margin: 22px 0 8px; }
  article p, article li { max-width: 72ch; }
  article p + p { margin-top: 12px; }
  article ul { margin: 10px 0 0 20px; display: grid; gap: 6px; }
  .tldr { background: var(--lf-cobalt-bg); border-radius: 12px; padding: 18px 20px; margin-bottom: 8px; }
  .tldr b { display: block; margin-bottom: 6px; }
  .card { border: 1px solid var(--lf-line); border-radius: 12px; padding: 16px 18px; margin-top: 12px; }
  .card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 15px; }
  .card dt { color: var(--lf-ink-muted); }
  @media (max-width: 560px) { .card dl { grid-template-columns: 1fr; } .card dt { margin-top: 6px; } }

  .table-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--lf-line); border-radius: 12px; }
  table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; min-width: 640px; }
  th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--lf-line-soft); }
  th { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--lf-ink-muted); background: #FBFAF7; }
  tr:last-child td { border-bottom: 0; }
  td code { font-size: 13px; background: var(--lf-paper); padding: 1px 6px; border-radius: 4px; }
  .note { font-size: 14px; color: var(--lf-ink-muted); margin-top: 10px; }
  .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

  .site-footer { background: var(--lf-ink); color: var(--lf-text-dark-muted); padding: 40px 0 28px; font-size: 14px; }
  .footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding-bottom: 24px; }
  .site-footer a { color: var(--lf-text-dark-muted); text-decoration: none; }
  .site-footer a:hover { color: var(--lf-paper); }
  .site-footer img { height: 26px; width: auto; display: block; }
  /* Rząd linków prawnych — ten sam co na stronie głównej */
  .legal-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 20px; border-top: 1px solid var(--lf-line-dark); font-size: 13px; }
  .legal-bar nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
  .legal-bar a[aria-current="page"] { color: var(--lf-paper); }
  .legal-bar .credit a { color: var(--lf-paper); font-weight: 600; }
