:root {
    --ink: #111827;
    --text: #2a3140;
    --muted: #5f6877;
    --line: #dde2ea;
    --cream: #f2f4f7;
    --navy: #0f1a2b;
    --navy-2: #18243a;
    --amber: #f5a524;
    --amber-hover: #ffb43a;
    --amber-dark: #8c5400;
    --r: 4px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }
  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
  body { margin: 0; background: #fff; color: var(--text); font: 17px/1.6 var(--font); }
  img { max-width: 100%; height: auto; display: block; }
  p, li, dd, blockquote { text-wrap: pretty; }
  h1, h2, h3 { text-wrap: balance; }
  picture { display: block; }
  a { color: var(--navy); text-underline-offset: 3px; }
  a:hover { color: var(--amber-dark); }
  h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
  h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
  h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
  h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
  p { margin: 0 0 1em; }
  :focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
  .wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
  .icon { width: 20px; height: 20px; flex: 0 0 auto; }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: var(--r); font: 700 1rem/1.2 var(--font); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
  .btn-amber { background: var(--amber); color: var(--ink); }
  .btn-amber:hover { background: var(--amber-hover); color: var(--ink); }
  .btn-dark { background: var(--navy); color: #fff; }
  .btn-dark:hover { background: var(--navy-2); color: #fff; }

  .concept-bar { background: #2d2410; color: #ffe2a0; font-size: .82rem; padding: 6px 16px; text-align: center; }

  /* Nagłówek (jak na stronie głównej) */
  .top { position: sticky; top: 0; z-index: 40; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
  .top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 66px; }
  .brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; white-space: nowrap; }
  .brand:hover { color: #fff; }
  .brand-logo { width: 38px; height: 38px; border-radius: var(--r); flex: 0 0 auto; }
  .brand-mark { width: 34px; height: 34px; border-radius: var(--r); background: var(--amber); color: var(--ink); display: grid; place-items: center; }
  .top nav { display: flex; gap: 22px; white-space: nowrap; }
  .top nav a { color: #c3cad6; text-decoration: none; font-size: .94rem; }
  .top nav a:hover, .top nav a[aria-current="page"] { color: #fff; }
  .top nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); }
  .top .actions { display: flex; align-items: center; gap: 14px; }
  .top .tel { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
  .top .btn { padding: 10px 16px; font-size: .92rem; flex-shrink: 0; }
  @media (max-width: 900px) { .top nav { display: none; } }
  @media (max-width: 640px) { .top .btn { display: none; } }
  @media (max-width: 520px) { .top .tel-num { display: none; } .top .tel { width: 40px; height: 40px; justify-content: center; background: var(--amber); color: var(--ink); border-radius: var(--r); } }

  /* Stopka (jak na stronie głównej) */
  footer { background: #0a1220; color: #8a94a6; font-size: .9rem; padding: 44px 0 24px; }
  footer a { color: #c9d0dc; text-decoration: none; }
  footer a:hover { color: #fff; text-decoration: underline; }
  .footer-grid { display: grid; grid-template-columns: 1.2fr .85fr 1.75fr .8fr; gap: 32px; }
  .footer-grid .cols { columns: 2; column-gap: 24px; }
  .footer-grid > * { min-width: 0; }
  .footer-grid b { display: block; color: #fff; margin-bottom: 10px; }
  .footer-grid ul { list-style: none; padding: 0; margin: 0; }
  .footer-grid li { margin: 0 0 7px; overflow-wrap: anywhere; }
  .footer-bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid #1f2a3d; font-size: .82rem; }
  @media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } .footer-grid .cols { columns: 1; } }

  .mobile-bar { display: none; }
  @media (max-width: 760px) {
    .mobile-bar { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
    .mobile-bar .btn { padding: 12px 10px; }
    footer { padding-bottom: 84px; }
  }

  .cookie-banner { position: fixed; left: 0; right: 0; margin: 0 auto; bottom: 20px; z-index: 60; width: min(420px, calc(100vw - 24px)); background: var(--navy); color: #cfd6e2; border-radius: var(--r); padding: 22px 22px 16px; box-shadow: 0 16px 40px rgba(0,0,0,.35); font-size: .92rem; text-align: center; }
  .cookie-banner[hidden], .cookie-categories[hidden] { display: none; }
  .cookie-banner p { margin: 0; }
  .cookie-title { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 6px !important; }
  .cookie-text { margin-bottom: 16px !important; }
  .cookie-banner a { color: #fff; text-underline-offset: 3px; }
  .cookie-banner-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .btn-cookie { font: 700 .95rem var(--font); padding: 12px 14px; border-radius: var(--r); cursor: pointer; border: 0; background: #fff; color: var(--navy); }
  .btn-cookie:hover { background: #e8ecf2; }
  .btn-cookie-primary { background: var(--amber); color: var(--navy); }
  .btn-cookie-primary:hover { background: var(--amber-hover); }
  .cookie-more { display: block; margin: 12px auto 0; background: none; border: 0; padding: 4px 8px; font: 600 .86rem var(--font); color: #cfd6e2; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .cookie-more:hover { color: #fff; }
  .cookie-categories { margin: 0 0 16px; text-align: left; }
  .cookie-category { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.16); }
  .cookie-category strong { color: #fff; }
  .cookie-category p { font-size: .8rem; color: #aeb7c6; margin: 2px 0 0; }
  .switch { position: relative; flex: 0 0 auto; width: 44px; height: 26px; }
  .switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
  .switch span { position: absolute; inset: 0; background: #4a566b; border-radius: 13px; transition: none; }
  .switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
  .switch input:checked + span { background: var(--amber); }
  .switch input:checked + span::after { left: 21px; }
  .switch input:disabled { cursor: not-allowed; }
  .switch input:disabled + span { opacity: .6; }
  .switch input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
  @media (min-width: 561px) {
    .cookie-banner { width: min(860px, calc(100vw - 40px)); padding: 14px 22px; display: grid; grid-template-columns: 1fr auto; column-gap: 28px; align-items: center; text-align: left; }
    .cookie-banner[hidden] { display: none; }
    .cookie-title { grid-column: 1; margin-bottom: 2px !important; }
    .cookie-text { grid-column: 1; margin-bottom: 0 !important; }
    .cookie-categories { grid-column: 1 / -1; grid-row: 3; margin: 10px 0 0; }
    .cookie-banner-actions { grid-column: 2; grid-row: 1 / 3; grid-template-columns: auto auto; }
    .cookie-more { grid-column: 2; grid-row: 3; margin: 6px 0 0 auto; }
    .cookie-categories:not([hidden]) ~ .cookie-more { grid-row: 4; }
    .cookie-banner-actions { grid-row: 1 / 3; }
    .btn-cookie { padding: 10px 18px; white-space: nowrap; }
  }
  @media (max-width: 560px) { .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; } }

  /* ARTYKUŁ */
  .crumbs { font-size: .88rem; color: var(--muted); margin: 0 0 18px; }
  .crumbs a { color: var(--muted); }
  .art { padding: 28px 0 72px; }
  .art-grid { display: grid; grid-template-columns: minmax(0, 680px) 320px; gap: 56px; justify-content: center; align-items: start; }
  article { font-size: 18px; line-height: 1.7; }
  .art-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); font-weight: 700; line-height: 1.15; margin-bottom: .5em; }
  .byline { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: .88rem; color: var(--muted); margin: 0 0 26px; }
  .byline a { color: var(--muted); }
  .byline b { color: var(--ink); font-weight: 600; }
  .hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); margin: 0 0 30px; }
  figure { margin: 30px 0; }
  figure img { width: 100%; border-radius: var(--r); }
  figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }

  /* Krótka odpowiedź: zwykły akapit wstępny + lista, bez ozdobnych ramek */
  .answer { margin: 0 0 30px; padding: 0 0 26px; border-bottom: 1px solid var(--line); }
  .answer .label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
  .answer p { margin: 0 0 .8em; color: var(--ink); font-size: 1.22rem; line-height: 1.5; font-weight: 500; }
  .answer ul { margin: 0; padding-left: 1.2em; font-size: 1rem; }
  .answer li { margin: 0 0 4px; }

  .toc-mobile { display: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 26px; }
  .toc-mobile summary { padding: 14px 0; font-weight: 600; color: var(--ink); cursor: pointer; }
  .toc-mobile ol { margin: 0; padding: 0 0 14px 20px; font-size: .95rem; line-height: 1.45; }
  .toc-mobile li { margin-bottom: 8px; }

  .body h2 { font-size: clamp(1.3rem, 2.2vw, 1.55rem); font-weight: 700; margin: 2em 0 .5em; }
  .body h3 { margin-top: 1.4em; }
  .body p { margin: 0 0 1.1em; }
  .body ol, .body ul { padding-left: 1.3em; margin: 0 0 1.2em; }
  .body li { margin-bottom: .55em; }

  /* Tabele: tylko poziome linie */
  .table-wrap { overflow-x: auto; margin: 20px 0 28px; }
  table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
  caption { text-align: left; font-size: .85rem; color: var(--muted); padding-bottom: 8px; }
  th, td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
  thead th { color: var(--ink); font-size: .82rem; font-weight: 700; border-bottom: 2px solid var(--ink); }
  tbody th { font-weight: 600; color: var(--ink); width: 26%; }

  .practice { margin: 24px 0 30px; padding: 0 0 0 20px; border-left: 1px solid var(--ink); }
  .practice .label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 4px; }
  .practice p { margin: 0; }

  .disclaimer { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 40px; }

  .author { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; margin: 40px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
  .author:has(.ph) { grid-template-columns: 64px 1fr; }
  .author .ph { width: 64px; height: 64px; border-radius: 50%; background: var(--cream); border: 1px dashed #9aa5b8; display: grid; place-items: center; font-size: .62rem; text-align: center; color: var(--muted); line-height: 1.15; padding: 6px; }
  .author b { color: var(--ink); display: block; }
  .author p { margin: 2px 0 0; font-size: .92rem; line-height: 1.5; }
  .sources { font-size: .88rem; color: var(--muted); }
  .sources ul { margin: 6px 0 0; padding-left: 1.2em; }

  .faq details { border-top: 1px solid var(--line); }
  .faq details:last-child { border-bottom: 1px solid var(--line); }
  .faq summary { padding: 15px 0; font-weight: 600; color: var(--ink); cursor: pointer; }
  .faq .ans { padding: 0 0 16px; }

  .more { margin-top: 44px; }
  .more ul { list-style: none; padding: 0; margin: 0; }
  .more li { padding: 12px 0; border-top: 1px solid var(--line); }
  .more li:last-child { border-bottom: 1px solid var(--line); }
  .more a { font-weight: 600; color: var(--ink); text-decoration: none; }
  .more a:hover { text-decoration: underline; }
  .more span { display: block; font-size: .9rem; color: var(--muted); }

  /* Prawa kolumna: spis treści + granatowy formularz */
  .rail { position: sticky; top: 84px; align-self: start; font-size: .9rem; line-height: 1.4; max-height: calc(100vh - 100px); overflow-y: auto; display: grid; gap: 22px; }
  .toc b { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
  .toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
  .toc li a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--text); text-decoration: underline; text-decoration-color: #c9d0db; text-underline-offset: 3px; }
  .toc li a:hover { color: var(--ink); text-decoration-color: var(--ink); }
  .toc li a[aria-current="true"] { border-left-color: var(--amber); color: var(--ink); font-weight: 600; text-decoration: none; }

  .lead { background: var(--navy); color: #cdd4df; border-radius: var(--r); padding: 22px; font-size: 16px; line-height: 1.5; }
  .lead-h { color: #fff; font-size: 1.2rem; font-weight: 800; line-height: 1.25; margin: 0 0 .35em; letter-spacing: -.01em; }
  .lead > p { margin: 0 0 16px; font-size: .95rem; }
  .lead label.f { display: block; font-size: .85rem; font-weight: 600; color: #fff; margin: 0 0 6px; }
  .lead input[type=tel] { width: 100%; height: 48px; padding: 0 14px; border-radius: var(--r); border: 0; font: 1.05rem var(--font); color: var(--ink); margin-bottom: 12px; }
  .lead input[type=tel]:focus { outline: 2px solid var(--amber); outline-offset: 0; }
  .lead .btn { width: 100%; height: 48px; }
  .lead .consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; margin: 14px 0 0; font-size: .76rem; line-height: 1.45; color: #cdd4df; cursor: pointer; }
  .lead .consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--amber); }
  .lead .gdpr { font-size: .72rem; line-height: 1.45; color: #9aa5b8; margin: 10px 0 0; }
  .lead a { color: #fff; }
  .lead .call { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: .92rem; color: #cdd4df; }
  .lead .call a { font-weight: 700; text-decoration: none; white-space: nowrap; }

  @media (max-width: 1020px) {
    .art-grid { grid-template-columns: minmax(0, 680px); gap: 0; }
    .rail { position: static; max-height: none; overflow: visible; margin-top: 40px; max-width: 520px; }
    .rail .toc { display: none; }
    .toc-mobile { display: block; }
  }
  @media (max-width: 520px) { article { font-size: 17px; } .answer p { font-size: 1.12rem; } .author:has(.ph) { grid-template-columns: 52px 1fr; } .author .ph { width: 52px; height: 52px; } }

  /* ---- wersja EN ---- */
  .skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--amber); color: var(--ink); padding: 10px 14px; border-radius: var(--r); font-weight: 700; }
  .skip-link:focus { left: 8px; }
  .lead h3.lead-h { margin: 0 0 .35em; }
  .lead label.f { margin-top: 2px; }
  .lead select, .lead input[type=email] { width: 100%; height: 48px; padding: 0 14px; border-radius: var(--r); border: 0; font: 1.05rem var(--font); color: var(--ink); margin-bottom: 12px; background: #fff; }
  .lead input[type=email]:focus, .lead select:focus { outline: 2px solid var(--amber); outline-offset: 0; }
  .crumbs .sep { margin: 0 7px; opacity: .6; }
  .body .answer { margin: 0 0 30px; }
  .disclaimer b { color: var(--ink); }
  article > h3 { font-size: 1.35rem; margin: 2em 0 .6em; }
  .more li h3 { font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: 0; margin: 0; }
