/* The legal documents (terms, privacy policy, cookie policy) and the contact page. */

  /* ——— Legal documents (the terms, the privacy policy, the cookie policy) ——— */

  .kl__legal { padding: 52px 0 76px; }
  .kl__legal-head { max-width: 720px; margin: 0 auto; text-align: center; }
  .kl__legal-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); margin: 0 0 10px; text-wrap: balance; }
  /* One card holds a whole document. Long addresses in the text wrap instead of widening a phone's page. No blur: over
     the smooth page gradient it shows nothing, and on a card as tall as the terms it would cost a layer that tall. */
  .kl__legal-body { max-width: 760px; margin: 40px auto 0; padding: clamp(26px, 5vw, 52px); overflow-wrap: break-word; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .kl__legal-sec { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--hairline); }
  .kl__legal-sec:first-of-type { margin-top: 18px; padding-top: 0; border-top: 0; }
  .kl__legal-sec h2 { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; line-height: 1.3; color: var(--ink); margin: 0 0 12px; }
  .kl__legal-sec h2 .kl__legal-num { color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
  /* An annex of the terms: its label („Załącznik nr 1”) above its heading, which would leave a phone a narrow column. */
  .kl__legal-sec--annex h2 { flex-direction: column; gap: 2px; }
  .kl__legal-sec p { margin: 0 0 12px; color: var(--ink-soft); }
  .kl__legal-sec p:last-child { margin-bottom: 0; }
  /* The numbered points of a paragraph (ol) and their lettered ones (ol type="a") keep the numbers the text refers to
     („ust. 1”, „pkt 2”); the annexes' forms are bullet lists. */
  .kl__legal-sec ul { margin: 0 0 12px; padding-left: 22px; }
  .kl__legal-sec ol { margin: 0 0 12px; padding-left: 28px; }
  .kl__legal-sec li > ol { margin: 8px 0 0; padding-left: 22px; }
  .kl__legal-sec :is(ul, ol):last-child { margin-bottom: 0; }
  .kl__legal-sec li { margin: 0 0 8px; color: var(--ink-soft); }
  .kl__legal-sec li::marker { color: var(--accent); font-variant-numeric: tabular-nums; }
  .kl__legal-sec li:last-child { margin-bottom: 0; }
  .kl__legal-note { font-style: italic; color: var(--muted); }
  /* Links in a document's text keep the link blue of running text (.kl a:not([class])), underlined: among this many
     words the colour alone would not tell them apart. */
  .kl__legal-body a:not([class]) { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
  .kl__legal-body a:not([class]):hover { text-decoration-color: currentColor; }
  .kl__legal-back { display: inline-block; margin-top: 34px; }

  /* ——— Contact ——— */

  .kl__contact { padding: 52px 0 76px; }
  .kl__contact-grid { display: grid; gap: 44px; grid-template-columns: .92fr 1.08fr; align-items: start; }
  .kl__contact-intro { padding-top: 6px; }
  .kl__contact-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 400; letter-spacing: -.01em; color: var(--ink); margin: 0 0 14px; }
  .kl__contact-lead { color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 26px; max-width: 46ch; }
  .kl__contact-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
  .kl__contact-point { display: flex; align-items: center; gap: 14px; color: var(--ink); font-size: .96rem; }
  .kl__contact-point-ic {
    flex-shrink: 0;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--accent);
    background: rgb(255 255 255 / .6);
    border: 1px solid var(--glass-edge);
    box-shadow: 0 8px 20px -14px color-mix(in srgb, var(--accent) 55%, transparent);
  }
  .kl__contact-point-ic svg { width: 18px; height: 18px; }
